Thanks Michael, that helped a lot. I found all the Redhat man pages under /usr/share/man. The problem is a CAD package I installed is setting MANPATH to look for the CAD directory man pages. According to the header in man.config if MANPATH is not an empty string then man.config is not read. Setting MANPATH to "" solves that problem. The only problem now is where is MANPATH getting set? I checked /etc/profile, /etc/bashrc, and ~/.bashrc but MANPATH is not set in any of those. Where else should I look? MANPATH is assigned anytime I open a new term window, and is user independent.

Thanks



On Wednesday 29 January 2003 01:22 pm, Tom Kovalcik wrote:
> Dumb question coming up:
>
> When I upgraded from RH 7.3 to 8.0 my man pages disapeared. Inside
> /usr/man I have a man1 directory (and nothing else) and the man1
> directory has 2 files which came from a program I installed after I
> installed 8.0. How can I get them back? The man command does work, just
> returns "No manual entry for ls". There are man directories for
> X11R6/man, but I do not seem to be pointing to them. Is there a MANPATH
> variable like on Solaris that needs to be set? The man and manpages
> rpm's from the CDs are installed.
[snip]
> To sum it up how can I get man pages back and how do I point to them?

Individual manpages are most often installed as part of the package they
describe. That said, Red Hat packages will dump the man pages in
/usr/share/man/*

man will search in paths defined in /etc/man.config and you can specify
paths on the command line with -M /path/to/man/directory

I'd guess something has gone missing in /etc/man.config.

Hope that helps,
- --
- -Michael



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to