BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / script.0
SCRIPT(1) UNIX Programmer's Manual SCRIPT(1)
N\bNA\bAM\bME\bE
script - make typescript of terminal session
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
s\bsc\bcr\bri\bip\bpt\bt [ -\b-a\ba ] [ file ]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bS_\bc_\br_\bi_\bp_\bt makes a typescript of everything printed on your ter-
minal. The typescript is written to _\bf_\bi_\bl_\be, or appended to
_\bf_\bi_\bl_\be if the -\b-a\ba option is given. It can be sent to the line
printer later with _\bl_\bp_\br. If no file name is given, the
typescript is saved in the file _\bt_\by_\bp_\be_\bs_\bc_\br_\bi_\bp_\bt.
The script ends when the forked shell exits.
This program is useful when using a crt and a hard-copy
record of the dialog is desired, as for a student handing in
a program that was developed on a crt when hard-copy termi-
nals are in short supply.
B\bBU\bUG\bGS\bS
_\bS_\bc_\br_\bi_\bp_\bt places e\bev\bve\ber\bry\byt\bth\bhi\bin\bng\bg in the log file. This is not what
the naive user expects.
Printed 7/9/88 April 29, 1985 1