#include #include #include #include #include "local_proto.h" int redraw(void) { int i; char command[128]; R_close_driver(); sprintf(command, "d.erase"); system(command); if (cmd) { system(cmd); } else { /* Redraw raster map */ if (rast) { for(i=0; i