| Previous Topic | Next Topic | Contents | Features |
The echoing of user input to the journal file is enabled and disabled by the (text) commands WRITE ON and WRITE OFF; the default mode is OFF. The journal file can be examined for the cause of unexpected results, edited, and can be input back into Sabrina with the Read command. User input is echoed to the journal file exactly as received, warts and all. An input error will still be an error when Reading the corresponding journal file.
Sabrina does not know if a file being Read in was created as a journal file or not.
If no journal file name is specified following WRITE ON, the file name ttyinp or a derivative is used. (A suffix of .txt may be added in the future.) Sabrina constructs a unique name for the journal file by starting with ttyin and incrementing the last letter, resulting in files ttyinq, ttyinr, ttyins ttyinz, ttyina . The process continues until the name of a non-existing file is constructed. An error may result if more than 26 such files exist. The command
WRITE REUSE
will force the reuse of ttyinp, thus avoiding a proliferation of journal files. REUSE is the default setting. To revert to the default mode of finding a unique name execute
WRITE UNIQUE
The contents of files imported with Read are written to the journal file, as is the READ command itself.
In the old days, when READ was ignored when Reading from another file, this echoing of the Read file had the proper effect when the journal file was Read. We will implement settings to suppress the echoing or not, and for ignoring or executing READ commands. The default will be to not echo and execute READ. Similar settings exist for handling MCNP input in the journal file-see WRITE MCNP.