On Sep 29, 2009, at 10:54 AM, donmontalvo wrote:
>
> The path for the man page should be /usr/share/man/man1/ so the "man 1
> growlnotify" command brings up the man page. Was there a reason for
> creating a /usr/local/man/man1/ directory? Was it different in
> Leopard? I'm on Snow Leopard...


Well, looking at man(1) and then at /private/etc/man.conf, I think
it should be in /usr/local/share/man/man1, so that the relationship
described in the lines

MANPATH_MAP     /usr/local/bin          /usr/local/share/man
MANPATH_MAP     /usr/local/sbin         /usr/local/share/man

is honored.

Alternatively, see path_helper(8), add the appropriate file
to /etc/manpaths.d, as in

# echo /usr/local/man >/etc/manpaths.d/usr_local

or even

# echo /usr/local/man:/usr/local/share/man >/etc/manpaths.d/usr_local

(to cover both possibilities, since different software may well use
one or the other)

, and log out and back in again.  (both /etc/profile (bash, sh, ksh) and
/etc/csh.login (csh, maybe tcsh) call path_helper)


But I agree insofar as ideally one shouldn't have to tweak anything.
I _think_ that putting it in /usr/local/share/man/man1/ would eliminate
the need to do so, but I've tweaked so darn much on my system that
I wouldn't swear to what might happen on a more vanilla system.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to