[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: mandoc and/or groff bugs



Try printing something like the ipsec man page

	groff -man /usr/src/share/man/man4/ipsec.4 | lpr your-ps-printer

then look at the last paragraph.  It should read

     The IPSec protocol started in 1992, by John Ioannidis, Phil Karn and
     William Allen Simpson. In 1995, the former wrote an implementation for
     BSD/OS. Angelos D. Keromytis ported it to OpenBSD and NetBSD. The latest
     transforms and new features were implemented by Angelos D. Keromytis and
     Niels Provos.

The hard copy doesn't.  The words "IPSec", "BSD/OS.", and "OpenBSD"
are missing from the hard copy.  It seems mandoc and/or groff (don't
know which) can't handle ".Tn" and ".Ox" (among other things).

groff does fine when called via the nroff shell script to create the
man pages.

Also: the troff binary does not match the man page... the default output
is NOT postscript and the -Tps command line doesn't cause postscript
to be generated.

// marc