 PTmail v4.0

 Author: Falke Bruinsma   (Falke_Bruinsma@iit.edu)
 September 18, 1994
 Illinois Institute of Technology, Chicago, IL

 (as at 02-Feb-1996)
 falke@innersource.com
 P.O. Box 1271
 Lombard, IL 60148

 This program replaces (at least to some degree) VAX/VMS MAIL. It is supposed
 to look and feel somewhat like Elm, however a few things are different. I 
 think one of the confusing differences is the fact that you exit PTmail with 
 'x' and not with 'q'uit at least when you want to save your changes. Elm is 
 exactly the otherway around for who knows what reason.
 The previous version of PTmail was simply a 'wrap-around' for the MAIL program
 itself. Very clumsy but it worked to some degree. This version, is a complete
 rewrite of all MAIL routines and VAX/VMS MAIL is no longer used as a 
 foundation.

    NOTE: What Falke is trying to say is that he found the excellent
          S-MAIL program by Michael N. LeVine of the Naval Weapons Centre,
          China Lake, California, USA - which he then reorganised big time.
          Anybody who has seen S-MAIL sources will ah.. see extensive
	  similarities...
	  Falke has done a good job with the 'ELM' interface, but hey,
	  the guts of the thing is S-MAIL! Credit where credit is due!
 
 Feel free to compile this program and use it. If you use any portion of this
 code in any of your own programs, please give credit where it is due. 

	  uhuh...


February 18, 1994	v3.0
  Initial coding done after 2 weekends. First weekend I worked from Friday
  night 6:00 til Sunday morning 10:00am _straight_. The second weekend I 
  only worked on Saturday from 10:00am til 9:00pm. After those two programming
  session the major layout of the program was done and I had people test it.
  One week later after fixing quite some bugs and optimizing the code I made
  it public.
February 21, 1994	v3.1
  -Optimized screen redraws by deleting unnecessay info and just leaving
   the windows in the background blank. 
  -Added CTRL-Z as a nice way of exiting the program. (hey this is VMS :)
  -Added a function to strip the garbage off the 'from' field when display
   the msgs in the folder
September 18, 1994	v4.0
  -bugs have been fixed.. one in particular that blew up the program
   when moving messages between different folders.
  -rewrote the part on how reread folder works.. (now I just exit the
   handlefolder and restart it with the same foldername)
  -If the "copy send", "copy reply" or "copy forward" flags are set you will 
   actually get a copy of the message send out
  -Distribution lists (@filename.ext) will work both at the To: and CC: prompt
  -(o)ptions menu is now listed in the help menu
  -When forwarding a message lines are wrapped correctly  
  -Messages marked as "D"eleted first and then "M"oved will not be deleted
   but indeed moved
  -Removed unnecessary screen updates 
  -Internet aliases are handled correctly
  -removed the clean from field function since it kept blowing up. too lazy
   to fix it at this time.

L.Brennan@cchs.su.edu.au
July 27, 1995           v4.1
  -fix all the appalling VAXC random/wild usage of "&" in just about
   any context! If in doubt - throw in an ampersand! Sends DECC and GCC
   'round the twist!
  -massive code cleanup, so DECC/ALPHA is now ok. On a VAX, GCC produces
   a 77 rather than 92 block .EXE, so my creaking VAX is happier too :-)
  -crash/burn at VMS 6.0 fixed by pre-init variables prior to a MAIL$
   routine call. (same bug was [of course] in the S-MAIL program)
  -crash/burn when user has no MAIL.MAI file no longer occurs.
  -killed final DECC warnings - courtesy of Paul Nankervis @ latrobe.edu.au
19-Aug-1995  L.Brennan  V4.1.1
  -use <nam.h> anywhere that used 255 or 256 for strings maximums.
  -add VER_PATCH field into VERSION.H

30-Jan-1996 L.Brennan  V4.1.2
  -don't UPCASE() the original To: address
  -only upcase a COPY when comparing to the ALIAS list.
  -don't upcase the alias expansion.
