SVR3.0 vs BSD4.3
Stephen J. Friedl
friedl at vsi.UUCP
Fri Mar 25 16:31:38 AEST 1988
In article <7542 at brl-smoke.ARPA>, gwyn at brl-smoke.ARPA (Doug Gwyn ) writes:
< In article <2050 at munnari.oz> kre at munnari.oz (Robert Elz) writes:
< >But that's not job control. Job control is when I notice that /foobar
< >is 98% full, and some cretin has a job running that's half way through
< >extracting 160Mb from a tar tape .. "kill -STOP <pid>" is job control.
<
< Most 4BSD job control seems to be done by typing ^Z, "fg", "bg", etc.
< Running under "shl", there is a keyboard-generated signal similar to
< TSTP and analogs of fg, bg, etc. That is why I said that "shl" is
< the AT&T UNIX equivalent of 4BSD job control. As both of us have
< said, each approach has advantages and disadvantages w.r.t. the other.
Shell layers do not involve any kind of signals. When ^Z is hit,
the sxt driver gives control back to channel zero, which is
usually the layer manager (here, /usr/bin/shl). When a user
command to shl asks that a child layer be run, the layer manager
issues an ioctl to the multiplexor to give control to the child's
layer (there is no SIGCONT). One result of this implementation
is that I know of no way for a layer to suspend itself, certainly
not with signals (if anybody else knows how I would love to hear it).
Nevertheless it is not incorrect to equate job-control with shell
layers in a general kind of way -- kre's way just may be more general
than mine :-).
--
Steve Friedl V-Systems, Inc. *Hi Mom*
friedl at vsi.com {uunet,attmail,ihnp4}!vsi!friedl
More information about the Comp.unix.wizards
mailing list