delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/03/15:58:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av0EAPRUe0+cKEcV/2dsb2JhbABDuCKBB4IQEig/EgEIDScCLxMXAQ4BBA4NGodnC6J1k32LEoRxYwSNKYlLhQGKHoMDgTo
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
CC: "Spackmann, Richard M." <rmspackmann AT tribune DOT com>
Date: Tue, 3 Apr 2012 15:56:53 -0400
Subject: RE: 1.7.11: Ctrl-C does not work in bash shell (Win7)
Message-ID: <0105D5C1E0353146B1B222348B0411A20A6536CB73@NIHMLBX02.nih.gov>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q33JwCqt027529

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
>one.
>
>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
>http://cygwin.com/ml/cygwin/2012-03/msg00102.html.
>
>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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019