[GRASSLIST:1985] Re: raster display problem in 5.7

Christopher Fonnesbeck chris at fonnesbeck.org
Mon Dec 8 08:36:47 EST 2003


>>
>> Christopher Fonnesbeck wrote:
>>
>>>> The OpenOSX version of GRASS has some changes specifically to allow
>>>> the use of the native MacOSX version of Tcl/Tk. These are available
>>>> from:
>>>>
>>>> http://grass.itc.it/grass5/binary/mac_os_x/OpenOSX-Additions-Grass
>>>> -5.0.2.tar.bz2
>>>>
>>>> However, there have been some changes to tcltkgrass since 5.0.2, so 
>>>> I
>>>> have no idea whether those patches will work on more recent 
>>>> versions.
>>>
>>> Thanks -- I got an important clue from the OpenOSX patches. Changing
>>> the $GRASS_GUI case in Init.sh from:
>>>
>>> "$GISBASE/scripts/d.m" &
>>>
>>> to:
>>>
>>> echo "$GISBASE/scripts/d.m" | sh &
>>>
>>> Seems to have done the trick.
>>
>> That should be OK so long as d.m doesn't spawn any interactive
>> commands (or it spawns them in their own xterm). However, it will
>> result in d.m having its stdin set to a file (i.e. the d.m script)
>> rather than to the terminal. Consequently, any commands which d.m
>> spawns will also have their stdin set to that file.
>
> What about
> exec "$GISBASE/scripts/d.m" &
>

No, it gives the same error as the original.

C.

Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia




More information about the grass-user mailing list