in reply to Re: signal handlers that play nice
in thread signal handlers that play nice

typically you don't want to call any previously assigned routine; unless you are certain that its' code is kosher.
the hardest line to type correctly is: stty erase ^H

Replies are listed 'Best First'.
Re^3: signal handlers that play nice
by esharris (Monk) on Oct 28, 2005 at 09:26 UTC
    I'm not seeing the harm here. If you call the previous warn within your warn, you can't make things worst. If the previous warn works, your warn should still work. If it bombs, well the new warn still bombs. Inversely, if you don't call the previous warn, you may make another part of the program malfunction.