Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2000 11:18:44 -0500 (EST)
From:      Thomas Good <tomg@mailhost.nrnet.org>
To:        Daniel Bye <Daniel.Bye@uk.uu.net>
Cc:        FBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Man Page Mystery
Message-ID:  <Pine.LNX.4.10.10011091109270.31242-100000@mailhost.nrnet.org>
In-Reply-To: <FB7CAC781DB6D311BEE800805FE6FADA2F4D75@camexch4.cam.uk.internal>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 Nov 2000, Daniel Bye wrote:

> What does your $MANPATH look like?  Chances are, the directory
> where the "missing" man pages live is not in it.  Modify it in 
> your shell's start up file.  Syntax depends on the shell, but 
> look for how $PATH is added to for a guide.
> 
> Dan

Hi Dan,

Well your post pointed me in the right direction.  I generally
set my MANPATH in /etc/profile, as I need to append the location
of my postgres man pages.

So echo $MANPATH clearly showed that my hack was overriding something.
$ echo $MANPATH
:/usr/local/pgsql/man

It turned out there is a binary I never know existed: 
/usr/bin/manpath which reads /etc/manpath.config
Adding a line to this file and removing my hack to /etc/profile
restored man page access.
OPTIONAL_MANPATH                    /usr/local/pgsql/man

BTW, echo $MANPATH now returns:


Interesting, eh?
Tom

> Hi...this is a very dumb question but I am at a loss.
> 
> man $whatver
> returns:
> No manual entry for $whatever
> 
> Obviously the man pages are sitting in /usr/share/man*
> And equally obviously they are gzipped.
> I can tap on them in midc and read them.
> 
> How do I get man to read them?  Am I missing some arcane arg?
> Can't find any reference to this in the Handbook or Greg's book.
> 
> Thanks much,
> Tom
> --------------------------------------------------------------------
>                SVCMC - Center for Behavioral Health                  
> --------------------------------------------------------------------
> Thomas Good                          tomg@ { admin | q8 } .nrnet.org
> IS Coordinator / DBA                 Phone: 718-354-5528 
>                                      Fax:   718-354-5056  
> --------------------------------------------------------------------
> Powered by:  PostgreSQL     s l a c k w a r e          FreeBSD:
>                RDBMS       |---------- linux      The Power To Serve
> --------------------------------------------------------------------
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


--------------------------------------------------------------------
               SVCMC - Center for Behavioral Health                  
--------------------------------------------------------------------
Thomas Good                          tomg@ { admin | q8 } .nrnet.org
IS Coordinator / DBA                 Phone: 718-354-5528 
                                     Fax:   718-354-5056  
--------------------------------------------------------------------
Powered by:  PostgreSQL     s l a c k w a r e          FreeBSD:
               RDBMS       |---------- linux      The Power To Serve
--------------------------------------------------------------------



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10011091109270.31242-100000>