Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Different manpages in text terminal and in Konsole
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
cyberpatrol
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 161
Location: Germany

PostPosted: Mon Jan 31, 2005 5:03 am    Post subject: Different manpages in text terminal and in Konsole Reply with quote

I wanted to try out openntpd. Therefore I first did an 'emerge unmerge ntp' and then an 'emerge openntpd'.

When I then entered 'man ntpd' in the text console (not in X) I've got the manpage of openntpd as expected. When I entered 'man ntpd' in KDE's Konsole I haven't got the manpage of openntpd but of "the old" ntp.

After that I did an 'emerge unmerge openntpd' and deleted /etc/ntpd.conf, /etc/init.d/ntpd and /etc/conf.d/ntpd to uninstall ntp and openntpd completely.

When I now enter 'man ntpd' in the text console (again not in X) I'm getting no manpage as expected. When I enter 'man ntpd' in KDE's Konsole I'm still getting the manpage of "the old" ntp.

Does anyone know why I'm getting different manpages in the text console and in KDE's Konsole and how I can delete the manpage displayed in KDE's Konsole?
Back to top
View user's profile Send private message
soramame
n00b
n00b


Joined: 07 Nov 2004
Posts: 35
Location: /brazil/sp/sao carlos

PostPosted: Tue Feb 01, 2005 1:35 am    Post subject: very weird Reply with quote

This is really, really weird. Maybe it is something related to your man cache, or to your environment variables (are you using the same shell in the console and in the Konsole?). Check your MANPATH variable in both environments. Just a guess. :roll:
_________________
bruno nery, i.e., solo soramame

you won't suceed unless you try.
Back to top
View user's profile Send private message
oberyno
Guru
Guru


Joined: 15 Feb 2004
Posts: 467
Location: /bin/zsh

PostPosted: Tue Feb 01, 2005 6:29 am    Post subject: Reply with quote

Yep, konsole is probably looking in /var/cache/man for a manpage.

Portage installs the man page sources in /usr/share/man by default. When you first view a manpage, it gets cached in /var/cache/man, so it can load faster. When you unmerge an app though, it leaves behind all the viewed manpages in /var/cache/man.
Back to top
View user's profile Send private message
cyberpatrol
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 161
Location: Germany

PostPosted: Thu Feb 03, 2005 5:31 am    Post subject: Reply with quote

The man cache was the problem. I must have missed it when searching for files with the pattern *ntp* on my harddisk before. Now I've found them in /var/cache/man.
After deleting these files I'm getting the same manpages on text console as well as in KDE's Konsole. :-)

Thank you both.

BTW, the MANPATH variables had the same values.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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