CTRL-C does not work in Cygwin when using pipes

2015-12-29 Thread Bill Smith
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 Mana

Re: CTRL-C does not work in Cygwin when using pipes

2015-12-29 Thread Warren Young
On Dec 29, 2015, at 1:03 PM, Bill Smith wrote: > > echo foo | perl -e 'while(1) {sleep 1;}' > > CTRL-C does not work. I have to use Task Manager to kill the perl program. Works for me on Windows 10, under both the Cygwin Terminal (mintty) and in a raw cmd.exe window. You’ll have to narrow th

Re: CTRL-C does not work in Cygwin when using pipes

2015-12-29 Thread Roger Wells
On 12/29/2015 03:29 PM, Warren Young wrote: > On Dec 29, 2015, at 1:03 PM, Bill Smith wrote: >> >> echo foo | perl -e 'while(1) {sleep 1;}' >> >> CTRL-C does not work. I have to use Task Manager to kill the perl program. > > Works for me on Windows 10, under both the Cygwin Terminal (mintty) and

RE: CTRL-C does not work in Cygwin when using pipes

2015-12-29 Thread Bill Smith
[Oops, apologies if I messed up the threading as I wasn't subscribed to the list and noticed there were some replies.] On 12/29/2015 04:07 PM, Roger Wells wrote: > a bit more: > windows 10, mintty, works as hoped. > windows 10, bash, observe what the OP reported originally Yes, I'm trying to do

Re: CTRL-C does not work in Cygwin when using pipes

2015-12-29 Thread Michael Enright
On Tue, Dec 29, 2015 at 2:31 PM, Bill Smith wrote: > Yes, I'm trying to do this with the standard shell, bash. We have tried > using mintty or the xterm version but there were other issues. The above implies something but I'm not sure what it is. Can you give more detail? mintty and xterm are t

Re: CTRL-C does not work in Cygwin when using pipes

2015-12-29 Thread Warren Young
On Dec 29, 2015, at 3:31 PM, Bill Smith wrote: > > I'm trying to do this with the standard shell, bash. We have tried using > mintty or the xterm version but there were other issues. Michael is correct: the shell and the terminal are two separate programs. Your problem isn’t with bash, it’s

Re: CTRL-C does not work in Cygwin when using pipes

2015-12-30 Thread Michael Enright
On Tue, Dec 29, 2015 at 2:57 PM, Michael Enright wrote: > And since I have chosen to participate in this thread, I tried the > command in question. The success of my attempt does not mean that I > don't believe there's a problem. My setup is Windows 7/64 in a VM, > running 32-bit cygwin, mintty te

Re: CTRL-C does not work in Cygwin when using pipes

2015-12-30 Thread Michael Enright
On Wed, Dec 30, 2015 at 1:03 AM, Michael Enright wrote: > On Tue, Dec 29, 2015 at 2:57 PM, Michael Enright wrote: >> And since I have chosen to participate in this thread, I tried the >> command in question. The success of my attempt does not mean that I >> don't believe there's a problem. My set