Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: "echo | ps -j $(:) | cat | cat | cat" runs components in different process groups
- X-seq: zsh-workers 42626
 
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
 
- To: Zsh hackers list <zsh-workers@xxxxxxx>
 
- Subject: Re: "echo | ps -j $(:) | cat | cat | cat" runs components in different process groups
 
- Date: Wed, 11 Apr 2018 15:10:24 -0700
 
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;        h=from:message-id:date:in-reply-to:comments:references:to:subject         :mime-version;        bh=Wit72Rr5L9jfW+K0cAwM1YnTsfPvONMIGsAoIBl/I0A=;        b=FsG5dYkZmLUlQHfHuS5U3ntKGyO2a1zGTF7gL0/iFZSZapYFLd9WKqpZWY+/ietvJT         WDfqghdkROFVU75niAqiA18j3Brx+7+DFn4KCYKlmGa6IFJSAgjAGE4MsQ1Tbcs39/Ly         xJmFHVQwmQTeV+LB9JRbinbpybb1UWUAgoScry6aqvAgK/eQ9Vc4URMcmYzvc61DkHRS         l5TNxcFE9oLrPnB44TUD+hG5TB3YcK7rxDkAr7VIajTYGmk3Yxm0P/mtXqUGtbp9Mgas         GdFo8p2uBslg3hnqll5Az7UwcfZdxihbWLdxogIo3rG/4WkkHqetqAxXg5XyHRYUPLa8         DlWA==
 
- In-reply-to: <20180410145926.64c4f671@camnpupstephen.cam.scsc.local>
 
- List-help: <mailto:zsh-workers-help@zsh.org>
 
- List-id: Zsh Workers List <zsh-workers.zsh.org>
 
- List-post: <mailto:zsh-workers@zsh.org>
 
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
 
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
 
- References: <20180323161612.GB4857@chaz.gmail.com> 	<180323163614.ZM10192@torch.brasslantern.com> 	<180323221959.ZM27569@torch.brasslantern.com> 	<20180324080514.txxyrb3qiztu4pqt@gmail.com> 	<CGME20180324221021epcas1p184507a6328dbd505b97db69c1f9d8194@epcas1p1.samsung.com> 	<180324150945.ZM32251@torch.brasslantern.com> 	<20180410124545.13fccd5d@camnpupstephen.cam.scsc.local> 	<20180410145926.64c4f671@camnpupstephen.cam.scsc.local>
 
On Apr 10,  2:59pm, Peter Stephenson wrote:
} Subject: Re: "echo | ps -j $(:) | cat | cat | cat" runs components in diff
}
} +		if (pn->pid == jn->gleader) {
} +		    jn->gleader = 0;
} +		    /* HERE: check this was actually in foreground... */
} +		    attachtty(mypgrp);
} +		}
I think attachtty() will simply fail here if mypgrp is not already in
the foreground, but I confess not to be 100% certain.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author