Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!ellis@ultra.dec.com From: ellis@ultra.dec.com Newsgroups: net.unix Subject: Terminal Session Transcripts Message-ID: <3827@decwrl.DEC.COM> Date: Wed, 25-Jun-86 16:46:15 EDT Article-I.D.: decwrl.3827 Posted: Wed Jun 25 16:46:15 1986 Date-Received: Sat, 28-Jun-86 05:28:53 EDT Sender: daemon@decwrl.DEC.COM Organization: Digital Equipment Corporation Lines: 18 The command script(1), which appears to be available in Berkeley Unix but not AT&T System V, spawns a subshell. A transcript of all input and output for the terminal session with the subshell is saved in a file. The file has zero length while the subshell is active, and the complete transcript is written to the file when the subshell terminates. Is there any way to access a partial transcript from a different terminal or process while the spawned subshell is still active? I have tinkered with pipes, tees, direct references to /dev/tty, redirections of named descriptors, and the like, in both Bourne Shell and C-Shell, but don't have it quite right. I get incomplete transcripts, broken pipes and other errors. Can someone help? David Ellis / DEC, Littleton MA / 617-486-6784 ...decvax!ultra::ellis ...decwrl!rhea!ultra!ellis