Re: Control-C, SIGINT, ConsoleCtrlHandler...

2002-01-08 Thread Timothy Wall
Unfortunately, I'm using VC++, since we have to link against some other M$ stuff. Thanks for the pointer. T. Christopher Faylor wrote: > If you are writing cygwin programs, don't use windows signal mechanisms > like SetConsoleCtrlHandler. Just use signal()/kill(), et al. > > If your program do

Re: Control-C, SIGINT, ConsoleCtrlHandler...

2002-01-08 Thread Christopher Faylor
If you are writing cygwin programs, don't use windows signal mechanisms like SetConsoleCtrlHandler. Just use signal()/kill(), et al. If your program does not use cygwin then investigate the currently active thread "bash/cmd CTRL-C problem...". cgf On Tue, Jan 08, 2002 at 12:31:47PM -0500, Timo

Control-C, SIGINT, ConsoleCtrlHandler...

2002-01-08 Thread Timothy Wall
I'm trying to get some consistent behavior under the command shell and cygwin, tho' without much luck so far. I'd like to know if there's a canonical SIGINT/SIGTERM handling convention for console processes (taking cygwin into account, or barring that for invocations in cmd.exe only). The import