View Single Post

   
  #4 (permalink)  
Old 01-04-2008, 10:50 PM
Bob Bale
 
Posts: n/a
Default Re: How to trap any keyboard signal in a sript?

Thank you very much for all your suggestion.

I am thinking if I replace a cat command with a more command. Then I
can get out of the message any time I want. However, the system can
sit there for an hour if I am not press any key. Is there a way to do
like pausing for 60s if no key is hit then go to the next command,
instead of waiting for user to hit any key? It sounds simple, but I
do not know if it can be done or not.

Thanks,
Bob
Reply With Quote