Re: manpath: /usr/local statt /usr bevorzugen?

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Thu, 16 Feb 2006 17:41:35 +0100 (CET)

Volker Stolz <stolz(at)i2.informatik.rwth-aachen.de> wrote:
> Oliver Fromme <olli(at)lurza.secnetix.de>:
> > Wie sieht Dein $PATH aus?
> > Hast Du an /etc/manpath.config irgendwas geändert?
>
> MANPATH ist nicht gesetzt, im PATH ist nichts besonderes,

Das habe ich nicht gefragt. Wie sieht Dein $PATH aus? Wenn
Du »echo "$PATH"« eingibst, was erscheint auf dem Bildschirm?

> auch eine nagelneu
> manpath.config ändert nichts (die Debugging-Ausgabe bezog sich auf eine Konfig,
> wo ich lediglich durch umsortieren versucht habe, es hinzubekommen).

Die Reihenfolge in manpath.config ist egal. Es kommt auf die
Reihenfolge in $PATH an (daher frage ich danach), was ja auch
sinnvoll ist.

> Zeig mir doch mal Dein "man -d foo", wenn es bei Dir geht :)

Gerne.

$ PATH=/home/olli/bin:/usr/local/bin:/bin:/usr/bin
$ cp /usr/share/man/man1/cvs.1.gz /home/olli/man/man1
$ man -d cvs

using less as pager

using i386 architecture
found mandatory man directory /usr/share/man
found mandatory man directory /usr/share/perl/man
found mandatory man directory /usr/share/openssl/man
found optional man directory /usr/local/man
found optional man directory /usr/X11R6/man
found manpath map /bin --> /usr/share/man
found manpath map /usr/bin --> /usr/share/man
found manpath map /usr/local/bin --> /usr/local/man
found manpath map /usr/X11R6/bin --> /usr/X11R6/man

path directory /home/olli/bin is not in the config file
but it does have a man or MAN subdirectory
adding /home/olli/man to manpath

path directory /usr/local/bin is in the config file
adding /usr/local/man to manpath

path directory /bin is in the config file
adding /usr/share/man to manpath

path directory /usr/bin is in the config file
/usr/share/man is already in the manpath

adding mandatory man directories

/usr/share/man is already in the manpath
adding /usr/share/perl/man to manpath
adding /usr/share/openssl/man to manpath
/usr/local/man is already in the manpath
adding /usr/X11R6/man to manpath

search path for pages determined by manpath is
/home/olli/man:/usr/local/man:/usr/share/man:/usr/share/perl/man:/usr/share/openssl/man:/usr/X11R6/man

adding /home/olli/man to manpathlist
adding /usr/local/man to manpathlist
adding /usr/share/man to manpathlist
adding /usr/share/perl/man to manpathlist
adding /usr/share/openssl/man to manpathlist
adding /usr/X11R6/man to manpathlist

searching in /home/olli/man
trying section 1 with globbing
globbing /home/olli/man/man1/cvs.1*
to_name in convert_name () is: /home/olli/man/cat1/cvs.1.gz
will try to write /home/olli/man/cat1/cvs.1.gz if needed
status from is_newer() = -2
Read access denied for file /home/olli/man/man1/cvs.1.gz
using default preprocessor sequence
found tbl(1) directive
Couldn't open /home/olli/man/cat1/cvs.1.gz.tmps2aLSd for writing.
using default preprocessor sequence
found tbl(1) directive

trying command: (cd /home/olli/man ; /usr/bin/zcat /home/olli/man/man1/cvs.1.gz | /usr/bin/tbl | /usr/bin/groff -S -Wall -mtty-char -man -Tascii | /usr/bin/col | less)
$

Gruß
   Olli

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"C is quirky, flawed, and an enormous success."
        -- Dennis M. Ritchie.
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 16 Feb 2006 - 17:42:49 CET

search this site