delorie.com/archives/browse.cgi | search |
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=Jo2J9ui+7kQCXM3q0bWTW/zDwevsOCYlS80nyPIGEBMPc9 | |
eocYxMKlpcOsQhVC7JGWtVd0mdiNkP9i6VqRRqstFH3ZHwWfq6a6p3CUL41qLXSA | |
ajVkzyzr724wzw/qWXMSM1O3aPWaR4LBOHyFnvZvBhfDjpDKfiFAlyHdAohwc= | |
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=wQm+XoMXqG3XI1o0r+qH4ahTnNA=; b=Z4bOOluf9YqqDc8xkFKl | |
ucuKlmavX2p3Xt9zGXDjTwFwHM8x6vJxol3/wqFklmz63nXDNn+EqxjxUxteB14f | |
ZVIFsjjfElt0DRLyLSCoSPrFKVwrea+aj5hLO3o5te3jWnj0gomnFC0y4n6lfpFX | |
23OBtnp46ijIT/dIlznUXD8= | |
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=-0.2 required=5.0 tests=AWL,BAYES_40,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | lb3-smtp-cloud2.xs4all.net |
Message-ID: | <6e51c4c1411fb3878b6d7862d96ef4af.squirrel@oude-webmail.xs4all.nl> |
In-Reply-To: | <1437389942.2804270.328057057.1FF478B2@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> |
Date: | Mon, 20 Jul 2015 14:16:33 +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 |
> On Fri, Jul 17, 2015, at 21:03, Thomas Wolff wrote: >> Am 14.07.2015 um 09:44 schrieb Ronald Fischer: >> > 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. >> Ronald, can you please clarify on the question: how did you start mintty >> (desktop shortcut or command line from cygwin console) because that >> might make a difference. > > 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". As follows: PATH (64) = /usr/local/bin:/usr/bin:/drv/c/... Executing .bash_profile Executing .bashrc, $- = himBH, login_shell on 64-@@ ps ax PID PPID PGID WINPID TTY UID STIME COMMAND 4296 1 4296 4296 cons0 1000 13:57:27 /usr/bin/bash 4756 4296 4756 2032 cons0 1000 13:57:30 /usr/bin/ps Now execute, 64-@@ exec run e:/Cywin64/bin/mintty # i.e. exec run <Windows Cygwin root>/bin/mintty (window closes) ... a new window opens PATH (64) = /usr/local/bin:/usr/bin:/drv/c/WINDOWS/system32:/drv/c/WINDOWS:/drv/c/WINDOWS/System32/Wbem:/home/Henri/bin Executing .bashrc, $- = himBH, login_shell off 64-@@ ps ax PID PPID PGID WINPID TTY UID STIME COMMAND 4580 2764 4580 3960 pty0 1000 14:05:19 /usr/bin/ps 2764 4984 2764 2352 pty0 1000 14:05:14 /usr/bin/bash 4984 1 4984 4984 ? 1000 14:05:14 /usr/bin/mintty <==== tty != cons 64-@@ ^C <==== responsive to SIGINT 64-@@ 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |