From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id RAA28980 for ; Thu, 25 Apr 1996 17:02:29 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id CAA28898; Thu, 25 Apr 1996 02:50:03 -0400 (EDT) Resent-Date: Thu, 25 Apr 1996 02:50:03 -0400 (EDT) Message-Id: <199604250648.CAA08013@redwood.skiles.gatech.edu> X-Mailer: exmh version 1.6.6 3/24/96 To: wischnow@informatik.hu-berlin.de (Sven Wischnowsky) cc: zsh-workers@math.gatech.edu Subject: Re: where is this used? In-reply-to: Your message of "Thu, 25 Apr 1996 08:34:00 +0700." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 25 Apr 1996 02:48:01 -0400 From: Richard Coleman Resent-Message-ID: <"f_bST2.0.P37.Q2oVn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/954 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > > The field `other' in the structure `job' appears to > > only be set in execpline() and never used. Does anyone > > know what this is for? > > Once upon a time... when I was fiddling with the execution code I used > this field. It was used for stopping pipelines with loops (and other > shell-internal things) at the end. For doing that the current shell > forked and used the child to represent the end of the pipe. The other > field of the job representing the stopped child held the job number of > the `old' job (the one representing the head of the pipe), so that > both of them could be made runnable. > > Since there have been lots of changes in the execution and signal code > I no longer know if it is still needed (maybe the fact that it isn't > used anymore is connected to the fact that several bugs -- like the > infamous never-^C-less-bug -- have reappeared). I just went through some of the older distributions looking into this. It appears the `other' field first appeared in zsh-2.5.02. But in all distributions it was only set and never used. So it's removal is probably not the cause of our problem with signals. rc