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


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


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