"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