Date: Tue, 16 Sep 1997 05:10:47 -0700 (PDT) From: thz@tuebingen.netsurf.de To: freebsd-gnats-submit@FreeBSD.ORG Subject: bin/4553: man fails to open manpage if ./man exists in current dir. Message-ID: <199709161210.FAA20515@hub.freebsd.org> Resent-Message-ID: <199709161220.FAA20851@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4553 >Category: bin >Synopsis: man fails to open manpage if ./man exists in current dir. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 16 05:20:00 PDT 1997 >Last-Modified: >Originator: Thomas Zenker >Organization: Lennartz electronic >Release: 2.2.1/2.2.2 >Environment: FreeBSD mezcal.tue.le 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #5: Mon Sep 15 14:36:54 MET DST 1997 thz@mezcal.tue.le:/usr/src/sys/compile/MEZCAL i386 >Description: /usr/bin/man man failes to open the man page if it exists in ./man/manX/manpage.X but not in ./man/catX/manpage.X.gz Obviously it happens because man changes into the directory ./man itself. I didn't verify why there is such a relative directory in the man search path (manpath shows "....:./man:..." last (the offending) line of the output of man -d bpool: "trying command: (cd ./man ; /bin/cat ./man/man3/bpool.3 | /usr/bin/tbl | /usr/bi n/groff -Wall -mtty-char -Tascii -man | /usr/bin/col | /usr/local/bin/less) this will never work, because we are searching in ./man/man/man3 >How-To-Repeat: Create a man directory structure in the current directory, create a manpage in man/man3/mymanpage.3, do a man mymanpage. >Fix: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709161210.FAA20515>