RE: Catching signals

2004-08-17 Thread Jim
> Hi, can you please show me an example of the following signal > catching > scenario: > 1. First Ctrl-C => Just warn and wait for a key-stroke, if > any key other > then Ctrl-C is presses, continue with the program. > 2. If Ctrl-C was pressed again => Try to die gracefully, > meaning do some > cle

Catching signals

2004-08-17 Thread Ohad Ohad
Hi, can you please show me an example of the following signal catching scenario: 1. First Ctrl-C => Just warn and wait for a key-stroke, if any key other then Ctrl-C is presses, continue with the program. 2. If Ctrl-C was pressed again => Try to die gracefully, meaning do some cleanup before dyi

catching signals

2002-12-11 Thread Ramprasad A Padmanabhan
Hello all, I am getting a particular error when I am running my Sendmail::Milter program 'Attempt to free non-existent shared string' I have not been able to get rid of this since this seems to be totally unpredcatble and is a known problem with Sendmail::Milter According to docs this is