This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: Allow to send SIGQUIT via Ctrl+BREAK (patch included)
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 24 Nov 2005 20:26:22 -0500
- Subject: Re: Allow to send SIGQUIT via Ctrl+BREAK (patch included)
- References: <43863896.4080203@t-online.de>
- Reply-to: cygwin-patches at cygwin dot com
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