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

William Kyngesburye woklist at kyngchaos.com
Sat Mar 10 00:25:40 EST 2007


On Mar 9, 2007, at 7:04 PM, Hamish wrote:

>> - alias method - doesn't work, command not found
>>
>
> Probably aliases can be exported to child processes?

If you mean:

alias opengrasshelp="open -b com.apple.helpviewer"
export opengrasshelp

that didn't work either - still command not found.

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

Works great with a signature:

open -b com.apple.helpviewer

You don't want to do it direct as you have it, for the reason already  
stated (you get multiple instances of an application running).

So, with the alias problem, it needs to be run with the script method.

-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an  
illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy





More information about the grass-dev mailing list