Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!nbires!hao!hplabs!pesnta!phri!dolphy!jmg From: jmg@dolphy.UUCP (Jeffrey Greenberg) Newsgroups: comp.unix.questions Subject: RE: BSD & Sys5 Job Control Message-ID: <114@dolphy.UUCP> Date: Wed, 21-Jan-87 11:52:04 EST Article-I.D.: dolphy.114 Posted: Wed Jan 21 11:52:04 1987 Date-Received: Thu, 22-Jan-87 22:37:22 EST References: <1324@cadovax.UUCP> <161@piaget.UUCP> Organization: What Can I Say To You? Lines: 31 (Caveat: Much of this is from memory! ("Embarassment is the highest state of conciousness" - Anon.)) shl is a different approach to job control then berkeley's older system. It functions primarily through the terminal driver, then through kernel signals... that is, there is no SIGSTOP, etc. It is a far cleaner an implementation. The term & col stuff is not kept in the kernel (it doesn't belong there). In BSD, processes must be coded to properly handle job control. In sys5, whoever manipulates the terminal driver, is in control. However, as is ususal, BSD is far sexier and idiosyncratic. Job control for the user is far more usuable. This is because it is built into csh, and is all that recommends it. Sys5's sh & korn-sh (at least ours) doesn't know about job control so one is left to use the poor 'shl' program. The 'shl' program is a sketch of a program. I believe that ATT has a decent interface somewhere or a shell modified for job control - there's money to be made with a decent Sys5 job control interface. Shl is a program that only does the following: create a seperate shell on same terminal; switch from one to the other; cause them to suspend on input or output; resume them; and change what - if anything - they'll wait for. All the functionality one wants. However, shl is not a real shell, lacking all the language constructs, aliases, etc. In summary: I used to use BSD job control but on system 5, with shl, I do not. It's too clumsy. -- Jeffrey Greenberg - {cmcl2,allegra}!phri!dolphy!jmg NSA terrorist CIA cryptography DES drugs NRO cipher IRS secret RSA decode coke libyan crack pot LSD russian nuclear missile atom assassinate