[OS X TeX] Re: [Fink-users] MANPATH

Martin Costabel costabel at wanadoo.fr
Fri Oct 4 13:23:12 CEST 2002



Juan Fal wrote:
>     New Jaguar scheme of access man pages differs from the previous 
>and collides with it!
>
>the MANPATH environment variable should not be set at all since now 
>man finds the pages based in "manpath" and /etc/manpath.conf 
>settings.

It is clear that fink has to do something about this, but it is not 
immediately clear what. IIUC the new scheme for the manpath 
configuration allows only the one config file /etc/manpath.conf.

Modifying this would be against fink's philosophy, and for good 
reasons. As long as it is not possible to teach manpath to use 
another config file, for example in /sw/etc/, fink needs to set 
MANPATH. It just should set it by using `manpath -q` as one of the 
components. This has to be done after teh PATH variable is set.

AFAICT, the only problem so far is with Gerben Wierda's tetex package 
in /usr/local, and this problem could be solved by modifying fink's 
system-tetex package so that it sets this MANPATH component in its 
shell startup script in /sw/etc/profile.d/

>I am not sure about this because I am not a following each update, but must I
>
>     source /sw/bin/init.csh
>
>in my ~/.login ?
>
>
>/sw/bin/init.csh _does_ set MANPATH:
>
>--------
>% grep MANPATH /sw/bin/init.csh
>if ( $?MANPATH) then
>   setenv MANPATH /sw/share/man:/sw/man:${MANPATH}:/usr/X11R6/man
>   setenv MANPATH 
>/sw/share/man:/sw/man:/usr/local/share/man:/usr/local/man:/usr/share/man:/usr/X11R6/man
>--------
>
>
>     Systems like tetex does conflict with this since they use the 
>current scheme.
>

--
Martin

-----------------------------------------------------
Mac TeX info, resources, and news can be found at:
<http://www.esm.psu.edu/mac-tex/>
-----------------------------------------------------
List archives can be found at:
<http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------
See message headers for list info.
-----------------------------------------------------




More information about the macostex-archives mailing list