[GRASSLIST:1979] Re: raster display problem in 5.7
Glynn Clements
glynn.clements at virgin.net
Sun Dec 7 22:37:38 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.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-user
mailing list