MAIL Editing
You can make EVE the default editor for MAIL by using the command SET
EDITOR TPU in MAIL. You can also define logical names to specify your own
initialization file (EVE$INIT) and section file (TPU$SECTION).
Steps:
1. To use EVE as the MAIL editor, use the following command in MAIL:
MAIL> SET EDITOR TPU
Thus, SEND/EDIT, REPLY/EDIT, and similar commands in MAIL invoke TPU,
running the standard EVE section file. Your choice of editor is stored
in the MAIL user profile along with your personal name, mail
directory, and other settings.
2. To use an initialization file, create a file named EVE$INIT.EVE in
SYS$LOGIN (your SYS$LOGIN directory) or define the EVE$INIT logical
name. For example, the following DCL command defines EVE$INIT as a
file named MYINIT.EVE:
$ DEFINE EVE$INIT SYS$LOGIN:myinit
This is useful if you create an initialization file to define keys or
to set margins, tabs stops, and other attributes. You can put the
definition in your LOGIN.COM file.
3. To use your own section file instead of standard EVE, define the
TPU$SECTION logical name. For example, the following DCL command
defines TPU$SECTION as a file named MYSEC.TPU$SECTION
$ DEFINE TPU$SECTION SYS$LOGIN:mysec
Thus, TPU uses your section file instead of the standard EVE section
file. You can put the definition in your LOGIN.COM file.
Usage notes:
o For writing mail messages or other text that will be viewed on
different terminals, use SET TABS SPACES, so that TAB inserts spaces
instead of a tab character, or use CONVERT TABS to replace tab
characters with spaces. Using spaces instead of tabs keeps the column
alignment of tables and lists regardless independent of the tab stops
set for the printer or display device.
o To run MAIL without having to end your editing session, use the command
SPAWN MAIL which spawns a subprocess suspending your editing session
and invoking MAIL. Exiting from MAIL then returns to EVE.
o You can also use EVE as the editor within VAX BASIC or Datatrieve by
defining logical names at the DCL level as follows---you can put the
definitions in your LOGIN.COM file:
$ DEFINE BASIC$EDIT TPU$EDIT ! Use EVE in VAX BASIC
$ DEFINE DTR$EDT TPU ! Use EVE in Datatrieve
Related topics:
Command Files Initialization Files Section Files