This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]