public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Aaron Digulla <digulla@hepe.com>
To: cygwin@cygwin.com
Subject: Re: ctrl-c doesn't reliably kill applications
Date: Mon, 18 Apr 2016 21:38:00 -0000	[thread overview]
Message-ID: <571553D3.10108@hepe.com> (raw)
In-Reply-To: <56EB0DDE.60205@gmx.de>

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

  reply	other threads:[~2016-04-18 21:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-14 17:18 Björn Stabel
2016-03-14 23:39 ` Kaz Kylheku
2016-03-15  0:46 ` ctrl-c doesn't reliably kill ping Frank Farance
2016-03-15 11:05   ` Andrey Repin
2016-03-15 11:43     ` Adam Dinwoodie
2016-03-16 14:46       ` cyg Simple
2016-03-16  4:56     ` Kaz Kylheku
2016-03-16 11:50       ` Andrey Repin
2016-03-16 14:51       ` cyg Simple
2016-03-16 15:57         ` Michael Enright
2016-03-16 17:33           ` Kaz Kylheku
2016-03-16 18:10             ` Lee
2016-03-17 21:10               ` Frank Farance
2016-03-17 21:29                 ` Marco Atzeri
2016-03-15 15:13   ` Warren Young
2016-03-16 13:25   ` Marco Atzeri
2016-03-17 20:04     ` ctrl-c doesn't reliably kill applications Björn Stabel
2016-04-18 21:38       ` Aaron Digulla [this message]
2016-04-19  9:13         ` Corinna Vinschen
2016-04-19 16:30           ` Aaron Digulla
2016-03-16 16:07   ` ctrl-c doesn't reliably kill ping Lee
2016-03-16 16:50     ` Warren Young
2016-03-16 17:52       ` Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=571553D3.10108@hepe.com \
    --to=digulla@hepe.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).