From nobody  Tue Sep 16 05:10:47 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) id FAA20515;
          Tue, 16 Sep 1997 05:10:47 -0700 (PDT)
Message-Id: <199709161210.FAA20515@hub.freebsd.org>
Date: Tue, 16 Sep 1997 05:10:47 -0700 (PDT)
From: thz@tuebingen.netsurf.de
To: freebsd-gnats-submit@freebsd.org
Subject: man fails to open manpage if ./man exists in current dir.
X-Send-Pr-Version: www-1.0

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 16 05:20:00 PDT 1997
>Closed-Date:    Sun Nov 15 14:18:22 PST 1998
>Last-Modified:  Sun Nov 15 14:19:05 PST 1998
>Originator:     Thomas Zenker
>Release:        2.2.1/2.2.2
>Organization:
Lennartz electronic
>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:

>Release-Note:
>Audit-Trail:

From: Thomas Zenker <thz@lennartz-electronic.de>
To: freebsd-gnats-submit@freebsd.org, thz@tuebingen.netsurf.de
Cc:  Subject: Re: bin/4553: man fails to open manpage if ./man exists in current dir.
Date: Wed, 11 Nov 1998 10:42:31 +0100

 This does not happen anymore on 2.2.7 nor on CURRENT-3.0.
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Nov 15 14:18:22 PST 1998 
State-Changed-Why:  
Closed at originator's request. 
>Unformatted:
