[LIP] Help on Korn Shell scripts

Ajitabh Pandey <ajitabhpandey-/[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Hi,

I just wrote a korn shell script to automate some
daily maintenance tasks. This scripts presents a menu
and does the task chosen from the menu.
Some of the options on the menu are tailing the logs. 

e.g. - I use 

tail -f hot_live_app.post

command to tail one of the logs. This work fine, but
after seeing the output for sometime when I press
<Ctrl><C>, it gives me the shell prompt. Instead I
want it to display the menu back again. How can this
be achieved? Can someone please provide a snippet.

Regards.
Ajitabh Pandey



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.