🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #12695

4.0 man -k not scanning all whatis files

#12695
From: Paul O'Neill
Date: Tue, 09 May 1989 09:43
26 lines
1492 bytes
A workaround:  Just append all the whatis files together.

__________ TESTED __________

cd /usr/local/man

[ rm whatis ]			( if it's a link to /usr/share/man/whatis )
[ catman -w -M /usr/local/man ] 		( make local's own whatis )

cp -ip /usr/share/man/whatis /usr/share/man/whatis- ( in case you blow it )
cat whatis >> /usr/share/man/whatis  		( append to standard whatis )
mv whatis whatis-     				( keep a copy )
ln -s /usr/share/man/whatis whatis		( link to standard whatis )

__________ UNTESTED __________

If you do "catman -w" regularily from a cron job, look at modifying 
/usr/lib/makewhatis to append them all together.  Remove and touch
/usr/share/man/whatis first.  (Cron job 1 minute earlier?)  Make all 
other whatis's links to /usr/share/man/whatis.  Change "> whatis" to
">> whatis" in /usr/lib/makewhatis.

Paul O'Neill                 pvo@oce.orst.edu
Coastal Imaging Lab
OSU--Oceanography
Corvallis, OR  97331         503-754-3251
Technical Details
Message-ID: <8904270445.AA03015@sapphire.oce.orst.edu>
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: pvo1478@oce.orst.edu (Paul O'Neill)
Newsgroups: comp.sys.sun
Subject: 4.0 man -k not scanning all whatis files
Keywords: Software
Message-ID: <8904270445.AA03015@sapphire.oce.orst.edu>
Date: 9 May 89 09:43:14 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 26
Approved: Sun-Spots@rice.edu
Original-Date: Wed, 26 Apr 89 21:45:44 PDT
X-Sun-Spots-Digest: Volume 7, Issue 278, message 14 of 24