Syntax
The RESTART: command, which has no arguments, is used to restart the program afresh, with the particular exception that any external files introduced when starting the program, or later via the CHANNEL: command, are left alone. Consequently, any macros and so forth remain available after the restart.
If the program was started initially with a log-in macro on a file on channel 1, this macro is not re-run. The history buffer is flushed to a history file if one has been defined, and the buffer is then emptied, and the storage of screen commands is switched off. The output channel is reset to the screen.
The CLEAR: command is similar, but does not interfere with either currently-defined loops or the handling of macros.