REROUTE-OUTPUT is an utility.
REROUTE-OUTPUT is the canonical way of routing output of TPS
to a file exclusively. (REROUTE-OUTPUT filename default form1 ... formn)
will open a file filename using default for figuring out parts of filename
which were not specified. It then executes form1 ... formn such that
all output goes to filename. Note that you can still send messages to the
terminal with COMPLAIN or TTYMSG, but MSG output will go to filename.
When the writing is completed, a message with the true filename will
be printed. If you want to suppress this message, set REROUTE-CLOSE-MESSAGE
to NIL. Please think about the defaults, but if you want to use
the (most likely wrong) CLISP default, just use the global variable

TPS documentation homepage

© 1988-99, Carnegie Mellon University.

TPS homepage