This is the mail archive of the cygwin 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: SIGINT generated by Control-C, is not delivered in mintty


Ronald Fischer <ynnor <at> mm.st> writes:
> 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
> 
> Now whenever we hit Control-C, we expect "trapped" to be printed on
> stdout. This is not the case when the shell runs inside mintty.
> 
> (2) Using 'cat':
> 
> In the shell, we do a
> 
>   cat
> 
> which has the effect that cat reads from stdin. A control-C should abort
> it. Again, this doesn't work when we run inside mintty.

WJFFM.  Make sure that the stuff in GW (GNUwin?) and Linux64 does not
interfer.  Also, you have multiple cygwin1.dll on your path (p/nano), fix
that and see if it makes any difference.


Regards,
Achim.


--
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


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