[GRASSLIST:6698] Re: Mac OS X 10.4 and GRASS 6

Tim De Chant dechant at nature.berkeley.edu
Mon May 2 13:42:25 EDT 2005


Thanks, Lorenzo.  I won't be able to try this until tonight, but I'll  
post my results when I do.

Tim

________________________________________________
Tim De Chant
     University of California, Berkeley
     Environmental Science, Policy, and Management
     137 Mulford Hall  #3114
     Berkeley, CA 94720-3114
     Phone:     (510) 643-3910


On May 2, 2005, at 2:34 AM, Lorenzo Moretti wrote:

> Hi Tim
>
>> Has anyone had any luck getting GRASS 6.1 to run under Tiger?   
>> I've reinstalled everything following the upgrade (archive and  
>> install) but haven't been able to get the 19 April CVS binary  
>> working.  I can go into the .app package and open the startup  
>> screen (where you choose the location), but it fails to launch  
>> GRASS from there (i.e. no GRASS prompt in the shell).  Any tips or  
>> just wait for an update?
>> Thanks.
>> Tim
>
> I have not Tiger but you test this change.
>
> Exit from Grass and X11.
> You open grass61cvs (Ctrl+Mouse clic and Show Package Contents)
> Make a copy of "grass61cvs.app/Contents/Resources/Scripts/ 
> script.scpt" file.
> Double clic on grass61cvs.app/Contents/Resources/Scripts/ 
> script.scpt file and it is opened from Script Editor application.
> You see the source of Apple Script code. At the bottom you see:
>
>         if uscita = "uscita" then
>                set the totale to unixpathgrass & "Contents/ 
> Resources/" & grassversionreal & "/" & grass & mode
>                 tell application "X11"
>                   activate
>                         if osxaqua = "1" then
>                            set results to do shell script "cd ~;  
> DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/bin; export PATH;  
> osxaqua=" & osxaqua & "; export osxaqua; /usr/X11R6/bin/xterm - 
> geometry 80x30 -e " & totale & " > /dev/null 2>&1 &"
>                        else
>                             set results to do shell script "cd ~;  
> DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/bin; export PATH;" &  
> "/usr/X11R6/bin/xterm -geometry 80x30 -e " & totale & " > /dev/null  
> 2>&1 &"
>                     end if
>           end tell
>                 quit
>     end if
> end «event coVScliI»
>
>
> property ASDScriptUniqueIdentifier : "script.applescript"
>
> You add 3 rows (after the second row):
>
>         if uscita = "uscita" then
>                set the totale to unixpathgrass & "Contents/ 
> Resources/" & grassversionreal & "/" & grass & mode
>                 tell application "Finder"
>                        launch application "X11"
>                 end tell
>                 tell application "X11"
>                   activate
>                         if osxaqua = "1" then
>                            set results to do shell script "cd ~;  
> DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/bin; export PATH;  
> osxaqua=" & osxaqua & "; export osxaqua; /usr/X11R6/bin/xterm - 
> geometry 80x30 -e " & totale & " > /dev/null 2>&1 &"
>                        else
>                             set results to do shell script "cd ~;  
> DISPLAY=:0.0; export DISPLAY; PATH=$PATH:/usr/bin; export PATH;" &  
> "/usr/X11R6/bin/xterm -geometry 80x30 -e " & totale & " > /dev/null  
> 2>&1 &"
>                     end if
>           end tell
>                 quit
>     end if
> end «event coVScliI»
>
>
> property ASDScriptUniqueIdentifier : "script.applescript"
>
> Save this file.
>
> Close X11 and Grass.
>
> Double clic on grass61cvs application and press START.
>
> If this change is OK it's also good for grass60 application.
>
> Bye
>
>
>
> --
> ______________________________________________________________________ 
> __
> ||      Lorenzo Moretti        e-mail: lorenzo.moretti at bologna.enea.it
> ||/|/|  ENEA prot/idr          Web: http://wwwamb.bologna.enea.it/
> ||   |  via Don Fiammelli, 2   FTP: ftp://ftpamb.bologna.enea.it/  
> (ris.)
> ~~~~~~  40128 BOLOGNA - ITALY  Ph: +39-0516098086  Fax: +39-0516098131
> ______________________________________________________________________ 
> __
>




More information about the grass-user mailing list