SCRIPT(1,C) AIX Commands Reference SCRIPT(1,C)
-------------------------------------------------------------------------------
script
PURPOSE
Makes typescript of terminal session.
SYNTAX
+------+ +--------+
script ---| |---| |---|
+- -a -+ +- file -+
DESCRIPTION
The script command makes a typescript of everything printed on your terminal.
The typescript is written to file, or appended to file if the -a option is
given. It can be sent to the line printer later. If no file name is given,
the typescript is saved in the file typescript.
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 terminals are in short supply.
The script command, when run on a block mode terminal such as the 3270 console
of an AIX/370 system, will echo characters only as they are sent to the system.
This is usually line at a time rather than character at a time. If logging of
keystrokes on the console is desired, the tlogger command is recommended in
favor of the script command.
RELATED INFORMATION
See the following commands: "tlogger," "tlog," and "tee."
Processed November 8, 1990 SCRIPT(1,C) 1