X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0	tests=AWL,BAYES_00,TW_MK
X-Spam-Check-By: sourceware.org
Message-ID: <4BF43555.3030808@bopp.net>
Date: Wed, 19 May 2010 14:00:37 -0500
From: Jeremy Bopp <jeremy@bopp.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin@cygwin.com
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>
In-Reply-To: <8339xnkbtt.fsf@garydjones.name>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

