Allow to send SIGQUIT via Ctrl+BREAK (patch included)
Christopher Faylor
cgf-no-personal-reply-please@cygwin.com
Fri Nov 25 01:26:00 GMT 2005
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 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 SIGINT when pressing CTRL-BREAK is
long-standing behavior that I am not comfortable changing.
Thank you for the patch, though.
cgf
More information about the Cygwin-patches
mailing list