From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16921 invoked from network); 11 May 1999 15:53:45 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 11 May 1999 15:53:45 -0000 Received: (qmail 17164 invoked by alias); 11 May 1999 15:53:14 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6264 Received: (qmail 17157 invoked from network); 11 May 1999 15:53:13 -0000 Date: Tue, 11 May 1999 17:53:11 +0200 (MET DST) Message-Id: <199905111553.RAA21628@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Peter Stephenson's message of Tue, 11 May 1999 15:15:17 +0200 Subject: Re: PATCH: tty pgrp problem again: third attempt Peter Stephenson wrote: > Sven, you're the only person that ever understood the list_pipe stuff. Is > there a better way of handling this? Should it really go somewhere in > execpline() or execpline2()? Somehow I think, it would be safer in execpline[2](), but I don't really remember all the list_pipe stuff and we had some patches from others for it (and the jobbing and signal code) after I worked on that part of the code, so I may be wrong. But while playing a bit, I found at least one more bug. If you do: `ls | if true; then sleep 10; cat; fi' and ^Z the sleep, then fg the whole thing again, the shell doesn't get hold of the terminal again after the cat finishes. If you bg before the fg, the cat doesn't get control (and neither does the shell). Maybe I'll look some more into this (but I'm sure you are currently deeper into all this then I). Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de