1.7.11: Ctrl-C does not work in bash shell (Win7)

Buchbinder, Barry (NIH/NIAID) [E] BBuchbinder@niaid.nih.gov
Tue Apr 3 19:58:00 GMT 2012

Spackmann, Richard M. sent the following at Tuesday, April 03, 2012 2:18 PM
>When I open up a cygwin command line bash shell and I notice now that
>Ctrl-C does not exit out from the current command prompt to start a new
>Ctrl-C will however exit a running process.
>Is this to be the behavior from now on, or is a
>reoccurrence of the possible bug as reported in
>If so, when is the next cygwin bug release due out?
>I am running Windows 7 and just upgraded to 1.7.11 - attached is the
>output of cygcheck.

I think that it may be bash, not cygwin.  Bash does not exit with ^C,
but will with ^D.

See SIGNALS in man bash.  (A feature, not a bug.)

If you want to replace an instance of bash with a new one, think about
using the exec builtin.

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

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