This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[BUG] XFree86-man and openssl define MANPATH in /etc/profile.d


I have been having trouble find manual pages with man for some time,
but I haven't had time to investigate it further, because 

    unset MANPATH

always restored the functionality. Today I found out that the variable
was defined in

    root@w2kpicasso:/etc/profile.d# grep MANPATH *.sh
    XFree86-man.sh:export MANPATH="${MANPATH}:/usr/X11R6/man"
    openssl.sh:export MANPATH="${MANPATH}:/usr/ssl/man"

I don't think XFree86-man or openssl should define MANPATH, because
if it is se, all break in /usr/share/misc/man.conf. 
>From man page:

    If you don't specify -M but set the MANPATH environment variable,
    the value of that variable is the list of the directories that man
    searches.

    If you don't specify an explicit path list with -M or MANPATH, man
    develops its own path list based on the contents of the
    configuration file /usr/share/misc/man.conf. 

Would the maintainers check the latest packages. In the mean time I'm
removing these *.sh files.

Jari

-- 
http://tiny-tools.sourceforge.net/
Swatch @time   http://www.mir.com.my/iTime/itime.htm
               http://www.ryanthiessen.com/swatch/resources.htm
Use Licenses!  http://www.linuxjournal.com/article.php?sid=6225
Which Licence? http://www.linuxjournal.com/article.php?sid=4825
OSI Licences   http://www.opensource.org/licenses/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]