On Sep 29, 2009, at 11:23 AM, Richard L. Hamilton wrote:

> 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.

Wierd, I rebooted and now "man 1 growlnotify" works:

        $ which growlnotify
        /usr/local/bin/growlnotify
        $ locate growlnotify.1
        /usr/local/man/man1/growlnotify.1
        $ man growlnotify
        GROWLNOTIFY(1)            BSD General Commands Manual            
GROWLNOTIFY(1)
        
        NAME
             growlnotify -- send a notification to Growl
        ...[snip]...

...and "man growlnotify" also works (wierd!):

        $ man 1 growlnotify
        GROWLNOTIFY(1)            BSD General Commands Manual            
GROWLNOTIFY(1)
        
        NAME
             growlnotify -- send a notification to Growl
        ...[snip]...

PS, I agree with your statements. I'd like to add that the growlnotify  
command line tool should be included in the pkg installer (maybe as an  
optional install - although I'd love it if it were installed by  
default).

Don



--~--~---------~--~----~------------~-------~--~----~
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