[GRASS-user] "Automatic" redraw of map display in 6.4 when
underlying raster changes?
landa.martin at gmail.com
Thu Oct 6 06:09:41 EDT 2011
2011/10/6 Rainer M Krug <r.m.krug at gmail.com>:
> It would be really nice, if one could define a script (in a environment
> variable) which will be always executed if this event occurs. This could
> then easily be used to instruct an external viewer to e.g. redraw.
possible solution would be to modify file defined by PROMPT_COMMAND.
* check if any monitor is running `d.mon -p`
* check command and monitor content (if output map is drawn in the
monitor - d.mon -c), run `d.redraw` if desired
It would be probably quite easy to implement in G7.
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
More information about the grass-user