From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58717 invoked by alias); 20 Jul 2015 12:50:38 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 58705 invoked by uid 89); 20 Jul 2015 12:50:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: out1-smtp.messagingengine.com Received: from out1-smtp.messagingengine.com (HELO out1-smtp.messagingengine.com) (66.111.4.25) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 20 Jul 2015 12:50:36 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8B80520698 for ; Mon, 20 Jul 2015 08:50:34 -0400 (EDT) Received: from web2 ([10.202.2.212]) by compute4.internal (MEProxy); Mon, 20 Jul 2015 08:50:34 -0400 Received: by web2.nyi.internal (Postfix, from userid 99) id 64B655403AA; Mon, 20 Jul 2015 08:50:34 -0400 (EDT) Message-Id: <1437396634.2825938.328138033.1915DBE0@webmail.messagingengine.com> From: Ronald Fischer To: Houder , cygwin@cygwin.com MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: Re: SIGINT generated by Control-C, is not delivered in mintty Date: Mon, 20 Jul 2015 12:50:00 -0000 In-Reply-To: <6e51c4c1411fb3878b6d7862d96ef4af.squirrel@oude-webmail.xs4all.nl> References: <1436859879.3576693.323109769.13A8B37B@webmail.messagingengine.com> <55A9517A.5090308@towo.net> <1437389942.2804270.328057057.1FF478B2@webmail.messagingengine.com> <6e51c4c1411fb3878b6d7862d96ef4af.squirrel@oude-webmail.xs4all.nl> X-SW-Source: 2015-07/txt/msg00305.txt.bz2 > > Indeed, it does! When starting it from a desktop shortcut, it works, but > > when started as a background process, it doesn't. > > Ah, so that is the "Cygwin console" # i.e. execution of the file > Cygwin.bat, located in the "Windows Cygwin root". Actually no, though the difference doesn't matter - but for the safe side, here are the gory details: In a cmd.exe Command window (or, to be more precise, in a command window hosted by the Console2 console), I use the command cmd /c c:\cygwin64\bin\zsh -l to start an interactive zsh Shell, and from *this*, I start a Ruby program, and from *this*, a mintty is started in the background. But I can see the effect simpler in this way: Just open a DOS Command Window, and in the command line type c:\cygwin64\bin\zsh -c /usr/bin/mintty and the error can be reproduced. BTW, same effect with bash instead of zsh. -- 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