delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/05/17:09:53

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:cc:content-type
:content-transfer-encoding; q=dns; s=default; b=NLmfrCVQos+hdB0c
QnNQYW0Wx50swdoVWoTN/kYl5t7aNY3mYyPb1Xy4vvIpa6pK1tX1FEbPwEEJur8p
CmHeUINzXDz4UJbtLJTKagiIpewI8fGI0vfqs6IshSofwCsHhyqRx1W9PJGEoCI0
zY6xUHtbfvZt7ICQwcDKHYXhy4w=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:cc:content-type
:content-transfer-encoding; s=default; bh=mn2ubEXj/p3d5+Y4hVVdZ8
vmkS8=; b=LTioDiXM4zEevFAtsHXLHdqctM6765iGo+Vzk5D5th5UJA3NHj/q+i
HHuE9EdNErd9Y8dywFaDtoqRg/K3flKpAURmsYhh2MPWExRmNnOKR3EL4bMixlU0
c3+3gUqYNpKmVxHBegpvbjbhnwK9brgl0WtsX0vdr1Ygjyog5F6Gc=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qg0-f54.google.com
MIME-Version: 1.0
X-Received: by 10.140.92.241 with SMTP id b104mr20268409qge.55.1438808972138; Wed, 05 Aug 2015 14:09:32 -0700 (PDT)
In-Reply-To: <1815054412.20150805194907@yandex.ru>
References: <7C6531D1-F23D-4FD1-8897-7BBAC809CE90 AT mac DOT com> <1815054412 DOT 20150805194907 AT yandex DOT ru>
Date: Wed, 5 Aug 2015 16:09:32 -0500
Message-ID: <CA+2x6-+0P=BP+fSWuDv6Ff+LwKJt2jV6mJL7LHNQtGoHT_CvtA@mail.gmail.com>
Subject: Re: Pipe behaviour broken with Cygwin 2.2.0-1
From: Nem W Schlecht <nemws1 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Cc: "Mark O'Keefe" <mark_okeefe AT mac DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t75L9l5P013070

On Wed, Aug 5, 2015 at 11:49 AM, Andrey Repin <anrdaemon AT yandex DOT ru> wrote:

>
>> I’ve noticed that the following is broken in Cygwin 2.2.0-1.  It works in Cygwin 2.1.0-1.
>
>> yes | head -10
>
>> This fails to exit on Cygwin 2.2.0-1.  It correctly exists on Cygwin 2.1.0-1.
>
> WJFFM both in mintty and native console.
> CYGWIN_NT-6.1 daemon2 2.2.0(0.289/5/3) 2015-08-03 12:51 x86_64 Cygwin


Does *not* work for me in an 'xterm' launched from the X toolbar icon.
I see the same error.

I don't see this with other commands, though.  'ls -l | head -10'
works just fine.


Okay, now this is really weird.... I have a hotkey set up in
AutoHotKey (Alt-Shift-T) to launch a new xterm.  It calls HSTART
(http://www.ntwind.com/software/hstart.html) with /NOCONSOLE /SHELL
which then runs a '.bat' file that runs:

c:\cygwin64\bin\bash.exe -i -c "exec /usr/bin/xterm -ls -u8 -display
:0.0 >/dev/null 2>&1 &"

Any 'xterms' I open with this *work just fine*.  Any I open from the
X11 taskbar *do not*.  From my system.XWinrc:

menu apps {
    xterm   exec    "xterm -ls -u8"
    ...
}

Usually, I use my hotkey to open windows, so I haven't noticed if/when
I get this IO error for similar commands.

I opened multiple xterms via both methods and confirmed that my hotkey
version always works and the menubar version never does.

CYGWIN_NT-6.1 sshhhh 2.2.0(0.289/5/3) 2015-08-03 12:51 x86_64 Cygwin



-- 
Nem W Schlecht
 "Perl did the magic.  I just waved the wand."

--
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