The Journal/Recovery Feature

When the stand-alone version of SPECTRA is running, all commands are written to a log-file before they are executed. The name of the log-file is spectra.jou. If SPECTRA ends normally, spectra.jou is deleted, otherwise the user is told that an old version of the log-file exists the next time he runs SPECTRA. The journal file can be executed with a run command. The user has to be aware that the cursor movements are not logged. Commands that are executed from a command file are also not logged.

The journal file can be reset with a rewind (sect. 15.3.62) command and the contents of the journal file can be written to an extra file with the save (sect. 15.3.65) command.