X-Recipient: archive-cygwin@delorie.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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=wTEgHhiaFj0DxpW3
	sr0u1PjhgS4JXg124DywDBXrq6y8JYKVaUV6rJHsoIfM5UpBc7j+u4VTOf8DXgxd
	qZp8KBR02pC6ZQd4r2DYnTmM5/U+R01tYBhZPpOOn6o3OausTdVKFVdMP9FRJNRc
	9g/sBBEdLrsnU5cdbbvQCX1e59c=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=o2J6+OLtYP4E+1YyW1ZB/x
	9ZUgs=; b=oZdthSukaz8BS1jBUY3pDX7bgh/7TxXc1QpVcE71f/smdorWgJfaZv
	RCr6wI4ZaZ9vbqb6LW8jSOnncfMeaU8Krq8RpBBoESkvqRd6qDGtG4hATN8eLHOC
	va/nvEcKdTGJ9cNb9NefG3BiZdLipWQxg66orLUPP4+rdTv2r9VmI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_40,RP_MATCHES_RCVD,SPF_PASS,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=freezes, Dark, H*r:4.84_2, ctrl
X-HELO: mail.hepe.com
Subject: Re: ctrl-c doesn't reliably kill applications
To: cygwin@cygwin.com
References: <56E6F25A.7070000@gmx.de> <56E75B3E.7020102@farance.com> <56E95EA2.8070800@gmail.com> <56EB0DDE.60205@gmx.de>
From: Aaron Digulla <digulla@hepe.com>
Message-ID: <571553D3.10108@hepe.com>
Date: Mon, 18 Apr 2016 23:38:27 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1
MIME-Version: 1.0
In-Reply-To: <56EB0DDE.60205@gmx.de>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

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

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

