[rboulet: Man not finding pages]
Harold L Hunt II
huntharo@msu.edu
Sun Feb 29 11:27:00 GMT 2004
Well I'll be dipped in shit.
Ain't that the weirdest thing you ever heard of? Now I gotta go revert
that script and put a proper note in there so that no one tries to "fix"
it like I did.
Harold
Christopher Faylor wrote:
> ----- Forwarded message from Ross Boulet <rboulet> -----
>
> From: "Ross Boulet"
> To: "Cygwin"
> Subject: Man not finding pages
> Date: Sat, 28 Feb 2004 16:06:22 -0600
>
> I solved my own problem with man not finding pages but in doing the research
> on it, I found something I thought might be worthy of mentioning. From the
> message:
>
> http://www.cygwin.com/ml/cygwin/2002-04/msg00064.html
>
> I learned the a colon prefix to $MANPATH allows man to search its default
> paths in addition to what is specified in $MANPATH. The
> /etc/profile.d/openssl.sh script handles this ok. However, the
> /etc/profile.d/XFree86-man.sh does not handle it the same way. I had an
> empty $MANPATH (since corrected by a new /etc/profile script). The
> XFree86-man.sh ran first and found no $MANPATH and thus assigned
> "/usr/X11R6/man" (no colon prefix) to $MANPATH. Then openssl.sh appended
> ":/usr/ssl/man". The absence of a leading colon caused man to not find the
> basic pages so that basic stuff like 'man ls' produced 'No manual entry for
> ls'.
>
> I would suggest the XFree86-man.sh script be modified to add a colon prefix
> to $MANPATH to be consistent with the openssl.sh treatment of an empty
> $MANPATH.
>
> My apologies if this should have been posted to the cygwin-xfree ML, but I
> thought it appropriate here because it affects more than X.
>
> Ross
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
> ----- End forwarded message -----
>
More information about the Cygwin-xfree
mailing list