[GRASS5] [bug #3709] (grass) d.m - commands output pollutes the Grass terminal

Glynn Clements glynn at gclements.plus.com
Mon Jan 9 14:02:19 EST 2006


Maciek Sieczka via RT wrote:

> d.m still prints some output to the terminal - when opening new monitors:
> 
> press eg. "x1":
> 
> GRASS 6.1.cvs (caves_xy):~ > using default visual which is TrueColor
> ncolors: 16777216
> Graphics driver [x1] started
> 
> Could that be redirected to the d.m log window too?

That case is problematic. The reason is that it's the monitor driver
which displays the text. If you allow the output from "d.mon start="
to be returned to Tcl, the command won't finish until the driver
terminates.

Apart from anything else, this means that you can't quit d.m and leave
the monitor open.

The only practical solution is to redirect the output somewhere,
either to the terminal on which d.m is running, to a file, or to
/dev/null.

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




More information about the grass-dev mailing list