FORD AEROSPACE & COMMUNICATION CORP. IN COOPERATION WITH: NASA/JSC BUILDING 37, LIFE SCIENCES MEDICAL OPERATIONS HOUSTON, TEXAS 77058. ATTENTION: WILLIAM BAKER SYSTEM MANAGER 713-483-5353 INTRODUCTION: THE SYSTEM MANAGER MAY FIND THESE PROGRAMS AND COMMAND STRUCTURES USEFUL. ALL FILES MAY NEED TO BE EDITTED TO REFLECT THE STRUCTURE OF THE SYSTEM WHICH THEY RUN ON. ------------------------------------------------------------------------- MAILUTIL PROGRAMS (USES WHOAMI AND WHEREAMI): THIS IS AN UPDATED VERSION OF THE SYSMAIL.EXE AND SYSMAIL.COM PROGRAMS. THE BASIC MAILUTIL PROGRAM IS IDENTACLE TO THE SYSMAIL.EXE PROGRAM IN FUNCTION. THE SYSTEM LEVEL LOGICAL 'NEWMAIL' MUST BE DEFINED FOR THIS PROGRAM TO FUNCTION PROPERLY. DEFINE/SYSTEM/EXEC NEWMAIL SYS$SYSTEM:VMSMAIL.DAT A COMMAND FILE 'INSTALL.COM' WILL INSTALL THE PROGRAM FOR YOU. IT REQUIRES A MINIMUM OF SYSPRV AND CMKRNL TO INSTALL. SINCE THE PROGRAM IS INSTALLED AND THE DCLTABLES.EXE FILE UPDATED TO INCLUDE THE 'NEWMAIL' COMMAND VERB, ONCE INSTALLATION IS COMPLETE THE PROGRAM MAY BE USED. (AFTER LOGOUT/LOGIN) A SECTION OF THE MAILUTIL.PAS ROUTINE MAY BE COMMENTED OUT. A FUNCTION CALLED 'JUSTIFY' CHECKS TO INSURE THAT THE USERNAME AND ACCOUNT MATCH WITH THE LOGGED IN PROCESS USERNAME AND ACCOUNT. IF JUSTIFY IS TRUE, THEN THE EXTENDED FUNCTIONS ARE ALLOWED, IF NOT THEN ONLY THE NUMBER OF MAIL MESSAGES IS DISPLAYED. THE EXTENDED FUNCTIONS WILL ALLOW USERS IN THE SAME ACCOUNT GROUP TO SEE THE SUBJECTS OF THE MAIL MESSAGES OUTSTANDING FOR THE GIVEN USER. THE PROGRAM NOW ALSO SUPPORTS LOOKING ACROSS THE NETWORK AT USERS ON OTHER SYSTEMS. THIS IS DONE BY DEFINING THE OBJECT '$NWML' AS OBJECT NUMBER 0 AND FILE MAILUTIL.COM ON EACH OF THE NODES. ONCE THIS IS DONE, THE PROGRAM EXECUTION IS THE SAME AS BEFORE, EXCEPT THE USERNAME GIVEN HAS THE NODE NAME INCLUDED. $NEWMAIL/ALL HMF::OSTLER