This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: CygWin-1.7.3-1 fails to provide pipe. (merge back into trunk please)
- From: Jeremy Bopp <jeremy at bopp dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 19 May 2010 14:00:37 -0500
- Subject: Re: CygWin-1.7.3-1 fails to provide pipe. (merge back into trunk please)
- References: <4B30AD0BED19E842AAE88DC3973649312411601388@mail3.walsh.edu> <20100406141508.GD16409@ednor.casa.cgf.cx> <4BBB4EE4.9080508@gmail.com> <20100406150121.GE16409@ednor.casa.cgf.cx> <20100406164537.GA19024@ednor.casa.cgf.cx> <28323001.post@talk.nabble.com> <4BCFAA76.3020104@cygwin.com> <28611103.post@talk.nabble.com> <8339xnkbtt.fsf@garydjones.name>
On 5/19/2010 1:04 PM, Gary wrote:
> benczur writes:
>
>> Sorry for bringig up this thread again, but was this issue fixed in 1.7.5-1?
>>
>> When I do:
>> $ mkfifo /tmp/pipe
>> $ ls -l > /tmp/pipe
>> cygwin hangs... and cannot be stopped by Ctrl-C.
>
> WFM (in the sense it responds to Ctrl-C).
The function of Ctrl-C is conditional, based on whether you use the
Windows terminal (cmd.exe) or a Cygwin terminal (mintty/rxvt). Under
the Windows terminal, Ctrl-C is ignored, but it works as expected under
a Cygwin terminal.
>> Alternatively after
>> $ ls -l > /tmp/pipe &
>> $ cat /tmp/pipe
>>
>> nothing happens, so I interrupt cat with Ctrl-C, and finally try:
>>
>> $ cat < /tmp/pipe
>> cat: -: Communication error on send
I see this behavior under both kinds of terminals. Under Linux, all of
the above works as you expect, so this appears to be a Cygwin defect.
-Jeremy
--
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