Hamish wrote:

> > You can use e.g.
> > 
> >     GRASS_NOTIFY="killall -USR1 `pidof wximgview`"
> > 
> > to cause SIGUSR1 to be sent whenever a module calls
> > D_close_driver().
> 
> then I get: 
> G7> d.erase 
> 7682: no process killed
> 
> but no refresh.

That suggests that wximgview wasn't running when GRASS_NOTIFY was set. 
Backticks are evaluated within double quotes, so the pidof command is
run when GRASS_NOTIFY is set; if you want it run for each command, use
single quotes.

> resizing the window slightly by dragging its window manager frame's
> corner a little redraws it.

SIGUSR1 and timeout (determined by percent=) force a redraw. Resizing
also causes a redraw.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to