1998-09-24  Akim Demaille  <demaille@inf.enst.fr>

	* m4/Makefile.am: New file.  Move all the m4 macros from auxdir/
 	to m4/.

1998-09-21  Akim Demaille  <demaille@inf.enst.fr>

	* arch/os2/Makefile.am (EXTRA_DIST): Renamed config.h as
 	config.h.os2.

1998-09-18  Akim Demaille  <demaille@inf.enst.fr>

	* auxdir/help2man.PL: Updated.

	* doc/Makefile.am: No longer generate man pages.

	* man/Makefile.am (a2ps.1): Set LC_ALL to C.
	(psmandup.1): Likewise.
	(fixps.1): Likewise.
	(pdiff.1): Likewise.
	(card.1): Likewise.
	Reported by Joachim Backes.

	* man: New directory, modeled after that of the fileutils.

1998-09-17  Akim Demaille  <demaille@inf.enst.fr>

	* configure.in: No longer make special case for getopt.

Fri Mar  6 13:32:25 1998  Akim Demaille  <demaille@inf.enst.fr>

	* Release 4.9.10.  Yupee!

Wed Mar  4 17:18:07 1998  Akim Demaille  <demaille@inf.enst.fr>

	* Alpha release 4.9.9k.

Tue Mar  3 18:54:17 1998  Akim Demaille  <demaille@inf.enst.fr>

	* Alpha release 4.9.9j.

Mon Mar  2 10:50:02 1998  Akim Demaille  <demaille@inf.enst.fr>

	* Alpha release 4.9.9i.

Mon Feb 23 15:50:22 1998  Akim Demaille  <demaille@inf.enst.fr>

	* Alpha release 4.9.9f.

Wed Feb 18 19:28:00 1998  Akim Demaille  <demaille@inf.enst.fr>

	* Alpha release 4.9.9e.

Fri Feb 13 14:40:41 1998  Akim Demaille  <demaille@inf.enst.fr>

	* Alpha release 4.9.9d.

Wed Feb 11 15:14:37 1998  Akim Demaille  <demaille@gargantua.enst.fr>

	* Released 4.9.9c.

Thu Jan 29 18:40:26 1998  Akim Demaille  <demaille@gargantua.enst.fr>

	* configure.in: use ad_FUNC_GNU_GETOPT.

Wed Sep 17 11:45:28 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* configure.in: Added AC_FUNC_STRCOLL, which will be used by
 	glob.[ch].

Tue Sep  9 19:03:36 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* configure.in: Modification of a2ps.cfg is handled in etc/Makefile.

Fri Jul 25 15:28:24 1997  Akim Demaille  <demaille@inf.enst.fr>

	* config.h.in: Removed the now unecessary #define for PARAMS and
 	___P.

Wed Jul  9 15:26:36 1997  Akim Demaille  <demaille@inf.enst.fr>

	* all: Standardized the error messages (in particular, "cannot do
 	something", no longer "couldn't do" nor "unable to", nor "could
 	not do").

Fri Jul  4 14:33:29 1997  Akim Demaille  <demaille@inf.enst.fr>

	* configure.in: REPLACE_FUNC strtoul, absent on SunOS cc.

Thu Jul  3 12:56:05 1997  Akim Demaille  <demaille@inf.enst.fr>

	* *.*: Has remarked by Turgut Uyar, media is yet plurial!  Changed
 	everywhere.

Wed Jun 18 12:34:51 1997  Akim Demaille  <demaille@inf.enst.fr>

	* ogonkify.m4: New macros to check if ogonkify can be installed
 	(depends on perl), and is desired.

	* configure.in: More robust tests for portability.

Wed Apr 16 12:11:25 1997  Akim Demaille  <demaille@inf.enst.fr>

	* Makefile.am (SUBDIRS): Changed the order so that painful info
 	problems at install can be easily avoided.

Fri Apr 11 14:26:38 1997  Akim Demaille  <demaille@inf.enst.fr>

	* NEWS: Release of 4.8.

Sun Apr  6 20:31:37 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* file.m4: Fixed a bug which caused an extra blank in the file
 	command, which could break the call to file.

Thu Feb 13 19:49:06 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* lib/: better support of non ANSI platforms.
	* src/: less globals.
	* src/medias.h, src/medias.c: new files.

Sat Feb  8 17:24:21 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/styles??.m4: Use of $ are the symbol for eol, instead
	  of hard-coded \n (bad with Mac which closes with \r).
	
Fri Feb  7 18:45:19 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/styles.c.in: split in several files.
	* src/postscript.c (print_file): handling of cut by the main loop.

Tue Feb  4 20:42:25 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/report.c: fixed report wrt to new font schemes.

	* src/buffer.c (mygetc): Moved grabbing of tags in here.
	* src/postscript.c (print_file) No more dealing with font
	  and "true font".  Everything is handled by buffer.c

Sat Feb  1 17:46:14 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/style-utils.c (sort_keywords): precalculate the arrays
	  min and max which correspond to the first and last keyword
	  in the array that begin with the char which is the index of
	  the array.
	* src/style-utils.c (sort_regulars): Idem.
	* src/style-utils.c (sort_specials): Idem.

	* src/buffer.c: simplified thanks to the six above arrays.

Fri Jan 31 19:55:12 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/style-util.c: Different handling of alternatives
	  in the sequences.
	* src/buffer.c (is_sequence_begin): Now in the sequences,
	  close_font is attached to its closer.

	* src/styles.c.in: removed old syntax of closing alternatives.

Tue Jan 28 19:27:35 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/routines.c (list_suffixp): New function.
	* src/main.c (list_features): Lists the prologues.

	* src/postscript.c (start_sheet): job->margin handled.

	* src/main.c (guess_language): Use of readpipe for speed
	  improvement.

Sun Jan 26 21:19:09 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* postscript.c: job->strip handled, but not enough.

Tue Jan 21 19:16:27 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/jobs.[ch], src/postscript.c (job->statusdict,
 	job->pagedevice): new variable.
	* src/main.c: support of the two previous through -D and -S.

Sun Jan 19 18:31:08 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/postscript.c (print_file): introduced true_font to
	  avoid bugs because of "virtual information" in fonts,
	  such as TAG1 etc.

	* src/main.c: news options --margin, --strip-comments
	* src/postscript.c, routines.c, styles.c: changed handling
	  of tags to something more uniform.
	* src/jobs.c, jobs.h: more rigorous handling of the
	  information related to files/print job.
	* output.c, output.h: new files, in charge with the second
	  pass.
	* doc/mika.texi: updated.
	* doc/mika.1, doc/prescript.1: no longer distributed.

Sun Jan  5 17:29:39 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/postscript.c, misc/a2ps.pro: redesigned the definition
	of the fonts (to be more flexible).
	* misc/pcg.enc: now fully supported.

	* misc/a2ps.pro: prepared for color.
	* misc/gray.pro: prolog with gray shades.
	
Sat Jan  4 15:37:12 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/postscript.c, misc/a2ps.pro: uniformization of the variable
 	names.
	* src/postscript.c: fixed problems with counting of pages/sheets. 

Fri Jan  3 17:59:36 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/postscript.c: now a2ps respects the drawing area.
	* src/a2ps.c (handle_options): more predefined layouts.

Thu Jan  2 19:27:01 1997  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/postscript.c: moved more definitions in the document Setup.
	* src/postscript.c: in the ps, orientation is invisible (i.e.,
	  the sheet width is the paper height in landscape etc.).
	* src/a2ps.c (handle_options): new options --columns, --rows.

Tue Dec 31 15:55:49 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/postscript.c: More than two virtual pages may be used.
	* src/postscript.c (clean_up): fixed.

	* configure.in: got closer to GNU directories.  Used libit.
	* src/routines.c (xgethostname): replaces get_host.
	* src/a2ps.c: $HOME is used for .a2psrc, instead of id->pwdir.

Sun Dec 29 19:34:17 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/postscript.c: Fixed DSC compliance.
	* lib/a2ps.pro: DSC compliance.

Sat Dec 21 13:40:03 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* src/routines.c (format_usr_string): introduced `%?'.

Thu Dec 19 16:34:39 1996  Akim Demaille  <demaille@esmeralda.enst.fr>

	* buffer.c (is_sequence_open, is_sequence_close): implemented a
 	more general scheme for sequences.
	* styles.c.in (fortran_mode, mail_mode): use of '^' specificator.
	
Wed Dec 18 19:15:48 1996  Akim Demaille  <demaille@quasimodo.enst.fr>

	* buffer.c: prepared the matching sequences

Wed Dec 18 12:01:42 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* buffer.c: improved management of alphabets.
	* configure.in: fixed a problem when no${prefix} is given.

Mon Dec 16 17:17:48 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* buffer.c: used getline instead of "sliding buffers".  It should
 	make Fortran comments easier.

Sun Dec 15 18:23:48 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* libc/: added getline.

Sat Dec 14 19:12:10 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* lib/a2ps.pro (cfshow): new function.
	* lib/a2ps.pro (hp): position and size of center title fixed.
	* src/postscript.c (print_sheet_prologue): simplified.

Wed Dec 11 19:00:33 1996  Akim Demaille  <demaille@esmeralda.enst.fr>

	* postscript.c: fixed prefix_size.

	* postscript.c: fixed handling of twinfiles.

	* postscript.c: fixed handling of wx of escaped strings.
	* a2ps.c (handle_options): fixed handling of --non-printable.
	
Sun Dec  8 19:09:55 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* postscript.c (print_sheet_prologue) fixed the handling of water
 	  marks.
	* a2ps.texi: added chapter on pretty printing.

Fri Dec  6 18:25:07 1996  Akim Demaille  <demaille@quasimodo.enst.fr>

	* a2ps.c, postscript.c: dynamic headers are fixed.
	* a2ps.c: orientation may be implied by number of pages
	  per sheet (unless specified).
	
Fri Dec  6 13:46:22 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* a2ps.c (main): made full use of library path.

Tue Dec  3 18:41:29 1996  Akim Demaille  <demaille@folcoche.enst.fr>

	* a2ps.c: handling of the headers (hanlde_options) is now finished
 	---I hope.
	* src/postscript.c, lib/a2ps.pro: water is given the angle to
 	follow.
	* routines.h (IS_EMPTY): fixed a problem.

Mon Dec  2 17:35:53 1996  Akim Demaille  <demaille@esmeralda.enst.fr>

	* src/a2ps.c (handle_option): use of GNU getopt.

	* src/a2ps.c (list_options): separated from --version.

	* src/afm.c: handling of WX's goes through a table, to improve
 	speed.
	
Fri Nov 29 09:31:20 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* postscript.c (print_prologue): now the media used is specified
	  in the PS prologue.

	* afm.c: added mac and latin2 encodings.  PS support is needed
	  in order to use them --to do.

	* configure.in: added tests on "uchar", supposed to be unsigned
	  char, unless char is unsigned.  Most src's are adapted to uchar.

Wed Nov 27 18:43:41 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* everyfile: the handling of the various options is no longer
	  dynamic, hence many "new_" variables were killed.

	* postscript.c: better PostScript prologue.  Most variables
	  in common with a2ps.c is shared through the struct print_job.

	* a2ps.pro: less variables, more stack management.

Sun Nov 24 20:48:37 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* everyfile: Used a more general scheme for the handling of
	date, footers etc.

Thu Nov 21 17:22:29 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* a2ps.c: (main) reading a2psrc files (system's, home's, and
	./'s).
	* routines.c: (path_walk, paste_file, xstrdup, xmalloc, xfree,
	message, file_lookup, file_existsp) new functions, stolen
	from GNU enscript.
	* report.c: uses library files instead of big printfs.
	* postscript.c: uses library files.
	* configure.in: configuration time options are useless, since
	a2psrc is --at last-- born.

Mon Nov 18 19:06:17 1996  Akim Demaille  <demaille@quasimodo.enst.fr>

	* xmalloc.c: new file. Stollen from GNU enscript.

	* routines.c (fatal, error): new functions. Every error msg has
 	been check and uses errno when possible.

	* po/, intl/: updated to GNU gettext-0.10.24

Sun Nov 17 17:20:43 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* postscript.c, main.c: Dates are I16ed.

-Sat Nov 16 17:37:57 1996  Akim Demaille  <demaille@gargantua.enst.fr>

	* postscript.c Header and footer better suported (parenthesis
 	etc.). 
	* styles.c.in (prescript_tyle) Added support for \footer and
 	\header.
	* report.c (report, report_language) Defined dynamic header and
 	footer).

	* configure.in Fixed bug with --enable-print-default

Fri Nov 15 11:42:28 1996  Akim Demaille  <demaille@candide.enst.fr>

	* postscript.c Introduced new font modifiers: HEADER and FOOTER
 	that allows to define footer and header on-the-fly, from the file.
  	* styles.c.in (mail_style) Added HEADER and FOOTER to sequences on
 	Subject and From.
	
Wed Nov 13 12:40:42 1996  Akim Demaille  <demaille@esmeralda.enst.fr>

	* NLS supported with GNU gettext.

	* Keywords, Symbols are now sorted.

	* Changed the encoding of the fonts in the style sheet base.

	* (routines.c, a2ps.c) When style is mailfolder, use subject and
	sender as header and footer.
	
 Edit history:							

 1) Derived of shell program written by evan@csli (Evan Kirshenbaum).	
    Written in C for improve speed execution and portability. Many	
    improvements have been added.					

 Fixes by Oscar Nierstrasz @ cui.uucp:				
 2) Fixed incorrect handling of stdin (removed error if no file names)
 3) Added start_page variable to eliminate blank pages printed for	
	files that are exactly multiples of 132 lines (e.g., man pages)	

 Modified by santana@imag.fr:						
 4) Added new options at installation : sheet format (height/width in	
    inches), page format (number of columns per line and of lines per	
    page).								

 Modified by santana@imag.fr:						
 5) Added new option to print n copies of a same document.		
 6) Cut long filenames if don't fit in the page header.		

 Modified by Tim Clark (T.Clark@warwick.ac.uk):			
 7) Two additional modes of printing (portrait and wide format modes)	
 8) Fixed to cope with filenames which contain a character which must	
    be escaped in a PostScript string.				

 Modified by santana@imag.fr to					
 9) Added new option to suppress heading printing.			
 10) Added new option to suppress page surrounding border printing.	
 11) Added new option to change font size. Lines and columns are	
     automatically adjusted, depending on font size and printing mode	
 12) Minor changes (best layout, usage message, etc).			

 Modified by tullemans@apolloway.prl.philips.nl			
 13) Backspaces (^H) are now handled correctly.			

 Modified by Johan Vromans (jv@mh.nl) to				
 14) Added new option to give a header title that replaces use of	
     filename.							

 Modified by craig.r.stevenson@att.com to				
 15) Print last modification date/time in header                      
 16) Printing current date/time on left side of footer (optional)	

 Modified by erikt@cs.umu.se:						
 17) Added lpr support for the BSD version				
 18) Added som output of pages printed.				

 Modified by wstahw@lso.win.tue.nl:					
 19) Added option to allowing the printing of 2 files in one sheet	

 Modified by mai@wolfen.cc.uow.oz					
 20) Added an option to set the lines per page to a specified value.	
 21) Added support for printing nroff manuals				

 Modified by santana@imag.fr						
 22) Integration of changes.						
 23) No more standard header file (printed directly by a2ps).		
 24) New format for command options.					
 25) Other minor changes.						

 Modified by Johan Garpendahl (garp@isy.liu.se) and santana@imag.fr:	
 26) Added 8-bit characters printing as ISO-latin 1 chars		

 Modified by John Interrante (interran@uluru.stanford.edu) and	
 santana@imag.fr:							
 27) Two pages per physical page in portrait mode			

 Modified by santana@imag.fr:						
 28) New option for two-sided printing				
 29) Several fixes							

 Modified by Chris Adamo (adamo@ll.mit.edu) and			
     Larry Barbieri (lbarbieri@ll.mit.edu) 3/12/93			
 30) Output format enhancements.					
 31) Added login_id flag (for SYSV and BSD only) for printing user's	
     login ID at top of page.  Added command line parameter (-nL) to	
     suppress this feature.						
 33) Added filename_footer flag for printing file name at bottom	
     of page.  Added command line parameter (-nu) to suppress this	
     feature.								
 34) Added -B (-nB) options to enable (disable) bold font		

 Modified by santana@imag.fr:						
 35) Adapted to respect Adobe conventions for page independence. A2ps	
     output can be now used by other Postscript processors.		
 36) Names of most postscript variables have been coded in order to	
     reduce the size of the output.					
 37) Ansi C compilers are now automatically taken into account.	
 38) Enhanced routine for cutting long filenames			 
 39) Added -q option to print files in quiet mode (no summary)	
 40) Fixed some little bugs (counters, modification time for stdin,	
     character separator when printing line numbers and cutting a	
     line).								
 41) Some minor changes (new preprocessing variables, formatting)	

 Modified by Emmanuel Briot (Emmanuel.Briot@enst-bretagne.fr)         
 42) Made keyword Highligting mode                      		

 Modified by Akim Demaille (demaille@inf.enst.fr)                     
 43) Fixed line numbering, folding, managing of strings and escapes	
 44) Added alphabet, case sensitiveness, symbol translation (-t, -nt)	
 45) Added -L, -nk, -u<txt>, and made -k, -nH, -i, -ni positionnnal	
 46) Sequences now have three fonts (open, in, close)			
 47) Changed handling of exceptions (e.g. \", \\, etc.)		
 48) Small fix to allow print without LPR_OPT and with LPR_DEST_OPT	
 49) Introduced options -V, -a, -o, -W, -G and -k(none)		
 50) Added a "window" to the buffer to ensure that keywords, even at	
     the edge of the buffer, are recognized				
 51) Manage the real length (WX field in afms) of chars        	
 52) fread is used instead of fgets: \0 no longer ends the line	
 53) tabs in ps are "absolute": they always correspond to Courier	
 54) text footer now is `relative' (i.e. it is affected by MARGIN)
 55) Change the architecture: behavior
 56) Introduced a general scheme for various char encodings
   * Tried as hard as I could to have the shortest number possible
   	of warnings with a strict compiler.

	* Form feed handeling changed so that
	- the line numbering is exactely the same as Emacs or
	  others would have done (i.e. number of previous \n plus one)
	- a form feed immediately followed by a new line won't appear
	  as a blank line at the beginning of the next page
	- every formfeed is correctly handled (even if there two
	  adjacent \f).
	
