From owner-freebsd-questions@FreeBSD.ORG Thu Jul 13 20:21:54 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 460C916A4DF for ; Thu, 13 Jul 2006 20:21:54 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from cloud.he.net (cloud.he.net [65.19.145.2]) by mx1.FreeBSD.org (Postfix) with SMTP id A982243D55 for ; Thu, 13 Jul 2006 20:21:52 +0000 (GMT) (envelope-from dpchrist@holgerdanske.com) Received: from p31000 ([64.142.42.103]) by cloud.he.net for ; Thu, 13 Jul 2006 13:21:50 -0700 From: "David Christensen" To: Date: Thu, 13 Jul 2006 13:25:04 -0700 Message-ID: <000f01c6a6ba$6d1d4340$0a10a8c0@holgerdanske.local> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: Acamk+3/J9JfIiU2SdWyUZLmlEg6EgAJDcUg In-Reply-To: <20060714014823.c4d0b759.nick@nickwithers.com> Subject: RE: 6.1-RELEASE-i386 man broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 20:21:54 -0000 freebsd-questions: Nick Withers wrote: > Unfortunately (or at least as I understand it), the contents of > "/etc/manpath.config" don't matter if you have the "MANPATH" > environment variable set. Did you happen to set this yourself > (i.e., explicitly)? Yes: 2006-07-13 13:09:50 dpchrist@k62350 ~ $ grep MANPATH .* .bash_history:echo $MANPATH .bash_profile: MANPATH=$MANPATH:$HOME/cvs/man .bash_profile: MANPATH=$MANPATH:$HOME/man .bash_profile: MANPATH=$MANPATH:$HOME/share/man .bash_profile:export MANPATH=:$HOME/local/man 2006-07-13 13:09:58 dpchrist@k62350 ~ $ echo $MANPATH :/home/dpchrist/local/man I use the same .bash_profile and .bashrc everywhere, with conditionals for various platforms and configurations. Tightening up the conditionals, logging out, and logging in again: 2006-07-13 13:12:55 dpchrist@k62350 ~ $ echo $MANPATH 2006-07-13 13:12:56 dpchrist@k62350 ~ $ manpath /usr/share/man:/usr/local/man:/usr/X11R6/man:/usr/share/openssl/man: /usr/local/lib/perl5/5.8.8/man:/usr/local/lib/perl5/5.8.8/perl/man 2006-07-13 13:12:59 dpchrist@k62350 ~ $ man man Fixed! Micah wrote: > That's where http://www.freebsd.org/cgi/man.cgi comes in handy Yes, that's useful. Matthew Seaman wrote: > Please read what I wrote more carefully. To summarize: don't set > $MANPATH in your environment, and the man(1) command will work > correctly. Now I understand: > The environment variable MANPATH should in general not be set, as > that will override the effects of /etc/manpath.config. Thanks everyone for your help. :-) David