$ PEEK/SAVE_SCREEN /OUTPUT_LOG_FILE [=file_spec]
SAVE_SCREEN/OUTPUT_LOG_FILE[=file] is used to create a log file
containing everything output to the terminal while the screen-
saving is in effect.
The default filespec is taken from the logical SAVE$OUTPUT_LOG_FILE.
This logical may be defined system-wide by PEEK_DEFAULTS.COM, or it
may be defined in any of the logical-name tables specified in
LNM$PEEK_TABLE_SEARCH_LIST, which is defined by PEEK_DEFAULTS.COM.
See the top-level PEEK Subtopic: Defaults.
If this logical is not defined and if /OUTPUT_LOG_FILE is specified
without the optional file-spec, then PEEK will generate a log file
in the current default directory using a default log-file name of:
PEEK_TRMLOG_username_terminalname.LOG
If a log file is already being made, then it can be closed with a
$ PEEK/SAVE_SCREEN/CLOSE_FILE command.
To close the current log file and start logging to a new log file
use a $ PEEK/SAVE_SCREEN/LOG/NEW_FILE command.
The /REOPEN qualifier also affects PEEK/SAVE_SCREEN/LOG.
Terminal logging with /SAVE_SCREEN/LOG is terminated by a
PEEK/SAVE_SCREEN/CLOSE_FILE command, or a PEEK/NOSAVE_SCREEN command.
Example:
$ PEEK/SAVE /OUTPUT=SAVE_OUTPUT
Note that /LOG and /OUTPUT_LOG are synonymous.