Menu base AIX script

Hi,
I am trying to create a menu on AIX systen for operators in our office.
Please suggest how can I loop back to menu by pressing any key from a online running file. For example I can view the Database alert log file by tail -f command but how should I loop back to menu again. If I press <ctrl C> ,the log file is closed and I found myself at login prompt. I want to get back to my menu. I have provided "quit" option to at every menu to get back to login prompt.

Please advise as I am stuck on it since long.

Thanks.

Do not double post - it's against the rules.
Thread closed.