From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129911 invoked by alias); 20 Jul 2015 13:40:30 -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 129903 invoked by uid 89); 20 Jul 2015 13:40:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: lb3-smtp-cloud2.xs4all.net Received: from lb3-smtp-cloud2.xs4all.net (HELO lb3-smtp-cloud2.xs4all.net) (194.109.24.29) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 20 Jul 2015 13:40:28 +0000 Received: from oude-webmail.xs4all.nl ([194.109.26.19]) by smtp-cloud2.xs4all.net with ESMTP id udgQ1q00J0QjnYJ01dgQv5; Mon, 20 Jul 2015 15:40:24 +0200 Received: from 83.162.234.136 (SquirrelMail authenticated user incog) by oude-webmail.xs4all.nl with HTTP; Mon, 20 Jul 2015 15:40:24 +0200 Message-ID: <79ac7f5abad2d03fbd8b442b38bcbd56.squirrel@oude-webmail.xs4all.nl> In-Reply-To: <1437396634.2825938.328138033.1915DBE0@webmail.messagingengine.com> 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> <1437396634.2825938.328138033.1915DBE0@webmail.messagingengine.com> Date: Mon, 20 Jul 2015 13:40:00 -0000 Subject: Re: SIGINT generated by Control-C, is not delivered in mintty From: "Houder" To: cygwin@cygwin.com, "Ronald Fischer" User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00306.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. Understood. For the moment, invoke mintty through cmd, i.e. put cmd between Ruby and mintty. That should help. The trick is to make mintty NOT interact with a cons. Henri -- 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