Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!tut!eero From: eero@tut (Pajarre Eero) Newsgroups: comp.sys.apollo Subject: Re: Unix apropos command? Message-ID: Date: 3 May 90 19:52:02 GMT References: <9005031842.AA19068@orpheus.stanford.edu> Sender: News@tut.fi Organization: /home/kaarne-a/eero/.organization Lines: 36 In-reply-to: jinchi@ORPHEUS.STANFORD.EDU's message of 3 May 90 18:42:56 GMT In article <9005031842.AA19068@orpheus.stanford.edu> jinchi@ORPHEUS.STANFORD.EDU (Jinchi Chu) writes: On May 3, 12:10pm, David Krowitz wrote: << Subject: Unix apropos command? > > Anyone have an idea why my SR10.2 system's "apropos" command > does not have any information about any topic whatsoever when > run from a BSD4.3 C-shell? My other Unix based systems (Alliant, > Sun) seem to have a reasonable database of 'apropriate' information. > You need to have the file /usr/man/whatis, although I don't know why it is not on Apollo systems. Just copy one from another system. ------------ The /usr/man/whatis database can be generated from man pages by running /usr/lib/makewhatis. The apollo suplied makewhatis (we are running sr10.2) doesn't handle apollo specific manual pages (/usr/man/mana) correctly. It is easy to fix because it is just a ksh-script. Add the following line -o "$line" = "SYNOPSIS (C)"\ after line [ "$line" = "SYNOPSIS" \ You must of course have write access to /usr/man to run makewhatis succesfully Eero Pajarre -- ------------------------------------------------------------------------------ Eero Pajarre eero@tut.fi tel: +358-31-162189 Tampere University of Technology fax: +358-31-162913 PO Box 527, SF-33101 Tampere, FINLAND ------------------------------------------------------------------------------