Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: where is this used?
- X-seq: zsh-workers 953
- From: wischnow@xxxxxxxxxxxxxxxxxxxxxxx (Sven Wischnowsky)
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: where is this used?
- Date: Thu, 25 Apr 96 08:34 MET DST
- In-reply-to: Richard Coleman's message of Thu, 25 Apr 1996 01:50:31 -0400
Richard Coleman wrote:
>
> 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).
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author