home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / vms / 19395 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.7 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!news.nd.edu!bsu-cs!bsu-ucs.uucp!00mjstum
  2. From: 00mjstum@leo.bsuvc.bsu.edu (Matthew J. Stum)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: NEWMAIL COUNT incorrect problems SOLVED (Was: Updated DISKFREE.COM)
  5. Message-ID: <1992Dec16.092318.13088@bsu-ucs>
  6. Date: 16 Dec 92 14:23:18 GMT
  7. References: <01GSA22UPREQ90MW4A@Arizona.edu> <13DEC199221501535@spades.aces.com>
  8. Organization: Widget Enterprises
  9. Lines: 36
  10.  
  11. (Ehud Gavron 602-570-2000 x. 2546) writes:
  12. > Seeing that people are again posting gratuitous unwanted comfiles to
  13. > display disks and such (anyone got a really good CD.COM???) 
  14.  
  15. Uh, sure... want me to post it?  ;-)
  16.  
  17. > The following is the DEFINITIVE SOLUTION to the famous newmail count
  18. > problem.  If your NEWMAIL COUNT is off by one or more messages, extract 
  19. > the following and unpack it.
  20. > With thanks for the idea to package this going to Terry, Bo, Dan,
  21. > and Jane!
  22. > Ehud
  23. > --
  24. > Ehud Gavron        (EG76)     
  25. > gavron@ACES.COM
  26. [lengthy Macro program deleted]
  27.  
  28. Question: Why didn't you use callable mail routines?
  29. Personally, I'd be very squeemish about running the code that you posted...
  30. specially if file formats ever get changed.  Yah, I know, callable mail only
  31. exists in VMS 5.x and isn't supported until, um, 5.4(?)... but still...
  32. (This isn't a flame... just genuinely curious.)
  33.  
  34. I've got a "newmail count fixer" routine built into my COMPRESS_MAIL and
  35. FROM programs... but they're written in VAX Pascal.  I suppose I could always
  36. compile with the /MACHINE qualifier to generate Macro code to make it more
  37. "portable"... <evil grin>...
  38.  
  39. Matt
  40.  
  41. -- 
  42. Matt Stum                    Gwydion ap Myrddin       Ball State University
  43. 00mjstum@leo.bsuvc.bsu.edu   Shire of Afonlyn, MK     Muncie, IN  USA
  44.