Compaq AA-PWCBD-TE Computer Accessories User Manual


 
Getting Started with DECTPU
2.6 Using OpenVMS EDIT/TPU Command Qualifiers
2.6.7 /INTERFACE
The /INTERFACE qualifier determines the interface or screen display you want
(same as /DISPLAY). The default is CHARACTER_CELL.
For example, to invoke EVE with the DECwindows interface, use the following
command:
$ EDIT/TPU /INTERFACE=DECWINDOWS
Then, if DECwindows is available, DECTPU displays the editing session in a
separate window on your workstation screen and enables DECwindows features;
for example, the EVE screen layout includes a menu bar and scroll bars. If
DECwindows is not available, DECTPU works as if on a character-cell terminal.
2.6.8 /JOURNAL
/JOURNAL[[=input_file.TJL]] (default for EVE)
/NOJOURNAL (default for DECTPU)
The /JOURNAL qualifier determines whether DECTPU keeps a journal file of an
editing session so you can recover the session if it is unexpectedly interrupted.
DECTPU offers two forms of journaling:
Keystroke—In a single journal file, keeps track of each keystroke you make,
regardless of which buffer is in use when you press the key.
Buffer-change—In a separate journal file, keeps track of changes made to
buffers for each buffer created during the session.
The application layered on DECTPU is responsible for processing this qualifier.
To determine whether you specified /JOURNAL on the DCL command line, use
the following call in the application:
x := GET_INFO (COMMAND_LINE, "journal");
The preceding call returns 1 if /JOURNAL was specified, 0 otherwise.
To determine whether buffer-change journaling is turned on for a buffer, use a
statement similar to the following:
status := GET_INFO (buffer_name, "journaling");
To determine the name of the keystroke journal file specified on the command
line, use the following call:
x := GET_INFO (COMMAND_LINE, "journal_file");
For more information on GET_INFO, see the DEC Text Processing Utility
Reference Manual.
In EVE, if you do not specify any form of /JOURNAL or specify /JOURNAL
but not a journal file, buffer-change journaling is turned on. The buffer-change
journal file’s default file type is .TPU$JOURNAL.
If you specify /JOURNAL=filename, then EVE also turns on keystroke journaling.
The keystroke journal file’s default file type is .TJL.
To prevent EVE from creating either a keystroke or buffer-change journal file for
an editing session, use the /NOJOURNAL qualifier. For example, the following
command causes EVE to turn off buffer-change journaling when you edit the
input file MEMO.TXT:
2–14 Getting Started with DECTPU