delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/19/10:28: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:content-type:in-reply-to:from:date:to
:mime-version:message-id:subject:content-transfer-encoding; q=
dns; s=default; b=hZh4AipOUU1/VavY9BR4rYpn91Icuz6HFeD3OZhQe1glW5
uZsGeVsNXEo+D/Iw6URLSBEsdC4Z/PlqCzkJsCF5siDPHdm4mVgkQP8CXY2dwyvK
y50yNOWTocVDtpR2e16Z00T4jkXvYEr+eWOpky0juhN143gWg9yZ68buDZKeE=
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:content-type:in-reply-to:from:date:to
:mime-version:message-id:subject:content-transfer-encoding; s=
default; bh=SXCnR/DtOsZfyxZfX7uk/yTci7w=; b=H2vwogt4Ik0B4+0mRspJ
tM2mxfm0deUHkA01K3okw3n6FdXSX+mMuwrJxU4oN4Z9l8I+ZhvrIM5atpO/VE00
zpRETpFasgEluNkKiDrhoTPkwyfIZCFf4R36Xq6u7pBoqvi3QpzCv1bBdSRIxhT4
laPsK4mXxQKQ6jnwKu49wvs=
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.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD,SPF_PASS,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=Dark, imagination, philmann, blog.pdark.de
X-HELO: mail.hepe.com
content-type: text/plain; charset="utf-8"
in-reply-to: <20160419081124.GD26794@calimero.vinschen.de>
from: "Aaron Digulla" <digulla AT hepe DOT com>
X-Forward: 46.140.173.26
date: Tue, 19 Apr 2016 16:28:15 +0200
to: cygwin AT cygwin DOT com
MIME-Version: 1.0
message-id: <7176-57164080-3-19572f40@173738223>
subject: =?utf-8?q?Re=3A?= ctrl-c doesn't reliably kill applications
User-Agent: SOGoMail 2.3.10
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u3JESe4g004629

Am Dienstag, 19. April 2016 10:11 CEST, Corinna Vinschen <corinna-cygwin AT cygwin DOT com> schrieb:

> On Apr 18 23:38, Aaron Digulla wrote:
> > On 17.03.2016 21:04, Björn Stabel wrote:
> > > I couldn't replicate it either, but the question I started this thread
> > > with is unrelated to either of the ping tools.
> > > Here it is again:
> > >
> > > The ctrl-c shortcut doesn't reliably kill applications (anymore?).
> > > It has been that way for at least a year now.
> >
> > I can confirm that. It's worse with native applications. In my case, I
> > have scripts which invoke Maven (a Java application).
> >
> > Ctrl+C kills the script but the signal isn't forwarded to the Windows
> > process, so the Java process is stuck in the background.
> >
> > To make matters worse, it tries to write to stdout which isn't properly
> > connected anymore. This can lead to Windows starting to trash the
> > harddrive until you have to turn off the computer.
> >
> > Might be related to Ctrl+S/Ctrl+W handling as well (Unix kind of Scroll
> > Lock) which is also broken for native programs (you can freeze them but
> > Ctrl+W has no effect anymore until Windows freezes).
>
> Shouldn't that be Ctrl-Q?

I had that feeling while typing the mail ... yes, of course. The key sequence is hardcoded in my fingers, so my brain mostly forgot about which keys have to be pressed :-)

The issue is the same, though. Ctrl+S makes Windows crash if a native process is currently trying to write to the mintty console.

Regards,


--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://blog.pdark.de/


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