This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

CTRL-C does not work in Cygwin when using pipes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]