delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/19/15:00:59

X-Recipient: archive-cygwin AT delorie DOT 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 AT bopp DOT 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 AT cygwin DOT com
Subject: Re: CygWin-1.7.3-1 fails to provide pipe. (merge back into trunk please)
References: <4B30AD0BED19E842AAE88DC3973649312411601388 AT mail3 DOT walsh DOT edu> <20100406141508 DOT GD16409 AT ednor DOT casa DOT cgf DOT cx> <4BBB4EE4 DOT 9080508 AT gmail DOT com> <20100406150121 DOT GE16409 AT ednor DOT casa DOT cgf DOT cx> <20100406164537 DOT GA19024 AT ednor DOT casa DOT cgf DOT cx> <28323001 DOT post AT talk DOT nabble DOT com> <4BCFAA76 DOT 3020104 AT cygwin DOT com> <28611103 DOT post AT talk DOT nabble DOT com> <8339xnkbtt DOT fsf AT garydjones DOT name>
In-Reply-To: <8339xnkbtt.fsf@garydjones.name>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019