Le GNU a2ps
Known bugs in GNU a2ps
Yep, sometimes there are bugs in a2ps. I'm sorry about that. Thanks to all the people who help me to track and kill those nasty little extra features.
For contributions, you'd better go and get fresh versions of them here. For a2ps itself, maybe there is the patch you're looking for right below!
New bugs are listed first.
Cyrillic is not correctly printed
Previous versions of a2ps could directly print cyrillic. Since 4.12, it no longer does, because the fonts I was distributing are actually not covered by the GPL. The package a2ps has to be completely GPL, therefore the fonts have been extracted, and put into another package: i18n-fonts-0.1.tar.gz, available in the download area.
Please, help me improve this. There are several ways: let me know of any good GPL fonts, and/or improve the ease of installation of this auxiliary package. Please understand it hurts me not to let you print in your own language: I just don't have the choice...
configure fails under BSD
This is arguably a bug in ash. Run configure using bash, not ash (which is often the default /bin/sh).
Sripping comments does not produce good resuls
This is broken by design: i is not clear when an end-of-line should be removed or not. When printing mail, it should, while in other situations it shoudn't. No fix is ready, and the problem will be adressed in the future. Sorry for the delays...
Link fails complaining about multiply defined symbols
The problem is that the file lister.lo is given twice in lib/Makefile.in.
Apply the following patch in lib
--- Makefile.in.bak Fri Jul 23 17:29:46 1999 +++ Makefile.in Fri Jul 23 17:30:22 1999 @@ -202,7 +202,7 @@ signame$U.lo strverscmp$U.lo xmalloc$U.lo xstrdup$U.lo xstrtol$U.lo \ message$U.lo xstrrpl$U.lo getshline$U.lo pathwalk$U.lo darray$U.lo \ dstring$U.lo printlen$U.lo pair_ht$U.lo filtdir$U.lo str_ht$U.lo \ -title$U.lo xbackupfile$U.lo getnum$U.lo tterm$U.lo lister$U.lo \ +title$U.lo xbackupfile$U.lo getnum$U.lo tterm$U.lo \ addext$U.lo basename$U.lo getopt1$U.lo isdir$U.lo xgetcwd$U.lo \ xgethostname$U.lo LEXLIB = @LEXLIB@
a2ps: unknown medium `libpaper'
This is just another incarnation of the following bug.
a2ps.cfg and a2ps-site.cfg are shipped
rm -rf etc/*.cfg
--truncate-line does not work
The problem is in fact that I have inverted the reading of the
choice of the user, so ask
This patch fixes the problem.
--- lib/options.c~ Thu Jan 28 17:50:52 1999 +++ lib/options.c Wed Mar 17 15:54:19 1999 @@ -434,7 +434,8 @@ break; case 151: /* cut lines too large */ - job->folding = a2ps_get_boolean ("--truncate-lines", optarg); + job->folding = (a2ps_get_boolean ("--truncate-lines", optarg) + ? false : true); break; case 'C': /* line numbering */
fixps: sed: Unrecognized command: