SLACKWARE 12.0 distro:
Then, this is the current state of the system:
root@darkstar:~# locate mplayer.1
From /etc/profile (the line was commented by me):
MANPATH_MAP /bin /usr/share/man
MANPATH_MAP /sbin /usr/share/man
MANPATH_MAP /usr/bin /usr/share/man
MANPATH_MAP /usr/sbin /usr/share/man
MANPATH_MAP /usr/local/bin /usr/local/share/man
MANPATH_MAP /usr/local/sbin /usr/local/share/man
MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man
MANPATH_MAP /usr/bin/X11 /usr/X11R6/man
MANPATH_MAP /usr/bin/mh /usr/share/man
Current path used by man:
root@darkstar:/etc# man -w
Current MANPATH enviroment variable contents:
root@darkstar:/etc# echo $MANPATH
Notice the ':' starting the line, as pointed out by bathory.
The mplayer installer did this:
Allocated its man file in /usr/local/share/man/man1/mplayer.1. Then it modified /etc/profile, adding the line
I think, if 'man mplayer' did not output the manual it was due to strange behaviour on the part of man and its path searching mechanism, and the mplayer installer is not to be blamed. These are notes to myself rather than any other thing. Anyways,
I commented out the line 'export MANPATH=/usr/local/man:/usr/man'
Now 'man mplayer' outputs the manual. Of course, this is only one of several possible fixes and could not be done without the generous help of LQers. Regards.