2.11BSD/man/cat1/script.0
SCRIPT(1) UNIX Programmer's Manual SCRIPT(1)
NAME
script - make typescript of terminal session
SYNOPSIS
script [ -a ] [ file ]
DESCRIPTION
_S_c_r_i_p_t makes a typescript of everything printed on your ter-
minal. The typescript is written to _f_i_l_e, or appended to
_f_i_l_e if the -a option is given. It can be sent to the line
printer later with _l_p_r. If no file name is given, the
typescript is saved in the file _t_y_p_e_s_c_r_i_p_t.
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.
BUGS
_S_c_r_i_p_t places everything in the log file. This is not what
the naive user expects.
Printed 11/26/99 April 29, 1985 1