This is the mail archive of the
mailing list for the Cygwin project.
Re: ctrl-c doesn't reliably kill applications
- From: "Aaron Digulla" <digulla at hepe dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 19 Apr 2016 16:28:15 +0200
- Subject: Re: ctrl-c doesn't reliably kill applications
- Authentication-results: sourceware.org; auth=none
Am Dienstag, 19. April 2016 10:11 CEST, Corinna Vinschen <firstname.lastname@example.org> 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.
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."
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple