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

Markus Neteler neteler at itc.it
Mon Dec 8 04:07:27 EST 2003


On Mon, Dec 08, 2003 at 03:37:38AM +0000, Glynn Clements wrote:
> 
> 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" &

?
Markus




More information about the grass-user mailing list