Re: Capturing/controlling signals...

2002-04-11 Thread Jonathan E. Paton
> I have a script that waits for user input, and prints info based on the > info. The print info part sometimes takes a long time. > > I want to capture the INT signal (^C) but depending on if I am waiting for > input or printing something I want (^C) to act differently. > This program loops endl

Capturing/controlling signals...

2002-04-11 Thread Nikola Janceski
I have a script that waits for user input, and prints info based on the info. The print info part sometimes takes a long time. I want to capture the INT signal (^C) but depending on if I am waiting for input or printing something I want (^C) to act differently. This program loops endlessly, waiti