[comp.sys.sun] man -k not scanning all whatis files

stanonik@nprdc.navy.mil (Ron Stanonik) (04/26/89)

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