Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!enea!chalmers!myab!lars From: lars@myab.UUCP (Lars Pensj|) Newsgroups: comp.unix.questions Subject: Re: BSD & Sys5 Job Control Message-ID: <164@myab.UUCP> Date: Thu, 29-Jan-87 07:37:01 EST Article-I.D.: myab.164 Posted: Thu Jan 29 07:37:01 1987 Date-Received: Sat, 7-Feb-87 04:48:05 EST References: <1324@cadovax.UUCP> <161@piaget.UUCP> <114@dolphy.UUCP> <1055@sfsup.UUCP> Reply-To: lars@myab.UUCP (Lars Pensj|) Organization: Myab Gothenburg, Sweden Lines: 33 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. > It is quite possible to make csh use the sxt devices. We have done such an implementation, and are now using csh in place of sh. Result: ++++ Possibilities to switch between 7 jobs and let them run in the background. - Csh doesn't modify tty name in wtmp. We "hacked" getlogin() to do it another way, and relinking all programs using it. - Csh have problems handling type ahead, because typed characters are associated to the sxt device attached to the current process. When the process exits, csh has to read them back from this device. - A process can not know whether it is blocked or not. +! Processes are not stopped, they are blocked (terminal i/o). * When any process (e.g. stty) changes the baudrate, the current sxt device gets another baud rate than all other jobs (very fun, but fixed nowadays). - The modifications are not public domain. We also implemented this in tcsh.