Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.unix.wizards Subject: Re: SVR3.0 vs BSD4.3 Message-ID: <7581@brl-smoke.ARPA> Date: 29 Mar 88 14:01:11 GMT References: <12690@brl-adm.ARPA> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 15 In article <12690@brl-adm.ARPA> rbj@icst-cmr.arpa (Root Boy Jim) writes: > From: Doug Gwyn > > "script" for recording terminal session > "Script" screws up the application running under it sometimes. It > could be implemented almost trivially with STREAMS. Somebody should > do so. >Interesting. Please elaborate. Elaborate on what? The screw-up is that certain operations do not work right on ptys. A streams-based implementation of "script" was sent to me by Norman Wilson; it consisted of a few lines of shell script. The only thing not working was signal propagation to the correct process group, because the Bourne shell doesn't have a way to manipulate that. A translation to C would also be only a few lines and could solve the signal problem.