[GRASS-dev] Re: init.sh OSX browser setting

Hamish hamish_nospam at yahoo.com
Fri Mar 9 20:04:09 EST 2007


William Kyngesburye wrote:
> Two problems with the way GRASS opens help files in OSX:
> 
> Init.sh uses a plain 'open' as the default for the browser in Mac OS  
..
> The way to handle these problems is to add options to the open
> command:
> 
> open -a /path/to/app/package.app
>  or:
> open -b app.signature
> 
> This causes a problem in the scripts, since $GRASS_HTML_BROWSER is  
> quoted everywhere - it tries to execute "open -a /path/to/app/ 
> package.app" as the name of a program, not "open".  So, I tried two  
> ways to handle this.
..
> - alias method - doesn't work, command not found

Probably aliases can be exported to child processes?



Did you have any luck with using the built-in help browser?

GRASS_HTML_BROWSER="/System/Library/CoreServices/Help Viewer.app/Contents/MacOS/Help Viewer"


Hamish




More information about the grass-dev mailing list