🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #12307

man -k not scanning all whatis files

#12307
From: Ron Stanonik
Date: Wed, 26 Apr 1989 09:38
19 lines
1350 bytes
We're running sunos 4.0.1 on sun4's.

We've got several groups of software, and decided to use the MANPATH
environment variable to keep the man pages from each group with the
software, rather than cram all the man pages from all the groups into
/usr/man/manl.  man works as expected; ie, searches each of the man
hierarchies specified by MANPATH.

man -k however, seems to quit searching hierarchies after finding a match.

For example, we have a local program for listing who's on, and we have a
man page in /usr/local/man/man1, and we've made the whatis for
/usr/local/man, but "man -k who" only finds man pages in /usr/man.

Fortunately, the 4.3bsd man does search all of the hierarchies specified
in MANPATH.  Not having sun sources, I've no idea what the sun man does.

Ron Stanonik
stanonik@nprdc.navy.mil
Technical Details
Message-ID: <8904101819.AA21870@atlantic.nprdc.navy.mil>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: stanonik@nprdc.navy.mil (Ron Stanonik)
Newsgroups: comp.sys.sun
Subject: man -k not scanning all whatis files
Keywords: Software
Message-ID: <8904101819.AA21870@atlantic.nprdc.navy.mil>
Date: 26 Apr 89 09:38:37 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 19
Approved: Sun-Spots@rice.edu
Original-Date: 10 April 1989 1119-PDT (Monday)
X-Sun-Spots-Digest: Volume 7, Issue 255, message 15 of 16