[GRASS-dev] wxpython gui: speed of display

Glynn Clements glynn at gclements.plus.com
Thu Aug 17 04:37:36 EDT 2006


Michael Barton wrote:

> So, if you set GRASS_RENDER_IMMEDIATE=TRUE, there is no need to run d.mon
> start=PNG? 

Correct.

> Is there any way to specify the output file for each d.* command? Or is it
> still set for all commands to whatever is specified in GRASS_PNGFILE?

The command writes its output to $GRASS_PNGFILE.

If the language provides a means to set the environment for individual
commands (e.g. execve() in C, "GRASS_PNGFILE=foo.ppm d.whatever" in
Bourne shell), you can use that, otherwise you need to set it before
calling the command (or just use the same filename each time and
rename the file(s) when the command completes).

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list