Paul Miller <[EMAIL PROTECTED]> writes: > When I set the MANPATH environment variable, the /usr/man, etc. manual > pages don't work... How can I fix this? > > MANPATH=$MANPATH:/usr/local/qt/man > export MANPATH
Short answer: MANPATH=`manpath -q`:/usr/local/qt/man export MANPATH will work, but adding: MANPATH_MAP /usr/local/qt/bin /usr/local/qt/man to /etc/manpath.config is a better solution. Longer answer: Debian uses a more recent convention for determining manpaths than just a MANPATH environment variable. It's explained somewhat in the manpath(1) and manpath(5) pages. Essentially, the manpath program is run to get where to search for man pages, instead of just looking for a $MANPATH environment variable - manpath then will return the $MANPATH environment variable if it exists, or use its own rules if that environment variable doesn't exist. (manpath's own rules have it figure out the man path from the current $PATH variable) To the list: does anyone know if manpath actually examines anything but the path? The man page claims that it looks also at the current directory and the user's environment, but I don't see the effect. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .