Subject: Re: Weird bash .profile and picky Xorg MANPATH
To: Jeremy C. Reed <reed@reedmedia.net>
From: Kosta Kilim <kopno@sdf.lonestar.org>
List: netbsd-users
Date: 05/11/2005 23:46:01
On Wed, May 11, 2005 at 12:14:21PM -0700, Jeremy C. Reed wrote:

> We don't have any automated way with pkgsrc for updating system /etc files
> (other than /etc/shells and creating users and groups). One of the
> often-mentioned strengths or goals of pkgsrc is that it doesn't touch /etc
> too much.

Thanks, point taken.

> > I would like it to set the Xorg's MANPATH so that I don't have to
> > specify anything extra apart from 'man' and the page I happened to be
> > looking for. How do I do that ?
> 
> Maybe manually edit your man.conf's _default entry to pre-pend
> /usr/pkg/xorg/man/ (or the path you need) so it will look there first.
> Maybe like:
> 
> _default /usr/pkg/xorg/man/ /usr/share/man/ /usr/pkg/man/ /usr/local/man/

The original entry looked like:

_default        /usr/{share,X11R6,pkg,local}/man/

to which I've appended /usr/pkg/xorg/man/ and now it just works. 

Great, thanks Jeremy, you are cool.