[GRASS5] Re: [GRASSLIST:8545] Re: d.m - commands output pollute the Grass terminal

Glynn Clements glynn at gclements.plus.com
Sun Oct 9 08:56:15 EDT 2005


Michael Barton wrote:

> Following up on a suggestion by Maciek and information by Glynn, I've played
> around with outputting GIS Manager commands to a separate terminal window a
> bit.
> 
> Currently, all GIS Manager commands send their output to the GRASS terminal
> so that the relevant display commands are echoed there (using TclTk "puts"
> for each command). 

In the version I have here, only Dm::execute does that, which is only
used by print.tcl.

Dm::execute takes the command as a string, which won't work for
non-trivial commands (e.g. those where arguments contain spaces or
shell metacharacters).

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




More information about the grass-dev mailing list