> I've just upgraded linux to a new version (The one on CD from
> "Linux unleashed". I have now come across a problem with man -k.
> This is what I get:
> >orange% man -k ls
> >fg: no job control
> >apropos: manpath is null
> >Error executing formatting or display command
> >System command exited with status 256
> But this is what I get from setenv | grep MANPATH:
> Does anyone know how to solve this?
The command 'man -k' I believe just runs a shell script called apropos.
this is my first attempt at "using the source, Luke." Apropos uses the
command manpath=`/usr/bin/man --path | tr :'\040'` to find where to look.
To check this at a command line, echo of this.
One thing to note about my man setup. I found a bug in the
/usr/lib/makewhatis script I have with my Slackware 18.104.22.168 setup. I
believe this is significant because it creates that whatis database files
that the man -k, apropos, whatis, and whereis scripts uses. Not all man
pages are included when first creating this set of whatis databases, nor
are they all updated when running updatedb. I am tracking down the
current maintainers of this script.
Related to all this are locate and updatedb (run from cron). In short, I
am trying to get these subsystems working correctly, and it's kind of a
struggle, because they are all inter-related. I almost got it now, except
for this makewhatis bug.
-- Speak only well of people and you need never whisper. - Fortune Cookie