PMDF User's Guide
OpenVMS Edition


Previous Next Contents Index

8.11 Initialization Files

Commands to be executed upon startup of PMDF MAIL can be placed in a text file with one command per line. The logical MAIL$INIT should then be defined to point to the file. For instance, if the commands are placed in the file PMDF_INIT:MAIL_INIT.COM, then define MAIL$INIT as follows:


$ DEFINE MAIL$INIT PMDF_INIT:MAIL_INIT.COM 
So that this logical is defined every time you login, place its definition in your LOGIN.COM command procedure.

Each line in the initialization file will be interpreted as a command and executed. Introduce comments with an exclamation mark. Note that blank lines will be interpreted as either a READ or DIRECTORY command.

A sample initialization file is shown below:


$ TYPE PMDF_INIT:MAIL_INIT.COM
DEFINE/KEY F17 "DIRECTORY/LAST NEWMAIL"/TERMINATE 
DEFINE/KEY F18 "REPLY/ALL/EDIT/EXTRACT"/TERMINATE 
DEFINE/KEY F20 "SET FILE MEMOS","DIRECTORY/LAST MEMOS" 
DEFINE bobr Bob.Roberts@Lonesome.Dove.Org 
SHOW VERSION 
$ DEFINE MAIL$INIT PMDF_INIT:MAIL_INIT.COM
$ PMDF MAIL 
 
You have 8 new messages. 
 
%EMAIL-I-VERSION, PMDF MAIL V5.0-10 
EMAIL> 


Previous Next Contents Index