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:message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; q=dns; s=default; b=yR4JjeTatuKVK4iG2VNdjB8lj32ZQcd m5JDBu+gexSyBi7pn6RDXJ9vXevrm7jG62NRQzYDmMUt/zUKKDnrX6HG9wAYLiGB vlrzrB7WfJi1rqJPPw+HyH8tsvXAEEigJlYJsZ0IvMHBU6C0WEyTTzYIjsHpaqYo Z8gtVsf206r4= 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:message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; s=default; bh=CG2KglsK6XKCr5KYffkwEEeoIgk=; b=DOXKb RU4LsUnm4um7/2X44H+knFWNcsdexeCtUfNyw4+QQOkOhUw7BtjayrnUShEl6gZS Xa+1lToUhV/btvPE3CsXJ4bYOJaUppTVpehrM2zc3MdJMryqsWij9ycUVdyQyHo1 hsemrLNCmbLUpSHKshxSqS3mzz0j0DxkCbFooU= 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=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 Message-Id: <1437396634.2825938.328138033.1915DBE0@webmail.messagingengine.com> From: Ronald Fischer To: Houder , cygwin AT cygwin DOT 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 14:50:34 +0200 In-Reply-To: <6e51c4c1411fb3878b6d7862d96ef4af.squirrel@oude-webmail.xs4all.nl> References: <1436859879 DOT 3576693 DOT 323109769 DOT 13A8B37B AT webmail DOT messagingengine DOT com> <55A9517A DOT 5090308 AT towo DOT net> <1437389942 DOT 2804270 DOT 328057057 DOT 1FF478B2 AT webmail DOT messagingengine DOT com> <6e51c4c1411fb3878b6d7862d96ef4af DOT squirrel AT oude-webmail DOT xs4all DOT nl> > > 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