groff alternative?

Peter Jeremy PeterJeremy at optushome.com.au
Fri Apr 29 13:00:41 PDT 2005


On Fri, 2005-Apr-29 00:55:41 +0100, Alex Zbyslaw wrote:
>Since no-one had a sensible answer, why not try a version of original 
>nroff from say 4.3BSD.  Hunting around, I found this: 
>http://www.tuhs.org/.  Hopefully the most used macros will have stayed 
>the same.

Actually, they haven't.  The FreeBSD man pages are written using mdoc(7),
not man(7).  The current version of mdoc(7) in FreeBSD needs long names -
which are supported by ditroff and groff but not the older nroff.

I don't believe the nroff in either 4.3BSD or 2.11BSD can support long
names and neither include a mdoc(7) implementation.  4.4BSD includes
mdoc(7) but also GNU groff - though a quick look at the tmac.mdoc*
files suggests that it might work with an old (4.3 or 2.11) nroff.

If you're only worried about ports, most of those will use man(7), not
mdoc(7) - though there are probably a few that use mdoc(7).

-- 
Peter Jeremy


More information about the freebsd-current mailing list