home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 21882 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  2.2 KB

  1. Path: sparky!uunet!ogicse!emory!gatech!darwin.sura.net!wvnvms.wvnet.edu!marshall.wvnet.edu!boag
  2. From: boag@marshall.wvnet.edu (Bob Boag)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: How to repeat "new Mail message" ?
  5. Message-ID: <1993Jan24.131726.119790@marshall.wvnet.edu>
  6. Date: 24 Jan 93 08:17:26 GMT
  7. Article-I.D.: marshall.1993Jan24.131726.119790
  8. References: <1jm4nnINN59b@urmel.informatik.rwth-aachen.de> <1993Jan21.184343.97@ittpub.nl>
  9. Organization: Marshall University
  10. Lines: 43
  11.  
  12. In article <1993Jan21.184343.97@ittpub.nl>, david@ittpub.nl (David P. Morgan) writes:
  13. > In article <1jm4nnINN59b@urmel.informatik.rwth-aachen.de>, jogl@merry.imib.rwth-aachen.de (Joachim Glaubrecht  #Alwd#) writes:
  14. >> 
  15. >> so, in brief words:
  16. >> is there a procedure like "NEW_MAIL.COM" i can call, that repeats
  17. >>         ~~~~~~~~~~~~~                               ~~~~~~~~~~~~~~
  18. >> the 'You have 1 new Mail message.' message ?
  19. >>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  20. > Here's a "NEW_MAIL.COM" for ya:
  21. > $
  22. > $ MAIL
  23. > $
  24. > In this case MAIL is taking its input from the command procedure and, not
  25. > finding any, exits after printing your desired message. You should investigate
  26. > the logicals SYS$INPUT, SYS$OUTPUT and SYS$COMMAND (and SYS$ERROR for
  27. > completeness) in the manuals to understand how DCL works like this.
  28.  
  29. I would recommend the following instead:
  30.  
  31. $ MAIL
  32. QUIT
  33. $
  34.  
  35. Since if you allow VMS Mail to EXIT, as would be the case in the above example,
  36. you may find that you have a (possibly) long wait when VMS Mail displays the
  37. following message:
  38.  
  39. %MAIL-I-RECLPLSWAIT, reclaiming deleted file space.  Please wait..
  40.  
  41. This could easily happen the next time you logged in after using VMS Mail and
  42. exiting with the QUIT command, or if you are accidently disconnected, or the
  43. system crashes, etc.
  44.  
  45. Using QUIT will not allow VMS Mail to display the new mail message count, and
  46. exit without trying to empty your wastebasket (reclaim deleted file space).
  47.  
  48. --
  49. Bob Boag                                BITNET:   boag@marshall
  50. Senior Software Systems Analyst         Internet: boag@marshall.wvnet.edu
  51. Marshall University Computer Center     Phone:    (304)696-2624
  52. Huntington, WV 25755-5320               FAX:      (304)696-3601
  53.