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

Moritz Lennert mlennert at club.worldonline.be
Sun Oct 9 09:23:07 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Glynn Clements wrote:
> 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).
> 

I can confirm that. Simple copy-and-paste won't work in those cases.

As a side remark, this might be an argument for avoiding arguments
with spaces whenever possible. For example, in d.vect.thematique, it
might be better to find other names for arguments such as 'graduated
colors', 'custom gradient', 'standard deviation', etc.

Moritz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDSRm7rIrMbm76jD8RAhnZAJ9KHqqSQ2iuWDWCDc1KjP3frrzAegCbBH4W
+BFRaXbyzKaCOF0uNs1fwVY=
=Eovv
-----END PGP SIGNATURE-----




More information about the grass-dev mailing list