Terminal Session Transcripts
ellis at ultra.dec.com
ellis at ultra.dec.com
Thu Jun 26 06:46:15 AEST 1986
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
More information about the Comp.unix
mailing list