Re: Allow to send SIGQUIT via Ctrl+BREAK (patch included)

2005-11-25 Thread Christian Franke
Christopher Faylor wrote: [...] It is (or should be, since I haven't checked it recently) supported if you set CYGWIN=tty, though. There is a lot of functionality that isn't available with the normal windows console that is available with CYGWIN=tty. Oh, Yes. I tested this some time ago

Re: Allow to send SIGQUIT via Ctrl+BREAK (patch included)

2005-11-25 Thread Christian Franke
Christopher Faylor wrote: On Fri, Nov 25, 2005 at 08:43:43PM +0100, Christian Franke wrote: OK, let's forget the patch ;-) Actually, I have done some more testing myself and Windows doesn't work the way that I remembered. It seems like CTRL-BREAK isn't handled by signal(SIGINT,

Re: Allow to send SIGQUIT via Ctrl+BREAK (patch included)

2005-11-25 Thread Christopher Faylor
On Fri, Nov 25, 2005 at 09:34:24PM +0100, Christian Franke wrote: Christopher Faylor wrote: On Fri, Nov 25, 2005 at 08:43:43PM +0100, Christian Franke wrote: OK, let's forget the patch ;-) Actually, I have done some more testing myself and Windows doesn't work the way that I remembered. It seems

Re: Allow to send SIGQUIT via Ctrl+BREAK (patch included)

2005-11-24 Thread Christopher Faylor
On Thu, Nov 24, 2005 at 11:03:02PM +0100, Christian Franke wrote: unlike Linux friends, Cygwin cannot send a SIGQUIT via keyboard. The SIGQUIT key simulated in termios does only work if app reads from console. Both console events ^C and ^BREAK are mapped to SIGINT. Suggest to add some option

Re: Allow to send SIGQUIT via Ctrl+BREAK (patch included)

2005-11-24 Thread Christian Franke
Christopher Faylor wrote: [...] Suggest to add some option to send SIGQUIT via ^BREAK. A simple patch is attached. It sends SIGQUIT on ^BREAK if both VINTR and VQUIT are set to ^C. As a positive side effect, this disables any other SIGQUIT key in termios. Sorry but the precedent of sending