home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!emory!gatech!darwin.sura.net!wvnvms.wvnet.edu!marshall.wvnet.edu!boag
- From: boag@marshall.wvnet.edu (Bob Boag)
- Newsgroups: comp.os.vms
- Subject: Re: How to repeat "new Mail message" ?
- Message-ID: <1993Jan24.131726.119790@marshall.wvnet.edu>
- Date: 24 Jan 93 08:17:26 GMT
- Article-I.D.: marshall.1993Jan24.131726.119790
- References: <1jm4nnINN59b@urmel.informatik.rwth-aachen.de> <1993Jan21.184343.97@ittpub.nl>
- Organization: Marshall University
- Lines: 43
-
- In article <1993Jan21.184343.97@ittpub.nl>, david@ittpub.nl (David P. Morgan) writes:
- > In article <1jm4nnINN59b@urmel.informatik.rwth-aachen.de>, jogl@merry.imib.rwth-aachen.de (Joachim Glaubrecht #Alwd#) writes:
- >>
- >> so, in brief words:
- >> is there a procedure like "NEW_MAIL.COM" i can call, that repeats
- >> ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
- >> the 'You have 1 new Mail message.' message ?
- >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- > Here's a "NEW_MAIL.COM" for ya:
- >
- > $
- > $ MAIL
- > $
- >
- > In this case MAIL is taking its input from the command procedure and, not
- > finding any, exits after printing your desired message. You should investigate
- > the logicals SYS$INPUT, SYS$OUTPUT and SYS$COMMAND (and SYS$ERROR for
- > completeness) in the manuals to understand how DCL works like this.
-
- I would recommend the following instead:
-
- $ MAIL
- QUIT
- $
-
- Since if you allow VMS Mail to EXIT, as would be the case in the above example,
- you may find that you have a (possibly) long wait when VMS Mail displays the
- following message:
-
- %MAIL-I-RECLPLSWAIT, reclaiming deleted file space. Please wait..
-
- This could easily happen the next time you logged in after using VMS Mail and
- exiting with the QUIT command, or if you are accidently disconnected, or the
- system crashes, etc.
-
- Using QUIT will not allow VMS Mail to display the new mail message count, and
- exit without trying to empty your wastebasket (reclaim deleted file space).
-
- --
- Bob Boag BITNET: boag@marshall
- Senior Software Systems Analyst Internet: boag@marshall.wvnet.edu
- Marshall University Computer Center Phone: (304)696-2624
- Huntington, WV 25755-5320 FAX: (304)696-3601
-