Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,
	T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to;
        bh=eiHO3UekDs1uMl0cG64tULaESznNE6aUYmrgBml4Haw=;
        b=fVcQop+4dWfXUPYUBvmHfH5qATcxAQN95K5CrFUE9KqjHPxsyoWADOqOn8m9n22uLg
         ILeNmdDBdzEiYxPIoNEYGFvKZ6r6VI/Xf52h8FXXjpzf8J7bgGbUvnxhvQqMi0Fj/mjZ
         0b4GdHOlCkdVWtMwPrEWOX5fzrZ74NwakV2PkwlV+MJHikusO4ZkwnppX89cuoqC4oUt
         BoaxshtCmsqk75WeZYwbZOSbfVPdBKFA0WszFa4CwnJXI0ZixA5WmA5oaWJ2CeWLHOHr
         vqvFS40M+D05oTVIoIu5HwBcD7vkv+xHEsmfBLyFNjNEP8fsamiVnww+dDyHzia4Z6yq
         7wfQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to;
        bh=eiHO3UekDs1uMl0cG64tULaESznNE6aUYmrgBml4Haw=;
        b=e65LmldlElEr9zvX8ujo36YLv+HrCgkilm7GJi/UQ5JEwjxTGoD9dz/63+LqP4qFEY
         0pBp8jtlnjPHc8dIA286yxeWZx/vbIECvWOM9F/EwdSetRzbYnT4JClryOQzT7brKuJ2
         G8350YMpb8OwOTeZmaNT5Q8BUh8pZ2v+N3laYGV2+nVLizkr9gr3/6460VYS50t57Jwu
         N0tjZZe0Sm30d8LCA8yNyqWZ07CwQZ2GmTAzSPKFD3ag+o2g73ooL3R9Cq5tn2aLWMDc
         JLsjVS4x5/9zHyhd5BT0YOshWbjbFXrisVhMc3/IKQwESAO1pk70ZLtYXC7ukLCEEDOg
         SbbQ==
X-Gm-Message-State: AOPr4FXBXPHjRRyvuOGxRdm07FLDIwdsvIkH6DMWnEtHhpGlMRdSyp/3P0bDcYaa5GqmpMx9AIxq70qcXliwHw==
MIME-Version: 1.0
X-Received: by 10.112.199.198 with SMTP id jm6mr10988338lbc.80.1462571725101;
 Fri, 06 May 2016 14:55:25 -0700 (PDT)
In-Reply-To: <20160506223520.34b3e3c4@ntlworld.com>
References: <ufaa8k6ei8t.fsf@epithumia.math.uh.edu>
	<CAH+w=7b+tKnvfv1ip6ykNW4Oh_BQSiXnGwGMQzhvfi=Wrq6DXg@mail.gmail.com>
	<20160506223520.34b3e3c4@ntlworld.com>
Date: Fri, 6 May 2016 14:55:24 -0700
Message-ID: <CAH+w=7bEj5KsRF-k6K=d+13bW9EsROBfUyY0+-O67XDMOPDbTw@mail.gmail.com>
Subject: Re: Weird issue with pipeviewer and multiple pipes
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Content-Type: multipart/alternative; boundary=001a11c37cb0223116053233841a
X-Seq: zsh-workers 38415

--001a11c37cb0223116053233841a
Content-Type: text/plain; charset=UTF-8

On May 6, 2016 2:41 PM, "Peter Stephenson" <p.w.stephenson@ntlworld.com>
wrote:
>
> On Tue, 3 May 2016 20:56:14 -0700
> Bart Schaefer <schaefer@brasslantern.com> wrote:
> >On Tue, May 3, 2016 at 6:15 PM, Jaron L Tibbitts III <tibbs@math.uh.edu>
wrote:
> > >
> > > [2]  + 11459 done                    echo 1 |
> > >        11461 suspended (tty output)  pv -l -s $(echo 1) |
> > >        11462 interrupt               cat
> >
> > I don't know why the $(echo) makes any
> > difference to it receiving the TTOU in the first place.
>
> Actually, it looks like This Can't Possibly Happen, since $(echo 1) is
> over and done with by the time the pv is started; we've got the output,
> closed the fd, and waited for the process to finish (by PID).  So there
> is some weird lingering side effect.

Something to do with list_pipe_* handling?  Is the parent confused about
the state of the child that will eventually exec pv ?

--001a11c37cb0223116053233841a--

