This is the mail archive of the
cygwin
mailing list for the Cygwin project.
CTRL-C does not work in Cygwin when using pipes
- From: Bill Smith <bsmith at progress dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 29 Dec 2015 20:03:33 +0000
- Subject: CTRL-C does not work in Cygwin when using pipes
- Authentication-results: sourceware.org; auth=none
Hi,
I have observed that CTRL-C does not work when using pipes in Cygwin. Is this a bug? Or is there an issue with my stty settings?
If I do this:
perl -e 'while(1) {sleep 1;}'
CTRL-C works
If I do:
echo foo | perl -e 'while(1) {sleep 1;}'
CTRL-C does not work. I have to use Task Manager to kill the perl program.
I've reproduce the behavior with other Cygwin programs so it's not specific to perl. You could do:
cat <some largefile> | more
to get the same behavior. I used versions 2.0.1(0.287/5/3) 2015-04-30 18:13 & 2.4.0(0.292/5/3) 2015-12-17 21:59 to reproduce the issue.
Thanks,
--Bill
--
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