This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: SIGINT generated by Control-C, is not delivered in mintty
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 15 Jul 2015 10:46:56 +0200
- Subject: Re: SIGINT generated by Control-C, is not delivered in mintty
- Authentication-results: sourceware.org; auth=none
- References: <1436859879 dot 3576693 dot 323109769 dot 13A8B37B at webmail dot messagingengine dot com>
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