home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!star.enet.dec.com!cantor
- From: cantor@star.enet.dec.com (Dave Cantor)
- Subject: Re: How to repeat "new Mail message" ?
- Message-ID: <1993Jan21.141113.10529@engage.pko.dec.com>
- Sender: newsdaemon@engage.pko.dec.com (USENET News Daemon)
- Organization: Digital Equipment Corporation
- References: <1jm4nnINN59b@urmel.informatik.rwth-aachen.de>
- Date: Thu, 21 Jan 1993 14:06:29 GMT
- Lines: 33
-
-
-
- In article <1jm4nnINN59b@urmel.informatik.rwth-aachen.de>, jogl@merry.imib.rwth-aachen.de (Joachim Glaubrecht #Alwd#) writes...
- >
- > [...]
- >
- >because many VMS-Sysops clear the screen for a Mesage-Of-The-Day-Info,
- >before the User can enter DCLs at the "$" prompt, i'd like to
- >repeat this "Mail"-hint as the LAST Command in my LOGIN.COM.
- >How can i do this ?
- >
- >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 ?
- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- >ANY hint is wellcome ...
-
- Okay, here's a hint:
-
- You can write a PROGRAM that uses callable mail to get the new mail count
- for the current user, and write a notice to SYS$OUTPUT. No privilege is
- required for a user to retrieve information about his own mail profile, so
- the program, so you can include it in your own login command file.
-
- The calls to callable mail are in the doc set somewhere.
-
- -- --
- Dave C. cantor@star.enet.dec.com
- Digital Equipment Corp., Nashua, NH 03062, USA
- The views expressed herein are my own, except where attributed to
- someone else. They are neither the opinion of, nor the responsibility
- of, Digital Equipment Corporation.
-