4.3BSD-UWisc/man/cat1/script.1

Compare this file to the similar file:
Show the results in this format:




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.

     If the file `typescript' already exists, the program will
     notify the user of this and overwrite the file only when the
     user's permission.  The script ends when the forked shell
     exits.

     The user can run only one script at a time; that is, script
     cannot be invoked within another script.

     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.

LOCAL MODS
     Added option to run only one script at a time.  Added option
     to notify user of existing typescript before creating a new
     one.

BUGS
     _S_c_r_i_p_t places everything in the log file.  This is not what
     the naive user expects.





















Printed 12/27/86         April 29, 1985                         1