Subject: Re: how to get man not to use cat pages?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Mike M. Volokhov <mishka@intostroy.com>
List: netbsd-users
Date: 02/16/2006 20:19:34
On Thu, 16 Feb 2006 09:24:32 -0800 (PST)
"Jeremy C. Reed" <reed@reedmedia.net> wrote:

> On Thu, 16 Feb 2006, Mike M. Volokhov wrote:
> 
> > I believe you can got results by adjusting _subdir in /etc/man.conf
> > file. Please see man.conf(5) for details.
> 
> I didn't want to use man.conf for this (as I mentioned).
> 
> Maybe a command-line switch could be added to override the _subdir. If I 
> don't find an answer I will check latest groff source and maybe make a 
> patch and submit to groff developers.
> 
> (The reason I noticed this is that I am experimenting with custom 
> GROFF_TMAC_PATH and custom mdoc.local, but was not used because 
> preformatted cat pages were being used instead. Since I didn't want to use 
> man.conf, I just temporarily moved my cat man page out of the way.)

IMHO what you need that is changing mentioned subpaths from the command
line, just in a manner as it MANPATH (-M) does. Currently the list is
fetched from config only and strictly appended to the MANPATH, so you
cannot even set something like the following:

	/usr/share/man/man1:/usr/share/man/man8:/usr/share/man/man5:...

But in any case, GROFF_TMAC_PATH is not appropriate here.

--
Mishka.