X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=BavMGBfNfH4J9YxVqMDRu/4GLdkxlr3UwA2zhiG+EWi8Mq9+oZJL9 biQ0dybVypk6+kQqRuxdxSf2GmL8BcFSLXJ4WH6fdTAeK4RbIdwUysGqnV5UHgrz 2k+zBJRRnL1bCZuc0KtES02jqwb28Hnn305RK4RsaHYvvdSc3n9xLk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=3oOKtZ1zcKNjzqn0zhhV+ctaB5Y=; b=L/jPrESvc4xdFvNFFPNhE++SLOud Uo81siBgZuq8bOy+W6890UrtSOVRsh+XURcyCz/Y78BHXSZYIt/y+Sa5/CggH76X tMRycAh+CJislIH/dPwUXv28gJGOKe0UNfNLqx7spB/kfPi4tykULe/yGudenOmS Aef0TC2pZ1oQD/4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=AWL,BAYES_05,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: SIGINT generated by Control-C, is not delivered in mintty Date: Tue, 14 Jul 2015 09:27:52 +0000 (UTC) Lines: 33 Message-ID: References: <1436859879 DOT 3576693 DOT 323109769 DOT 13A8B37B AT webmail DOT messagingengine DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Ronald Fischer 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