contents.gifprev1.gifnext1.gif

JOURNAL_OPEN

Description:

JOURNAL_OPEN opens a journal file and begins the journal session. In the event your nu/TPU session is aborted, the keystrokes saved in your journal can be replayed to recover the session. In addition, all the terminal settings are saved when JOURNAL_OPEN is called. If your terminal settings are different when you use the /RECOVER option, you will be prompted whether or not to proceed. Note that using /RECOVER with different terminal settings may yield undesirable results.

This built-in requires a single argument which is the name of the journal file to be opened. In addition, nu/TPU returns the file specifications of the journal file if opened.

Syntax:

[string :=] JOURNAL_OPEN (filename)

Example:

The following tells nu/TPU to open a journal file "LASTEDIT.SEQ" and start journaling the work session.

JOURNAL_OPEN ("LASTEDIT.SEQ");

Errors:

TPU$_BADJOUFILE Journal file could not open.

TPU$_JNLOPEN Journal file presently open.

Related Builtins:

JOURNAL_CLOSE

SET(JOURNALING)