home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 21619 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.7 KB  |  45 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!star.enet.dec.com!cantor
  3. From: cantor@star.enet.dec.com (Dave Cantor)
  4. Subject: Re: How to repeat "new Mail message" ?
  5. Message-ID: <1993Jan21.141113.10529@engage.pko.dec.com>
  6. Sender: newsdaemon@engage.pko.dec.com (USENET News Daemon)
  7. Organization: Digital Equipment Corporation
  8. References:   <1jm4nnINN59b@urmel.informatik.rwth-aachen.de>
  9. Date: Thu, 21 Jan 1993 14:06:29 GMT
  10. Lines: 33
  11.  
  12.  
  13.  
  14. In article <1jm4nnINN59b@urmel.informatik.rwth-aachen.de>, jogl@merry.imib.rwth-aachen.de (Joachim Glaubrecht  #Alwd#) writes...
  15. > [...]
  16. >because many VMS-Sysops clear the screen for a Mesage-Of-The-Day-Info,
  17. >before the User can enter DCLs at the "$" prompt, i'd like to
  18. >repeat this "Mail"-hint as the LAST Command in my LOGIN.COM.
  19. >How can i do this ?
  20. >so, in brief words:
  21. >is there a procedure like "NEW_MAIL.COM" i can call, that repeats
  22. >        ~~~~~~~~~~~~~                               ~~~~~~~~~~~~~~
  23. >the 'You have 1 new Mail message.' message ?
  24. >    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  25. >ANY hint is wellcome ...
  26.  
  27. Okay, here's a hint:
  28.  
  29. You can write a PROGRAM that uses callable mail to get the new mail count
  30. for the current user, and write a notice to SYS$OUTPUT.  No privilege is
  31. required for a user to retrieve information about his own mail profile, so
  32. the program, so you can include it in your own login command file.
  33.  
  34. The calls to callable mail are in the doc set somewhere.
  35.  
  36. -- --
  37.  Dave C.                          cantor@star.enet.dec.com
  38.  Digital Equipment Corp., Nashua, NH  03062, USA
  39.   The views expressed herein are my own, except where attributed to 
  40.   someone else.  They are neither the opinion of, nor the responsibility 
  41.   of, Digital Equipment Corporation.
  42.