Subject: Re: pkgsrc bootstrap manpages look weird on Solaris
To: None <>
From: Roland Illig <>
List: tech-pkg
Date: 12/03/2005 03:26:13 wrote:
> I've noticed this a long time ago, but didn't really bother to find out more...
> Basically when bootstrapping pkgsrc on Solaris, manpages for pkg_add, pkg_info,
> etc are installed. However doing 'man pkg_add' does not display the manpage
> properly, instead it shows it like a long string of words without any breaks or
> highlighting.
> Anyone knows why?

Because the Solaris nroff(1) cannot handle mandoc pages, but the man 
pages for the package tools are installed in that source format.

#! /bin/sh
exec groff -Tlatin1 -mandoc -P -c "$@" | exec less

That's what I am using. I've called the tool "lessman".