delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/20/09:40:43

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:in-reply-to:references:date:subject
:from:to:mime-version:content-type:content-transfer-encoding; q=
dns; s=default; b=B8T9NKme489TqgkQQSnh/SfxZqS+L3eIVRRL5u/gSXVq9F
Wt0GLi0alaGtm3tkF/50AsOu4q6bdDmNX4CsDqg6b7rB4kX/0eYJ5/eItCxnyQwV
l7NnDrXqj+uQNVOu1GGeC/LrYXOFhpKGC8gasY2DF9gXRtoNAuEkbzdxlMu/0=
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:in-reply-to:references:date:subject
:from:to:mime-version:content-type:content-transfer-encoding; s=
default; bh=Drxc60Yu+tcgrEeCdBl5ALF+JEA=; b=UeVRoUsW6JqJvSy6zEi1
ZwXxRvW26hpp5aBj/8c1g+UJrvDkQDSxcQi7DZlFxFMb6NaERv+lAyvh6ZDQad7a
L/xBuXc+85Zzmioi4L1N8jgp+lWIZFFNX1ex7rWW/lm7iWK67mWv0Yr8bPK78gPA
VnGeBWSto5Ae+qPVM3ZsAls=
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
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
Message-ID: <79ac7f5abad2d03fbd8b442b38bcbd56.squirrel@oude-webmail.xs4all.nl>
In-Reply-To: <1437396634.2825938.328138033.1915DBE0@webmail.messagingengine.com>
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> <1437396634 DOT 2825938 DOT 328138033 DOT 1915DBE0 AT webmail DOT messagingengine DOT com>
Date: Mon, 20 Jul 2015 15:40:24 +0200
Subject: Re: SIGINT generated by Control-C, is not delivered in mintty
From: "Houder" <houder AT xs4all DOT nl>
To: cygwin AT cygwin DOT com, "Ronald Fischer" <ynnor AT mm DOT st>
User-Agent: SquirrelMail/1.4.22
MIME-Version: 1.0
X-IsSubscribed: yes

>> > 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

- Raw text -


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