Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!uwvax!oddjob!mimsy!eneevax!umd5!brl-adm!adm!franco@MIKEY.BBN.COM From: franco@MIKEY.BBN.COM Newsgroups: comp.unix.wizards Subject: BSD script program. Message-ID: <7141@brl-adm.ARPA> Date: Mon, 27-Apr-87 22:12:47 EDT Article-I.D.: brl-adm.7141 Posted: Mon Apr 27 22:12:47 1987 Date-Received: Wed, 29-Apr-87 01:42:16 EDT Sender: news@brl-adm.ARPA Lines: 30 Before the existence of psuedo tty's (pty's), in particular, BSD4.1 for VAX and BSD2.8 and BSD2.9 for PDP-11(I don't know of other versions of UNIX for the PDPs), the script program used pipes to capture typed in commands and the commands output into a file called typescript. PROBLEM: The program worked fine this way except that if one tried to 'more' a file it wouldn't work(a bug that I am not sure was ever fixed, also trying to 'vi' a file bombed).. What I mean by bombed or failed to work is that after hitting the you would get nothing back, no prompt, no text. I found that if you hit the EOF key, the file you were more'ing would scroll by your screen as if you cat'd it. It also turns out that 'more' thought you were trying to view more than one file, the first file being a NULL file with a NULL name(the same for vi, strange!). QUESTION: Has the script program ever been fixed to work correctly with pipes and if so, can I get a context diff of the version that works with the version released for BSD2.9 or BSD4.1(please!!!)??? The version I have is @(#)script.c 4.1 (Berkeley) 10/1/80. Although it would be *nice* to get the complete program! If anyone out there has solved this problem on their own, I would greatly appreciate any help you can give. Frank "franco" Lonigro CSNET franco%bbn.com@relay.cs.net UUCP franco%bbn.uucp@harvard.harvard.edu