[GRASS-user] d.* command problems
Glynn Clements
glynn at gclements.plus.com
Sun May 16 22:01:50 EDT 2010
Hamish wrote:
> > > > Try making this change to the d.correlate script:
> > > >
> > > > --- d.correlate (revision 41749)
> > > > +++ d.correlate (working copy)
> > > > @@ -97,6 +97,8 @@
> > > > fi
> > > >
> > > > d.erase
> > > > +GRASS_PNG_READ=TRUE
> > > > +export GRASS_PNG_READ
> > > > if [ $? != 0 ] ; then
> > > > exit 1
> > > > fi
> > >
> > > Should this be submitted?
> >
> > I think so.
> >
> > I'll make the equivalent fix for 7.0.
>
>
> is this appropriate for Xmon use in grass6?
XDRIVER doesn't pay any attention to GRASS_PNG_READ, so it's
unaffected.
GRASS_PNG_READ=TRUE causes the framebuffer contents to be preserved
from one call to the next, rather than each command starting with a
blank "screen". Scripts which run multiple d.* commands typically need
this in order to work correctly with direct rendering.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list