"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "mpdist-3.7.1/ChangeLog" of archive mpdist-3.7.1.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 
    2 $Header: /cvsroot/mpdist/mpdist/ChangeLog,v 1.3 2002/10/15 19:09:31 richbastard Exp $
    3 
    4 Mp distribution change history.
    5 -------------------------------
    6 
    7 v3.7.1 - 15th October 2002.
    8 
    9 * From Philippe Bruyère <bruyere@sia.ucl.ac.be>
   10   If you have a formfeed inside a text document, mp doesn't correctly handle
   11   it, and prints an unwanted blank line.
   12 
   13   The fix was to apply a check in the show_text() routine in .../mp/print.c
   14   to test to see if end_of_page() was set and the current line was zero 
   15   length, in which case, the routine should just return.
   16 
   17 * From James B. Hiller <jhiller@visi.net>
   18   Need a way of enabling/disabling the tooltip help in mptool.
   19 
   20   Need command line option "-tooltips" enables tooltips (they are disabled
   21   by default). The equivalent boolean X resource is "tooltips". 
   22 
   23   The manual pages have been updated to reflect these changes.
   24 
   25 * From Richard L. Dyson <dyson@scat.physics.uiowa.edu>
   26   The logic of the NO_DUPLEX setting (the --disable-duplex configure option)
   27   was incorrectly reversed.
   28 
   29 ----
   30 
   31 v3.7.0 - 12th April 2002.
   32 
   33 * Mpdist now moved to SourceForge - http://mpdist.sourceforge.net
   34   Files placed under CVS control (with CVS $Header: /cvsroot/mpdist/mpdist/ChangeLog,v 1.3 2002/10/15 19:09:31 richbastard Exp $).
   35 
   36 * The Data directory now included with the distribution.
   37 
   38 ----
   39 
   40 v3.6.1 - 28th December 2001.
   41 
   42 * From Benjamin Watkins <ben@constant-technologies.com>
   43   The .../mimep/shells directory and its contents were missing from the mp
   44   distribution.
   45 
   46 * Updated various aclocal, autoconf and automake supplementary files.
   47   Updated libtool, missing and ltmain.sh. Included depcomp.
   48 
   49 * Adjusted the README file to mention that the mp mailing list is now
   50   "mp@sun.com" and no longer "mp@eng.sun.com".
   51 
   52 ----
   53 
   54 v3.6.0 - 23rd January 2001.
   55 
   56 * Mptool now uses Gtk+ rather than Motif. This is the graphics toolkit on
   57   Linux systems, and will be automatically available on Solaris when GNOME
   58   is available (is downloadable now from www.gtk.org for those that want to
   59   build it themselves).
   60 
   61 * Adjusted code to be K&R layout with indents of four spaces. All tabs
   62   removed. Fixed up all warnings.
   63 
   64 ----
   65 
   66 v3.5.2 - 3rd April 2000.
   67 
   68 * From Douglas Bates <bates@stat.wisc.edu>
   69   From "David W. Schuler" <schuld@btv.ibm.com>
   70   Specifying a --with-prologue option to configure did not allow mp to use 
   71   prologue files from a different directory.
   72 
   73   Problem was due to a different named definition in the generated config.h
   74   file. It's now PROLOGDIR. .../common/option.h was expecting PROLOGUE.
   75 
   76 ----
   77 
   78 v3.5.1 - 20th March 2000.
   79 
   80 * From Lars Hecking <lhecking@nmrc.ucc.ie>
   81 
   82   Here's a small patch which fixes a few bugs and some stuff that didn't
   83   work properly before.
   84 
   85   o configure.in
   86     - moved the AM_CONDITIONALs to after the X11 lib tests
   87     - escape the $ in $(pkgdatadir) so that the variable is not expanded
   88       at configure time (where it doesn't exist)
   89     - cleaned up X library handling wrt to linker flags; should now build
   90       on systems where the X11 libraries are not in the linker default
   91       search path
   92     - don't quit when one of the X11 libs is not found, disable building
   93       of mptool instead
   94     - wrap every single X11 lib test inside if/fi, so that if the first
   95       test fails, the others are not performed (mptool needs all three libs)
   96     - add a configuration report at the end of configure
   97     - creates a config.h file which is now included by the various programs
   98       in the mp distribution.
   99   o mimep/mimep/Makefile.am, mp/Makefile.am, mptool/Makefile.am
  100     - add the required X11 lib variables to LIBS
  101   o mp/Makefile.am
  102     There were two bugs in DESTDIR handling in the install-exec-local target:
  103     - a typo
  104     - the created links pointed to the wrong files if DESTDIR != ""
  105 
  106 ----
  107 
  108 v3.5.0 - 15th March 2000.
  109 
  110 * Mp mailing list moves to mp@Eng.Sun.COM
  111 
  112 * Uses automake and autoconf to configure and build the distribution.
  113 
  114 * Source files now have Gnu license. 
  115 
  116 * All code in the various .c and .h files has been "indent"'ed (default 
  117   configuration). Tabstop=4. 
  118 
  119 * Added the newpage option to mp.tcsh.
  120 
  121 ----
  122 
  123 v3.4 - patchlevel 2 - 22nd November 1999.
  124 
  125 * From: Christian Jonsson FOA 72 <chj@lin.foa.se>
  126   Fixed up the Version number for mptool in text.c to be 3.4.<patchlevel>
  127 
  128 ----
  129 
  130 v3.4 - patchlevel 1 - 22nd November 1999.
  131 
  132     * From Sebastian WANGNICK <sebastian.wangnick@eurocontrol.be>
  133       Fixes to make mp work on Alpha with DU 4.0.  Changes to option.c
  134       option.h and mptool.c
  135 
  136 ----
  137 
  138 v3.4 - patchlevel 0 - 3rd September 1999.
  139 
  140     * From Alastair Burt <burt@dfki.de>
  141       "Mp no longer printed my files in that nice three up way for my 
  142       filofax." 
  143 
  144       The problem was the count value in comon/option.c, for the number 
  145       of unique characters needed to make the -filofax command line 
  146       option unique. It should have been 7 not 8.
  147 
  148     * From David Ellement <ellement@sdd.hp.com>
  149       "When printing multiple mail messages to a duplex printer, I'd like 
  150        each new mail message to start on fresh sheet of paper."
  151 
  152       Added in a new -newpage command line option and newPage X resource
  153       to achieve this. See the manual pages for more details.
  154 
  155     * From Sven Guckes <guckes@math.fu-berlin.de>
  156       Added text to the mp manual pages to describe the default values for
  157       the following options:
  158 
  159           -a4
  160           -article
  161           -bottom
  162           -bsdprint
  163           -config
  164           -copies
  165           -flip
  166           -folder
  167           -landscape
  168           -left
  169           -nobanners
  170           -noburstpage
  171           -number
  172           -onesided
  173           -portrait
  174           -right
  175           -tab
  176           -text
  177           -top
  178           -tumble
  179           -us
  180           -wrap
  181 
  182 ----
  183 
  184 v3.3 - patchlevel 5 - 1st April 1998.
  185 
  186     * From Tom Garland <Tom.Garland@Ireland.Sun.COM>
  187       Trying to change directories with the file selection dialog in mptool
  188       incorrectly pasted the directory name in the main mptool window.
  189       Solution was to remove the code that was unmanaging the Filter button
  190       on the file selection dialog.
  191 
  192 ----
  193 
  194 v3.3 - patchlevel 4 - 2nd October 1997.
  195 
  196     * From Dean Thompson <dean@seahorse.fcit.monash.edu.au>
  197       Some printers (ie. some models of HP LaserJet's) cannot handle duplex
  198       printing. The "setduplexmode" definition throws them. To disable this 
  199       feature, a new definition (NO_DUPLEX) has been added to Makefile.dist
  200       and is used in .../mp/print.c. This definition needs to be uncommented
  201       if your printer doesn't support this functionality.
  202 
  203 ----
  204 
  205 v3.3 - patchlevel 3 - 31st March 1997.
  206 
  207     * From Roger Smith <roger.smith@FMR.COM>
  208       Our company had a need to print information in landscape mode with lines
  209       greater than 100 characters.  We wanted  to print a single column per
  210       page and stretch the banners the full 11 inches.  I made a few changes
  211       to facilitate our needs.  The new code is activated by using the
  212       commnand option pair "-landscape -columns 1". There is a new PostScript
  213       prologue file (mp.pro.l.c1.ps) used to achieve this.
  214 
  215     * From Matthew O. Persico <matthewp@IDT.NET>
  216       Even though I specified BSD style print commands in the via Makefile
  217       macros, I must still throw the -bsd switch. #ifdef BSDPRINT in option.c
  218       should have been #ifdef BSD_PRINT.
  219 
  220     * From: Huu Da Tran <tranhu@IRO.UMontreal.CA>
  221       The "make install" was incorrectly installing mp.pro.tsi.ps instead of
  222       mp.pro.tm.ps.
  223 
  224     * From Phil Kernick <philk@dhn.csiro.au>
  225       If mp is run, and the HOME environment variable is not set, it will core
  226       dump. This can happen when mp is used as a command that sendmail executes
  227       when receiving mail (and is how I found it).  It will now just check for
  228       the existance of getenv("HOME") before it is used.
  229 
  230     * Changed the master Makefile.dist definition for MOTIFLIBDIR to include
  231       a default runtime library path for Solaris.
  232 
  233     * ANSI'fied some function headers. Fixed up many lint errors/warnings.
  234 
  235     * From Richard L. Dyson <dyson@sunfish.physics.uiowa.edu>
  236       The version string in the titlebar of the mptool problem was incorrect.
  237 
  238     * Mentioned in the README that the mp distribution is also now available 
  239       via your web browser from http://java.sun.com/people/richb. As ftp.x.org
  240       is proving so hard to get to, I've removed all reference to it.
  241 
  242     * From Andy Seaborne <afs@hplb.hpl.hp.com>
  243       Various changes to make the mp distribution compile on an HP-UX 9.05, 
  244       using A.09.61 HP C Compiler. His changes to .../Makefile included:
  245 
  246 	MOTIFINCDIR     = -I/usr/include/Motif1.2
  247 	MOTIFLIBDIR     = -L/usr/lib/Motif1.2
  248 	X11INCDIR       = -I/usr/include/X11R5
  249 	X11LIBDIR       = -L/usr/lib/X11R5
  250 	CCOMP=-O -D_HPUX_SOURCE
  251 	CC=c89
  252 
  253     * From Larry W. Virden <lvirden@cas.org>
  254       Added various comments to the .../mimep/mailcap_example file. Fixed
  255       up the application/x-tex nametemplate entry.
  256 
  257 ----
  258 
  259 v3.3 - patchlevel 2 - 25th August 1995.
  260 
  261     * From Daniel Haenle <daniel.haenle@zdv.uni-tuebingen.de>
  262       From Franz Koch <franz.koch@zdv.uni-tuebingen.de>
  263 
  264       1. Minor Patches
  265 
  266       - Don't use test for accessability of PRINTPROG = "/usr/spool/lp"
  267         (IRIX-5.2: PRINTPROG exists but many use BSD-lpr
  268           AIX-2.3: PRINTPROG doesn't exist but system supports lp).
  269         Installer should know which program to use (new variable "BSD_PRINT" in
  270         in top level Makefile).
  271 
  272       - Swapped commands in install targets (first cp, than chmod).
  273 
  274         Affected files: common/option.[ch], Makefile.dist, mp/Makefile
  275                         mptool/Makefile
  276 
  277       - Grouped common C-flags in variable GENCDEFS in Makefile.dist
  278 
  279       - Most systems don't need <memory.h> (but SunOS-4.x.x), some don't have
  280         it (Convex) -> introduced #ifdef NEED_MEMORY, to be set in top Makefile
  281 
  282         Affected files: mptool/tu_runtime.c, Makefile.dist
  283 
  284       2. User Interface Patches
  285 
  286        - Corrections so that no warning messages from popup of File Selection
  287          Dialog are issued (from TODO list); TeleUse seems to generate wrong
  288          code.
  289 
  290          Affected files: mptool/base.c, mptool/mptool_ui.c
  291 
  292        - Set color for children of FSB (and other popups) in resource file
  293          (from TODO list) and in fallback resource (see below). All the
  294          hardcoding of background color '#bfbfbf' should be removed -
  295          I haven't done it (by the way - the name of the color is "gray").
  296        - Set default font in resource file and use it in introduced
  297          fallback resource. The font is
  298           "-*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1" ,
  299          looks better than "fixed" and avoids problems with the
  300          main form widget on SGI ("fixed" is quit big).
  301 
  302          Affected files: mptool/mptool.c, mptool/Mptool.ad
  303 
  304        - The size of the form widgets and their children is hardcoded in
  305          mptool/mptool_ui.c which leads to invisible buttons and labels (this
  306          varies with the size of the "fixed" font). Let the form widget do ITS
  307          work!
  308 
  309          Affected file: mptool/mptool_ui.c
  310 
  311        - The entered Subject in mptool only gets printed if 'saved as default'.
  312          This seems inappropriate for a temporary element. Get subject line
  313          directly from text widget since there is no apply button in mptool's
  314          main widget.
  315 
  316          Affected file: mptool/toolfuns.c
  317 
  318        - Added new callback 'do_output_update' for radio boxes in main widget
  319          (see 3. below for details).
  320 
  321          Affected files: mptool/callbacks.c, mptool/mptool_ui.c,
  322                          mptool/output.c
  323 
  324        3. A problem and a new callback.
  325 
  326        I live in the world of a4 paper and this causes problems ...
  327        Well, they might be similar in the us paper world.
  328 
  329        I tried to follow the values of the variables (symbolic: 'O_LLEN' and
  330        'O_PLEN') which depend on papersize (a4, us) and output format
  331        (portrait, landscape and organizers). I understand it as follows:
  332 
  333        a) When I use 'mp' without specifying linelength and pagelength (but -a4
  334           for example), the output is ok. This is accomplished by the function
  335           'adjust_paper_size()' in "common/option.c" which corrects the length-
  336           parameters and sets the variables llen_given and plen_given to true,
  337           as if I had entered those values on the command line. The function
  338           does nothing if I enter linelength and/or pagelength on the command
  339           line which leads to the badly formatted pages if the values are
  340           greater than those in adjust_paper_size(): The banner overprints the
  341           excess-lines.
  342 
  343           In mp/print.c I saw the following comment:
  344 
  345        /* If "-columns #", "-linelength #" or "-pagelength #" was given on the
  346         * command line, then use that value, otherwise get the appropriate value
  347         * from the prologue file.
  348         */
  349 
  350           The README says under "4. How mp works.":
  351 
  352           When mp processes a file, it first reads the designated prologue and
  353           extracts data from the following lines:
  354 
  355            %%PageLength nn    - the number of lines per page
  356            %%LineLength nn    - the number of chars on a line
  357            %%NumCols nn       - the number of columns per page
  358 
  359         I think this is not quite correct: The values from the prologue files
  360         are NOT evaluated if I specify a papersize:
  361 
  362         i)  set on commandline -> they override %%PageLength nn ... (mp/print.c)
  363         ii) not set -> adjust_paper_size sets them -> case i)
  364 
  365        b) mptool ALWAYS sets the commandline options (linelength, pagelength
  366           and others) for mp and therefore behaves like in a)
  367 
  368        Now when using mptool, it sets defaults which are the values for
  369        us-paper and portrait. When I choose a4-paper and/or landscape in
  370        mptool's main window, the values of linelength and pagelength are NOT
  371        adjusted - and if printing is done, mp is called with
  372        '... -pagelength 72 ...'
  373 
  374        The user has to set values for a4-paper in the output widget
  375        explicitely to take effect. Therefore I added a new callback, which
  376        does this automatically, (its name should be do_adjust_lengths, not
  377        do_output_update).
  378 
  379        I admit that this implicit adjustment changes the behavior of the user-
  380        interface, as it is like the apply-action in the output widget and sets
  381        the values 'O_LLEN' and 'O_PLEN'. The actions of the callback itself
  382        have to be judged again: which values should be used for organizer
  383        formats and what should be done as default action.
  384 
  385 ----
  386 
  387 v3.3 - patchlevel 1 - 25th July 1995.
  388 
  389     * From schuld@btv.ibm.com (Dave Schuler)
  390       The installation of files from the mimep directory hierarchy should
  391       have been using the new values supplied in the master top-level Makefile.
  392 
  393     * Changed the mimep manual pages installation to be done the same way as
  394       the mp/mptool ones.
  395 
  396     * Added Geoff Mulligan's name to the man page.
  397 
  398     * From Mikael Cam <Mikael.Cam@univ-rennes1.fr>
  399       Moved the "#!/bin/csh -f" line to the top of .../mimep/shells/printmim.
  400 
  401     * From Birger.Wathne@nho.hydro.com (Birger Wathne)
  402       Wrote a PostScript prologue file for the Filofax Pocket. It's called
  403       mp.pro.ffp.ps in the prologue sub-directory. The symbolic link is
  404       filofaxpp. The command line option is "-organiser filofaxp". Various
  405       relevant files have been updated to use it.
  406 
  407       *IMPORTANT NOTE*
  408       If you were using the "-organiser filofax" command line option and you
  409       had reduced the command option to the minimum number of unique characters
  410       (ie. -org fi), this will no longer work.
  411 
  412 ----
  413 
  414 v3.3 - patchlevel 0 - 5th July 1995.
  415 
  416     * From Mikael Cam <Mikael.Cam@univ-rennes1.fr>
  417       MIME support. This is done with the help of LaTex and metamail.
  418       See the README file for more details on this. There is a Makefile
  419       definition (MIME_SUPPORT) to turn on this option. It is not on by
  420       default. Note the comments for the various source files are currently
  421       in French. These will be converted to English in a future release.
  422 
  423 ----
  424 
  425 v3.2 - patchlevel 3 - 13th April 1995.
  426 
  427     * Added the ability to have no banners at all. This is done via the
  428       command line option -nobanners (and the X option "banners").
  429 
  430       **Important Notes**
  431 
  432       - There was already a -nobanner command line option that prevented the
  433         burst header page being printed. This has been changed -noburstpage
  434         (X option remains "printHeaderPage").
  435       - The ability to set this option hasn't been integrated into mptool yet.
  436       - It currently only works with the standard portrait and landscape
  437         formats.
  438 
  439 ----
  440 
  441 v3.2 - patchlevel 2 - 10th February 1995.
  442 
  443     * From dyson@sunfish.Physics.UIowa.Edu (Richard L. Dyson)
  444       From howardm@lsil.com (Howard Moftich)
  445       From repton@diasemi.co.uk (Andrew Repton)
  446       From Michael Salmon <Michael.Salmon@eos99.ericsson.se>
  447       Changed all occurances of end() in the mp distribution to End() and
  448       start() to Start(), so that gcc v2.6.0 (or greater) doesn't have a
  449       problem.
  450 
  451     * From Stephen Murhpy <psm@odi.com>
  452       From Stefan Rapp <rapp@harpo.hrz.uni-dortmund.de>
  453       Problems at startup with mptool on a HP-UX machine running HP-UX 9.0.5.
  454       The problem was the function concat_strs in mptool/util.c. It returned a
  455       pointer to an automatic variable on the runtime stack.
  456 
  457 ----
  458 
  459 v3.2 - patchlevel 1 - 4th February 1995.
  460 
  461     * Rewrote all the C++ files in C.
  462 
  463 ----
  464 
  465 v3.2 - patchlevel 0 - 6th January 1995.
  466 
  467     * Changed all occurances of bool to set_bool. The latest version of the
  468       Gnu C++ compiler objects otherwise.
  469 
  470 ----
  471 
  472 v3.1 - patchlevel 10 - 28th June 1994.
  473 
  474     * From Gordon Smith <Gordon.Smith@midden.une.edu.au>
  475       From Marc Wiener <marc@aip.org>
  476       Mp core dumped in parse_headers() with certain command line options
  477 
  478 ----
  479 
  480 v3.1 - patchlevel 9 - 22nd June 1994.
  481 
  482     * Adjusted the README file to give ftp.x.org as the official ftp site.
  483 
  484     * Adjusted the mp C++ code to make it more "object-oriented".
  485 
  486     * Added the latests bugs/problems/comments received by mail, to the TODO
  487       file.
  488 
  489     * From Cedric Beust <Cedric.Beust@sophia.inria.fr>
  490       The -config option is broken, due to a missing minus sign.
  491 
  492     * From Peter W. Osel <pwo@guug.de>
  493       tcsh supports programmable completion so I don't need to remember all
  494       options nor type them - tcsh will do the completion for me, or list the
  495       valid choices. Added a new file called mp.tcsh to the distribution.
  496 
  497     * From Vic Tolomei <Vic.Tolomei@East.Sun.COM>
  498       Tried to get mp built on a 4.x machine. Followed instructions, and
  499       found that the "mp" Makefile was missing the following line:
  500 
  501 	.SUFFIXES:    .C $(SUFFIXES)
  502 
  503       Without this, the .C.o dependencies are not found, and it tries to link
  504       without building all the .o's.
  505 
  506 ----
  507 
  508 v3.1 - patchlevel 8 - 3rd February 1994.
  509 
  510     * Adjusted the mptool manual pages to reflect the new layout and the
  511       various new additions.
  512 
  513     * Set the default page length for US paper size (and none) for landscape
  514       prints, to be 68.
  515 
  516     * Made changes to the mptool look&feel as suggested by the ASARC committee
  517       members:
  518 
  519       - Moved the Organiser type radio box, to be a sub-menu of the Options
  520         menu bar entry.
  521       - Removed the "Output is to a BSD printer system", from the Output
  522         options popup, as this will not be needed by most users, and therefore
  523         confusing to them. This option is still settable at the command line
  524         and via an X option.
  525       - Changed "Print header page" to "Print cover sheet" on the Printing
  526         options popup.
  527       - Added arrow indocators to the Copies option on the main frame.
  528       - Added a "File..." entry to the File menu bar option. This will popup
  529         a file selection dialog.
  530 
  531     * Added a -name <appname> command line option. If given, then this name
  532       will be used, when looking for X resources for this application.
  533 
  534     * Mp and mptool will no longer print out a usage message for unrecognised
  535       command line options. This allows things like -display and -sync to work
  536       with mptool.
  537 
  538     * Consolidated the -filofax, -franklin, -proplan, -timeman, -tsintl and
  539       -tspartner into:
  540 
  541       -organiser type
  542 
  543       where valid organiser types are filofax, franklin, proplan, timeman,
  544       tsintl and tspartner.
  545 
  546     * The filename box widget on the main frame is the widget that will
  547       contain the initial input focus.
  548 
  549 ----
  550 
  551 v3.1 - patchlevel 7 - 21st December 1993.
  552 
  553     * Sanitised the "hack" code that was added to xutil.C in the last patch
  554       to get mptool to compile with g++.
  555 
  556     * Removed the references to /fullwidth and /fullheight in show_prologue
  557       in mp/print.C. These should no longer be needed now that mp uses the
  558       full width and height of the paper.
  559 
  560     * Fixed up the PAGELENGTH definition in common/option.h to be 72.
  561 
  562     * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
  563       Added in changes to mp.common.ps and mp.pro.l.ps to get landscape
  564       printing working correctly for A4 paper. Note that Bertrand supplied
  565       new pagelength and linelength values directly in the mp.pro.l.ps
  566       prologue file. This is no good for US paper printing, so I've moved
  567       them to a new function called adjust_paper_size() in option.C which is
  568       called in main.C after getting all the X resources and command line
  569       options.
  570 
  571     * Added four new command line options:
  572 
  573         [-bottom #] [-left #] [-right #] [-top #]
  574 
  575       and four new X resources:
  576 
  577         mp.bottomMargin:   8
  578         mp.leftMargin:     8
  579         mp.rightMargin:    8
  580         mp.topMargin:      8
  581 
  582       to allow the user to set the size of the four margins on each page.
  583       The size is given in points. There are approximately 72 points per
  584       inch. There are also four new fields on the print layout popup for
  585       mptool, that allow you to make the same changes. Updated the mp
  586       manual pages to reflect these changes.
  587 
  588     * Changed the color of the option selection for various mptool widgets
  589       to red. It's more noticeable on color screens now.
  590 
  591 ----
  592 
  593 v3.1 - patchlevel 6 - 19th December 1993.
  594 
  595     * Changes needed to get mptool to compile with gcc/g++. Note that the
  596       C++ is not perfect, but as there is only one instance of each class,
  597       we can get away with it (for now).
  598 
  599     * Added in the "paper size: none" changes from Rainer Klute. By default
  600       mp with now use the full size of the paper. This means that both the
  601       portrait and landscape modes can print 72 lines per page on US sized
  602       paper (the portrait on A4 paper being slightly more). If the user
  603       selects A4 paper and it's a portrait print, the pagelength is
  604       automatically adjusted to 78 lines. The ldefault margin size is now
  605       0.1 inches. The next patch will make the margin size user settable.
  606 
  607 ----
  608 
  609 v3.1 - patchlevel 5 - 16th December 1993.
  610 
  611     * Changes needed to compile and link, mp and mptool with v3.0 on the
  612       SunPro compilers.
  613 
  614     * Adjusted the "saber" mp/Makefile entry to get it to work (needed X11
  615       library).
  616 
  617     * From Andreas Stolcke <stolcke@ICSI.Berkeley.EDU>
  618       mp -digest went into an infinite loop on a particular message.
  619 
  620     * From Richard L. Dyson <dyson@sunfish.Physics.UIowa.Edu>
  621       The default printer check in common/option.C was working incorrectly
  622       for BSD printer systems.
  623 
  624     * Divided mptool/toolfuns.C up into several C++ classes and adjusted the
  625       remainder of the code to work with it. Will need further adjusting over
  626       time.
  627 
  628     * From Gordon Smith <Gordon.Smith@midden.une.edu.au>
  629       Added sys/types.h header file to common/option.C to define some typedefs.
  630 
  631     * Changed .KEEPSTATE: to .KEEP_STATE: in the Makefiles.
  632 
  633     * From Andreas Stolcke <stolcke@ICSI.Berkeley.EDU>
  634       From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
  635       Added in support for the previous mp's command line options (which
  636       were mainly single character options). By default this support isn't
  637       there. There is a new Makefile option (OLD_OPTIONS) which needs to be
  638       uncommented. Updated the usage message, the README file, and the mp
  639       manual pages to reflect this change. Note that the manual pages just
  640       have a mention of this in the SYNOPSIS section.
  641 
  642     * Fixed up the usage message for Time Manager and the two Time System
  643       personal organiser formats.
  644 
  645     * Fixed up the description of the numberLines: mp X resource in the mp
  646       manual pages.
  647 
  648     * Included a file Mptool.ad, which is a list of the mp/mptool X resource
  649       application defaults.
  650 
  651     * Moved the remainder of the mptool text strings over into text.C.
  652 
  653 ----
  654 
  655 v3.1 - patchlevel 4 - 8th December 1993.
  656 
  657     * Simplified the mptool GUI some more. Moved the "Line Length:",
  658       "Page Length:" and "Printer Name:" fields to options popops. Moved
  659       up the "Number of Sides:" widget. Separated the Input And Output
  660       options onto two separate popups.
  661 
  662     * Hitting the Apply button on the Username Options popup would cause
  663       mptool to core dump if the Input Options popup hadn't been created.
  664       There was a bogus call to the prologue widget from the popup.
  665 
  666     * From Richard L. Dyson <dyson@sunfish.Physics.UIowa.Edu>
  667       Reinserted the code into option.C that tries to make an intelligent
  668       guess on what type of print spooler system the machine has, based on
  669       presence (or absence) of /usr/spool/lp, rather than just defaulting to
  670       a System V system.
  671 
  672     * From Amir J. Katz <amir@matis.ingr.com>
  673       Moved the MAILPNAMES section in Makefile.dist up into the configurable
  674       section, and added a comment in the README file. Added a comment to say
  675       that this should be set to "MAILPNAMES  =" if you don't want any aliases
  676       installed.
  677 
  678     * From Amir J. Katz <amir@matis.ingr.com>
  679       Since mp and mptool are built with nested makefile, no echo was done
  680       for their commands and one does not where the files were installed.
  681 
  682     * Added in the low-level code to mp to make -allhdrs work.
  683 
  684     * From Anthony Baxter <anthony@aaii.oz.au>
  685       Changed the "long clock" in mp/print.C to "time_t clock". Needed to
  686       get mp compiled on the DEC alpha machines under OSF/1.
  687 
  688     * From Anthony Baxter <anthony@aaii.oz.au>
  689       EXTRALIBS definition in Makefile.dist for OSF/1 on the Dec Alpha.
  690 
  691     * Wrote the help text for all the new mptool widgets.
  692 
  693     * Added in a variety of options under the Help option on the mptool
  694       menu bar, each of which brings up a popup window with help text in it.
  695 
  696     * The "Printer header page" option on the Print Layout popup was not
  697       been shown.
  698 
  699     * If a popup is already being displayed, and the user selects that popup
  700       to be displayed again, mptool, now pops the popup to the top.
  701 
  702 ----
  703 
  704 v3.1 - patchlevel 3 - 28th November 1993.
  705 
  706     * Adjusted the description of what mp and mptool is, in the README file.
  707 
  708     * mptool should have been using the opt.proname variable for the possible
  709       PostScript prologue file, not opt.prologue.
  710 
  711     * Changed the "%.o: %.C" rule in the Makefiles in the mp and mptool
  712       directories to ".C.o:", to be more portable.
  713 
  714     * The mptool property sheet wasn't the correct size. The buttons at the
  715       bottom weren't being displayed. See next entry too.
  716 
  717     * Rearranged the GUI slightly to cut down on the number of options
  718       immediately available in the main window. Add a menu bar. As more
  719       options are added to mptool, then the menu bar should be utilised
  720       more. The File option on the menu bar contains the means to exit
  721       the program, for those running with window managers that don't
  722       provide this option. The Headers Option popup is now fully functional
  723       and allows you to add/delete headers that should be printed out.
  724 
  725     * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
  726       The code in option.C to handle the "landscape" X resource needed to
  727       set "ptype = PRO_LANDSCAPE".
  728 
  729     * Need an additional command line switch to tell mp to print all headers.
  730       This new option is "-allhdrs". It's also the X resource "allHeaders".
  731       It's also settable via the mptool header options popup. Note that I
  732       still need to add in the code to mp to actually do the -allhdrs header
  733       printing.
  734 
  735     * Added another Makefile definition (NO_I18N) that needs to be uncommented
  736       if you don't want to internationise text (or if you haven't got the
  737       <nl_types.h> #include file.
  738 
  739     * Created mptool/callbacks.h, which contains all the mptool GUI callback
  740       definitions.
  741 
  742     * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
  743       You can have different set of resources depending on the name of the
  744       program (mp, newsp, mailp,...). This is now mentioned in the mp man
  745       pages.
  746 
  747     * Removed the unneeded FULL_PIXMAP_SUPPORT code from tu_runtime.[c,h]
  748 
  749     * From Steven R. Allen <allen@cssg4.cslab.ds.boeing.com>
  750       Changes to get mptool to compile and link under IRIX 4.0.x on an SGI
  751       machine. Also see next entry.
  752       - EXTRALIBS definition for the global Makefile.dist
  753       - Change to set_str_value() to cater for the possibility of a NULL
  754         string being passed in, which causes earlier versions of Motif to
  755         crash.
  756 
  757     * Added a new command line option (-bsdprint), that indicates to mp
  758       and mptool, that the BSD print command and command line options
  759       should be used, as opposed to the System V ones. The equivalent
  760       X resource is "bsdPrinter". There is also a toggle option on the
  761       input/output option popup.
  762 
  763     * (Finally) added an #ifdef DEBUG around the "echo mp " command in
  764       do_print_cmd() in toolfuns.C, so that I can debug it without fear of
  765       leaving the stupid echo command in the code.
  766 
  767     * Added a reference in the subject option in the mp man pages, about the
  768       need for -text, if you want the subject to reflect the names of the
  769       files when they are given on the command line.
  770 
  771 ----
  772 
  773 v3.1 - patchlevel 2 - 18th November 1993.
  774 
  775     * Removed various bits of (hopefully) unwanted code from the TeleUse
  776       runtime code (mptool/tu_runtime.[c,h]).
  777 
  778     * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
  779       The makecmd() routine in mp/print.C didn't have a trailing space
  780       (needed for command separation) for the "nobanner" option.
  781 
  782     * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
  783       Fixed up the command line options to the alias example in the mp
  784       manual pages.
  785 
  786     * From Larry W. Virden <lwv26@cas.org>
  787       Mp and mptool now read in initial configuration resources from a
  788       ~/.mpdefaults file. There is an MPDEFAULTS environment variable that
  789       can specify an alternate location. There is also a -config command
  790       line option that can do the same thing. These resources are in the X
  791       resource format. Details of all the possible
  792       X resources have been added to the mp manual pages, and the equivalent
  793       previous smaller section has been removed from the mptool manual pages.
  794 
  795       Mptool now has the same command line options as mp. These will prime
  796       how the tool initial looks. They will not cause anything to be printed.
  797 
  798       Created a new "common" directory, which contains code that is common
  799       between mp and mptool.
  800 
  801     * Filename: in the mptool main window has been changed to Filenames:
  802 
  803     * Further adjusted the strings in text.[C,h] so they will be easier to
  804       internationalise.
  805 
  806     * Changed the mptool color scheme. New colors shamelessly stolen from
  807       xmosaic. The main reason for doing this is that the TeleUse runtime
  808       routines still try to use the colors even on a monochrome screen, and
  809       with the previous set of colors, this made mptool look bad.
  810 
  811     * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
  812       With mptool, the font used for legend of buttons (ex: Filename, File
  813       type, Paper size,...) was *VERY* small, something like 5pt or less.
  814 
  815     * From Leigh Hume <lhume@macadam.mpce.mq.edu.au>
  816       Added a -alias command line option to mp[tool]. This will contain the
  817       name of the person the output is for, and will be used in the mp
  818       banner ("Listing for <name>"), over-ridding the possible setting of
  819       the NAME environment variable and the users entry in the password file.
  820       It's also available as the "aliasName" X resource, and via a field on
  821       the mptool property sheet.
  822 
  823 ----
  824 
  825 v3.1 - patchlevel 1 - 4th November 1993.
  826 
  827     * Added a MPTOOL_MSG() wrapper around all the strings in text.C. This
  828       macro definition still needs to be properly defined in mptool.h.
  829 
  830     * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
  831       EXTRALIBS definition for SunOS 4.1.x should be just -lXext
  832       EXTRALIBS for Solaris 2.x should include -lsocket -lnsl (This is
  833       actually not needed for Solaris 2.3, but that hasn't been released yet).
  834 
  835     * Added #ifdef's around the Motif drag&drop code in toolfuns.C. If you
  836       have a version of Motif  earlier than 1.2, then you will need to
  837       uncomment the new NO_DND definition in the Makefile.
  838 
  839     * Added a NULL line to the end of the mptool.xpm and printing.xpm files.
  840       mptool was core dumping in concat_strs() when compiled with g++.
  841 
  842     * do_print_files() now handles the "headers to print" scrolling list.
  843       do_reset_options() resets the "headers to print" scrolling list.
  844 
  845 ----
  846 
  847 v3.1 - patchlevel 0 - 3rd November 1993.
  848 
  849     * Hitting any of the three buttons on the property sheet no longer clears
  850       the window.
  851 
  852     * From Shane Youl <Shane.Youl@mel.dit.csiro.au>
  853       Fix to problem on mptool core dumping when trying to display the
  854       property sheet, on a SunOS 4.1.x system with Motif 1.1.4.
  855       XmTextSetString() cannot take a NULL for a string pointer. Change to
  856       read_str() to malloc space for a zero length string.
  857 
  858     * From Shane Youl <Shane.Youl@mel.dit.csiro.au>
  859       Linking of mptool under SunOS v4.1.x doesn't require -lgen. I've added
  860       another uncommentable definition to the Makefile for extra libraries
  861       needed when linking mptool.
  862 
  863     * Added in the ability to drag and drop selected text from another
  864       Motif application, to the background of the open mptool window, and
  865       it will automatically get printed using the current mptool settings.
  866  
  867     * From Richard L. Dyson <dyson@sunfish.Physics.UIowa.Edu>
  868       Problems with the Makefile install of the mp and mptool manual pages.
  869       Removed the preceding '-' characters on the nested chmod and cp commands.
  870 
  871     * From Richard L. Dyson <dyson@sunfish.Physics.UIowa.Edu>
  872       Needed to include a #include for <stdio.h> in toolfuns.C to remove
  873       compile time warning messages when compiling under SunOS 4.1.3 with g++.
  874 
  875     * Various organisational changes. In the source distribution, the main
  876       directory is now called "mpdist", with three new sub-directories:
  877 
  878       mp       - the mp source distribution.
  879       mptool   - the mptool source distribution.
  880       prologue - various mp prologue files.
  881 
  882       Both of the two source sub-directories have there own Makefile which
  883       gets called from the main Makefile.
  884 
  885       Installation now (by default) installs all the mp files that previously
  886       went into /usr/local/lib into /usr/local/lib/mp.
  887 
  888     * Setup default colors for the various mptool widgets.
  889 
  890     * Mptool now uses the color XPM icons on color screens. Note that the olwm
  891       window manager doesn't correctly show this, but mwm and the window
  892       manager used in the COSE/CDE desktop do.
  893 
  894     * Added a Dismiss button to the mptool property sheet.
  895 
  896     * The Reset button on the main mptool window was not correctly resetting
  897       radio box widgets.
  898 
  899     * The -duplex command line option is now -twosided. Introduced a
  900       -onesided option for printing in simplex mode (for printers that
  901       automatically default to duplex printing). Changed the default to
  902       duplex printing. Changed the manual pages to reflect this.
  903 
  904 ----
  905 
  906 v3.0 - patchlevel 6 - 19th October 1993.
  907 
  908     * Added an extern "C" definition for strcasecmp() in header.h. Fixes up
  909       g++ warning messages, and errors when compiling under SunOS 4.1.x. with
  910       CC
  911 
  912     * From Larry W. Virden <lwv26@cas.org>
  913       Removed a spurious "the" from the -subject description in the mp manual
  914       pages.
  915 
  916     * From Larry W. Virden <lwv26@cas.org>
  917       The installation of mp and mptool manual pages now tests for the
  918       presence of the equivalent binary before trying to install it.
  919 
  920     * Created four xbm/xpm files:
  921         mptool.xbm          - Mptool's normal monochrome icon image.
  922         mptool.xpm          - Mptool's normal color icon image.
  923         printing.xbm        - Mptool's monochrome icon image when printing.
  924         printing.xpm        - Mptool's color icon image when printing.
  925 
  926       Mptool is not using the color ones yet.
  927 
  928     * While mptool is processing the print job, the icon changes to show
  929       envelopes in the printer image, and reverts back when complete. This
  930       is currently not very useful, but will be when you can drag and drop
  931       text or files to be printed, to the mptool icon.
  932 
  933     * From Cho Ng <mtgbs1!mtgbs1!cyn@mtqua.att.com>
  934       Removed the C++ comment from the MAXCONT definition in header.h. This
  935       was confusing the AT&T C++ R3.0 translator.
  936 
  937     * Adjusted the C++ code to compile correctly with v3.0(alpha) of Sun's
  938       CC compiler.
  939 
  940     * Corrected the -chars default value in the mp manual pages.
  941 
  942     * Wrote the mptool manual pages and added them to the distribution.
  943 
  944     * The mptool property sheet now dismisses correctly.
  945 
  946     * Added online help for all of the mptool widgets. The text for the online
  947       help is in a new file called text.C (text.h is included in toolfuns.C).
  948       All the other mptool text will eventually be moved across into this file.
  949       This will make it easier to internationalise.
  950 
  951     * Added recognition of the ProPlan personal organiser into toolfuns.C.
  952 
  953     * Moved the Time/System (International) prologue file from mp.pro.ts.ps
  954       to mp.pro.tsi.ps. Added in support for Time/System (Partner) personal
  955       organiser. This means that the command line option for TS(Intl) is now
  956       -tsintl and TS(Partner) is -tspartner.
  957 
  958     * Removed the Organiser entry from the File type: field in mptool. As it
  959       stood, it was not possible to have combinations like news articles
  960       printed in a personal organiser format. Orientation: becomes Output
  961       type: with an Organiser entry added.
  962 
  963     * Initialised the v->prologue variable in do_startup() in toolfuns.C to
  964       an empty string. Hopefully this is all that's needed to stop mptool
  965       core dumping when trying to display the property sheet under SunOS
  966       v4.1.x.
  967 
  968 ----
  969 
  970 v3.0 - patchlevel 5 - 6th October 1993.
  971 
  972     * Changed the toolfuns.c file to a C++ toolfuns.C file. Initially it'll
  973       just be C code run through a C++ compiler with the comments changed
  974       plus proper function prototypes, but it'll eventually be classified.
  975       Note that it's a .C extension rather than a .cc extension because of
  976       the C++ compiler on IBM workstations not being able to accept the
  977       latter.
  978 
  979     * Moved all .cc C++ sources files to .C and all .hh files to .h for the
  980       same reason as above.
  981 
  982     * Mptool incorrectly generated the -postscript flag.
  983 
  984     * Removed the bogus "echo " at the beginning of the generated mp command
  985       line in do_print_files() in toolfuns.C.
  986 
  987     * From Oyvind Yrke <oyvind@stavanger.sgp.slb.com>
  988       Replaced an occurance of XmFONTLIST_DEFAULT_TAG with
  989       XmSTRING_DEFAULT_CHARSET in toolfuns.C.
  990 
  991     * Fixed up the positioning of the widgets relative to each other. The main
  992       frame is now just big enough to contain all the widgets.
  993 
  994     * In mptool, output the -printer option as soon as possible, in the hope
  995       that there is at least one more command line option following. See last
  996       entry in TODO file for reasons for this.
  997 
  998     * If the user was just supplying a "-printer" without a following printer
  999       name, that the index into argv[] needed to be decremented.
 1000 
 1001     * The no banner option for SVRn systems is "-o nobanner".
 1002 
 1003     * Added code to check the values of the four numeric text fields on the
 1004       property sheet and the three numeric fields on the main frame, to check
 1005       they are acceptable, and display a notice if they aren't.
 1006 
 1007     * The value from save_resources() is now checked, and if it's not zero,
 1008       then a notice is displayed that tells the user that it was unable to
 1009       save the users defaults.
 1010 
 1011     * From Larry W. Virden <lwv26@cas.org>
 1012       To get proper duplex mode printing, "setduplex" had to be changed to
 1013       "setduplexmode" in the show_prologue() routine in print.C
 1014 
 1015     * From Larry W. Virden <lwv26@cas.org>
 1016       Do the chmod on things before the cp's - that way if an old version of
 1017       mp is installed, where the owner only had read permission, the new .ps
 1018       files, etc. get installed.
 1019 
 1020     * The "install" target in Makefile.dist is no longer dependent upon
 1021       $(BINARIES). The installation of mp and mptool now tests for the
 1022       presence of the file before trying to install it.
 1023 
 1024 ----
 1025 
 1026 v3.0 - patchlevel 4 - 27th September 1993.
 1027 
 1028     * Introduction of mptool, a graphical front-end to mp. Note the Makefile
 1029       has changed. You now have to specify "make mp", "make mptool" or "make
 1030       all".
 1031 
 1032     * Adjusted function declarations in header.cc, input.cc and print.cc so
 1033       that the function name starts at the beginning of the line to make it
 1034       easier to find.
 1035 
 1036     * From Roland Soderstrom <rsm@Sweden.cv.com>
 1037       Support for the ProPlan organiser.
 1038 
 1039     * From David Bending <davidb@cpdapo.tele.nokia.fi>
 1040       From Shane Youl <Shane.Youl@mel.dit.csiro.au>
 1041       When I print using -filofax (or any of the organiser formats) I get the
 1042       first column of the second page printed followed by an
 1043  
 1044       ERROR: invalidfont
 1045       OFFENDING COMMAND: show
 1046 
 1047       The fix for this involved removing a line containing gsave from the
 1048       /newpage function definition and a line containing grestore from the
 1049       /endpage function definition in mp.pro.ff.ps. As these are also
 1050       present in mp.pro.fp.ps, mp.pro.tm.ps, mp.pro.ts.ps and mp.pro.pp.ps,
 1051       I've made the same changes there.
 1052 
 1053     * From Shane Youl <Shane.Youl@mel.dit.csiro.au>
 1054       Addition of "%%Orientation: Landscape" to the landscape prologue files
 1055       so that programs like ghostview will use the correct orientation.
 1056 
 1057     * From David Bending <davidb@cpdapo.tele.nokia.fi>
 1058       From Shane Youl <Shane.Youl@mel.dit.csiro.au>
 1059       The filofax prologue file does not print the holes. I've used the
 1060       solution given by David, which is slightly less than the one given by
 1061       Shane. This might need adjusting. It appears to still not work for me.
 1062       I've also made a similar change to the mp.pro.tm.ps file which
 1063       presumably has the same problem.
 1064 
 1065     * Added the [-number] option to the mp usage message.
 1066 
 1067     * From John Macdonald <mtxinu!uunet.UU.NET!jmm%eci386@Sun.COM>
 1068       I have changed the default to *not* treat postscript specially, and
 1069       to require the -postscript option to have such passed through as
 1070       PostScript instead of being treated as text. This was inconsistent
 1071       with the rest of the program (i.e. you specify -article, -text,
 1072       -folder, etc. to indicate the type of text that you are providing, it
 1073       is inconsistent for the program to make a guess about one alternative
 1074       processing mechanism when the others are all explicit).
 1075 
 1076     * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
 1077       From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
 1078       Paper size should be taken from the printer, not from the PostScript
 1079       prologue or command line options.
 1080 
 1081       Note that this is not Rainers changes to dynamically adapt to the
 1082       current paper size. It's just the part that sets the default paper size
 1083       to now use as much of the paper as you possibly can. The -a4 and -us
 1084       command line options (mptool settings) now override this. The
 1085       installation no long has an install-a4 option, and is now straight
 1086       forward. The README file has been adjusted for all of this.
 1087 
 1088     * Added in a new command line option for mp:
 1089         - copies #  -  how many copies of each file should be printed.
 1090       Note that this only works when the files to be printed are supplied
 1091       on the command line.
 1092 
 1093     * From Oyvind Yrke <oyvind@stavanger.sgp.slb.com>
 1094       When printing several files, the page number was not reset for each file.
 1095 
 1096 ----
 1097 
 1098 v3.0 - patchlevel 3 - 27th August 1993.
 1099 
 1100     * From Jost Krieger <x920031@rubb.rz.ruhr-uni-bochum.de>
 1101       From John Beck <jbeck@hpindsh.cup.hp.com>
 1102       From Vic Tolomei <Vic.Tolomei@East.Sun.COM>
 1103       The 'From ' line always got cut: everything between the 'From ' and
 1104       the next ':' got dropped. Fix to Header::get_header() in header.cc.
 1105 
 1106     * From John Beck <jbeck@hpindsh.cup.hp.com>
 1107       From Vic Tolomei <Vic.Tolomei@East.Sun.COM>
 1108       The date would not appear in the banner header without the -flip
 1109       command line option.
 1110 
 1111     * From Vic Tolomei <Vic.Tolomei@East.Sun.COM>
 1112       Removed the /fontN - /fontNd definitions from the mp prologue files
 1113       that didn't use them.
 1114 
 1115     * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
 1116       Increased the number of possible header continuation lines that
 1117       could be handled, from 10 to 100.
 1118 
 1119 ----
 1120 
 1121 v3.0 - patchlevel 2 - 12th August 1993.
 1122 
 1123     * From Richard L. Dyson <dyson@sunfish.Physics.UIowa.EDU>
 1124       mp should exit after the -version command line option, and not output
 1125       a load of PostScript.
 1126 
 1127     * From Richard L. Dyson <dyson@sunfish.Physics.UIowa.EDU>
 1128       One "sf " line of output in show_headers() in header.cc was always
 1129       going to standard output, rather than to the correct output stream.
 1130 
 1131     * From Neil Katin <katin@Eng.Sun.Com>
 1132       Added a -forcepage command line option to always start a new page
 1133       (rather than a new column) when in landscape or multi-page personal
 1134       organiser mode.
 1135 
 1136     * From Scott McCoy <smccoy@dr3w.ess.harris.com> 
 1137       Add a mention in the README file that mp requires a C++ compiler in 
 1138       order to compile.
 1139 
 1140     * Added two more command line options:
 1141         -duplex  -  print double sided.
 1142         -tumble  -  tumble the reverse page if printing double sided.
 1143       These look for the setduplex and settumble definitions in statusdict.
 1144 
 1145       This is probably not a standard. Might have to consider adjusting it
 1146       to be:
 1147 
 1148         -duplex <definition>
 1149         -tumble <definition>
 1150 
 1151       where these expand to:
 1152 
 1153       statusdict /definition known { statusdict begin true definition end } if
 1154 
 1155     * From John Macdonald <mtxinu!uunet.UU.NET!jmm%eci386@Sun.COM>
 1156       Added a -flip command line option, which allows the top and bottom
 1157       banners to be flipped. Changes to mp.pro.ps and mp.pro.l.ps
 1158       (ie. standard normal portrait and landscape printing).
 1159 
 1160     * From Gordon Smith <Gordon.Smith@midden.une.edu.au>
 1161       Dec's Ultrix platform (Ultrix 4.2, gcc/g++ 2.4.3) needs a include for
 1162       sys/types.h in print.cc
 1163 
 1164     * The default page length in portrait mode for US paper has been changed
 1165       from 60 to 66 lines.
 1166 
 1167     * From John Mackin <john@vetsci.su.oz.au>
 1168       From Andy Norman <ange@hplb.hpl.hp.com>
 1169       It would be very nice if "make install-a4" automatically adjusted
 1170       PageLength in mp.pro.ps to be 72.
 1171 
 1172 ----
 1173 
 1174 v3.0 - patchlevel 1 - 1st August 1993.
 1175 
 1176     * From Bruno Pillard <bp@chorus.fr>
 1177       The mp man page make use of the "L" font to typeset unix commands, I
 1178       think it is not a good choice, as this is not often used in many
 1179       configurations of troff/ditroff/groff I've seen, (check the
 1180       occurence of \fL). I think a good solution is to change that to use
 1181       the constant-width font(replace \fL by \fC).
 1182 
 1183     * From John Mackin <john@civil.su.oz.au>
 1184       Changed the default NAMELENGTH/GECOSLENGTH value (number of characters
 1185       extracted from the user's passwd gecos field) from 18 to 40.
 1186 
 1187     * From John Mackin <john@civil.su.oz.au>
 1188       Misspelling of three of the header lines that mp automatically searches
 1189       for:
 1190 
 1191       "Apparently_from:" should be "Apparently-From:"
 1192       "Apparently_to:"   should be "Apparently-To:"
 1193       "Reply_to:"        should be "Reply-To:"
 1194 
 1195     * From John Mackin <john@civil.su.oz.au>
 1196       Added a call to hdr.reset_headers() before printfile() in main.c so
 1197       that Cc: and To: header values can be cleared.
 1198 
 1199     * From John Mackin <john@civil.su.oz.au>
 1200       The header detection code should taken white space between the
 1201       header definition and the colon into consideration.
 1202 
 1203     * From John Mackin <john@civil.su.oz.au>
 1204       Added bullet-proofing in case get_login() returned a pointer to a
 1205       NULL character.
 1206 
 1207     * From Jacques Beigbeder <Jacques.Beigbeder@dmi.ens.fr>
 1208       Added five lines to mp.pro.alt.ps to get output to print correctly
 1209       with that prologue file.
 1210 
 1211     * Changed the number of filenames that mp can read off the command line
 1212       from 4096 to 512.
 1213 
 1214     * Added two new command line options:
 1215         -addhdr <type>   - add header <type> to list of headers to be printed.
 1216         -remhdr <type>   - remove header <type> from list of headers to be
 1217                            printed.
 1218       Note that this does not work correctly for multi-line headers.
 1219 
 1220     * From Hardy <hardy@golem.ps.uci.edu>
 1221       Change to the mp.common.ps prologue file to get it to work with NeXT
 1222       printers.
 1223 
 1224 ----
 1225 
 1226 v3.0 - patchlevel 0 - 28th July 1993.
 1227 
 1228     * Converted the code from C to C++.
 1229 
 1230     * Adjusted command line options to full option names like "-subject" and
 1231       "-folder". Note that only enough of the command needs to be provided to
 1232       make it unique. Updated the manual pages to reflect the changes.
 1233 
 1234     * Removed the mailp shell script (and associated manual page) and built
 1235       this mailp, newsp ... functionality directly into mp. If argv[0] is
 1236       mailp, newsp ..., then mp automatically sets up the appropriate command
 1237       line options and output to the printer. If a -printer option is present,
 1238       then mp pumps the output to that printer otherwise its to the default
 1239       printer. If argv[0] is mp, then output is to standard output. For
 1240       printer output, mp will look for /usr/spool/lp and if present assumes
 1241       it is running under System V and uses lp with the LPDEST environment
 1242       variable, otherwise it assumes it's a BSD system and uses lpr with the
 1243       PRINTER environment variable.
 1244 
 1245     * Adjusted the usage message to adjust it's printing to display nicely
 1246       in eighty columns.
 1247 
 1248     * Added a -tab # command line option to specify the number of spaces to
 1249       output when a tab character is encountered.
 1250 
 1251     * From Alan Ezust <ezust@iro.umontreal.ca>
 1252       Added a -number command line option to output a line number with each
 1253       line.
 1254 
 1255     * Added a -modtime command line option that will use the files last
 1256       modification time (rather than the current time) in the mp banner.
 1257       Note that this only works when the files are supplied on the command
 1258       line (as opposed to standard input).
 1259 
 1260     * From Mick Mueck <Mick.Mueck@analog.com>
 1261       From Steve Paulson <spau@br6.chevron.com>
 1262       Added a -wrap command line option to wrap words of output to the next
 1263       line.
 1264 
 1265     * From Adam Kolawa <ukola@bat.Parasoft.COM>
 1266       From John Mackin <john@civil.su.oz.au>
 1267       Memory smash if NAME environment variable present and greater in length
 1268       than the gecos entry in the password file.
 1269 
 1270     * From Stucki (Chr. v. Stuckrad) <root@math.fu-berlin.de>
 1271       Changes to every PostScript prologue file with the /setlandscape
 1272       function in it, to get the back-sides correctly printing on an
 1273       'HP III Si PostScript' Laser Printer which does double sided printing.
 1274 
 1275     * From Ola Rinta-Koski <ola@lesti.hut.fi>
 1276       If a prologue file given with the -prologue command line option is not
 1277       found (it's not a full pathname), then it is searched in the same place
 1278       as the standard prologues.
 1279 
 1280     * Added a "%%NumCols 1" to the single "page" prologue files.
 1281 
 1282     * Added three more command line options:
 1283         -columns    #   - number of columns of output to display.
 1284         -pagelength #   - number of lines to print per page.
 1285         -linelength #   - number of characters to print per line.
 1286       If present, these will override the default values in the prologue files.
 1287 
 1288 ----
 1289 
 1290 v2.5 - patchlevel 8 - 22nd April 1992.
 1291  
 1292     * Added two new command line options:
 1293 
 1294       -c <chars> - number of chars to extract from the passwd gecos field.
 1295       -w <words> - number of words to extract from the passwd gecos field.
 1296 
 1297       If present, these will override the GECOSFIELDS and GECOSLENGTH
 1298       definitions in the Makefile and the default NAMEFIELDS and NAMELENGTH
 1299       definitions. The manual pages have been updated. Fixes bug #1086002.
 1300 
 1301 ----
 1302 
 1303 v2.5 - patchlevel 7 - 19th February 1992.
 1304 
 1305     * From Graham.Williams <Graham.Williams@csis.dit.csiro.au>
 1306       "mp -l" straight out of the box (with "make install-a4") prints 60
 1307       lines for first virtual page on the single physical landscape page,
 1308       and then 61 on the second virtual page of the landscape page. Thus
 1309       each physical page in landscape mode prints 121 lines. This is
 1310       repeated for each page. Portrait mode is now correct.
 1311 
 1312 ----
 1313 
 1314 v2.5 - patchlevel 6 - 17th February 1992.
 1315 
 1316     * Removed Bertrands' portion of the fix (introduced in patch #5) to
 1317       prevent text overwriting in the top banner. Just Rainers' fix is now
 1318       being used.
 1319 
 1320     * From Donn Fisher <Donn.Fisher@Eng.Sun.COM>
 1321       Various fixups to the mp and mailp manual pages to get them inline
 1322       with the OpenWindows V3.0.1 ones.
 1323 
 1324     * Occurances of index() in header.c and misc.c have been replaced with
 1325       strchr(). The definition for NOINDEX in Makefile.dist has been changed
 1326       to a definition for NOSTRCHR. The README has been updated.
 1327 
 1328     * Added in a -C command line option to mp. If used, mp will look for (and
 1329       use) a Content-Length: header line to determine the length of the mail
 1330       message to print, rather than the "\nFrom" string. If the Content-Length
 1331       doesn't take you to the next "\nFrom", then it's wrong, and mp falls back
 1332       to looking for the next "\nFrom" in the mail folder.
 1333 
 1334       The Content-Length doesn't seem to include the blank line between the
 1335       header and the message body or the blank line after the message body
 1336       and before the next header, so for the purposes of getting to the start
 1337       of the next message, mp adds two to the Content-Length count.
 1338 
 1339       Mp manual pages have been updated.
 1340 
 1341 ----
 1342 
 1343 v2.5 - patchlevel 5 - 3rd February 1992.
 1344 
 1345     * From Mark Prior <mrp@itd.adelaide.edu.au>
 1346       New location for the mp files via anon ftp on ftp.adelaide.edu.au.
 1347       They are now in a compressed tar file called mp.tar.Z in pub/sun/richb
 1348 
 1349     * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
 1350       Patch #4 broke the support for printing of 8bit characters (see entry
 1351       from Sjoerd.Mullender@cwi.nl). The parameter to expand() has been
 1352       returned to being an unsigned char *, and all places where this is
 1353       called have been adjusted accordingly.
 1354 
 1355     * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
 1356       Adjusted Makefile.dist to install mailp (and friends) with symbolic
 1357       links as opposed to hard links. Added a small comment to the trouble-
 1358       shooting section of the README file, to detail this possible problem
 1359       for UNIX systems which don't have symbolic links.
 1360 
 1361     * From Bjorn P. Brox <brox@dms.corena.no>
 1362       The current /backspace definition in the PostScript prologue files
 1363       won't work on all PostScript variants using Type1 fonts. A comment has
 1364       been added to the trouble-shooting section in the README file describing
 1365       a workaround.
 1366 
 1367     * From Bjorn P. Brox <brox@dms.corena.no>
 1368       The ISOLatin1Encoding array is only present in "new" PostScript
 1369       printers. Need to include definitions for "old" printers. Some printers
 1370       don't have the /Thorn character. The PostScript versions I have used,
 1371       including GhostScript does not fail if an entry in /Encoding does not
 1372       exist in /CharStrings.
 1373 
 1374       From the Reference Manual, second edition, page 271 (5.3 Character
 1375       Encoding):
 1376 
 1377         "If some encoding maps to a character name that does not exist in
 1378          the font, .notdef is substituted."
 1379 
 1380       Therefore it should be safe to define ISOLatin1Encoding even if some
 1381       of the characters does not exist.
 1382 
 1383     * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
 1384       From Bjorn P. Brox <brox@dms.corena.no>
 1385       I suggest that mp be reorganised to have one prologue file containing
 1386       definitions, like backspacefont and reencodeISO, for all prologue files,
 1387       and let the special prolog files just contain the differences. The common
 1388       prologue file is called mp.common.ps. FILES, Makefile.dist, README and
 1389       MANIFEST have been updated.
 1390 
 1391     * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
 1392       A little change to the Makefile, making $(MPPATH)/man/man$(MPMANSECT)
 1393       the default path for manual pages instead of $(MPPATH)/man$(MPMANSECT).
 1394       Seems more conventional.
 1395 
 1396     * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
 1397       A solution to the From/Date clashes in the header mentioned by Fulvio
 1398       Marino <fulvio@ssuxos.ICO.OLIVETTI.COM> in the TODO file. These
 1399       clashes can occur if the mail address is quite long (like mine). In
 1400       such a case the font sizes of all header strings are reduced a bit so
 1401       that everythings fits into the available space nicely.
 1402  
 1403       The patch should also make the PostScript thing a little faster.
 1404 
 1405       [Applied to mp.pro.ps and mp.pro.l.ps]
 1406 
 1407     * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
 1408       As I have very quickly observed such a clash while printing, in
 1409       landscape mode, an article from a newsgroup (comp.unix.questions), I
 1410       propose to print the left and the right parts on 2 lines, with the same
 1411       alignment and fonts.
 1412 
 1413       [Applied to mp.pro.ps and mp.pro.l.ps]
 1414 
 1415     * From Glenn M. Lewis <glewis@fws204.intel.com>
 1416       Typing "mail -F -m mail/survey > survey.ps" has a couple of of problems.
 1417       First, the "From:" name is not necessarily correct.  It often is the name
 1418       of the person who sent the message *following* the current one.  [The
 1419       subject printed in the bottom banner can be incorrect too - Rich]. Also,
 1420       when a message is too long for a single page, it seems to print the tail
 1421       of the message before the top of it.
 1422 
 1423     * From Fulvio Marino <fulvio@ssuxos.ICO.OLIVETTI.COM>
 1424       Printing a mail folder in landscape mode, top and bottom headers are
 1425       wrong: the last page of each mail has the headers of the following one!
 1426       My platform is: Olivetti LSX-3020 running X/OS 2.4 (a SysV+Bsd system
 1427       with X/OPEN compatibility); printer is an Olivetti PG-306 (emulating HP
 1428       LJ II) with an expansion board of Bauer Enterprises (PostScript Emulation
 1429       Version 4.1).
 1430 
 1431 ----
 1432 
 1433 v2.5 - patchlevel 4 - 28th January 1992.
 1434 
 1435     * From Sjoerd.Mullender@cwi.nl
 1436       I have ported mp to an SGI system running IRIX 4.0.1.  To get it to
 1437       compile without warnings using the ANSI C compiler I had to make a few
 1438       modifications.
 1439 
 1440     * Added a section to the README file describing the two sites where mp
 1441       is available via anon ftp.
 1442 
 1443     * From Lars P. Fischer <fischer@iesd.auc.dk>
 1444       It would nice with a PREFIX variable of some sort for PATH's in the
 1445       makefile, so that you don't have to edit "/usr/local" to /home/pd or
 1446       whatever in three lines. This is a very minor hassle, of course.
 1447 
 1448     * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
 1449       In the Makefile the macro PROLOGUE is not set by default. If mp is
 1450       installed in the standard places this is no problem, but if it is
 1451       installed somewhere else mp still searches for the prolog files in
 1452       /usr/local/lib.  Setting PROLOGUE to -DPROLOGUE=\"$(MPLIBDIR)\" by
 1453       default seems reasonable in any case.
 1454 
 1455     * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
 1456       Fix for the -fp (Franklin Planner) prologue output.
 1457 
 1458     * From Fulvio Marino <fulvio@ssuxos.ICO.OLIVETTI.COM>
 1459       The A4 paper size is 210x297 mm, NOT 8.5x11.4 inches.
 1460 
 1461     * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de> 
 1462       Mp prints one line more on each page than specified by %%PageLength,
 1463       except the first page.
 1464 
 1465 ----
 1466 
 1467 v2.5 - patchlevel 3 - 21st January 1992.
 1468 
 1469     * Removed the check of the OPENWINHOME environment variable for the
 1470       location of the mp prologue files. This is confusing and is only
 1471       really needed for the OpenWindows version of mp. Also removed two
 1472       small sections for the Makefile.dist file, which are not needed for
 1473       the non-OpenWindows version.
 1474 
 1475     * Added a section to the README, containing information on possible
 1476       trouble shooting hints for mp.
 1477 
 1478     * From John Macdonald <mauxci!eci386!jmm@apple.com>
 1479       Added a comment to the prologue files, and an item in the trouble
 1480       shooting section, to provide possible further pointers with regards
 1481       to the setscreen black magic.
 1482 
 1483     * From David W. Sanderson <dws@cs.wisc.edu>
 1484       Slight fixups to the mp manual pages including replacing ".LP" with
 1485       ".PP" throughout, since ".LP" is just a symonym for ".PP" anyway.
 1486 
 1487     * From David W. Sanderson <dws@cs.wisc.edu>
 1488       Included a significantly revised version of mailp. Changes include:
 1489 
 1490       - Adjusted mailp to only supply a -P argument if $PRINTER is set, rather
 1491         than forcing a -Pps if PRINTER is not set. I don't have a printer named
 1492         "ps".
 1493 
 1494       - mailp accepts -P and -d arguments, which are passed on to lpr or lp.
 1495         They set PRINTER and LPDEST respectively.
 1496 
 1497     * From Lupe Christoph <lupe@alanya.Germany.Sun.COM>
 1498       From Meinhard Kniffki <Meinhard.Kniffki@Germany.Sun.COM>
 1499       Problems printing with the -ts Time/System print option, when printing
 1500       more than one page. The second and subsequent pages were not scaled down
 1501       in size.
 1502 
 1503     * Fixed up two occurances of strchr that were used directly, instead of
 1504       index (which can be changed to strchr via the Makefile definition
 1505       NOINDEX).
 1506 
 1507     * From Peter J. Ebbelink <pe@asd.tes.nl>
 1508       When using mp together with the elm mail frontend, there is a slight
 1509       problem with the output: elm uses a format for it's printer output that
 1510       is slightly different from the normal folder format. To be specific:
 1511       It lacks the UNIX "From " line and adds a formfeed after each message.
 1512       This is done for those who miss the comfort of mp. When sending a single
 1513       message to the printer this turn out mighty good, but when tagging some
 1514       messages to be printed in one turn, the bold "From: ", "To: ",
 1515       "Subject: " and "Date: " turn out in normal message body font.
 1516 
 1517       I've added a commandline option -e that expect the input to be formatted
 1518       according to the elm intermediate file format, rather than the standard
 1519       folder format. mp can be invoked from within elm by setting up elm using
 1520       o)ptions P)rint mail using, and then specifying "mp -e %s | lpr"
 1521 
 1522     * Put the LIBDIR and BINDIR sections back in the manual pages and mailp.
 1523       Renamed mp.1 to mp.man, added the sed section to Makefile.dist. Updated
 1524       MANIFEST and FILES.
 1525 
 1526     * From Rainer Klute <klute@tommy.informatik.uni-dortmund.de>
 1527       When using mp with Ghostscript and a heavy-duty (ca. 50 pages/minute)
 1528       PostScript-less laser printer it turned out that a single page generated
 1529       by mp took 2-3 minutes to print. Obviously the "sf" before each text line
 1530       is a very expensive operation in our configuration. I fixed the problem
 1531       by only outputting an "sf" at the beginning of the page, after the
 1532       headers.
 1533 
 1534     * From David W. Smith <dws@dbsoft.com>
 1535       Support for the Franklin Planner personal organiser. Prologue file is
 1536       mp.pro.fp.ps, command line option is -fp. Updates to mailp, mp.man,
 1537       Makefile.dist, FILES and MANIFEST.
 1538 
 1539       It also works for the intermediate size of the Day Timer(tm) system.
 1540       By moving the holes, this prologue can be made to work with the
 1541       DayRunner(tm) and a number of the other half-size page systems.
 1542       To some extent, magic numbers have been replaced by units in inches.
 1543 
 1544     * Added in a manual page for mailp, in both troff/nroff format and plain
 1545       text.
 1546 
 1547     * Adjust the "shar" section of Makefile.dist, to create shars of a size
 1548       that can be posted to comp.sources.misc.
 1549 
 1550     * Updated the TODO file with the list of outstanding problems received
 1551       via mail in the last eighteen months.
 1552 
 1553 ----
 1554 
 1555 v2.5 - patchlevel 2 - 10th January 1992.
 1556 
 1557     * From Donn Fisher (Donn.Fisher@Eng.Sun.COM)
 1558       Two small adjustments to the mp.1 manual pages to correctly print.
 1559 
 1560     * Changed the default landscape mode to work like a 2up version of the
 1561       normal print mode. The previous version of the landscape mode has been
 1562       moved to mp.pro.altl.ps, for those who prefer that capability. The
 1563       PostScript for mp.pro.l.ps can certainly be improved. I'm no PostScript
 1564       expert. Fixes the following problems:
 1565 
 1566       From Michael J. Tuchiarone <tooch@plan9.Sun.COM>
 1567       With landscape mode: There are a few things I don't like still, and chief
 1568       among them is that the last page printed "wins" and gets its subject
 1569       printed in the banner. It actually should (I think) be either the
 1570       left-hand message, or better yet, if the subjects are different then
 1571       print a different subject under each message.
 1572 
 1573       From Andreas Wettengel <nixhhs!andreas@relay.EU.net>
 1574       I would like to be able to specify an offset within a logical page.
 1575       If you print in landscape mode, the text of the second page starts
 1576       at the left edge of the page, which prevents you from cutting the
 1577       paper in halves and putting each half into a folder.
 1578 
 1579       From John Macdonald <mtxinu!uunet.UU.NET!jmm%eci386@Sun.COM>
 1580       With the landscape format, I am tempted to put a separate subject
 1581       box at the top of each set of columns that have a different column.
 1582       Thus, for a digest, there would be a subject header for each item
 1583       in the digest, not just the ones that were current during a left
 1584       most logical page.
 1585 
 1586 ----
 1587 
 1588 v2.5 - patchlevel 1 - 6th January 1992.
 1589 
 1590     * Inverted the order of entries in the CHANGES file. The latest patch is
 1591       now at the beginning of the file.
 1592 
 1593     * From John Macdonald <mtxinu!uunet.UU.NET!jmm%eci386@Sun.COM>
 1594       Included two new prologue files. These have become the defaults
 1595       for mp.pro.ps and mp.pro.l.ps, and the previous versions of these
 1596       files have been moved to mp.pro.old and mp.pro.l.old.
 1597 
 1598     * Integrated the changes needed to compile mp in the Open Windows build
 1599       into the generic Makefile.dist file.
 1600 
 1601     * Adjusted the entry that make mp in Makefile.dist to add write
 1602       permission to mp.1 before sed edits it, just in case it's under SCCS
 1603       control at the time.
 1604 
 1605     * Removed the credits section from the initial comment in main.c. The
 1606       credits are part of the acknowledgement section in the README file.
 1607 
 1608     * From Francois Ougier <ougier@saphir.cl.bull.fr>
 1609       I'm not a PostScript expert, but the way CharStrings is used seems to
 1610       inhibit the font cache machinery; this may cause the abort. However, I
 1611       found a solution in the Adobe's red book which works on my LaserWriter.
 1612       It uses the Metrics dictionary.
 1613 
 1614     * From Michael J. Tuchiarone <tooch@plan9.Sun.COM>
 1615       NeWS/OpenWindows does not implement the CharStrings dictionary.
 1616       Therefore /backspacefont doesn't work correctly. Need to generate a
 1617       NeWS/OW compatible version of CourierBack.
 1618 
 1619     * From Hardy <hardy@golem.ps.uci.edu>
 1620       Mp has problem printing with the NeXT printer driver, which is more
 1621       finicky about PostScript. Whenever I printed something to it (either
 1622       directly, or remotely from the HP-machines), I ended up with an
 1623       "invalid restore" message.
 1624 
 1625     * From Dennis Linse <djlinse@phoenix.Princeton.EDU>
 1626       Due to an apparent error when using mp (patchlevel 14) on a NeXT, I
 1627       investigated the prologue code a little and found a bit of bad
 1628       PostScript.  The /backspace function used for CourierBack leaves a
 1629       dictionary on the PostScript operand stack.  When a file is printed on
 1630       a NeXT using the most recent operating system (OS2.1), this leftover
 1631       dictionary causes an 'invalidrestore' PostScript error when printed.
 1632  
 1633       One way to fix this is to add a pop as the last item in the definition
 1634       of the /backspace function.
 1635 
 1636     * From Andy Hall <andyh@ncduk.com>
 1637       Running on a Sparcstation 1+ and with a Canon LBP8 mark 3 printer with
 1638       PS-1 Scriptcard. This is a true version 51.4 Adobe Interpreter. If I
 1639       print Unix manual pages using standard Nroff output and the mp.pro.ps
 1640       v1.2 prologue the job gets aborted after a few pages with a stackoverflow
 1641       message on the serial output (I am using serial interface).  After a bit
 1642       of investigation using a small C program to produce lines consisting only
 1643       of a printed line number, a printable character, a backspace, an
 1644       underscore and a newline, it appears that the job gets aborted on the
 1645       page where the 500th backspace is. I am not a PostScript expert but I am
 1646       wondering whether the problem lies with the embedded piece of code
 1647       backspacefont.ps or the way it is used. It is rather too convoluted for
 1648       me to understand fully but my suspicions are aroused in that the default
 1649       operand stack size mentioned by Adobe in their red book is 500.
 1650 
 1651     * From Bertrand Decouty <Bertrand.Decouty@irisa.fr>
 1652       Mp outputs 8-bit characters as one single character and not like \ijk
 1653       The prologue is not made to support ISO8859 character set. Fixes bug
 1654       #1078112.
 1655 
 1656 ----
 1657 
 1658 v2.5 - patchlevel 0 - 20th November 1991.
 1659 
 1660     * Reset patchlevel and incremented version number.
 1661 
 1662     * Fixed up usage message.
 1663 
 1664     * Added in two new command line options:
 1665 
 1666       -US - use US paper size (8.5" x 11")
 1667       -A4 - use A4 paper size (8.5" x 11.4")
 1668 
 1669       This causes an appropriate definition for /fullheight to be written
 1670       to standard output, over-riding the one in the PostScript prologue
 1671       file. Mp manual pages have been updated to reflect this change.
 1672       Fixes bugid #1070432.
 1673 
 1674 ----
 1675 
 1676 v2.4 - patchlevel 22. - 10th July 1991.
 1677         
 1678     *  Multiple space and/or tabs in the passwd gecos field or the NAME
 1679        environment variable were being processed incorrectly.
 1680         
 1681     *  Changed the grayscale level in mp.pro.ps and mp.pro.l.ps from .98 to
 1682        .88. This should printout much better on the Sun SparcPrinters.
 1683 
 1684 ----
 1685 
 1686 v2.4 - patchlevel 21. - 9th July 1991.
 1687         
 1688     *  If a ^L (form-feed), is immediately followed by a line starting
 1689        with "From", and we are printing a mail folder (-m command line
 1690        option is set), then only page new page is done.
 1691         
 1692        This functionality has been added at the request of the mailtool
 1693        team. Mailtool inserts ^L's between each mail message in a multiple
 1694        batch.
 1695 
 1696 ----
 1697 
 1698 v2.4 - patchlevel 20. - 6th June 1991.
 1699         
 1700     *  Added in ANSI function prototypes for all the mp routines.
 1701 
 1702 ----
 1703 
 1704 v2.4 - patchlevel 19. - 2nd May 1991.
 1705         
 1706     *  Changes needed to get mp to work under SVR4 (Zeus). There are no
 1707        SVR4 specifics; the same code runs unchanged under both SunOS v4.1.1
 1708        and SVR4.
 1709 
 1710 ----
 1711 
 1712 v2.4 - patchlevel 18. - 18 April 1991.
 1713 
 1714     *  Mp has been modified so that all warning messages from the acc
 1715        compiler have been eliminated.
 1716 
 1717 ----
 1718 
 1719 v2.4 - patchlevel 17. - 15 April 1991.
 1720 
 1721     *  mp.pro.ps and mp.pro.pl.ps were identical. Modified mp.pro.ps to be
 1722        for portrait mode. Bugid 1056540 can be closed.
 1723 
 1724 ----
 1725 
 1726 v2.4 - patchlevel 16. - 1 March 1991.
 1727 
 1728     *  CRT 35 - Modified Makefile to install mailp.1 and create filep.1,
 1729        etc., links.
 1730 
 1731 ----
 1732 
 1733 v2.4 - patchlevel 15. - 26 February 1991.
 1734 
 1735     *  Modified the mailp script to fix up the use of the PRINTER environment
 1736        variable, and to correctly handle the -h command line option (needed to
 1737        suppress the banner page).
 1738 
 1739     *  Added in a mailp.1 manual page.
 1740 
 1741 ----
 1742 
 1743 v2.4 - patchlevel 14. - 1st November 1990.
 1744  
 1745     *  From Amos Shapir <amos@nsc.nsc.com>
 1746        From Felix Ingrand <felix@ai.sri.com>
 1747        From Mike Khaw <khaw@parcplace.com>
 1748        From Ken Hayman <hayman@itd.nrl.navy.mil>
 1749        From John Macdonald <mtxinu!uunet.UU.NET!jmm%eci386@Sun.COM>
 1750        mp was no longer correctly recognising "from " header lines. This was
 1751        a bug in hdr_equal(), and affected the default mode of mail printing.
 1752        I've used a replacement hdr_equal() routine from Amos, which only
 1753        scans the string once instead of four times.
 1754  
 1755     *  From Mike Khaw <khaw@parcplace.com>
 1756        From yonkers@ncsc.org
 1757        In our environment the "newfile" code causes the Apple laserwriter NTX's
 1758        to barf. This is a page reversal problem, with the PostScript routine
 1759        newfile being undefined. All references to newfile and endfile have
 1760        been removed from the prologue files and the mp program. The routine
 1761        startfile() has been left in as a null routine for now.
 1762         
 1763     *  From Ian Hoyle <ianh@bhpmrl.oz.au>
 1764        There is a problem with allocation of memory via the realloc calls in
 1765        print.c, on an SGI box running Irix 3.2, due to rounding. I'm simply
 1766        allocated one extra byte in each of the realloc calls.
 1767  
 1768     *  From John Macdonald <mtxinu!uunet.UU.NET!jmm%eci386@Sun.COM>
 1769        Now that mp is case insensitive about mail headers, it was possible for
 1770        mail digests (ala comp.risks) and mail folders to be incorrectly
 1771        processed. If mp was finding a line beginning with "from ", it was
 1772        taking this as the start of a new message. A check has been added to
 1773        the folder and digest processing in printfile() in main.c, to only
 1774        proceed with new message processing, if the line in question matches
 1775        the test criteria *and* the first character is upper-case.
 1776 
 1777     *  From Francois Ougier <ougier@saphir.cl.bull.fr>
 1778        Just like pageno, colct should be reset (to 0) when looping for
 1779        argument files in main.c (line 164). Otherwise, when printing multiple
 1780        ascii files in landscape mode, the second column of each first page is
 1781        always empty..
 1782 
 1783     *  From Francois Ougier <ougier@saphir.cl.bull.fr>
 1784        The README file has been changed to suggest that a page length of 70
 1785        might be more useful to A4 sites, rather than 72, and to include that
 1786        86 seems a good value for LineLength in landscape mode for A4 paper.
 1787 
 1788 ----
 1789 
 1790 v2.4 - patchlevel 13. - 3rd October 1990.
 1791 
 1792     *  The other PostScript prologue files need to be modified in a similar
 1793        way, to mp.pro.ps (changed in patch #12).
 1794  
 1795     *  The meaning of the -PS switch to mp has been reversed. If you don't
 1796        specify -PS on the command line, and mp finds a PostScript file as
 1797        the body of the message, then it will just dump it out. Specifying
 1798        -PS causes it to be printed as text.
 1799  
 1800     *  From Larry Virden <lwv27%CAS@pucc.PRINCETON.EDU>
 1801        Further modifications to mailp:
 1802  
 1803        - If the user had specified a flag of "-sThis is my subject" then it
 1804          wouldn't have printed correctly.
 1805  
 1806        - If the user tries to print files with tabs or spaces in them there
 1807          would have been problems.
 1808  
 1809     *  From Larry Virden <lwv27%CAS@pucc.PRINCETON.EDU>
 1810        Specifying "mp -o -F <mailfile" causes mp to dump core.
 1811 
 1812 ----
 1813 
 1814 v2.4 - patchlevel 12. - 2nd October 1990.
 1815  
 1816     *  From Geoff Mulligan <mulligan@wrl.dec.com>
 1817        Added in the ability for mp to recognize mail or digest messages
 1818        which have PostScript as the text of the message and just dump it
 1819        out. As this might not be the preferred option for everybody, this
 1820        will only occur when the -PS command line option is given.
 1821  
 1822     *  From Geoff Mulligan <mulligan@wrl.dec.com>
 1823        Added more saving and restoring of the PostScript state in mp.pro.ps.
 1824  
 1825     *  From Bruno Pillard <bp@chorus.fr>
 1826        Modifications to mailp:
 1827  
 1828        - changed the way control arguments (added -l) are checked
 1829          in mail, and the tricky "set -- -" to handle the stdin case.
 1830  
 1831     *  From Larry Virden <lwv27%CAS@pucc.PRINCETON.EDU>
 1832        Modifications to Bruno's mailp:
 1833  
 1834        - Move the -h out to a variable, so that the user can configure it
 1835          by setting a shell variable.
 1836  
 1837        - Change the :- to - since some /bin/sh's do not handle :- properly
 1838          (at least Ultrix pre-4.0 does not handle it properly).
 1839  
 1840        - Change the stdin processing so that if the user provides a -s flag
 1841          on the command line it is used, but if it is not, the default one
 1842          is used.
 1843  
 1844        - Change the per file processing so that if the user provides a -s
 1845          flag on the command line it is used FOR ALL FILES, but if it is
 1846          not provided, the file name itself is used.
 1847 
 1848     *  From Bill Houle <bhoule@se-sd.SanDiego.NCR.COM>
 1849        Modified the mailp script to work on SysV which usually has no lpr.
 1850 
 1851     *  From Bruce Barnett <barnett@unclejack.crd.ge.com>
 1852        When you do a "make install", occurances of BINDIR in the mailp shell
 1853        script, are now replaced with the value of $(BINDIR) from the Makefile.
 1854 
 1855     *  From Larry Virden <lwv27%CAS@pucc.PRINCETON.EDU>
 1856        Modifications to Makefile.dist
 1857 
 1858        - Separated out the macro definitions from the compiler flags, and
 1859          combined these together in the CFLAGS definition.
 1860 
 1861        - Used $(CC) instead of calling cc direct.
 1862 
 1863        - Included the Saber-C source loading rule.
 1864 
 1865     *  From Andy Norman <ange@hplb.hpl.hp.com>
 1866        The install command under SysV does not have the same parameter order
 1867        as the BSD one. I've replaced all the install commands in the Makefile
 1868        with their equivalent cp and chmods.
 1869 
 1870     *  From Paul Higgins <phiggins@orion.oac.uci.edu>
 1871        Mp is now case insensitive about mail header lines. The first word
 1872        of the line is now converted to lower-case before doing a comparison.
 1873        The first letter of each header is capitalised when printing.
 1874 
 1875 ----
 1876 
 1877 v2.4 - patchlevel 11. - 24th September 1990.
 1878 
 1879     *  From Sato Toshihiko <sato@omphalos.bug.co.jp>
 1880        The names of the personal organiser prologue files in get_options()
 1881        in misc.c, was not changed to the new names in patch #10.
 1882 
 1883     *  From Paul Eggert <eggert@twinsun.com>
 1884        mp.1 should be built when you type "make". On many hosts, you must
 1885        install as root, but root lacks write privaledge to the working
 1886        directory because it's mounted via NFS.
 1887  
 1888     *  From Rick Rodgers <rodgers@maxwell.mmwb.ucsf.EDU>
 1889        From Paul Eggert <eggert@twinsun.com>
 1890        When you do a "make", occurances of BINDIR in the mp.man manual pages,
 1891        are now replaced with the value of $(BINDIR) from the Makefile.
 1892  
 1893     *  From Johan Vromans <jv@mh.nl>
 1894        Added the rule "install-a4" to Makefile.dist. If you do a "make
 1895        install-a4", mp is initially installed. This is then followed by
 1896        the prologue files being edited in situ, and adjusted for A4 sized
 1897        paper. The README file has been updated to mention this.
 1898 
 1899 ----
 1900 
 1901 v2.4 - patchlevel 10. - 20th September 1990.
 1902 
 1903     *  Four files should have their names changed before applying this patch.
 1904        These are:
 1905 
 1906            mp.pro.filofax.ps ==> mp.pro.ff.ps
 1907            mp.pro.timeman.ps ==> mp.pro.tm.ps
 1908            mp.pro.timesys.ps ==> mp.pro.ts.ps
 1909            mp.1              ==> mp.man
 1910 
 1911        This is to make filenames < 14 chars, which is needed on SysV systems,
 1912        and also to prevent any possible problems with trademarked names.
 1913 
 1914        If you are on a Unix machine, then you should first run the following
 1915        four commands:
 1916 
 1917          mv  mp.pro.filofax.ps  mp.pro.ff.ps
 1918          mv  mp.pro.timeman.ps  mp.pro.tm.ps
 1919          mv  mp.pro.timesys.ps  mp.pro.ts.ps
 1920          mv  mp.1               mp.man
 1921 
 1922        If you are running mp on another O/S, then you should do the equivalent
 1923        of these four moves.
 1924 
 1925     *  From Jim Sanchez <syteke!jim@relay.EU.net>
 1926        Please reduce the file name length on the mp.pro.filofax and
 1927        mp.pro.timeman files for us system V guys. We are stuck with short file
 1928        names and have to edit the source files each time you issue a patch.
 1929        [Fixed by renaming the files as above - Rich].
 1930 
 1931     *  From Bruno Pillard <bp@chorus.fr>
 1932        The opportunity to change the location of the LIBDIR is given in the
 1933        Makefile, so you should update the Makefile to update the man page
 1934        accordingly; For example in the Makefile:
 1935 
 1936        man:;      sed -e s,LIBDIR,$$LIBDIR,g mp.man > mp.1
 1937 
 1938        Of course, you have to change the name of mp.1 to mp.man in the
 1939        distribution and all occurrence of /usr/local/lib by LIBDIR.
 1940 
 1941     *  From Johan Vromans <jv@mh.nl>
 1942        From Ian Young <YoungIM@cs.bham.ac.uk>
 1943        When compiled with gcc, mp -a falls over with a seg fault.
 1944        In print.c, there are two places where a string is being copied to
 1945        message_for, which is an inappropriate character pointer.
 1946 
 1947     *  From Andreas Wettengel <nixhhs!andreas@relay.EU.net>
 1948        the option string to get_opt() in get_options() in print.c has been
 1949        changed to allow "-t m" and "-t s" as well as '-tm" and "-ts".
 1950 
 1951     *  From Bruno Pillard <bp@chorus.fr>
 1952        Added into the README file, the instructions for A4 sites that they
 1953        have also to change the "%%PageLength" line in mp.pro.ps. In my
 1954        opinion, 72 seems to be a good value.
 1955 
 1956 ----
 1957 
 1958 v2.4 - patchlevel 9. - 17th September 1990.
 1959 
 1960     *  From Paul Eggert <eggert@twinsun.com>
 1961        From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
 1962        From Rick Rodgers <rodgers@maxwell.mmwb.ucsf.EDU>
 1963        The SunOS v4.1 /bin/make doesn't like blank lines half way through a
 1964        Makefile rule.
 1965  
 1966     *  From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
 1967        The SYSV definition was not added to the CFLAGS line in Makefile.dist.
 1968        It also needs to be added to the section in the README file, that
 1969        describes settable Makefile definitions.
 1970  
 1971     *  From Rick Gunderson <rickg@toshiba.tic.oz.au>
 1972        The mp.pro.ps file won't center the page number in the gray bar if
 1973        ``leftedge'' is non-zero. We set left-edge to 0.5 inches so that there
 1974        is a margin at the left of the page for punched holes.
 1975  
 1976     *  From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
 1977        Some slight changes to the mailp shell script for -s subject handling.
 1978  
 1979     *  From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
 1980        From Rick Rodgers <rodgers@maxwell.mmwb.ucsf.EDU>
 1981        Some adjustments to the mp manual pages.
 1982         
 1983     *  From Peter Collinson <pc@hillside.co.uk>
 1984        I have my own machine and printer and KNOW that the mail is for
 1985        me.. I would like to have the header say
 1986         
 1987                 Mail from ........
 1988         
 1989        The -F flag has been added for this option. The manual page has also
 1990        been updated.
 1991 
 1992 ----
 1993 
 1994 v2.4 - patchlevel 8. - 14th September 1990.
 1995 
 1996     *  From Johan Vromans <jv@mh.nl>
 1997        Introduces another PostScript prologue file for the Time/System
 1998        International personal organiser. The prologue file is called
 1999        mp.pro.timesys.ps. The command line option to invoke Time Manager
 2000        output has been changed to -tm, and the Time/System output uses -ts.
 2001        The MANIFEST and FILES files have been updated to mention this new
 2002        file. The mailp shell script, Makefile.dist and mp manual pages
 2003        have been adjusted accordingly.
 2004 
 2005     *  Not everybody wants the newsp, filep ... shell scripts installed.
 2006        To prevent this, you will need to comment out some lines in your
 2007        Makefile (after you copy it from Makefile.dist). This is now explicitly
 2008        mentioned in the Makefile.dist file and in the README under the
 2009        installation section.
 2010 
 2011     *  The -v and the -? command line options now both output the current
 2012        mp version number and the usage message then exit.
 2013 
 2014     *  From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
 2015        Modifications to the mailp shell script to better handle the
 2016        printing of the subject lines. Added a comment to the shell script
 2017        to mention that banner printing is turned off by default. Most of
 2018        the banner information is handled in the mp banners. Certain sites
 2019        though, might wish to alter this by removing the -h switch to the
 2020        lpr command.
 2021 
 2022     *  From Bill Houle <bhoule@se-sd.SanDiego.NCR.COM>
 2023        Have added a SYSV definition to the Makefile.dist file which should
 2024        be uncommented if you are compiling mp on a System V machine.
 2025  
 2026        In mp.h, compiling mp on an NCR Tower V.3 system, the compiler did
 2027        not like the #include for sys/pathname.h, so it's been eliminated.
 2028        [If this is a problem for any SysV sites, please let me know - Rich].
 2029 
 2030        cc complained about redefinition of sprintf et al, which were
 2031        already defined in <string.h>. I fixed by bracketing with #ifndef:
 2032 
 2033        To get rid of the annoying warnings about illegal structure operations,
 2034        I included definitions for getpwuid() and getpwnam(). On the SysV Tower
 2035        at least, <pwd.h> defines the passwd structure, but not the functions.
 2036 
 2037     *  From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
 2038        The sprintf hard coded externs are in conflict with at least the
 2039        SunOS 4.1 systme 5 declarations.
 2040 
 2041        Line 225 of misc.c is :   *ptr++ ;
 2042        Why?  The * is never used - it just falls on the floor.
 2043 
 2044     *  From Jim Sanchez <syteke!jim@relay.EU.net>
 2045        Please reduce the file name length on the mp.pro.filofax and
 2046        mp.pro.timeman files for us system V guys. We are stuck with short
 2047        file names and have to edit the source files each time you issue a
 2048        patch.
 2049 
 2050        [For now, I've detailed this problem in the TODO file. When the next
 2051         version of mp is released, I'll make sure that all the filenames are
 2052         below 14 characters - Rich].
 2053 
 2054 ----
 2055 
 2056 v2.4 - patchlevel 7. - 7th September 1990.
 2057 
 2058     *  From Johan Vromans <jv@mh.nl>
 2059        Completely revised how mp now does it's processing. See the new
 2060        section in the README file entitled "How mp works" for more details.
 2061        Introduces a new prologue file mp.pro.l.ps for handling the standard
 2062        printing in landscape mode with 2 columns. Changes to most other
 2063        files. The MANIFEST and FILES files have been updated.
 2064 
 2065     *  From James F. Blake <jim@doctor.chem.yale.edu>
 2066        From Rainer Klute <klute@unido.informatik.uni-dortmund.de>
 2067        Mp crashed with a segmentation violation if the mail message has no
 2068        subject line.
 2069 
 2070     *  From Bruno Pillard <bp@chorus.fr>
 2071        Added the printing of the username beside the date when printing
 2072        news articles.
 2073 
 2074        Fixed two typos in the mailp shell script, and added the installation
 2075        of mailp to the Makefile.dist file. Support for the PRINTER variable
 2076        has also been added to mailp.
 2077 
 2078     *  From Ran Ever-Hadani <nsc!taux01.nsc.com!crehta@Sun.COM>
 2079        When mp -a is invoked from within the nn news reader, the "Article
 2080        from" header was displayed incorrectly.
 2081         
 2082     *  From Lupe Christoph <lupe@alanya.Germany.Sun.COM>
 2083        The -f (filofax) and -t (Time Manager) options didn't print
 2084        correctly on a PostScript print which has page reversal set. Johan
 2085        Vromans work on the restructuring of the PostScript and the way
 2086        prologues are handled, has fixed this.
 2087         
 2088     *  From John Little <gaijin@ale.Japan.Sun.COM>
 2089        The NAME environment variable (if set) should be processed the same
 2090        way as the GECOS passwd field. See the GECOSFIELDS and GECOSLENGTH
 2091        definitions in Makefile.dist for more details.
 2092 
 2093 ----
 2094 
 2095 v2.4 - patchlevel 6. - 4th September 1990.
 2096  
 2097     *  From Amos Shapir <amos@taux01.nsc.com>
 2098        Interpreting a '&' in the GECOS field should capitalize only the
 2099        first letter of the login name, not all of it.
 2100  
 2101     *  From Bruce G Barnett <barnett@unclejack.crd.ge.com>
 2102        From Pauline van Winsen <pauline@Aus.Sun.COM>
 2103        Mp only extracted two "words" from the user's passwd gecos field.
 2104        This has been changed to now extract three "words" by default, but
 2105        two new definitions have been added to the Makefile.dist file to
 2106        allow you to adjust the username extraction:
 2107  
 2108        GECOSFIELDS - Number of "words" extracted from the user's gecos field.
 2109        GECOSLENGTH - Maximum no. of chars. extracted from the gecos field.
 2110  
 2111        See the comments in the Makefile.dist file for more details.
 2112        If needed, then these options should be uncommented and set accordingly.
 2113        The README file has been updated.
 2114  
 2115     *  From Johan Vromans <jv@mh.nl>
 2116        An attempt to initialise the cc array in main.c when the variable
 2117        is declared doesn't work with the GNU C compiler. This has been
 2118        removed. Yes folks, this is deja vu.
 2119  
 2120     *  From Johan Vromans <jv@mh.nl>
 2121        To allow MP to handle A4 formatted pages, I made a few mods to
 2122        mp.pro.ps. The reason to introduce the variables fullwidth and
 2123        fullheight is that they are used in more than one location.
 2124        Reasonable values for fullwidth and fullheight are 8.5/11 inch for US
 2125        Letter, and 8.5/11.4 inch for A4.
 2126        Since sites usually have one single format of paper, mp could be
 2127        installed with either the USLetter or A4 values.
 2128 
 2129        I've also made the same modifications to mp.pro.alt.ps.
 2130 
 2131        **IMPORTANT NOTE** You should adjust these values correctly for your
 2132                           site. I've added a couple of comments to the
 2133                           "make install" to try to remind people about this.
 2134 
 2135        I've also left it defaulted at the US Letter size, so it should still
 2136        continue to work for A4 sites, but not use all of the paper.
 2137 
 2138 ----
 2139 
 2140 v2.4 - patchlevel 5. - 29th August 1990.
 2141  
 2142     *  Posted to comp.sources.misc.
 2143  
 2144     *  From Larry W. Virden <lwv27%cas.BITNET@CUNYVM.CUNY.Edu>
 2145        Include a Makefile.dist with the mp distribution. This file will
 2146        need to be copied to Makefile and adjusted accordingly, but it does
 2147        mean that future changes via patches don't clash with custom user
 2148        changes. The README file has been updated to mention this.
 2149  
 2150     *  From Lupe Christoph <lupe@alanya.Germany.Sun.COM>
 2151        mp.pro.filofax.ps and mp.pro.timeman.ps still contained definitions
 2152        for PrimaryFont and SecondaryFont.
 2153 
 2154 ----
 2155 
 2156 v2.4 - patchlevel 4. - 27th August 1990.
 2157  
 2158     *  From Mike Bundschuh <mjb@Eng.Sun.COM>
 2159        Added quick fix to expand() in print.c to check if pointer == NULL
 2160 
 2161 ----
 2162 
 2163 v2.4 - patchlevel 3. - 17th August 1990.
 2164  
 2165     *  From Larry Tsui <larryt@Canada.Sun.COM>
 2166        With mp -o filename | lpr, the filename printed on the bottom bar
 2167        is missing the first character. The subject string setup at the end
 2168        of set_defs was incorrect.
 2169  
 2170     *  Gave mp a though linting (Sun 4/65 - SunOS v4.1).
 2171 
 2172 ----
 2173 
 2174 v2.4 - patchlevel 2. - 14th August 1990.
 2175  
 2176     *  From Pierre Mareschal <pmaresch@hawk.ulowell.edu>
 2177  
 2178        - Fix for multiple mail printing:
 2179              % mp [-a] file1 file2 file3 ... > mp.out
 2180              * Outputs the Prolog only once at the beginning of the file.
 2181              * Gives a correct page count at the end of the PostScript file
 2182                in the Trailer
 2183              * Shorten PostScript output (by more than 10%):
 2184                       PrimaryFont -> pf
 2185                       SecondaryFont -> sf
 2186              * Correct global subject line with -s "Subject" flag.
 2187              * Correct current subject line when multiple articles.
 2188  
 2189        - Added another style for mp.pro.ps with the page number in lower
 2190          right corner. This file has been called mp.pro.alt.ps.
 2191  
 2192        - Added Example directory (called Data) with the mp distribution. This
 2193          contains examples for Mail, Mail Folders, News Articles, News Digests
 2194          and a plain listing.
 2195  
 2196     *  Added a TODO file, with a list of the outstanding problems and
 2197        suggested enhancements.
 2198  
 2199     *  Added MANIFEST and FILES files, to provide a manifest of the
 2200        distributed files, plus a description of what each file does.
 2201  
 2202     *  From Roger Riggs <riggs@suneast.East.Sun.COM>
 2203        Created emacs functions for printing with mp. A new file (mp.el) has
 2204        been created.
 2205 
 2206 ----
 2207 
 2208 v2.4 - patchlevel 1. - 1st June 1990.
 2209  
 2210     *  From Brachet <brachet@imag.fr>
 2211        Fix for segmentation violation core dump on a System V machine
 2212        when trying to print multiple news articles.
 2213  
 2214     *  From Brachet <brachet@imag.fr>
 2215        mp took only the first subject of a group of news articles
 2216        because it didn't parse the subject line properly.
 2217 
 2218 ----
 2219 
 2220 v2.4 - patchlevel 0. - Started (april 1990).
 2221  
 2222     *  From Michael J. Tuchiarone <tooch@plan9.Sun.COM>
 2223        Support for landscape mode. This allows two pages printed per
 2224        sheet of paper.
 2225 
 2226 ----
 2227 
 2228 v2.3 - patchlevel 5. - Posted to comp.sources.bugs (February 1990).
 2229  
 2230     *  From Johan Vromans <jv@mh.nl>
 2231        From Rick Gunderson <rickg@toshiba.tic.oz.au>
 2232        Storage allocation for string constants is different with cc and
 2233        the GNU C compiler (gcc). Two adjustments in print.c are needed.
 2234 
 2235 ----
 2236 
 2237 v2.3 - patchlevel 4. - Posted to comp.sources.bugs (January 1990).
 2238  
 2239     *  From Mike Khaw <khaw@parcplace.com>
 2240        The definition for NOINDEX in mp.h should be embedded in an
 2241        #ifdef not an #ifndef. Arrgghh!!
 2242  
 2243     *  The CHANGES file is now upto date.
 2244  
 2245     *  From Johan Vromans <jv@mh.nl>
 2246        An attempt to initialise the cc array in main.c when the variable
 2247        is declared doesn't work with the GNU C compiler. This has been
 2248        removed.
 2249 
 2250 ----
 2251 
 2252 v2.3 - patchlevel 3. - Posted to comp.sources.bugs (January 1990).
 2253 
 2254     *  The Makefile did not include the CHANGES file in the OTHERS
 2255        macro definition.
 2256 
 2257     *  From Steve Cliffe <steve@wolfen.cc.uow.oz>
 2258        The new Makefile definition NOINDEX, needs to be included in
 2259        the CFLAGS definition.
 2260  
 2261     *  From Walter Underwood <wunder@hp-ses.sde.hp.com>
 2262        Several tweaks to the mp man page to correct print on Sys V
 2263        machines.
 2264 
 2265 ----
 2266 
 2267 v2.3 - patchlevel 2. - Posted to comp.sources.bugs (January 1990).
 2268 
 2269   Changes:
 2270 
 2271     *  From Steve Cliffe <steve@wolfen.cc.uow.oz>
 2272        The Makefile used a technique for generating the object files,
 2273        from the source files, that not every make has.
 2274 
 2275     *  From Steve Cliffe <steve@wolfen.cc.uow.oz>
 2276        Mp used both the index and strchr library calls. It now uses
 2277        index by default, and if you don't have this, then you need
 2278        to uncomment a macro definition NOINDEX in the Makefile (which
 2279        has just been added).
 2280 
 2281     *  From Brian Kohn <bicker@hoqax.att.com>
 2282        The variable MAXPATHLEN is not declared on all machines. An
 2283        appropriate definition has been added to the mp.h file.
 2284 
 2285 New files:
 2286 
 2287     *   CHANGES - documented history of the changes made with each new
 2288                   mp patch.
 2289 
 2290 ----
 2291 
 2292 v2.3 - patchlevel 1. - Released to comp.sources.misc (January 1990).