SIGINT generated by Control-C, is not delivered in mintty

Marco Atzeri marco.atzeri@gmail.com
Wed Jul 15 08:47:00 GMT 2015


On 7/14/2015 9:44 AM, Ronald Fischer wrote:
> Using Cygwin 64 on Windows 7:
>
> In a bash or zsh running inside mintty, pressing Control-C has no
> effect.  In a bash or zsh running in a Windows Console, it works fine.
>
> This can be verified in two ways:
>
> (1) Using 'trap':
>
> In the shell, we do a
>
>    trap 'echo trapped' INT
>

as Achim mentioned, it works also for me on both 32bit and 64bit

$ trap 'echo trapped' INT

$ ^Ctrapped

$ ^Ctrapped

Regards
Marco



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list