BSD & Sys5 Job Control
jpn at teddy.UUCP
jpn at teddy.UUCP
Sat Jan 24 09:21:46 AEST 1987
In article <114 at dolphy.UUCP> jmg at dolphy.UUCP (Jeffrey Greenberg) writes:
>In BSD, processes must be coded to properly handle job control. In sys5,
>whoever manipulates the terminal driver, is in control.
Wait just a second!!! "simple" BSD tasks do NOT need to be recoded to
be manipulated with job control (i.e they can be stopped and started just
fine, thank you), but tasks have the CAPABILITY to catch signals which
indicate a job state change. In other words, if you don't recode any
BSD tasks (except the shell, perhaps), it works just like "shl". On the
other hand, editors can fix the tty mode and redraw the screen if they
want to.
Shl has two major flaws, in my opinion:
1. You must set it up in advance (i.e the normal shell can't take
advantage of it).
2. Tasks have no notification of state changes. Perhaps if the Shl layer
also did screen maintainance (restoration), this would be OK, but
raw shl is happy to let the screen get botched. As far as I can
tell, it is not POSSIBLE to write a "shl" that fixes the screen.
Well, maybe with special tty drivers and such.
Both shl and "job control" are unnecessary if you have a true windowing
system. Both are HACKS to provide capabilities close to window systems
using dumb terminals.
More information about the Comp.unix.questions
mailing list