23 #include <grass/gis.h>
24 #include <grass/glocale.h>
40 sprintf(buff, _(
" The raster map %s@%s is empty"), name, mapset);
49 _(
"\n\nColor table needed for file [%s] in mapset [%s].\n"), name,
52 fprintf(stderr, _(
"\nPlease identify the type desired:\n"));
53 fprintf(stderr, _(
" 1: Random colors\n"));
54 fprintf(stderr, _(
" 2: Red, green, and blue color ramps\n"));
55 fprintf(stderr, _(
" 3: Color wave\n"));
56 fprintf(stderr, _(
" 4: Gray scale\n"));
57 fprintf(stderr, _(
" 5: Aspect\n"));
58 fprintf(stderr, _(
" 6: Rainbow colors\n"));
59 fprintf(stderr, _(
" 7: Red through yellow to green\n"));
60 fprintf(stderr, _(
" 8: Green through yellow to red\n"));
61 fprintf(stderr, _(
"RETURN quit\n"));
62 fprintf(stderr,
"\n> ");
70 if (sscanf(buff,
"%d", &answ) != 1)
91 fprintf(stderr, _(
"\n%s invalid; Try again > "), buff);