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

  1. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!cleveland.Freenet.Edu!cg656
  2. From: cg656@cleveland.Freenet.Edu (Michael O. Bartz)
  3. Newsgroups: comp.os.vms
  4. Subject: TPU mail quoting procedure available?
  5. Date: 24 Jan 1993 06:14:44 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 27
  8. Message-ID: <1jtc4kINNmu8@usenet.INS.CWRU.Edu>
  9. Reply-To: cg656@cleveland.Freenet.Edu (Michael O. Bartz)
  10. NNTP-Posting-Host: hela.ins.cwru.edu
  11.  
  12.  
  13. I am currently using a TPU file that has the ability to quote
  14. a message when replied with REPLY/EXTRACT in mail.  It's something that
  15. I whipped up that simply looks until it finds a blank line and
  16. then it deletes everything above it.  Then it quotes the rest of
  17. the message.  Simple!  However not so simple since mail is in this form:
  18.  
  19.       non-local                            local mail
  20.  
  21. [vax 4 line header]             |     [vax 4 line header]
  22.      S P A C E                  |         S P A C E
  23. [the rest of the net-headers]   |     [body of message]
  24.      S P A C E                  |
  25. [body of message]               |
  26.  
  27. So the problem is that the TPU procedure can't tell the difference
  28. between net-mail headers and the body of the message.  If I call the
  29. procedure twice, it will delete the first paragraph of local mail.
  30.  
  31. Any suggestions on how I can do this?  Right now I am passing an integer
  32. variable from a .com file that tells it how many times to loop.  Messy!
  33.  
  34. Thanks,
  35. Mike
  36. -- 
  37. Michael O. Bartz @ cg656@freenet.cwru.edu
  38. bartzmio@udavxb.oca.udayton.edu (direct all replies here)
  39.