[OS X TeX] $MANPATH (again??)

mark oilcan markoilcan at yahoo.com
Thu Aug 11 16:53:24 CEST 2005



--- Steffen Hokland <hokland at mr.au.dk> wrote:
> 
> Incidently - am I doing something very wrong with adding the line:
> 
> alias man="man -M /usr/local/man/:${MANPATH}"
> 
> to my ~/.profile? It works, but I don't know if there is some subtle 
> 
> hitch to it....
> 

This will work fine, as long as you have MANPATH set to the necessary
default man directories. For someone who doesn't have MANPATH set this
way (where man just uses the values in /etc/manpath.config) then
executing 'man' will only search /usr/local/man with the above alias.

Mark A


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list