	----------------------------------------------------------
	   A P S F I L T E R   V 4.8  -  "History of Changes"
	----------------------------------------------------------

                     copyright Andreas Klemm 1993, 1994

                            andreas@knobel.gun.de

                   ---------------------------------------

			co-author Thomas Bueschgens 

			    sledge@hammer.oche.de

                         ---------------------------

===============================================================================
Thanks to:
===============================================================================

	Dirk_Bernhardt@punk.fido.de (Dirk Bernhardt)
	bsmart@bsmart.tti.com (Bob Smart)
	dfrey@stud.ee.ethz.ch (David Frey)
	dirk@flop.escape.de (Dirk Sturzebecher)
	gtaylor@cs.tufts.edu (Grant Taylor)
	jstern@eclectic.ss.uci.edu (Jeff Stern)
	ljo@ljo-slip.DIALIN.CWRU.Edu (L Jonas Olsson)
	rd@tarpit.oau.org (Bob Thrush)
	sar@beehive.mn.org (Steven A. Reisman)
	sch2@crux5.cit.cornell.edu (Stephen Hsieh)
	strassma@orgel.informatik.uni-stuttgart.de (Markus Strasser)

	and many others for their contributions, suggestions, patience 
	and bugfixes ...

===============================================================================
ChangeLog:
===============================================================================

Mon Sep 26 18:59:22 MET 1994 Andreas Klemm <andreas@knobel.gun.de>

	* fixed Toms mail address in DONATIONS, this is important ;-)

	* fixed a typo in apsfilter in jpeg options (-colors 265 -> 256)

	* PROBLEMS file removed, stuff went into APS-BUG-FORM

	* fixed apsfilter ftp path for the ftp Server in Aachen
	  in the file FTP and ANNOUNCE

Sun Sep 25 17:48:12 MET 1994 Andreas Klemm <andreas@knobel.gun.de>

	* changed mknew, so that GNU tar follows symbolic links

	* introduced a form to report bugs APS-BUG-FORM
	  added this info into INSTALL file

	* bumped version to 4.8, changed 4.8 to 48 in GLOBAL.sh
	  so that mknew produces aps-48.tgz, as announced !!!

Sun Sep 25 12:55:41 MET 1994 Andreas Klemm

	* removed the silly benchmark from SETUP

	* a2ps manpage will be installed if certain fix
	  man-dirs are found.

	* added option -nL for a2ps to suppress the user Login ID
	  as well when printing pages with no borders
	  (FEATURE 1n and 2n)

	* updated documentation / installation

	* introduced a TROUBLESHOOTING file, debugging hints ...

	* changed the name of the variable DEBUG_TO_FILE 
	  to PRINT_TO_FILE to make more clear, that print data
	  will be put into this file.
	  Real debugging output will be found in the file
	  PRINTER_SPOOLDIR/log as before !

	* disabled debugging in the filter for the final 
	  _release_ version 4.8

	* added LOCAL_PATH in global/GLOBAL.sh, to be in sync with
	  TROUBLSHOOTING docu, how to add more local search paths
	  to needed programs.

	* updated docu a bit. renamed some files, added some files
	  to be more clear.

Sat Sep 17 20:27:36 1994  Thomas Bueschgens  (sledge@hammer.oche.de)

	* Added PROBLEMS file so people know what to do in case of
	  trouble, whom to send mail to and so on!

	* Let RCS take over the revision/release-numbers to avoid those
	  4.01Beta-names!! Two number should be sufficient, right?

	* README: added pointer where to get pbmplus & jpeg-stuff if
	  someone needs to add this stuff to his machine to print
	  pictures.

	* setup/filtersetup: added support for djpeg needed for printing
	  JPEG-Pictures. Introduces HAVE_DJPEG for  apsfilter
	  automatically.

	* bin/apsfilter.tom: added support for JPEG-pictures for both,
	  color and mono-printer. Due to that new Variable DJPEG_OPTS
	  which is set depending on color/mono-printer.

Wed Aug 31 21:28:20 MET DST 1994 Andreas Klemm <andreas@knobel.gun.de>

	* rolled new version 403 Beta

Wed Aug 31 21:23:36 MET DST 1994 Andreas Klemm <andreas@knobel.gun.de>

	* bug in SETUP, filtersetup run very early and don't find
	  a2ps and rewindstdin, filtersetup wasn't repeated later,
	  when a2ps and rewindstdin are compiled and installed ...

	* since we compile in background, we wait for that ...

	* introduced fun stuff ... do you have humour ?! ;-)

Sat Aug 27 18:38:48 MET DST 1994 Andreas Klemm <andreas@knobel.gun.de>

	* bumped version count to 4.02 (Beta) to avoid confusion

Sat Aug 27 18:29:55 MET DST 1994 Andreas Klemm <andreas@knobel.gun.de>

	* introduced global apsfilterrc file /etc/apsfilterrc
	  Therefore changed SETUP again.

	* read apsfilterrc now erlier in apsfilter, not in the case
	  structure or functions ... Perhaps a bit overhead, but
	  shorter and better

	* read global apsfilterrc first, so that there are sane
	  defaults, and then - if present - the users one ...
	  so the user gets his customization but if he has an
	  old template I keep apsfilter happy for the case, it
	  contains needed stuff for runtime.

Sat Aug 27 16:52:17 MET DST 1994 Andreas Klemm <andreas@knobel.gun.de>

	* bumped version to 401B (Beta) to avoid confusion when
	  speaking about the new release ... ;-)

Sat Aug 27 15:23:33 MET DST 1994 Andreas Klemm <andreas@knobel.gun.de>

	* Better documentation of template/apsfilterrc

	* new compile/install utility setup/compile

	* Enhanced the SETUP script in many ways ...
		- script calls setup/compile
		  to automatically compile and install
		  a2ps and rewindstdin.
		- additional remarks concerning user setup
		  (apsfilterrc) and remote printing...

Sat Aug 27 13:17:23 MET DST 1994 Andreas Klemm <andreas@knobel.gun.de>

	* My e-mail address changed ! ;-) Please note this ;-)

	* Changed mknew to create smaller uuencoded Beta versions
	  If a apsfilter Release contains the letters {a,A,B,b}
	  ( -> see GLOBAL.sh ) then this smaller archive is created
	  without doc and testfiles.

	* End of SETUP utility tells you now what to do next:
	  compile and install a2ps and rewindstdin.

Wed Aug 24 18:22:18 MET DST 1994 Andreas Klemm <andreas@knobel.kirsch.de>

	* Some more installation instructions for a2ps and rewindstdin
	  in the README file.

Wed Aug 24 17:56:43 MET DST 1994 Andreas Klemm <andreas@knobel.kirsch.de>

	* changed apsfilter's fault_filetype function to be smarter
	  and nicer. Better formatted output and tells user now
	  about "unsupported" filetypes ... and that he might solve this
	  by typing lpr -Pascii or lpr -Praw.
	  Since it might be possible that he tried to print ascii files
	  containing control characters or such ... who knows what file(1)
	  reports ...

	* fixed bug in SETUP, it didn't ask properly for BAUDRATE when
	  installing a serial printer. Asked for Device twice, removed
	  one question ;-)

	* bj10e doesn't have 360dpi, changed it to 300dpi, hope that's
	  correct now.

Wed Aug 24 16:28:13 MET DST 1994 Andreas Klemm <andreas@knobel.kirsch.de>

	* Rolled the version 4.0-Beta

	* Changed global/GLOBAL.sh to version 4.0

	* Merged older changelog files into this one (beginning from 
	  apsfilter 1.3 !!!) 

	* added Q 1.4 "Printing of long ascii listings 
		(C-Source,...) is dog slow..."
	  to FAQ

	* added Q 1.5 "how to manage strange search paths for programs..."
	  to FAQ

	* FAQ Q 1.1, ypu have to run filtersetup, not mksymlinks,
	  to add new filters to the apsfilter program.

	* created a KNOWN_BUGS file - a todo file ...

Wed Aug 24 16:15:32 MET DST 1994 Andreas Klemm <andreas@knobel.kirsch.de>

	* removed doc/INSTALL since it's meaningless ;-)
	  It explains to you how to extract the gnu zipped tar archive
	  aps-XXX.tgz. But to get that file/information you have to extract
	  the archive first ...  you get the clue ?! ;-)

Wed Aug 24 15:22:34 MET DST 1994  Andreas Klemm <andreas@knobel.kirsch.de>

	* Updated README and WHO_AM_I to reflect the latest changes

	* Changed the name WHO_AM_I to WHAT_AM_I to reflect the
	  purpose of this file better.

	* removed README_QUICK_INSTALL since it didn't contain
	  valuable stuff and README is already smart to the user ;-)

	* Created a file MANIFEST which is a list of all files
	  that belong to apsfilter with a short description for
	  what purpose they are. Removed that stuff from README.

	* Added more information into README, which documents to
	  read next.

	* Changed README to tell the user to install the template
	  file apsfilterrc into his home directory.

	* introduced the file FAQ in apsfilters top level directory.

	* put only apsfilter under RCS revision control
	  starting at apsfilter 4.1

	* stripped apsfilter a bit more, moved changelog and
	  thanks to contributors into this file

Wed Aug 24 15:02:09 MET DST 1994 Andreas Klemm <andreas@knobel.knirsch.de>

	* After Thomas had his `creative time' the version is again
	  owned by me ;-) This means testing and writing docu ;-)
	  Thanks Tom for your valuable work when I had no time
	  to change the things in the filter !

	* Changed Makefiles of src/a2ps-4.2-akl-new and src/rewind-stdin.
	  Introduced the shellscripts install_it. These scripts are looking
	  in /etc/printcap, where apsfilter is really installed, to place
	  the binaries of a2ps and rewindstdin exactly in
	  $APS_BASEDIR/bin, which is on top of the search path in apsfilter.
	  This makes sure, that the enhanced a2ps will be used instead of
	  older ones. Same for other tools needed for apsfilter.

	* The install_it scripts checks and makes sure, that apsfilter
	  has to be installed first before attempting to install
	  a2ps and rewindstdin.

Thu Aug 11 14:23:15 1994  Thomas Bueschgens  (sledge@hammer.oche.de)

	* setup/mksymlinks: create necessary symlinks if color printers
	  are choosen.

	* SETUP: added support for color-printers so the correct entries
	  for /etc/printcap are computed.
	  
	  remove FEATURE from setup, this is user-configurable by now from
	  .apsfilterrc

Wed Aug 10 10:06:53 1994  Thomas Bueschgens  (sledge@hammer.oche.de)

	* bin/apsfilter.tom: added PNMTOPS-variable to control wether
	  color or mono-pics are created.
	  
	  recompute HAVE_PNMTOPS to depend on HAVE_PPMTOPGM if mono is
	  used to ensure correct error-messages if pbm-utils are installed
	  incomplete.

	* setup/filtersetup: added ppmtopgm to the list of
	  needed/supportet filters so color-data may be converted to
	  mono-data.

	* bin/apsfilter.tom: moved A2PS_MARGIN-definition to print_ascii()
	  so it is only defined if necessary.

Tue Aug  9 16:36:59 1994  Thomas Bueschgens  (sledge@hammer.oche.de)

	* bin/apsfilter.tom: changed 'echo $0' to 'basename $0' sp
	  paths with '-' are recognized correctly, too. 

Mon Aug  1 09:09:05 1994  Thomas Bueschgens  (sledge@hammer.oche.de)

	* SETUP: removed the choice wether to modify /etc/magic or not
	  since this caused errors on many systems
	  Corrected some typos

	* template/: changed the README and added a warning that
	  double-entries in /etc/magic may cause malfunctions of apsfilter

	* global/GLOBAL.sh: changed one path to reflect my systems
	  tex-installation

	* doc/: changed the documentation a bit to keep track with the
	  newest changes

	* SETUP: read BAUD if installing a serial-printer, don't write
	  APS_BASEDIR to /etc/printcap if addinga printer

	* template/apsfilterrc: added the HAVE_MAKETEXPK and
	  FEATURE-templates to the example-apsfilterrc

	* bin/apsfilter.tom: clean up documention in apsfilter, changed
	  a2ps-options, added HAVE_MAKETEXPK-flag
	  
	  moved FEATURE-recognition from apsfilters name to users config
	  file .apfilterrc, prepared use of color-property

	  added support for compacted ASCII-files if ascii-filetype was
	  forced

================================================================================
changes 3.0.1 -> 3.0.2
================================================================================

 [ some fixes from Bob Trush <rd@tarpit.oau.org> ], thanks !
 - corrected typo in README, README_QUICK_INSTALL and setup
 - added support for HP Laserjet 4l "ljet4l"
 - support for BSD/386 from BSDI
 - new variable MAGIC defines where the magic(5) file can be found
 - grabs HOME_DIR more precisely using grep "^$LOGINNAME:" ....
 - more precise and effective usage of the shells eval command
   for eval $PRINT_PS ...
 - added/changed PATH in GLOBAL.sh
 - added HAVE_MAKETEXPK to decide wether to create fonts while
   print_dvi or not
 
================================================================================
changes 3.0 -> 3.0.1 (AKL)
================================================================================

 - changed $APS_BASEDIR/bin/GLOBAL.sh to $APS_BASEDIR/global/GLOBAL.sh
 - lowercase the output of the file(1) command to be more portable
   rewritten the queries in the case structure

================================================================================
changes 2.3 -> 3.0 (AKL)
================================================================================

 - removed reverse print order for nec printers
 - added -M option not to call MakeTeXPK to create missing fonts
   when printing with dvips because of a bug in the script that causes
   an exit of apsfilter and not printing anything.
 - ascii->a2ps: added missing -1 option when printing in portrait.
 - HOME_DIR is users homedir. Here we look for ps files that might
   be included when printing dvi files with dvips using the feature,
   to include Postscript pictures produced by xfig or other programs...
 - introduced a .apsfilter config file in each users home directory
   allows the user to add printer specific initialization when printing
   raw ascii text 
	var. PRINT_RAW_SETUP_PRINTER allows to set special init commands
	var. PRINT_RAW_SUPPRESS_FORMFEED suppresses formfeed after print_raw
 - modifications for EPSON STYLUS (gs' printer type esc2 wasn't managed
   by the filter.
 - added support for esc2 printers ;-) I forgot them uiiii ;)
 - removed $ECHO which represented an echo command that can handle
   control characters \xxx since printf is used for that ...
 - introduced user custom print and feature commands in some
   print functions ... print_dvi, print_raw, print_ps ....
   user defineable via $HOME/.apsfilterrc file
 - removed Preserving of TMP_FILE since we don't have any ...
 - added a global setup file bin/apsfilterrc that is created during 
   installation by bin/filtersetup. It contains env. variables that tell
   us, which filter programs are available or not (gs, dvips, a2ps,...)
   If you add a filter, then you have to edit filtersetup and rerun it.
   In apsfilter you should ask then, if a special filter is available
   before trying to call it .... 
 - added sun rasterfile support
 - read PATH from GLOBAL.sh
 - removed all occurrences of TMP_DIR, since not necessary anymore
 - added /usr/openwin/bin to searchpath for Sun's Solaris 1 to
   find ras2ps....
 - added filter support for gif and fig
 - print sunraster using Poskanzer bitmap utilities, if ras2ps isn't there
 - can print compressed files compressed by: compress, gzip, pack, freeze
   one exception, doesn't work on compressed dvi files (dvips -> gs)
 - and certainly some more .... ;-)

################################################################################
#
# Changes 1.10 -> 1.11
#
################################################################################
#
# A last minute hack caused file type autorecognition to fail :-(
# The culprit: I only appended $PATH to the search path for machine 
# specific search paths. And boom :-(
# After removing $PATH from the PATH= line everything works perfectly now.
# Oh folks .. the next time I don't include wishes from people without 
# testing, even if the changes are soooo minimal as in this case '-)
#
# No line in this script exceeds 80 columns any more,
# as suggested by Stephen Hsieh <sch2@crux5.cit.cornell.edu>
#
# Modified the way how apsfilters command line arguments are stored
# in environment variables, 
# as suggested by Dirk Sturzebecher <dirk@flop.escape.de>
#

################################################################################
#
# Changes 1.9 -> 1.10
#
################################################################################
#
# introduced shell functions print_ps, print_dvi, print_ascii, ....
# is needed for the new program functions to force printing of ascii, which
# is needed for printing "deutsche Umlaute"
#
# problems with "deutschen Umlauten"
# Text containing "Deutsche Umlaute" may be interpreted as data, so cr/nl 
# conversion for deskjet and possibly other printer doesn't work.
# A possible solution is to force the script to handle imput data as text or
# something else.
#
# exit 1 on print fault caused lpd to print the file again and again
# and lots of tmp files made TMP_DIR full.. so we have to exit 0 in any case
#
# Introduced MAILX variable. /bin/mail = elm on Linux. Elm didn't find
# ~/Mail directory, so it failed to send $NOTIFY a mail when a print error
# occurred.
#
# David Frey <dfrey@stud.ee.ethz.ch>:
# use lpr's command line arguments -wwidth -iindent -llength, pipe ascii
# through pr
#
# and some more ...
#

################################################################################
#
# Changes 1.8 -> 1.9
#
################################################################################
#
# Thu Feb 24 18:45:00 GMT+0100 1994
#
# removed compression option that was introduced with 1.8
# since dvips can't read from a pipe...
#
# canon bj printer don't have a common command set ...
# So the bj* commands I introduced were only valid for the bj200.
#

################################################################################
#
# Changes 1.7 -> 1.8
#
################################################################################
#
# Sun Feb 20 14:02:29 GMT+0100 1994
#
# Optionally (default=yes) compresses temporary files used by this script
# See COMPRESS option. On slow systems wit low memory you may want to disable
# this feature. (Suggestions from Bill - physics.purdue.edu!bcr)
#
# Rewrote parts of my comments and shortened the script by simly referencing
# the GNU GPL.
#


################################################################################
#
# Changes 1.6 -> 1.7
#
################################################################################
#
# Wed Feb 16 21:57:57 GMT+0100 1994
#
#	- Support for Canon Bubblejets (Bill - physics.purdue.edu!bcr)
#	- fixed nec resolution from 300 to 360 dpi in dvips part
#


################################################################################
#
# Changes 1.5 -> 1.6
#
################################################################################
#
# Sat Feb  5 13:10:33 GMT+0100 1994 (AKL)
#
#	rearranged this script to be an input filter
#	use if=/usr/local/bin/apsfilter in /etc/printcap
#	advantage: you can mix the file types in on command line
#			lpr postscript_file ascii_file ....
#		
# ------------------------------------------------------------------------------
#
# Sat Feb  5 13:29:24 GMT+0100 1994 (AKL)
#		
#	removed quit.ps, because it caused trouble for some people.
#
# ------------------------------------------------------------------------------
#
# Sat Feb  5 13:39:18 GMT+0100 1994 (AKL)
#
#	dvips: added useful command line options (see: section 10)
#
#	- run dvips in quiet mode
#	- print last page first for some printers
#	- compress bitmap fonts when resolution is greater or equal 400 dpi
#	- trying to set printer resolution for dvips && gs correctly
#
#	suggestion from: sar@beehive.mn.org (Steven A. Reisman)
#	set paper type for dvips && gs correctly
#
# ------------------------------------------------------------------------------
#
# Sat Feb  5 16:17:31 GMT+0100 1994 (AKL)
#
#	from: sch2@crux5.cit.cornell.edu (Stephen Hsieh)
#	      - cr/nl conversion needed for laserjets when printing ascii
#
################################################################################

Major changes since apsfilter-1.3:
---------------------------------
o I changed the copyright to the GPL, since in my first public 
  version it was to rigid. My fault .. but now everything is ok !

o Main feature in this version is a total rewrite of the configuration
  section that makes printer specific modifications very simple !
