
$Header: /cvsroot/mpdist/mpdist/ChangeLog,v 1.3 2002/10/15 19:09:31 richbastard Exp $

Mp distribution change history.
-------------------------------

v3.7.1 - 15th October 2002.

* From Philippe Bruyre <bruyere@sia.ucl.ac.be>
  If you have a formfeed inside a text document, mp doesn't correctly handle
  it, and prints an unwanted blank line.

  The fix was to apply a check in the show_text() routine in .../mp/print.c
  to test to see if end_of_page() was set and the current line was zero 
  length, in which case, the routine should just return.

* From James B. Hiller <jhiller@visi.net>
  Need a way of enabling/disabling the tooltip help in mptool.

  Need command line option "-tooltips" enables tooltips (they are disabled
  by default). The equivalent boolean X resource is "tooltips". 

  The manual pages have been updated to reflect these changes.

* From Richard L. Dyson <dyson@scat.physics.uiowa.edu>
  The logic of the NO_DUPLEX setting (the --disable-duplex configure option)
  was incorrectly reversed.

----

v3.7.0 - 12th April 2002.

* Mpdist now moved to SourceForge - http://mpdist.sourceforge.net
  Files placed under CVS control (with CVS $Header: /cvsroot/mpdist/mpdist/ChangeLog,v 1.3 2002/10/15 19:09:31 richbastard Exp $).

* The Data directory now included with the distribution.

----

v3.6.1 - 28th December 2001.

* From Benjamin Watkins <ben@constant-technologies.com>
  The .../mimep/shells directory and its contents were missing from the mp
  distribution.

* Updated various aclocal, autoconf and automake supplementary files.
  Updated libtool, missing and ltmain.sh. Included depcomp.

* Adjusted the README file to mention that the mp mailing list is now
  "mp@sun.com" and no longer "mp@eng.sun.com".

----

v3.6.0 - 23rd January 2001.

* Mptool now uses Gtk+ rather than Motif. This is the graphics toolkit on
  Linux systems, and will be automatically available on Solaris when GNOME
  is available (is downloadable now from www.gtk.org for those that want to
  build it themselves).

* Adjusted code to be K&R layout with indents of four spaces. All tabs
  removed. Fixed up all warnings.

----

v3.5.2 - 3rd April 2000.

* From Douglas Bates <bates@stat.wisc.edu>
  From "David W. Schuler" <schuld@btv.ibm.com>
  Specifying a --with-prologue option to configure did not allow mp to use 
  prologue files from a different directory.

  Problem was due to a different named definition in the generated config.h
  file. It's now PROLOGDIR. .../common/option.h was expecting PROLOGUE.

----

v3.5.1 - 20th March 2000.

* From Lars Hecking <lhecking@nmrc.ucc.ie>

  Here's a small patch which fixes a few bugs and some stuff that didn't
  work properly before.

  o configure.in
    - moved the AM_CONDITIONALs to after the X11 lib tests
    - escape the $ in $(pkgdatadir) so that the variable is not expanded
      at configure time (where it doesn't exist)
    - cleaned up X library handling wrt to linker flags; should now build
      on systems where the X11 libraries are not in the linker default
      search path
    - don't quit when one of the X11 libs is not found, disable building
      of mptool instead
    - wrap every single X11 lib test inside if/fi, so that if the first
      test fails, the others are not performed (mptool needs all three libs)
    - add a configuration report at the end of configure
    - creates a config.h file which is now included by the various programs
      in the mp distribution.
  o mimep/mimep/Makefile.am, mp/Makefile.am, mptool/Makefile.am
    - add the required X11 lib variables to LIBS
  o mp/Makefile.am
    There were two bugs in DESTDIR handling in the install-exec-local target:
    - a typo
    - the created links pointed to the wrong files if DESTDIR != ""

----

v3.5.0 - 15th March 2000.

* Mp mailing list moves to mp@Eng.Sun.COM

* Uses automake and autoconf to configure and build the distribution.

* Source files now have Gnu license. 

* All code in the various .c and .h files has been "indent"'ed (default 
  configuration). Tabstop=4. 

* Added the newpage option to mp.tcsh.

----

v3.4 - patchlevel 2 - 22nd November 1999.

* From: Christian Jonsson FOA 72 <chj@lin.foa.se>
  Fixed up the Version number for mptool in text.c to be 3.4.<patchlevel>

----

v3.4 - patchlevel 1 - 22nd November 1999.

    * From Sebastian WANGNICK <sebastian.wangnick@eurocontrol.be>
      Fixes to make mp work on Alpha with DU 4.0.  Changes to option.c
      option.h and mptool.c

----

v3.4 - patchlevel 0 - 3rd September 1999.

    * From Alastair Burt <burt@dfki.de>
      "Mp no longer printed my files in that nice three up way for my 
      filofax." 

      The problem was the count value in comon/option.c, for the number 
      of unique characters needed to make the -filofax command line 
      option unique. It should have been 7 not 8.

    * From David Ellement <ellement@sdd.hp.com>
      "When printing multiple mail messages to a duplex printer, I'd like 
       each new mail message to start on fresh sheet of paper."

      Added in a new -newpage command line option and newPage X resource
      to achieve this. See the manual pages for more details.

    * From Sven Guckes <guckes@math.fu-berlin.de>
      Added text to the mp manual pages to describe the default values for
      the following options:

          -a4
          -article
          -bottom
          -bsdprint
          -config
          -copies
          -flip
          -folder
          -landscape
          -left
          -nobanners
          -noburstpage
          -number
          -onesided
          -portrait
          -right
          -tab
          -text
          -top
          -tumble
          -us
          -wrap

----

v3.3 - patchlevel 5 - 1st April 1998.

    * From Tom Garland <Tom.Garland@Ireland.Sun.COM>
      Trying to change directories with the file selection dialog in mptool
      incorrectly pasted the directory name in the main mptool window.
      Solution was to remove the code that was unmanaging the Filter button
      on the file selection dialog.

----

v3.3 - patchlevel 4 - 2nd October 1997.

    * From Dean Thompson <dean@seahorse.fcit.monash.edu.au>
      Some printers (ie. some models of HP LaserJet's) cannot handle duplex
      printing. The "setduplexmode" definition throws them. To disable this 
      feature, a new definition (NO_DUPLEX) has been added to Makefile.dist
      and is used in .../mp/print.c. This definition needs to be uncommented
      if your printer doesn't support this functionality.

----

v3.3 - patchlevel 3 - 31st March 1997.

    * From Roger Smith <roger.smith@FMR.COM>
      Our company had a need to print information in landscape mode with lines
      greater than 100 characters.  We wanted  to print a single column per
      page and stretch the banners the full 11 inches.  I made a few changes
      to facilitate our needs.  The new code is activated by using the
      commnand option pair "-landscape -columns 1". There is a new PostScript
      prologue file (mp.pro.l.c1.ps) used to achieve this.

    * From Matthew O. Persico <matthewp@IDT.NET>
      Even though I specified BSD style print commands in the via Makefile
      macros, I must still throw the -bsd switch. #ifdef BSDPRINT in option.c
      should have been #ifdef BSD_PRINT.

    * From: Huu Da Tran <tranhu@IRO.UMontreal.CA>
      The "make install" was incorrectly installing mp.pro.tsi.ps instead of
      mp.pro.tm.ps.

    * From Phil Kernick <philk@dhn.csiro.au>
      If mp is run, and the HOME environment variable is not set, it will core
      dump. This can happen when mp is used as a command that sendmail executes
      when receiving mail (and is how I found it).  It will now just check for
      the existance of getenv("HOME") before it is used.

    * Changed the master Makefile.dist definition for MOTIFLIBDIR to include
      a default runtime library path for Solaris.

    * ANSI'fied some function headers. Fixed up many lint errors/warnings.

    * From Richard L. Dyson <dyson@sunfish.physics.uiowa.edu>
      The version string in the titlebar of the mptool problem was incorrect.

    * Mentioned in the README that the mp distribution is also now available 
      via your web browser from http://java.sun.com/people/richb. As ftp.x.org
      is proving so hard to get to, I've removed all reference to it.

    * From Andy Seaborne <afs@hplb.hpl.hp.com>
      Various changes to make the mp distribution compile on an HP-UX 9.05, 
      using A.09.61 HP C Compiler. His changes to .../Makefile included:

	MOTIFINCDIR     = -I/usr/include/Motif1.2
	MOTIFLIBDIR     = -L/usr/lib/Motif1.2
	X11INCDIR       = -I/usr/include/X11R5
	X11LIBDIR       = -L/usr/lib/X11R5
	CCOMP=-O -D_HPUX_SOURCE
	CC=c89

    * From Larry W. Virden <lvirden@cas.org>
      Added various comments to the .../mimep/mailcap_example file. Fixed
      up the application/x-tex nametemplate entry.

----

v3.3 - patchlevel 2 - 25th August 1995.

    * From Daniel Haenle <daniel.haenle@zdv.uni-tuebingen.de>
      From Franz Koch <franz.koch@zdv.uni-tuebingen.de>

      1. Minor Patches

      - Don't use test for accessability of PRINTPROG = "/usr/spool/lp"
        (IRIX-5.2: PRINTPROG exists but many use BSD-lpr
          AIX-2.3: PRINTPROG doesn't exist but system supports lp).
        Installer should know which program to use (new variable "BSD_PRINT" in
        in top level Makefile).

      - Swapped commands in install targets (first cp, than chmod).

        Affected files: common/option.[ch], Makefile.dist, mp/Makefile
                        mptool/Makefile

      - Grouped common C-flags in variable GENCDEFS in Makefile.dist

      - Most systems don't need <memory.h> (but SunOS-4.x.x), some don't have
        it (Convex) -> introduced #ifdef NEED_MEMORY, to be set in top Makefile

        Affected files: mptool/tu_runtime.c, Makefile.dist

      2. User Interface Patches

       - Corrections so that no warning messages from popup of File Selection
         Dialog are issued (from TODO list); TeleUse seems to generate wrong
         code.

         Affected files: mptool/base.c, mptool/mptool_ui.c

       - Set color for children of FSB (and other popups) in resource file
         (from TODO list) and in fallback resource (see below). All the
         hardcoding of background color '#bfbfbf' should be removed -
         I haven't done it (by the way - the name of the color is "gray").
       - Set default font in resource file and use it in introduced
         fallback resource. The font is
          "-*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1" ,
         looks better than "fixed" and avoids problems with the
         main form widget on SGI ("fixed" is quit big).

         Affected files: mptool/mptool.c, mptool/Mptool.ad

       - The size of the form widgets and their children is hardcoded in
         mptool/mptool_ui.c which leads to invisible buttons and labels (this
         varies with the size of the "fixed" font). Let the form widget do ITS
         work!

         Affected file: mptool/mptool_ui.c

       - The entered Subject in mptool only gets printed if 'saved as default'.
         This seems inappropriate for a temporary element. Get subject line
         directly from text widget since there is no apply button in mptool's
         main widget.

         Affected file: mptool/toolfuns.c

       - Added new callback 'do_output_update' for radio boxes in main widget
         (see 3. below for details).

         Affected files: mptool/callbacks.c, mptool/mptool_ui.c,
                         mptool/output.c

       3. A problem and a new callback.

       I live in the world of a4 paper and this causes problems ...
       Well, they might be similar in the us paper world.

       I tried to follow the values of the variables (symbolic: 'O_LLEN' and
       'O_PLEN') which depend on papersize (a4, us) and output format
       (portrait, landscape and organizers). I understand it as follows:

       a) When I use 'mp' without specifying linelength and pagelength (but -a4
          for example), the output is ok. This is accomplished by the function
          'adjust_paper_size()' in "common/option.c" which corrects the length-
          parameters and sets the variables llen_given and plen_given to true,
          as if I had entered those values on the command line. The function
          does nothing if I enter linelength and/or pagelength on the command
          line which leads to the badly formatted pages if the values are
          greater than those in adjust_paper_size(): The banner overprints the
          excess-lines.

          In mp/print.c I saw the following comment:

       /* If "-columns #", "-linelength #" or "-pagelength #" was given on the
        * command line, then use that value, otherwise get the appropriate value
        * from the prologue file.
        */

          The README says under "4. How mp works.":

          When mp processes a file, it first reads the designated prologue and
          extracts data from the following lines:

           %%PageLength nn    - the number of lines per page
           %%LineLength nn    - the number of chars on a line
           %%NumCols nn       - the number of columns per page

        I think this is not quite correct: The values from the prologue files
        are NOT evaluated if I specify a papersize:

        i)  set on commandline -> they override %%PageLength nn ... (mp/print.c)
        ii) not set -> adjust_paper_size sets them -> case i)

       b) mptool ALWAYS sets the commandline options (linelength, pagelength
          and others) for mp and therefore behaves like in a)

       Now when using mptool, it sets defaults which are the values for
       us-paper and portrait. When I choose a4-paper and/or landscape in
       mptool's main window, the values of linelength and pagelength are NOT
       adjusted - and if printing is done, mp is called with
       '... -pagelength 72 ...'

       The user has to set values for a4-paper in the output widget
       explicitely to take effect. Therefore I added a new callback, which
       does this automatically, (its name should be do_adjust_lengths, not
       do_output_update).

       I admit that this implicit adjustment changes the behavior of the user-
       interface, as it is like the apply-action in the output widget and sets
       the values 'O_LLEN' and 'O_PLEN'. The actions of the callback itself
       have to be judged again: which values should be used for organizer
       formats and what should be done as default action.

----

v3.3 - patchlevel 1 - 25th July 1995.

    * From schuld@btv.ibm.com (Dave Schuler)
      The installation of files from the mimep directory hierarchy should
      have been using the new values supplied in the master top-level Makefile.

    * Changed the mimep manual pages installation to be done the same way as
      the mp/mptool ones.

    * Added Geoff Mulligan's name to the man page.

    * From Mikael Cam <Mikael.Cam@univ-rennes1.fr>
      Moved the "#!/bin/csh -f" line to the top of .../mimep/shells/printmim.

    * From Birger.Wathne@nho.hydro.com (Birger Wathne)
      Wrote a PostScript prologue file for the Filofax Pocket. It's called
      mp.pro.ffp.ps in the prologue sub-directory. The symbolic link is
      filofaxpp. The command line option is "-organiser filofaxp". Various
      relevant files have been updated to use it.

      *IMPORTANT NOTE*
      If you were using the "-organiser filofax" command line option and you
      had reduced the command option to the minimum number of unique characters
      (ie. -org fi), this will no longer work.

----

v3.3 - patchlevel 0 - 5th July 1995.

    * From Mikael Cam <Mikael.Cam@univ-rennes1.fr>
      MIME support. This is done with the help of LaTex and metamail.
      See the README file for more details on this. There is a Makefile
      definition (MIME_SUPPORT) to turn on this option. It is not on by
      default. Note the comments for the various source files are currently
      in French. These will be converted to English in a future release.

----

v3.2 - patchlevel 3 - 13th April 1995.

    * Added the ability to have no banners at all. This is done via the
      command line option -nobanners (and the X option "banners").

      **Important Notes**

      - There was already a -nobanner command line option that prevented the
        burst header page being printed. This has been changed -noburstpage
        (X option remains "printHeaderPage").
      - The ability to set this option hasn't been integrated into mptool yet.
      - It currently only works with the standard portrait and landscape
        formats.

----

v3.2 - patchlevel 2 - 10th February 1995.

    * From dyson@sunfish.Physics.UIowa.Edu (Richard L. Dyson)
      From howardm@lsil.com (Howard Moftich)
      From repton@diasemi.co.uk (Andrew Repton)
      From Michael Salmon <Michael.Salmon@eos99.ericsson.se>
      Changed all occurances of end() in the mp distribution to End() and
      start() to Start(), so that gcc v2.6.0 (or greater) doesn't have a
      problem.

    * From Stephen Murhpy <psm@odi.com>
      From Stefan Rapp <rapp@harpo.hrz.uni-dortmund.de>
      Problems at startup with mptool on a HP-UX machine running HP-UX 9.0.5.
      The problem was the function concat_strs in mptool/util.c. It returned a
      pointer to an automatic variable on the runtime stack.

----

v3.2 - patchlevel 1 - 4th February 1995.

    * Rewrote all the C++ files in C.

----

v3.2 - patchlevel 0 - 6th January 1995.

    * Changed all occurances of bool to set_bool. The latest version of the
      Gnu C++ compiler objects otherwise.

----

v3.1 - patchlevel 10 - 28th June 1994.

    * From Gordon Smith <Gordon.Smith@midden.une.edu.au>
      From Marc Wiener <marc@aip.org>
      Mp core dumped in parse_headers() with certain command line options

----

v3.1 - patchlevel 9 - 22nd June 1994.

    * Adjusted the README file to give ftp.x.org as the official ftp site.

    * Adjusted the mp C++ code to make it more "object-oriented".

    * Added the latests bugs/problems/comments received by mail, to the TODO
      file.

    * From Cedric Beust <Cedric.Beust@sophia.inria.fr>
      The -config option is broken, due to a missing minus sign.

    * From Peter W. Osel <pwo@guug.de>
      tcsh supports programmable completion so I don't need to remember all
      options nor type them - tcsh will do the completion for me, or list the
      valid choices. Added a new file called mp.tcsh to the distribution.

    * From Vic Tolomei <Vic.Tolomei@East.Sun.COM>
      Tried to get mp built on a 4.x machine. Followed instructions, and
      found that the "mp" Makefile was missing the following line:

	.SUFFIXES:    .C $(SUFFIXES)

      Without this, the .C.o dependencies are not found, and it tries to link
      without building all the .o's.

----

v3.1 - patchlevel 8 - 3rd February 1994.

    * Adjusted the mptool manual pages to reflect the new layout and the
      various new additions.

    * Set the default page length for US paper size (and none) for landscape
      prints, to be 68.

    * Made changes to the mptool look&feel as suggested by the ASARC committee
      members:

      - Moved the Organiser type radio box, to be a sub-menu of the Options
        menu bar entry.
      - Removed the "Output is to a BSD printer system", from the Output
        options popup, as this will not be needed by most users, and therefore
        confusing to them. This option is still settable at the command line
        and via an X option.
      - Changed "Print header page" to "Print cover sheet" on the Printing
        options popup.
      - Added arrow indocators to the Copies option on the main frame.
      - Added a "File..." entry to the File menu bar option. This will popup
        a file selection dialog.

    * Added a -name <appname> command line option. If given, then this name
      will be used, when looking for X resources for this application.

    * Mp and mptool will no longer print out a usage message for unrecognised
      command line options. This allows things like -display and -sync to work
      with mptool.

    * Consolidated the -filofax, -franklin, -proplan, -timeman, -tsintl and
      -tspartner into:

      -organiser type

      where valid organiser types are filofax, franklin, proplan, timeman,
      tsintl and tspartner.

    * The filename box widget on the main frame is the widget that will
      contain the initial input focus.

----

v3.1 - patchlevel 7 - 21st December 1993.

    * Sanitised the "hack" code that was added to xutil.C in the last patch
      to get mptool to compile with g++.

    * Removed the references to /fullwidth and /fullheight in show_prologue
      in mp/print.C. These should no longer be needed now that mp uses the
      full width and height of the paper.

    * Fixed up the PAGELENGTH definition in common/option.h to be 72.

    * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      Added in changes to mp.common.ps and mp.pro.l.ps to get landscape
      printing working correctly for A4 paper. Note that Bertrand supplied
      new pagelength and linelength values directly in the mp.pro.l.ps
      prologue file. This is no good for US paper printing, so I've moved
      them to a new function called adjust_paper_size() in option.C which is
      called in main.C after getting all the X resources and command line
      options.

    * Added four new command line options:

        [-bottom #] [-left #] [-right #] [-top #]

      and four new X resources:

        mp.bottomMargin:   8
        mp.leftMargin:     8
        mp.rightMargin:    8
        mp.topMargin:      8

      to allow the user to set the size of the four margins on each page.
      The size is given in points. There are approximately 72 points per
      inch. There are also four new fields on the print layout popup for
      mptool, that allow you to make the same changes. Updated the mp
      manual pages to reflect these changes.

    * Changed the color of the option selection for various mptool widgets
      to red. It's more noticeable on color screens now.

----

v3.1 - patchlevel 6 - 19th December 1993.

    * Changes needed to get mptool to compile with gcc/g++. Note that the
      C++ is not perfect, but as there is only one instance of each class,
      we can get away with it (for now).

    * Added in the "paper size: none" changes from Rainer Klute. By default
      mp with now use the full size of the paper. This means that both the
      portrait and landscape modes can print 72 lines per page on US sized
      paper (the portrait on A4 paper being slightly more). If the user
      selects A4 paper and it's a portrait print, the pagelength is
      automatically adjusted to 78 lines. The ldefault margin size is now
      0.1 inches. The next patch will make the margin size user settable.

----

v3.1 - patchlevel 5 - 16th December 1993.

    * Changes needed to compile and link, mp and mptool with v3.0 on the
      SunPro compilers.

    * Adjusted the "saber" mp/Makefile entry to get it to work (needed X11
      library).

    * From Andreas Stolcke <stolcke@ICSI.Berkeley.EDU>
      mp -digest went into an infinite loop on a particular message.

    * From Richard L. Dyson <dyson@sunfish.Physics.UIowa.Edu>
      The default printer check in common/option.C was working incorrectly
      for BSD printer systems.

    * Divided mptool/toolfuns.C up into several C++ classes and adjusted the
      remainder of the code to work with it. Will need further adjusting over
      time.

    * From Gordon Smith <Gordon.Smith@midden.une.edu.au>
      Added sys/types.h header file to common/option.C to define some typedefs.

    * Changed .KEEPSTATE: to .KEEP_STATE: in the Makefiles.

    * From Andreas Stolcke <stolcke@ICSI.Berkeley.EDU>
      From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      Added in support for the previous mp's command line options (which
      were mainly single character options). By default this support isn't
      there. There is a new Makefile option (OLD_OPTIONS) which needs to be
      uncommented. Updated the usage message, the README file, and the mp
      manual pages to reflect this change. Note that the manual pages just
      have a mention of this in the SYNOPSIS section.

    * Fixed up the usage message for Time Manager and the two Time System
      personal organiser formats.

    * Fixed up the description of the numberLines: mp X resource in the mp
      manual pages.

    * Included a file Mptool.ad, which is a list of the mp/mptool X resource
      application defaults.

    * Moved the remainder of the mptool text strings over into text.C.

----

v3.1 - patchlevel 4 - 8th December 1993.

    * Simplified the mptool GUI some more. Moved the "Line Length:",
      "Page Length:" and "Printer Name:" fields to options popops. Moved
      up the "Number of Sides:" widget. Separated the Input And Output
      options onto two separate popups.

    * Hitting the Apply button on the Username Options popup would cause
      mptool to core dump if the Input Options popup hadn't been created.
      There was a bogus call to the prologue widget from the popup.

    * From Richard L. Dyson <dyson@sunfish.Physics.UIowa.Edu>
      Reinserted the code into option.C that tries to make an intelligent
      guess on what type of print spooler system the machine has, based on
      presence (or absence) of /usr/spool/lp, rather than just defaulting to
      a System V system.

    * From Amir J. Katz <amir@matis.ingr.com>
      Moved the MAILPNAMES section in Makefile.dist up into the configurable
      section, and added a comment in the README file. Added a comment to say
      that this should be set to "MAILPNAMES  =" if you don't want any aliases
      installed.

    * From Amir J. Katz <amir@matis.ingr.com>
      Since mp and mptool are built with nested makefile, no echo was done
      for their commands and one does not where the files were installed.

    * Added in the low-level code to mp to make -allhdrs work.

    * From Anthony Baxter <anthony@aaii.oz.au>
      Changed the "long clock" in mp/print.C to "time_t clock". Needed to
      get mp compiled on the DEC alpha machines under OSF/1.

    * From Anthony Baxter <anthony@aaii.oz.au>
      EXTRALIBS definition in Makefile.dist for OSF/1 on the Dec Alpha.

    * Wrote the help text for all the new mptool widgets.

    * Added in a variety of options under the Help option on the mptool
      menu bar, each of which brings up a popup window with help text in it.

    * The "Printer header page" option on the Print Layout popup was not
      been shown.

    * If a popup is already being displayed, and the user selects that popup
      to be displayed again, mptool, now pops the popup to the top.

----

v3.1 - patchlevel 3 - 28th November 1993.

    * Adjusted the description of what mp and mptool is, in the README file.

    * mptool should have been using the opt.proname variable for the possible
      PostScript prologue file, not opt.prologue.

    * Changed the "%.o: %.C" rule in the Makefiles in the mp and mptool
      directories to ".C.o:", to be more portable.

    * The mptool property sheet wasn't the correct size. The buttons at the
      bottom weren't being displayed. See next entry too.

    * Rearranged the GUI slightly to cut down on the number of options
      immediately available in the main window. Add a menu bar. As more
      options are added to mptool, then the menu bar should be utilised
      more. The File option on the menu bar contains the means to exit
      the program, for those running with window managers that don't
      provide this option. The Headers Option popup is now fully functional
      and allows you to add/delete headers that should be printed out.

    * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      The code in option.C to handle the "landscape" X resource needed to
      set "ptype = PRO_LANDSCAPE".

    * Need an additional command line switch to tell mp to print all headers.
      This new option is "-allhdrs". It's also the X resource "allHeaders".
      It's also settable via the mptool header options popup. Note that I
      still need to add in the code to mp to actually do the -allhdrs header
      printing.

    * Added another Makefile definition (NO_I18N) that needs to be uncommented
      if you don't want to internationise text (or if you haven't got the
      <nl_types.h> #include file.

    * Created mptool/callbacks.h, which contains all the mptool GUI callback
      definitions.

    * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      You can have different set of resources depending on the name of the
      program (mp, newsp, mailp,...). This is now mentioned in the mp man
      pages.

    * Removed the unneeded FULL_PIXMAP_SUPPORT code from tu_runtime.[c,h]

    * From Steven R. Allen <allen@cssg4.cslab.ds.boeing.com>
      Changes to get mptool to compile and link under IRIX 4.0.x on an SGI
      machine. Also see next entry.
      - EXTRALIBS definition for the global Makefile.dist
      - Change to set_str_value() to cater for the possibility of a NULL
        string being passed in, which causes earlier versions of Motif to
        crash.

    * Added a new command line option (-bsdprint), that indicates to mp
      and mptool, that the BSD print command and command line options
      should be used, as opposed to the System V ones. The equivalent
      X resource is "bsdPrinter". There is also a toggle option on the
      input/output option popup.

    * (Finally) added an #ifdef DEBUG around the "echo mp " command in
      do_print_cmd() in toolfuns.C, so that I can debug it without fear of
      leaving the stupid echo command in the code.

    * Added a reference in the subject option in the mp man pages, about the
      need for -text, if you want the subject to reflect the names of the
      files when they are given on the command line.

----

v3.1 - patchlevel 2 - 18th November 1993.

    * Removed various bits of (hopefully) unwanted code from the TeleUse
      runtime code (mptool/tu_runtime.[c,h]).

    * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      The makecmd() routine in mp/print.C didn't have a trailing space
      (needed for command separation) for the "nobanner" option.

    * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      Fixed up the command line options to the alias example in the mp
      manual pages.

    * From Larry W. Virden <lwv26@cas.org>
      Mp and mptool now read in initial configuration resources from a
      ~/.mpdefaults file. There is an MPDEFAULTS environment variable that
      can specify an alternate location. There is also a -config command
      line option that can do the same thing. These resources are in the X
      resource format. Details of all the possible
      X resources have been added to the mp manual pages, and the equivalent
      previous smaller section has been removed from the mptool manual pages.

      Mptool now has the same command line options as mp. These will prime
      how the tool initial looks. They will not cause anything to be printed.

      Created a new "common" directory, which contains code that is common
      between mp and mptool.

    * Filename: in the mptool main window has been changed to Filenames:

    * Further adjusted the strings in text.[C,h] so they will be easier to
      internationalise.

    * Changed the mptool color scheme. New colors shamelessly stolen from
      xmosaic. The main reason for doing this is that the TeleUse runtime
      routines still try to use the colors even on a monochrome screen, and
      with the previous set of colors, this made mptool look bad.

    * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      With mptool, the font used for legend of buttons (ex: Filename, File
      type, Paper size,...) was *VERY* small, something like 5pt or less.

    * From Leigh Hume <lhume@macadam.mpce.mq.edu.au>
      Added a -alias command line option to mp[tool]. This will contain the
      name of the person the output is for, and will be used in the mp
      banner ("Listing for <name>"), over-ridding the possible setting of
      the NAME environment variable and the users entry in the password file.
      It's also available as the "aliasName" X resource, and via a field on
      the mptool property sheet.

----

v3.1 - patchlevel 1 - 4th November 1993.

    * Added a MPTOOL_MSG() wrapper around all the strings in text.C. This
      macro definition still needs to be properly defined in mptool.h.

    * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      EXTRALIBS definition for SunOS 4.1.x should be just -lXext
      EXTRALIBS for Solaris 2.x should include -lsocket -lnsl (This is
      actually not needed for Solaris 2.3, but that hasn't been released yet).

    * Added #ifdef's around the Motif drag&drop code in toolfuns.C. If you
      have a version of Motif  earlier than 1.2, then you will need to
      uncomment the new NO_DND definition in the Makefile.

    * Added a NULL line to the end of the mptool.xpm and printing.xpm files.
      mptool was core dumping in concat_strs() when compiled with g++.

    * do_print_files() now handles the "headers to print" scrolling list.
      do_reset_options() resets the "headers to print" scrolling list.

----

v3.1 - patchlevel 0 - 3rd November 1993.

    * Hitting any of the three buttons on the property sheet no longer clears
      the window.

    * From Shane Youl <Shane.Youl@mel.dit.csiro.au>
      Fix to problem on mptool core dumping when trying to display the
      property sheet, on a SunOS 4.1.x system with Motif 1.1.4.
      XmTextSetString() cannot take a NULL for a string pointer. Change to
      read_str() to malloc space for a zero length string.

    * From Shane Youl <Shane.Youl@mel.dit.csiro.au>
      Linking of mptool under SunOS v4.1.x doesn't require -lgen. I've added
      another uncommentable definition to the Makefile for extra libraries
      needed when linking mptool.

    * Added in the ability to drag and drop selected text from another
      Motif application, to the background of the open mptool window, and
      it will automatically get printed using the current mptool settings.
 
    * From Richard L. Dyson <dyson@sunfish.Physics.UIowa.Edu>
      Problems with the Makefile install of the mp and mptool manual pages.
      Removed the preceding '-' characters on the nested chmod and cp commands.

    * From Richard L. Dyson <dyson@sunfish.Physics.UIowa.Edu>
      Needed to include a #include for <stdio.h> in toolfuns.C to remove
      compile time warning messages when compiling under SunOS 4.1.3 with g++.

    * Various organisational changes. In the source distribution, the main
      directory is now called "mpdist", with three new sub-directories:

      mp       - the mp source distribution.
      mptool   - the mptool source distribution.
      prologue - various mp prologue files.

      Both of the two source sub-directories have there own Makefile which
      gets called from the main Makefile.

      Installation now (by default) installs all the mp files that previously
      went into /usr/local/lib into /usr/local/lib/mp.

    * Setup default colors for the various mptool widgets.

    * Mptool now uses the color XPM icons on color screens. Note that the olwm
      window manager doesn't correctly show this, but mwm and the window
      manager used in the COSE/CDE desktop do.

    * Added a Dismiss button to the mptool property sheet.

    * The Reset button on the main mptool window was not correctly resetting
      radio box widgets.

    * The -duplex command line option is now -twosided. Introduced a
      -onesided option for printing in simplex mode (for printers that
      automatically default to duplex printing). Changed the default to
      duplex printing. Changed the manual pages to reflect this.

----

v3.0 - patchlevel 6 - 19th October 1993.

    * Added an extern "C" definition for strcasecmp() in header.h. Fixes up
      g++ warning messages, and errors when compiling under SunOS 4.1.x. with
      CC

    * From Larry W. Virden <lwv26@cas.org>
      Removed a spurious "the" from the -subject description in the mp manual
      pages.

    * From Larry W. Virden <lwv26@cas.org>
      The installation of mp and mptool manual pages now tests for the
      presence of the equivalent binary before trying to install it.

    * Created four xbm/xpm files:
        mptool.xbm          - Mptool's normal monochrome icon image.
        mptool.xpm          - Mptool's normal color icon image.
        printing.xbm        - Mptool's monochrome icon image when printing.
        printing.xpm        - Mptool's color icon image when printing.

      Mptool is not using the color ones yet.

    * While mptool is processing the print job, the icon changes to show
      envelopes in the printer image, and reverts back when complete. This
      is currently not very useful, but will be when you can drag and drop
      text or files to be printed, to the mptool icon.

    * From Cho Ng <mtgbs1!mtgbs1!cyn@mtqua.att.com>
      Removed the C++ comment from the MAXCONT definition in header.h. This
      was confusing the AT&T C++ R3.0 translator.

    * Adjusted the C++ code to compile correctly with v3.0(alpha) of Sun's
      CC compiler.

    * Corrected the -chars default value in the mp manual pages.

    * Wrote the mptool manual pages and added them to the distribution.

    * The mptool property sheet now dismisses correctly.

    * Added online help for all of the mptool widgets. The text for the online
      help is in a new file called text.C (text.h is included in toolfuns.C).
      All the other mptool text will eventually be moved across into this file.
      This will make it easier to internationalise.

    * Added recognition of the ProPlan personal organiser into toolfuns.C.

    * Moved the Time/System (International) prologue file from mp.pro.ts.ps
      to mp.pro.tsi.ps. Added in support for Time/System (Partner) personal
      organiser. This means that the command line option for TS(Intl) is now
      -tsintl and TS(Partner) is -tspartner.

    * Removed the Organiser entry from the File type: field in mptool. As it
      stood, it was not possible to have combinations like news articles
      printed in a personal organiser format. Orientation: becomes Output
      type: with an Organiser entry added.

    * Initialised the v->prologue variable in do_startup() in toolfuns.C to
      an empty string. Hopefully this is all that's needed to stop mptool
      core dumping when trying to display the property sheet under SunOS
      v4.1.x.

----

v3.0 - patchlevel 5 - 6th October 1993.

    * Changed the toolfuns.c file to a C++ toolfuns.C file. Initially it'll
      just be C code run through a C++ compiler with the comments changed
      plus proper function prototypes, but it'll eventually be classified.
      Note that it's a .C extension rather than a .cc extension because of
      the C++ compiler on IBM workstations not being able to accept the
      latter.

    * Moved all .cc C++ sources files to .C and all .hh files to .h for the
      same reason as above.

    * Mptool incorrectly generated the -postscript flag.

    * Removed the bogus "echo " at the beginning of the generated mp command
      line in do_print_files() in toolfuns.C.

    * From Oyvind Yrke <oyvind@stavanger.sgp.slb.com>
      Replaced an occurance of XmFONTLIST_DEFAULT_TAG with
      XmSTRING_DEFAULT_CHARSET in toolfuns.C.

    * Fixed up the positioning of the widgets relative to each other. The main
      frame is now just big enough to contain all the widgets.

    * In mptool, output the -printer option as soon as possible, in the hope
      that there is at least one more command line option following. See last
      entry in TODO file for reasons for this.

    * If the user was just supplying a "-printer" without a following printer
      name, that the index into argv[] needed to be decremented.

    * The no banner option for SVRn systems is "-o nobanner".

    * Added code to check the values of the four numeric text fields on the
      property sheet and the three numeric fields on the main frame, to check
      they are acceptable, and display a notice if they aren't.

    * The value from save_resources() is now checked, and if it's not zero,
      then a notice is displayed that tells the user that it was unable to
      save the users defaults.

    * From Larry W. Virden <lwv26@cas.org>
      To get proper duplex mode printing, "setduplex" had to be changed to
      "setduplexmode" in the show_prologue() routine in print.C

    * From Larry W. Virden <lwv26@cas.org>
      Do the chmod on things before the cp's - that way if an old version of
      mp is installed, where the owner only had read permission, the new .ps
      files, etc. get installed.

    * The "install" target in Makefile.dist is no longer dependent upon
      $(BINARIES). The installation of mp and mptool now tests for the
      presence of the file before trying to install it.

----

v3.0 - patchlevel 4 - 27th September 1993.

    * Introduction of mptool, a graphical front-end to mp. Note the Makefile
      has changed. You now have to specify "make mp", "make mptool" or "make
      all".

    * Adjusted function declarations in header.cc, input.cc and print.cc so
      that the function name starts at the beginning of the line to make it
      easier to find.

    * From Roland Soderstrom <rsm@Sweden.cv.com>
      Support for the ProPlan organiser.

    * From David Bending <davidb@cpdapo.tele.nokia.fi>
      From Shane Youl <Shane.Youl@mel.dit.csiro.au>
      When I print using -filofax (or any of the organiser formats) I get the
      first column of the second page printed followed by an
 
      ERROR: invalidfont
      OFFENDING COMMAND: show

      The fix for this involved removing a line containing gsave from the
      /newpage function definition and a line containing grestore from the
      /endpage function definition in mp.pro.ff.ps. As these are also
      present in mp.pro.fp.ps, mp.pro.tm.ps, mp.pro.ts.ps and mp.pro.pp.ps,
      I've made the same changes there.

    * From Shane Youl <Shane.Youl@mel.dit.csiro.au>
      Addition of "%%Orientation: Landscape" to the landscape prologue files
      so that programs like ghostview will use the correct orientation.

    * From David Bending <davidb@cpdapo.tele.nokia.fi>
      From Shane Youl <Shane.Youl@mel.dit.csiro.au>
      The filofax prologue file does not print the holes. I've used the
      solution given by David, which is slightly less than the one given by
      Shane. This might need adjusting. It appears to still not work for me.
      I've also made a similar change to the mp.pro.tm.ps file which
      presumably has the same problem.

    * Added the [-number] option to the mp usage message.

    * From John Macdonald <mtxinu!uunet.UU.NET!jmm%eci386@Sun.COM>
      I have changed the default to *not* treat postscript specially, and
      to require the -postscript option to have such passed through as
      PostScript instead of being treated as text. This was inconsistent
      with the rest of the program (i.e. you specify -article, -text,
      -folder, etc. to indicate the type of text that you are providing, it
      is inconsistent for the program to make a guess about one alternative
      processing mechanism when the others are all explicit).

    * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
      Paper size should be taken from the printer, not from the PostScript
      prologue or command line options.

      Note that this is not Rainers changes to dynamically adapt to the
      current paper size. It's just the part that sets the default paper size
      to now use as much of the paper as you possibly can. The -a4 and -us
      command line options (mptool settings) now override this. The
      installation no long has an install-a4 option, and is now straight
      forward. The README file has been adjusted for all of this.

    * Added in a new command line option for mp:
        - copies #  -  how many copies of each file should be printed.
      Note that this only works when the files to be printed are supplied
      on the command line.

    * From Oyvind Yrke <oyvind@stavanger.sgp.slb.com>
      When printing several files, the page number was not reset for each file.

----

v3.0 - patchlevel 3 - 27th August 1993.

    * From Jost Krieger <x920031@rubb.rz.ruhr-uni-bochum.de>
      From John Beck <jbeck@hpindsh.cup.hp.com>
      From Vic Tolomei <Vic.Tolomei@East.Sun.COM>
      The 'From ' line always got cut: everything between the 'From ' and
      the next ':' got dropped. Fix to Header::get_header() in header.cc.

    * From John Beck <jbeck@hpindsh.cup.hp.com>
      From Vic Tolomei <Vic.Tolomei@East.Sun.COM>
      The date would not appear in the banner header without the -flip
      command line option.

    * From Vic Tolomei <Vic.Tolomei@East.Sun.COM>
      Removed the /fontN - /fontNd definitions from the mp prologue files
      that didn't use them.

    * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
      Increased the number of possible header continuation lines that
      could be handled, from 10 to 100.

----

v3.0 - patchlevel 2 - 12th August 1993.

    * From Richard L. Dyson <dyson@sunfish.Physics.UIowa.EDU>
      mp should exit after the -version command line option, and not output
      a load of PostScript.

    * From Richard L. Dyson <dyson@sunfish.Physics.UIowa.EDU>
      One "sf " line of output in show_headers() in header.cc was always
      going to standard output, rather than to the correct output stream.

    * From Neil Katin <katin@Eng.Sun.Com>
      Added a -forcepage command line option to always start a new page
      (rather than a new column) when in landscape or multi-page personal
      organiser mode.

    * From Scott McCoy <smccoy@dr3w.ess.harris.com> 
      Add a mention in the README file that mp requires a C++ compiler in 
      order to compile.

    * Added two more command line options:
        -duplex  -  print double sided.
        -tumble  -  tumble the reverse page if printing double sided.
      These look for the setduplex and settumble definitions in statusdict.

      This is probably not a standard. Might have to consider adjusting it
      to be:

        -duplex <definition>
        -tumble <definition>

      where these expand to:

      statusdict /definition known { statusdict begin true definition end } if

    * From John Macdonald <mtxinu!uunet.UU.NET!jmm%eci386@Sun.COM>
      Added a -flip command line option, which allows the top and bottom
      banners to be flipped. Changes to mp.pro.ps and mp.pro.l.ps
      (ie. standard normal portrait and landscape printing).

    * From Gordon Smith <Gordon.Smith@midden.une.edu.au>
      Dec's Ultrix platform (Ultrix 4.2, gcc/g++ 2.4.3) needs a include for
      sys/types.h in print.cc

    * The default page length in portrait mode for US paper has been changed
      from 60 to 66 lines.

    * From John Mackin <john@vetsci.su.oz.au>
      From Andy Norman <ange@hplb.hpl.hp.com>
      It would be very nice if "make install-a4" automatically adjusted
      PageLength in mp.pro.ps to be 72.

----

v3.0 - patchlevel 1 - 1st August 1993.

    * From Bruno Pillard <bp@chorus.fr>
      The mp man page make use of the "L" font to typeset unix commands, I
      think it is not a good choice, as this is not often used in many
      configurations of troff/ditroff/groff I've seen, (check the
      occurence of \fL). I think a good solution is to change that to use
      the constant-width font(replace \fL by \fC).

    * From John Mackin <john@civil.su.oz.au>
      Changed the default NAMELENGTH/GECOSLENGTH value (number of characters
      extracted from the user's passwd gecos field) from 18 to 40.

    * From John Mackin <john@civil.su.oz.au>
      Misspelling of three of the header lines that mp automatically searches
      for:

      "Apparently_from:" should be "Apparently-From:"
      "Apparently_to:"   should be "Apparently-To:"
      "Reply_to:"        should be "Reply-To:"

    * From John Mackin <john@civil.su.oz.au>
      Added a call to hdr.reset_headers() before printfile() in main.c so
      that Cc: and To: header values can be cleared.

    * From John Mackin <john@civil.su.oz.au>
      The header detection code should taken white space between the
      header definition and the colon into consideration.

    * From John Mackin <john@civil.su.oz.au>
      Added bullet-proofing in case get_login() returned a pointer to a
      NULL character.

    * From Jacques Beigbeder <Jacques.Beigbeder@dmi.ens.fr>
      Added five lines to mp.pro.alt.ps to get output to print correctly
      with that prologue file.

    * Changed the number of filenames that mp can read off the command line
      from 4096 to 512.

    * Added two new command line options:
        -addhdr <type>   - add header <type> to list of headers to be printed.
        -remhdr <type>   - remove header <type> from list of headers to be
                           printed.
      Note that this does not work correctly for multi-line headers.

    * From Hardy <hardy@golem.ps.uci.edu>
      Change to the mp.common.ps prologue file to get it to work with NeXT
      printers.

----

v3.0 - patchlevel 0 - 28th July 1993.

    * Converted the code from C to C++.

    * Adjusted command line options to full option names like "-subject" and
      "-folder". Note that only enough of the command needs to be provided to
      make it unique. Updated the manual pages to reflect the changes.

    * Removed the mailp shell script (and associated manual page) and built
      this mailp, newsp ... functionality directly into mp. If argv[0] is
      mailp, newsp ..., then mp automatically sets up the appropriate command
      line options and output to the printer. If a -printer option is present,
      then mp pumps the output to that printer otherwise its to the default
      printer. If argv[0] is mp, then output is to standard output. For
      printer output, mp will look for /usr/spool/lp and if present assumes
      it is running under System V and uses lp with the LPDEST environment
      variable, otherwise it assumes it's a BSD system and uses lpr with the
      PRINTER environment variable.

    * Adjusted the usage message to adjust it's printing to display nicely
      in eighty columns.

    * Added a -tab # command line option to specify the number of spaces to
      output when a tab character is encountered.

    * From Alan Ezust <ezust@iro.umontreal.ca>
      Added a -number command line option to output a line number with each
      line.

    * Added a -modtime command line option that will use the files last
      modification time (rather than the current time) in the mp banner.
      Note that this only works when the files are supplied on the command
      line (as opposed to standard input).

    * From Mick Mueck <Mick.Mueck@analog.com>
      From Steve Paulson <spau@br6.chevron.com>
      Added a -wrap command line option to wrap words of output to the next
      line.

    * From Adam Kolawa <ukola@bat.Parasoft.COM>
      From John Mackin <john@civil.su.oz.au>
      Memory smash if NAME environment variable present and greater in length
      than the gecos entry in the password file.

    * From Stucki (Chr. v. Stuckrad) <root@math.fu-berlin.de>
      Changes to every PostScript prologue file with the /setlandscape
      function in it, to get the back-sides correctly printing on an
      'HP III Si PostScript' Laser Printer which does double sided printing.

    * From Ola Rinta-Koski <ola@lesti.hut.fi>
      If a prologue file given with the -prologue command line option is not
      found (it's not a full pathname), then it is searched in the same place
      as the standard prologues.

    * Added a "%%NumCols 1" to the single "page" prologue files.

    * Added three more command line options:
        -columns    #   - number of columns of output to display.
        -pagelength #   - number of lines to print per page.
        -linelength #   - number of characters to print per line.
      If present, these will override the default values in the prologue files.

----

v2.5 - patchlevel 8 - 22nd April 1992.
 
    * Added two new command line options:

      -c <chars> - number of chars to extract from the passwd gecos field.
      -w <words> - number of words to extract from the passwd gecos field.

      If present, these will override the GECOSFIELDS and GECOSLENGTH
      definitions in the Makefile and the default NAMEFIELDS and NAMELENGTH
      definitions. The manual pages have been updated. Fixes bug #1086002.

----

v2.5 - patchlevel 7 - 19th February 1992.

    * From Graham.Williams <Graham.Williams@csis.dit.csiro.au>
      "mp -l" straight out of the box (with "make install-a4") prints 60
      lines for first virtual page on the single physical landscape page,
      and then 61 on the second virtual page of the landscape page. Thus
      each physical page in landscape mode prints 121 lines. This is
      repeated for each page. Portrait mode is now correct.

----

v2.5 - patchlevel 6 - 17th February 1992.

    * Removed Bertrands' portion of the fix (introduced in patch #5) to
      prevent text overwriting in the top banner. Just Rainers' fix is now
      being used.

    * From Donn Fisher <Donn.Fisher@Eng.Sun.COM>
      Various fixups to the mp and mailp manual pages to get them inline
      with the OpenWindows V3.0.1 ones.

    * Occurances of index() in header.c and misc.c have been replaced with
      strchr(). The definition for NOINDEX in Makefile.dist has been changed
      to a definition for NOSTRCHR. The README has been updated.

    * Added in a -C command line option to mp. If used, mp will look for (and
      use) a Content-Length: header line to determine the length of the mail
      message to print, rather than the "\nFrom" string. If the Content-Length
      doesn't take you to the next "\nFrom", then it's wrong, and mp falls back
      to looking for the next "\nFrom" in the mail folder.

      The Content-Length doesn't seem to include the blank line between the
      header and the message body or the blank line after the message body
      and before the next header, so for the purposes of getting to the start
      of the next message, mp adds two to the Content-Length count.

      Mp manual pages have been updated.

----

v2.5 - patchlevel 5 - 3rd February 1992.

    * From Mark Prior <mrp@itd.adelaide.edu.au>
      New location for the mp files via anon ftp on ftp.adelaide.edu.au.
      They are now in a compressed tar file called mp.tar.Z in pub/sun/richb

    * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      Patch #4 broke the support for printing of 8bit characters (see entry
      from Sjoerd.Mullender@cwi.nl). The parameter to expand() has been
      returned to being an unsigned char *, and all places where this is
      called have been adjusted accordingly.

    * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      Adjusted Makefile.dist to install mailp (and friends) with symbolic
      links as opposed to hard links. Added a small comment to the trouble-
      shooting section of the README file, to detail this possible problem
      for UNIX systems which don't have symbolic links.

    * From Bjorn P. Brox <brox@dms.corena.no>
      The current /backspace definition in the PostScript prologue files
      won't work on all PostScript variants using Type1 fonts. A comment has
      been added to the trouble-shooting section in the README file describing
      a workaround.

    * From Bjorn P. Brox <brox@dms.corena.no>
      The ISOLatin1Encoding array is only present in "new" PostScript
      printers. Need to include definitions for "old" printers. Some printers
      don't have the /Thorn character. The PostScript versions I have used,
      including GhostScript does not fail if an entry in /Encoding does not
      exist in /CharStrings.

      From the Reference Manual, second edition, page 271 (5.3 Character
      Encoding):

        "If some encoding maps to a character name that does not exist in
         the font, .notdef is substituted."

      Therefore it should be safe to define ISOLatin1Encoding even if some
      of the characters does not exist.

    * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
      From Bjorn P. Brox <brox@dms.corena.no>
      I suggest that mp be reorganised to have one prologue file containing
      definitions, like backspacefont and reencodeISO, for all prologue files,
      and let the special prolog files just contain the differences. The common
      prologue file is called mp.common.ps. FILES, Makefile.dist, README and
      MANIFEST have been updated.

    * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
      A little change to the Makefile, making $(MPPATH)/man/man$(MPMANSECT)
      the default path for manual pages instead of $(MPPATH)/man$(MPMANSECT).
      Seems more conventional.

    * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
      A solution to the From/Date clashes in the header mentioned by Fulvio
      Marino <fulvio@ssuxos.ICO.OLIVETTI.COM> in the TODO file. These
      clashes can occur if the mail address is quite long (like mine). In
      such a case the font sizes of all header strings are reduced a bit so
      that everythings fits into the available space nicely.
 
      The patch should also make the PostScript thing a little faster.

      [Applied to mp.pro.ps and mp.pro.l.ps]

    * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      As I have very quickly observed such a clash while printing, in
      landscape mode, an article from a newsgroup (comp.unix.questions), I
      propose to print the left and the right parts on 2 lines, with the same
      alignment and fonts.

      [Applied to mp.pro.ps and mp.pro.l.ps]

    * From Glenn M. Lewis <glewis@fws204.intel.com>
      Typing "mail -F -m mail/survey > survey.ps" has a couple of of problems.
      First, the "From:" name is not necessarily correct.  It often is the name
      of the person who sent the message *following* the current one.  [The
      subject printed in the bottom banner can be incorrect too - Rich]. Also,
      when a message is too long for a single page, it seems to print the tail
      of the message before the top of it.

    * From Fulvio Marino <fulvio@ssuxos.ICO.OLIVETTI.COM>
      Printing a mail folder in landscape mode, top and bottom headers are
      wrong: the last page of each mail has the headers of the following one!
      My platform is: Olivetti LSX-3020 running X/OS 2.4 (a SysV+Bsd system
      with X/OPEN compatibility); printer is an Olivetti PG-306 (emulating HP
      LJ II) with an expansion board of Bauer Enterprises (PostScript Emulation
      Version 4.1).

----

v2.5 - patchlevel 4 - 28th January 1992.

    * From Sjoerd.Mullender@cwi.nl
      I have ported mp to an SGI system running IRIX 4.0.1.  To get it to
      compile without warnings using the ANSI C compiler I had to make a few
      modifications.

    * Added a section to the README file describing the two sites where mp
      is available via anon ftp.

    * From Lars P. Fischer <fischer@iesd.auc.dk>
      It would nice with a PREFIX variable of some sort for PATH's in the
      makefile, so that you don't have to edit "/usr/local" to /home/pd or
      whatever in three lines. This is a very minor hassle, of course.

    * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
      In the Makefile the macro PROLOGUE is not set by default. If mp is
      installed in the standard places this is no problem, but if it is
      installed somewhere else mp still searches for the prolog files in
      /usr/local/lib.  Setting PROLOGUE to -DPROLOGUE=\"$(MPLIBDIR)\" by
      default seems reasonable in any case.

    * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
      Fix for the -fp (Franklin Planner) prologue output.

    * From Fulvio Marino <fulvio@ssuxos.ICO.OLIVETTI.COM>
      The A4 paper size is 210x297 mm, NOT 8.5x11.4 inches.

    * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de> 
      Mp prints one line more on each page than specified by %%PageLength,
      except the first page.

----

v2.5 - patchlevel 3 - 21st January 1992.

    * Removed the check of the OPENWINHOME environment variable for the
      location of the mp prologue files. This is confusing and is only
      really needed for the OpenWindows version of mp. Also removed two
      small sections for the Makefile.dist file, which are not needed for
      the non-OpenWindows version.

    * Added a section to the README, containing information on possible
      trouble shooting hints for mp.

    * From John Macdonald <mauxci!eci386!jmm@apple.com>
      Added a comment to the prologue files, and an item in the trouble
      shooting section, to provide possible further pointers with regards
      to the setscreen black magic.

    * From David W. Sanderson <dws@cs.wisc.edu>
      Slight fixups to the mp manual pages including replacing ".LP" with
      ".PP" throughout, since ".LP" is just a symonym for ".PP" anyway.

    * From David W. Sanderson <dws@cs.wisc.edu>
      Included a significantly revised version of mailp. Changes include:

      - Adjusted mailp to only supply a -P argument if $PRINTER is set, rather
        than forcing a -Pps if PRINTER is not set. I don't have a printer named
        "ps".

      - mailp accepts -P and -d arguments, which are passed on to lpr or lp.
        They set PRINTER and LPDEST respectively.

    * From Lupe Christoph <lupe@alanya.Germany.Sun.COM>
      From Meinhard Kniffki <Meinhard.Kniffki@Germany.Sun.COM>
      Problems printing with the -ts Time/System print option, when printing
      more than one page. The second and subsequent pages were not scaled down
      in size.

    * Fixed up two occurances of strchr that were used directly, instead of
      index (which can be changed to strchr via the Makefile definition
      NOINDEX).

    * From Peter J. Ebbelink <pe@asd.tes.nl>
      When using mp together with the elm mail frontend, there is a slight
      problem with the output: elm uses a format for it's printer output that
      is slightly different from the normal folder format. To be specific:
      It lacks the UNIX "From " line and adds a formfeed after each message.
      This is done for those who miss the comfort of mp. When sending a single
      message to the printer this turn out mighty good, but when tagging some
      messages to be printed in one turn, the bold "From: ", "To: ",
      "Subject: " and "Date: " turn out in normal message body font.

      I've added a commandline option -e that expect the input to be formatted
      according to the elm intermediate file format, rather than the standard
      folder format. mp can be invoked from within elm by setting up elm using
      o)ptions P)rint mail using, and then specifying "mp -e %s | lpr"

    * Put the LIBDIR and BINDIR sections back in the manual pages and mailp.
      Renamed mp.1 to mp.man, added the sed section to Makefile.dist. Updated
      MANIFEST and FILES.

    * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
      When using mp with Ghostscript and a heavy-duty (ca. 50 pages/minute)
      PostScript-less laser printer it turned out that a single page generated
      by mp took 2-3 minutes to print. Obviously the "sf" before each text line
      is a very expensive operation in our configuration. I fixed the problem
      by only outputting an "sf" at the beginning of the page, after the
      headers.

    * From David W. Smith <dws@dbsoft.com>
      Support for the Franklin Planner personal organiser. Prologue file is
      mp.pro.fp.ps, command line option is -fp. Updates to mailp, mp.man,
      Makefile.dist, FILES and MANIFEST.

      It also works for the intermediate size of the Day Timer(tm) system.
      By moving the holes, this prologue can be made to work with the
      DayRunner(tm) and a number of the other half-size page systems.
      To some extent, magic numbers have been replaced by units in inches.

    * Added in a manual page for mailp, in both troff/nroff format and plain
      text.

    * Adjust the "shar" section of Makefile.dist, to create shars of a size
      that can be posted to comp.sources.misc.

    * Updated the TODO file with the list of outstanding problems received
      via mail in the last eighteen months.

----

v2.5 - patchlevel 2 - 10th January 1992.

    * From Donn Fisher (Donn.Fisher@Eng.Sun.COM)
      Two small adjustments to the mp.1 manual pages to correctly print.

    * Changed the default landscape mode to work like a 2up version of the
      normal print mode. The previous version of the landscape mode has been
      moved to mp.pro.altl.ps, for those who prefer that capability. The
      PostScript for mp.pro.l.ps can certainly be improved. I'm no PostScript
      expert. Fixes the following problems:

      From Michael J. Tuchiarone <tooch@plan9.Sun.COM>
      With landscape mode: There are a few things I don't like still, and chief
      among them is that the last page printed "wins" and gets its subject
      printed in the banner. It actually should (I think) be either the
      left-hand message, or better yet, if the subjects are different then
      print a different subject under each message.

      From Andreas Wettengel <nixhhs!andreas@relay.EU.net>
      I would like to be able to specify an offset within a logical page.
      If you print in landscape mode, the text of the second page starts
      at the left edge of the page, which prevents you from cutting the
      paper in halves and putting each half into a folder.

      From John Macdonald <mtxinu!uunet.UU.NET!jmm%eci386@Sun.COM>
      With the landscape format, I am tempted to put a separate subject
      box at the top of each set of columns that have a different column.
      Thus, for a digest, there would be a subject header for each item
      in the digest, not just the ones that were current during a left
      most logical page.

----

v2.5 - patchlevel 1 - 6th January 1992.

    * Inverted the order of entries in the CHANGES file. The latest patch is
      now at the beginning of the file.

    * From John Macdonald <mtxinu!uunet.UU.NET!jmm%eci386@Sun.COM>
      Included two new prologue files. These have become the defaults
      for mp.pro.ps and mp.pro.l.ps, and the previous versions of these
      files have been moved to mp.pro.old and mp.pro.l.old.

    * Integrated the changes needed to compile mp in the Open Windows build
      into the generic Makefile.dist file.

    * Adjusted the entry that make mp in Makefile.dist to add write
      permission to mp.1 before sed edits it, just in case it's under SCCS
      control at the time.

    * Removed the credits section from the initial comment in main.c. The
      credits are part of the acknowledgement section in the README file.

    * From Francois Ougier <ougier@saphir.cl.bull.fr>
      I'm not a PostScript expert, but the way CharStrings is used seems to
      inhibit the font cache machinery; this may cause the abort. However, I
      found a solution in the Adobe's red book which works on my LaserWriter.
      It uses the Metrics dictionary.

    * From Michael J. Tuchiarone <tooch@plan9.Sun.COM>
      NeWS/OpenWindows does not implement the CharStrings dictionary.
      Therefore /backspacefont doesn't work correctly. Need to generate a
      NeWS/OW compatible version of CourierBack.

    * From Hardy <hardy@golem.ps.uci.edu>
      Mp has problem printing with the NeXT printer driver, which is more
      finicky about PostScript. Whenever I printed something to it (either
      directly, or remotely from the HP-machines), I ended up with an
      "invalid restore" message.

    * From Dennis Linse <djlinse@phoenix.Princeton.EDU>
      Due to an apparent error when using mp (patchlevel 14) on a NeXT, I
      investigated the prologue code a little and found a bit of bad
      PostScript.  The /backspace function used for CourierBack leaves a
      dictionary on the PostScript operand stack.  When a file is printed on
      a NeXT using the most recent operating system (OS2.1), this leftover
      dictionary causes an 'invalidrestore' PostScript error when printed.
 
      One way to fix this is to add a pop as the last item in the definition
      of the /backspace function.

    * From Andy Hall <andyh@ncduk.com>
      Running on a Sparcstation 1+ and with a Canon LBP8 mark 3 printer with
      PS-1 Scriptcard. This is a true version 51.4 Adobe Interpreter. If I
      print Unix manual pages using standard Nroff output and the mp.pro.ps
      v1.2 prologue the job gets aborted after a few pages with a stackoverflow
      message on the serial output (I am using serial interface).  After a bit
      of investigation using a small C program to produce lines consisting only
      of a printed line number, a printable character, a backspace, an
      underscore and a newline, it appears that the job gets aborted on the
      page where the 500th backspace is. I am not a PostScript expert but I am
      wondering whether the problem lies with the embedded piece of code
      backspacefont.ps or the way it is used. It is rather too convoluted for
      me to understand fully but my suspicions are aroused in that the default
      operand stack size mentioned by Adobe in their red book is 500.

    * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
      Mp outputs 8-bit characters as one single character and not like \ijk
      The prologue is not made to support ISO8859 character set. Fixes bug
      #1078112.

----

v2.5 - patchlevel 0 - 20th November 1991.

    * Reset patchlevel and incremented version number.

    * Fixed up usage message.

    * Added in two new command line options:

      -US - use US paper size (8.5" x 11")
      -A4 - use A4 paper size (8.5" x 11.4")

      This causes an appropriate definition for /fullheight to be written
      to standard output, over-riding the one in the PostScript prologue
      file. Mp manual pages have been updated to reflect this change.
      Fixes bugid #1070432.

----

v2.4 - patchlevel 22. - 10th July 1991.
        
    *  Multiple space and/or tabs in the passwd gecos field or the NAME
       environment variable were being processed incorrectly.
        
    *  Changed the grayscale level in mp.pro.ps and mp.pro.l.ps from .98 to
       .88. This should printout much better on the Sun SparcPrinters.

----

v2.4 - patchlevel 21. - 9th July 1991.
        
    *  If a ^L (form-feed), is immediately followed by a line starting
       with "From", and we are printing a mail folder (-m command line
       option is set), then only page new page is done.
        
       This functionality has been added at the request of the mailtool
       team. Mailtool inserts ^L's between each mail message in a multiple
       batch.

----

v2.4 - patchlevel 20. - 6th June 1991.
        
    *  Added in ANSI function prototypes for all the mp routines.

----

v2.4 - patchlevel 19. - 2nd May 1991.
        
    *  Changes needed to get mp to work under SVR4 (Zeus). There are no
       SVR4 specifics; the same code runs unchanged under both SunOS v4.1.1
       and SVR4.

----

v2.4 - patchlevel 18. - 18 April 1991.

    *  Mp has been modified so that all warning messages from the acc
       compiler have been eliminated.

----

v2.4 - patchlevel 17. - 15 April 1991.

    *  mp.pro.ps and mp.pro.pl.ps were identical. Modified mp.pro.ps to be
       for portrait mode. Bugid 1056540 can be closed.

----

v2.4 - patchlevel 16. - 1 March 1991.

    *  CRT 35 - Modified Makefile to install mailp.1 and create filep.1,
       etc., links.

----

v2.4 - patchlevel 15. - 26 February 1991.

    *  Modified the mailp script to fix up the use of the PRINTER environment
       variable, and to correctly handle the -h command line option (needed to
       suppress the banner page).

    *  Added in a mailp.1 manual page.

----

v2.4 - patchlevel 14. - 1st November 1990.
 
    *  From Amos Shapir <amos@nsc.nsc.com>
       From Felix Ingrand <felix@ai.sri.com>
       From Mike Khaw <khaw@parcplace.com>
       From Ken Hayman <hayman@itd.nrl.navy.mil>
       From John Macdonald <mtxinu!uunet.UU.NET!jmm%eci386@Sun.COM>
       mp was no longer correctly recognising "from " header lines. This was
       a bug in hdr_equal(), and affected the default mode of mail printing.
       I've used a replacement hdr_equal() routine from Amos, which only
       scans the string once instead of four times.
 
    *  From Mike Khaw <khaw@parcplace.com>
       From yonkers@ncsc.org
       In our environment the "newfile" code causes the Apple laserwriter NTX's
       to barf. This is a page reversal problem, with the PostScript routine
       newfile being undefined. All references to newfile and endfile have
       been removed from the prologue files and the mp program. The routine
       startfile() has been left in as a null routine for now.
        
    *  From Ian Hoyle <ianh@bhpmrl.oz.au>
       There is a problem with allocation of memory via the realloc calls in
       print.c, on an SGI box running Irix 3.2, due to rounding. I'm simply
       allocated one extra byte in each of the realloc calls.
 
    *  From John Macdonald <mtxinu!uunet.UU.NET!jmm%eci386@Sun.COM>
       Now that mp is case insensitive about mail headers, it was possible for
       mail digests (ala comp.risks) and mail folders to be incorrectly
       processed. If mp was finding a line beginning with "from ", it was
       taking this as the start of a new message. A check has been added to
       the folder and digest processing in printfile() in main.c, to only
       proceed with new message processing, if the line in question matches
       the test criteria *and* the first character is upper-case.

    *  From Francois Ougier <ougier@saphir.cl.bull.fr>
       Just like pageno, colct should be reset (to 0) when looping for
       argument files in main.c (line 164). Otherwise, when printing multiple
       ascii files in landscape mode, the second column of each first page is
       always empty..

    *  From Francois Ougier <ougier@saphir.cl.bull.fr>
       The README file has been changed to suggest that a page length of 70
       might be more useful to A4 sites, rather than 72, and to include that
       86 seems a good value for LineLength in landscape mode for A4 paper.

----

v2.4 - patchlevel 13. - 3rd October 1990.

    *  The other PostScript prologue files need to be modified in a similar
       way, to mp.pro.ps (changed in patch #12).
 
    *  The meaning of the -PS switch to mp has been reversed. If you don't
       specify -PS on the command line, and mp finds a PostScript file as
       the body of the message, then it will just dump it out. Specifying
       -PS causes it to be printed as text.
 
    *  From Larry Virden <lwv27%CAS@pucc.PRINCETON.EDU>
       Further modifications to mailp:
 
       - If the user had specified a flag of "-sThis is my subject" then it
         wouldn't have printed correctly.
 
       - If the user tries to print files with tabs or spaces in them there
         would have been problems.
 
    *  From Larry Virden <lwv27%CAS@pucc.PRINCETON.EDU>
       Specifying "mp -o -F <mailfile" causes mp to dump core.

----

v2.4 - patchlevel 12. - 2nd October 1990.
 
    *  From Geoff Mulligan <mulligan@wrl.dec.com>
       Added in the ability for mp to recognize mail or digest messages
       which have PostScript as the text of the message and just dump it
       out. As this might not be the preferred option for everybody, this
       will only occur when the -PS command line option is given.
 
    *  From Geoff Mulligan <mulligan@wrl.dec.com>
       Added more saving and restoring of the PostScript state in mp.pro.ps.
 
    *  From Bruno Pillard <bp@chorus.fr>
       Modifications to mailp:
 
       - changed the way control arguments (added -l) are checked
         in mail, and the tricky "set -- -" to handle the stdin case.
 
    *  From Larry Virden <lwv27%CAS@pucc.PRINCETON.EDU>
       Modifications to Bruno's mailp:
 
       - Move the -h out to a variable, so that the user can configure it
         by setting a shell variable.
 
       - Change the :- to - since some /bin/sh's do not handle :- properly
         (at least Ultrix pre-4.0 does not handle it properly).
 
       - Change the stdin processing so that if the user provides a -s flag
         on the command line it is used, but if it is not, the default one
         is used.
 
       - Change the per file processing so that if the user provides a -s
         flag on the command line it is used FOR ALL FILES, but if it is
         not provided, the file name itself is used.

    *  From Bill Houle <bhoule@se-sd.SanDiego.NCR.COM>
       Modified the mailp script to work on SysV which usually has no lpr.

    *  From Bruce Barnett <barnett@unclejack.crd.ge.com>
       When you do a "make install", occurances of BINDIR in the mailp shell
       script, are now replaced with the value of $(BINDIR) from the Makefile.

    *  From Larry Virden <lwv27%CAS@pucc.PRINCETON.EDU>
       Modifications to Makefile.dist

       - Separated out the macro definitions from the compiler flags, and
         combined these together in the CFLAGS definition.

       - Used $(CC) instead of calling cc direct.

       - Included the Saber-C source loading rule.

    *  From Andy Norman <ange@hplb.hpl.hp.com>
       The install command under SysV does not have the same parameter order
       as the BSD one. I've replaced all the install commands in the Makefile
       with their equivalent cp and chmods.

    *  From Paul Higgins <phiggins@orion.oac.uci.edu>
       Mp is now case insensitive about mail header lines. The first word
       of the line is now converted to lower-case before doing a comparison.
       The first letter of each header is capitalised when printing.

----

v2.4 - patchlevel 11. - 24th September 1990.

    *  From Sato Toshihiko <sato@omphalos.bug.co.jp>
       The names of the personal organiser prologue files in get_options()
       in misc.c, was not changed to the new names in patch #10.

    *  From Paul Eggert <eggert@twinsun.com>
       mp.1 should be built when you type "make". On many hosts, you must
       install as root, but root lacks write privaledge to the working
       directory because it's mounted via NFS.
 
    *  From Rick Rodgers <rodgers@maxwell.mmwb.ucsf.EDU>
       From Paul Eggert <eggert@twinsun.com>
       When you do a "make", occurances of BINDIR in the mp.man manual pages,
       are now replaced with the value of $(BINDIR) from the Makefile.
 
    *  From Johan Vromans <jv@mh.nl>
       Added the rule "install-a4" to Makefile.dist. If you do a "make
       install-a4", mp is initially installed. This is then followed by
       the prologue files being edited in situ, and adjusted for A4 sized
       paper. The README file has been updated to mention this.

----

v2.4 - patchlevel 10. - 20th September 1990.

    *  Four files should have their names changed before applying this patch.
       These are:

           mp.pro.filofax.ps ==> mp.pro.ff.ps
           mp.pro.timeman.ps ==> mp.pro.tm.ps
           mp.pro.timesys.ps ==> mp.pro.ts.ps
           mp.1              ==> mp.man

       This is to make filenames < 14 chars, which is needed on SysV systems,
       and also to prevent any possible problems with trademarked names.

       If you are on a Unix machine, then you should first run the following
       four commands:

         mv  mp.pro.filofax.ps  mp.pro.ff.ps
         mv  mp.pro.timeman.ps  mp.pro.tm.ps
         mv  mp.pro.timesys.ps  mp.pro.ts.ps
         mv  mp.1               mp.man

       If you are running mp on another O/S, then you should do the equivalent
       of these four moves.

    *  From Jim Sanchez <syteke!jim@relay.EU.net>
       Please reduce the file name length on the mp.pro.filofax and
       mp.pro.timeman files for us system V guys. We are stuck with short file
       names and have to edit the source files each time you issue a patch.
       [Fixed by renaming the files as above - Rich].

    *  From Bruno Pillard <bp@chorus.fr>
       The opportunity to change the location of the LIBDIR is given in the
       Makefile, so you should update the Makefile to update the man page
       accordingly; For example in the Makefile:

       man:;      sed -e s,LIBDIR,$$LIBDIR,g mp.man > mp.1

       Of course, you have to change the name of mp.1 to mp.man in the
       distribution and all occurrence of /usr/local/lib by LIBDIR.

    *  From Johan Vromans <jv@mh.nl>
       From Ian Young <YoungIM@cs.bham.ac.uk>
       When compiled with gcc, mp -a falls over with a seg fault.
       In print.c, there are two places where a string is being copied to
       message_for, which is an inappropriate character pointer.

    *  From Andreas Wettengel <nixhhs!andreas@relay.EU.net>
       the option string to get_opt() in get_options() in print.c has been
       changed to allow "-t m" and "-t s" as well as '-tm" and "-ts".

    *  From Bruno Pillard <bp@chorus.fr>
       Added into the README file, the instructions for A4 sites that they
       have also to change the "%%PageLength" line in mp.pro.ps. In my
       opinion, 72 seems to be a good value.

----

v2.4 - patchlevel 9. - 17th September 1990.

    *  From Paul Eggert <eggert@twinsun.com>
       From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
       From Rick Rodgers <rodgers@maxwell.mmwb.ucsf.EDU>
       The SunOS v4.1 /bin/make doesn't like blank lines half way through a
       Makefile rule.
 
    *  From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
       The SYSV definition was not added to the CFLAGS line in Makefile.dist.
       It also needs to be added to the section in the README file, that
       describes settable Makefile definitions.
 
    *  From Rick Gunderson <rickg@toshiba.tic.oz.au>
       The mp.pro.ps file won't center the page number in the gray bar if
       ``leftedge'' is non-zero. We set left-edge to 0.5 inches so that there
       is a margin at the left of the page for punched holes.
 
    *  From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
       Some slight changes to the mailp shell script for -s subject handling.
 
    *  From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
       From Rick Rodgers <rodgers@maxwell.mmwb.ucsf.EDU>
       Some adjustments to the mp manual pages.
        
    *  From Peter Collinson <pc@hillside.co.uk>
       I have my own machine and printer and KNOW that the mail is for
       me.. I would like to have the header say
        
                Mail from ........
        
       The -F flag has been added for this option. The manual page has also
       been updated.

----

v2.4 - patchlevel 8. - 14th September 1990.

    *  From Johan Vromans <jv@mh.nl>
       Introduces another PostScript prologue file for the Time/System
       International personal organiser. The prologue file is called
       mp.pro.timesys.ps. The command line option to invoke Time Manager
       output has been changed to -tm, and the Time/System output uses -ts.
       The MANIFEST and FILES files have been updated to mention this new
       file. The mailp shell script, Makefile.dist and mp manual pages
       have been adjusted accordingly.

    *  Not everybody wants the newsp, filep ... shell scripts installed.
       To prevent this, you will need to comment out some lines in your
       Makefile (after you copy it from Makefile.dist). This is now explicitly
       mentioned in the Makefile.dist file and in the README under the
       installation section.

    *  The -v and the -? command line options now both output the current
       mp version number and the usage message then exit.

    *  From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
       Modifications to the mailp shell script to better handle the
       printing of the subject lines. Added a comment to the shell script
       to mention that banner printing is turned off by default. Most of
       the banner information is handled in the mp banners. Certain sites
       though, might wish to alter this by removing the -h switch to the
       lpr command.

    *  From Bill Houle <bhoule@se-sd.SanDiego.NCR.COM>
       Have added a SYSV definition to the Makefile.dist file which should
       be uncommented if you are compiling mp on a System V machine.
 
       In mp.h, compiling mp on an NCR Tower V.3 system, the compiler did
       not like the #include for sys/pathname.h, so it's been eliminated.
       [If this is a problem for any SysV sites, please let me know - Rich].

       cc complained about redefinition of sprintf et al, which were
       already defined in <string.h>. I fixed by bracketing with #ifndef:

       To get rid of the annoying warnings about illegal structure operations,
       I included definitions for getpwuid() and getpwnam(). On the SysV Tower
       at least, <pwd.h> defines the passwd structure, but not the functions.

    *  From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
       The sprintf hard coded externs are in conflict with at least the
       SunOS 4.1 systme 5 declarations.

       Line 225 of misc.c is :   *ptr++ ;
       Why?  The * is never used - it just falls on the floor.

    *  From Jim Sanchez <syteke!jim@relay.EU.net>
       Please reduce the file name length on the mp.pro.filofax and
       mp.pro.timeman files for us system V guys. We are stuck with short
       file names and have to edit the source files each time you issue a
       patch.

       [For now, I've detailed this problem in the TODO file. When the next
        version of mp is released, I'll make sure that all the filenames are
        below 14 characters - Rich].

----

v2.4 - patchlevel 7. - 7th September 1990.

    *  From Johan Vromans <jv@mh.nl>
       Completely revised how mp now does it's processing. See the new
       section in the README file entitled "How mp works" for more details.
       Introduces a new prologue file mp.pro.l.ps for handling the standard
       printing in landscape mode with 2 columns. Changes to most other
       files. The MANIFEST and FILES files have been updated.

    *  From James F. Blake <jim@doctor.chem.yale.edu>
       From Rainer Klute <klute@unido.informatik.uni-dortmund.de>
       Mp crashed with a segmentation violation if the mail message has no
       subject line.

    *  From Bruno Pillard <bp@chorus.fr>
       Added the printing of the username beside the date when printing
       news articles.

       Fixed two typos in the mailp shell script, and added the installation
       of mailp to the Makefile.dist file. Support for the PRINTER variable
       has also been added to mailp.

    *  From Ran Ever-Hadani <nsc!taux01.nsc.com!crehta@Sun.COM>
       When mp -a is invoked from within the nn news reader, the "Article
       from" header was displayed incorrectly.
        
    *  From Lupe Christoph <lupe@alanya.Germany.Sun.COM>
       The -f (filofax) and -t (Time Manager) options didn't print
       correctly on a PostScript print which has page reversal set. Johan
       Vromans work on the restructuring of the PostScript and the way
       prologues are handled, has fixed this.
        
    *  From John Little <gaijin@ale.Japan.Sun.COM>
       The NAME environment variable (if set) should be processed the same
       way as the GECOS passwd field. See the GECOSFIELDS and GECOSLENGTH
       definitions in Makefile.dist for more details.

----

v2.4 - patchlevel 6. - 4th September 1990.
 
    *  From Amos Shapir <amos@taux01.nsc.com>
       Interpreting a '&' in the GECOS field should capitalize only the
       first letter of the login name, not all of it.
 
    *  From Bruce G Barnett <barnett@unclejack.crd.ge.com>
       From Pauline van Winsen <pauline@Aus.Sun.COM>
       Mp only extracted two "words" from the user's passwd gecos field.
       This has been changed to now extract three "words" by default, but
       two new definitions have been added to the Makefile.dist file to
       allow you to adjust the username extraction:
 
       GECOSFIELDS - Number of "words" extracted from the user's gecos field.
       GECOSLENGTH - Maximum no. of chars. extracted from the gecos field.
 
       See the comments in the Makefile.dist file for more details.
       If needed, then these options should be uncommented and set accordingly.
       The README file has been updated.
 
    *  From Johan Vromans <jv@mh.nl>
       An attempt to initialise the cc array in main.c when the variable
       is declared doesn't work with the GNU C compiler. This has been
       removed. Yes folks, this is deja vu.
 
    *  From Johan Vromans <jv@mh.nl>
       To allow MP to handle A4 formatted pages, I made a few mods to
       mp.pro.ps. The reason to introduce the variables fullwidth and
       fullheight is that they are used in more than one location.
       Reasonable values for fullwidth and fullheight are 8.5/11 inch for US
       Letter, and 8.5/11.4 inch for A4.
       Since sites usually have one single format of paper, mp could be
       installed with either the USLetter or A4 values.

       I've also made the same modifications to mp.pro.alt.ps.

       **IMPORTANT NOTE** You should adjust these values correctly for your
                          site. I've added a couple of comments to the
                          "make install" to try to remind people about this.

       I've also left it defaulted at the US Letter size, so it should still
       continue to work for A4 sites, but not use all of the paper.

----

v2.4 - patchlevel 5. - 29th August 1990.
 
    *  Posted to comp.sources.misc.
 
    *  From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
       Include a Makefile.dist with the mp distribution. This file will
       need to be copied to Makefile and adjusted accordingly, but it does
       mean that future changes via patches don't clash with custom user
       changes. The README file has been updated to mention this.
 
    *  From Lupe Christoph <lupe@alanya.Germany.Sun.COM>
       mp.pro.filofax.ps and mp.pro.timeman.ps still contained definitions
       for PrimaryFont and SecondaryFont.

----

v2.4 - patchlevel 4. - 27th August 1990.
 
    *  From Mike Bundschuh <mjb@Eng.Sun.COM>
       Added quick fix to expand() in print.c to check if pointer == NULL

----

v2.4 - patchlevel 3. - 17th August 1990.
 
    *  From Larry Tsui <larryt@Canada.Sun.COM>
       With mp -o filename | lpr, the filename printed on the bottom bar
       is missing the first character. The subject string setup at the end
       of set_defs was incorrect.
 
    *  Gave mp a though linting (Sun 4/65 - SunOS v4.1).

----

v2.4 - patchlevel 2. - 14th August 1990.
 
    *  From Pierre Mareschal <pmaresch@hawk.ulowell.edu>
 
       - Fix for multiple mail printing:
             % mp [-a] file1 file2 file3 ... > mp.out
             * Outputs the Prolog only once at the beginning of the file.
             * Gives a correct page count at the end of the PostScript file
               in the Trailer
             * Shorten PostScript output (by more than 10%):
                      PrimaryFont -> pf
                      SecondaryFont -> sf
             * Correct global subject line with -s "Subject" flag.
             * Correct current subject line when multiple articles.
 
       - Added another style for mp.pro.ps with the page number in lower
         right corner. This file has been called mp.pro.alt.ps.
 
       - Added Example directory (called Data) with the mp distribution. This
         contains examples for Mail, Mail Folders, News Articles, News Digests
         and a plain listing.
 
    *  Added a TODO file, with a list of the outstanding problems and
       suggested enhancements.
 
    *  Added MANIFEST and FILES files, to provide a manifest of the
       distributed files, plus a description of what each file does.
 
    *  From Roger Riggs <riggs@suneast.East.Sun.COM>
       Created emacs functions for printing with mp. A new file (mp.el) has
       been created.

----

v2.4 - patchlevel 1. - 1st June 1990.
 
    *  From Brachet <brachet@imag.fr>
       Fix for segmentation violation core dump on a System V machine
       when trying to print multiple news articles.
 
    *  From Brachet <brachet@imag.fr>
       mp took only the first subject of a group of news articles
       because it didn't parse the subject line properly.

----

v2.4 - patchlevel 0. - Started (april 1990).
 
    *  From Michael J. Tuchiarone <tooch@plan9.Sun.COM>
       Support for landscape mode. This allows two pages printed per
       sheet of paper.

----

v2.3 - patchlevel 5. - Posted to comp.sources.bugs (February 1990).
 
    *  From Johan Vromans <jv@mh.nl>
       From Rick Gunderson <rickg@toshiba.tic.oz.au>
       Storage allocation for string constants is different with cc and
       the GNU C compiler (gcc). Two adjustments in print.c are needed.

----

v2.3 - patchlevel 4. - Posted to comp.sources.bugs (January 1990).
 
    *  From Mike Khaw <khaw@parcplace.com>
       The definition for NOINDEX in mp.h should be embedded in an
       #ifdef not an #ifndef. Arrgghh!!
 
    *  The CHANGES file is now upto date.
 
    *  From Johan Vromans <jv@mh.nl>
       An attempt to initialise the cc array in main.c when the variable
       is declared doesn't work with the GNU C compiler. This has been
       removed.

----

v2.3 - patchlevel 3. - Posted to comp.sources.bugs (January 1990).

    *  The Makefile did not include the CHANGES file in the OTHERS
       macro definition.

    *  From Steve Cliffe <steve@wolfen.cc.uow.oz>
       The new Makefile definition NOINDEX, needs to be included in
       the CFLAGS definition.
 
    *  From Walter Underwood <wunder@hp-ses.sde.hp.com>
       Several tweaks to the mp man page to correct print on Sys V
       machines.

----

v2.3 - patchlevel 2. - Posted to comp.sources.bugs (January 1990).

  Changes:

    *  From Steve Cliffe <steve@wolfen.cc.uow.oz>
       The Makefile used a technique for generating the object files,
       from the source files, that not every make has.

    *  From Steve Cliffe <steve@wolfen.cc.uow.oz>
       Mp used both the index and strchr library calls. It now uses
       index by default, and if you don't have this, then you need
       to uncomment a macro definition NOINDEX in the Makefile (which
       has just been added).

    *  From Brian Kohn <bicker@hoqax.att.com>
       The variable MAXPATHLEN is not declared on all machines. An
       appropriate definition has been added to the mp.h file.

New files:

    *   CHANGES - documented history of the changes made with each new
                  mp patch.

----

v2.3 - patchlevel 1. - Released to comp.sources.misc (January 1990).
