[GRASS-dev] Re: GRASS 7 status overview
Glynn Clements
glynn at gclements.plus.com
Tue Feb 16 05:23:26 EST 2010
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 <glynn at gclements.plus.com>
More information about the grass-dev
mailing list