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

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Mon, 20 Feb 2006 14:22:53 +0100 (CET)

Volker Stolz <stolz(at)i2.informatik.rwth-aachen.de> wrote:
> * Oliver Fromme <olli(at)lurza.secnetix.de>:
> > searching in /home/olli/man
> > trying section 1 with globbing
> > globbing /home/olli/man/man1/cvs.1*
>
> Bzzt. In /home/stolz/man finde ich auch was, bevor ich es in /usr/man o.ä. finde, s.u.
> Der große Preis heißt aber immer noch "/usr/local vor /usr".

Nö, das funktioniert exakt genauso. Ich hatte in obigem
Test mein Home statt /usr/local genommen, weil ich in
letzterem nicht rumpfuschen wollte, nur um Dir nochmal
die Ausgabe von »man -d« zu präsentieren.

Es funktioniert aber mit /usr/local definitiv genauso;
ich hatte das vorher schonmal probiert.

> stolz(at)menelaos [18:24:52]> echo $PATH
> /home/stolz/bin:/home/stolz/FreeBSD/bin:/home/stolz/FreeBSD/sbin:/sbin:/bin:/usr/sbin:/usr/local/bin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/staroffice7.0/program:/usr/local/intel_cc_80/bin:/usr/X11R6/bin:/home/stolz/bin

Sieht OK aus. Gemäß dieser PATH-Reihenfolge wird
manpath(1) zuerst Dein Home, dann /usr/share/man,
dann /usr/local/man nehmen.

> ------->
> searching in /home/stolz/man
> trying section 1 with globbing
> globbing /home/stolz/man/man1/hugs.1*
> found ultimate source file /home/stolz/man/man1/hugs.1
> to_name in convert_name () is: /home/stolz/man/cat1/hugs.1.gz
> will try to write /home/stolz/man/cat1/hugs.1.gz if needed
> status from is_newer() = -2
> Read access denied for file /home/stolz/man/man1/hugs.1
> using default preprocessor sequence
> found tbl(1) directive
> mode of /home/stolz/man/cat1/hugs.1.gz.tmpBLd2bY is now 644
> Formatting page, please wait...
> trying command: (cd /home/stolz/man ; /usr/bin/tbl /home/stolz/man/man1/hugs.1 | /usr/bin/groff -S -Wall -mtty-char -man -Tascii | /usr/bin/col | /usr/bin/gzip -c)
> No output, debug mode.
> using default preprocessor sequence
> found tbl(1) directive
>
> trying command: (cd /home/stolz/man ; /usr/bin/tbl /home/stolz/man/man1/hugs.1 | /usr/bin/groff -S -Wall -mtty-char -man -Tascii | /usr/bin/col | more -s)

Das ist das erwartete Verhalten.

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.
"That's what I love about GUIs: They make simple tasks easier,
and complex tasks impossible."
        -- John William Chambless
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 20 Feb 2006 - 14:25:38 CET

search this site