Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!seismo!mcvax!ukc!its63b!simon From: simon@its63b.UUCP Newsgroups: comp.unix.questions Subject: Re: BSD & Sys5 Job Control Message-ID: <267@its63b.ed.ac.uk> Date: Sun, 22-Feb-87 12:57:15 EST Article-I.D.: its63b.267 Posted: Sun Feb 22 12:57:15 1987 Date-Received: Thu, 26-Feb-87 22:22:33 EST References: <1324@cadovax.UUCP> <161@piaget.UUCP> <114@dolphy.UUCP> <1055@sfsup.UUCP> <164@myab.UUCP> Reply-To: simon@its63b.ed.ac.uk (ECSC68 S Brown CS) Organization: I.T. School, Univ. of Edinburgh, U.K. Lines: 42 In article <1055@sfsup.UUCP> dcm@sfsup.UUCP (David C. Miller, consultant) writes: >... So, no, there is no great shell that works with shell layers >and (sigh) nothing quite like BSD job controls. The dmd however is really >a lot of fun. > I have posted a set of diffs for the sysV sh sources to implement job-control using sxt-devices, to comp.sources.unix (or mod.sources, or whatever it's called where you live :-) ). Unfortunately, this probably means it'll take a while to get out (what with being moderated, and all), but I can't post to net.sources (or unmoderated comp.sources.unix or whatever its called) from here, so that's just tough. Still, that's life for you ... The diffs will convert your shell into one with job-control which vaguely resembles BSD csh job-control, namely: fg [%job] brings a job back to the foreground bg [%job] resume a stopped job in the background jobs print list of jobs kill [-n] %job kill a job stop [%job] stop a background job %job same as "fg %job" %job & same as "bg %job" ^Z stop the current job There are certain differences from BSD job-control (mostly forced by the way sxt devices work - and mostly improvements too!). -- ----------------------------- Simon Brown @@@\ Department of Computer Science /-/@ \ University of Edinburgh, Scotland, UK. / /@ \@@ / /@ \-\ UUCP: seismo!mcvax!ukc!{its63b,cstvax}!simon / /@/-/ \ \ JANET: simon@uk.ac.ed.{its63b,cstvax} / /@/ / /-/ \ \ ARPA: simon@{its63b,cstvax}.ed.ac.uk /-/@/-/ /-/ \ \ ------------------------------ ~~~~~~~~~~~~~~~~~~~~ "Life's like that, you know"