Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
man works, man -k doesn't
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
woodm
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2002
Posts: 75

PostPosted: Wed Oct 02, 2002 6:50 pm    Post subject: man works, man -k doesn't Reply with quote

how does one get man -k to work?
I know that man -k is equivelent to apropo, but I've never been able to get it working on any computer that didn't have it working to start with.

Not a big deal, but man -k is so handy.
_________________
There are thousands of types of people in this world:
The type that seperates people into two groups,
and the thousands of other types.
Back to top
View user's profile Send private message
sa
Guru
Guru


Joined: 10 Jun 2002
Posts: 450

PostPosted: Wed Oct 02, 2002 7:11 pm    Post subject: Reply with quote

I think you have to do a makewhatis mabey you could add it as a cron job.
Back to top
View user's profile Send private message
woodm
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2002
Posts: 75

PostPosted: Wed Oct 02, 2002 7:21 pm    Post subject: Nevermind. I figgered it out. Reply with quote

:lol: I needed to run /usr/sbin/makewhatis

Now I just have to figure out the cron system enough to do this every week or maybe every morning.
_________________
There are thousands of types of people in this world:
The type that seperates people into two groups,
and the thousands of other types.
Back to top
View user's profile Send private message
woodm
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2002
Posts: 75

PostPosted: Wed Oct 02, 2002 7:23 pm    Post subject: that's funny. Reply with quote

You are so prompt with the help that I hadn't even refreshed the screen.

Thanks though. I appreciate the help.
_________________
There are thousands of types of people in this world:
The type that seperates people into two groups,
and the thousands of other types.
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Wed Oct 02, 2002 7:26 pm    Post subject: Reply with quote

There's an example cron script in /etc/cron.daily that fills this exact purpose. Just comment out the makewhatis line in it and make sure cron is running (if you did an "rc-update add ?cron default" where ?cron is the cron you installed, you're all set). I also recommend having a daily cron that does an updatedb so that locate will work.
_________________
"An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer
Back to top
View user's profile Send private message
woodm
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2002
Posts: 75

PostPosted: Wed Oct 02, 2002 7:49 pm    Post subject: actually haven't installed a cron program yet... Reply with quote

I wasn't aware that there were several available. I'm probably just used to other *nix systems that come with one and you don't ever think about it.

Is there a thread in the forums that discusses the different options?
_________________
There are thousands of types of people in this world:
The type that seperates people into two groups,
and the thousands of other types.
Back to top
View user's profile Send private message
dioxmat
Bodhisattva
Bodhisattva


Joined: 04 May 2002
Posts: 709
Location: /home/mat

PostPosted: Sun Nov 03, 2002 6:33 pm    Post subject: Reply with quote

btw there is something weird about makewhatis... first, it keeps trowing "zcat: stdout: Broken pipe" errors. second, its doesnt work very well... :

Code:

[mat.garbage:pts/2  man]% grep SDL whatis | wc -l
     13
[mat.garbage:pts/2  man]% ls man3 | grep SDL | wc -l
    187


why cant makewhatis find all my SDL manpages ? there are in the man3 dir, so thats not a path problem...
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Mar 18, 2003 3:52 pm    Post subject: Reply with quote

man -k always returns nothing ...
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum