[GRASS5] grass5.0/5.3 - tcltkgrass: command line in the module windows is not copyable

Hamish hamish_nospam at yahoo.com
Tue Feb 17 23:40:12 EST 2004


> > > > A question that came up on the French speaking list: In the
> > > > module windows opened by tcltkgrass, the command line that the
> > > > chosen opens create is displayed in the last text field of the
> > > > window. Before, one could copy this text field (and thus include
> > > > the command in a script, or simply learn how to use the command
> > > > line). Now, this field is not copyable anymore (at least under
> > > > Debian testing/unstable with XFCE and under Mandrake 9.2).
> > > > Anyone know why?
...
> src/tcltkgrass/main/gui.tcl, lines 241-242:
> 
>     [create_entry $path num $variable "" 1 ${array}(command_line)] \
>         configure -state disabled -fg blue -relief solid
> 
> My suspicion is that "-state disabled" inhibits selection as well as
> modification.
...
> In any case, try removing the "-state disabled" and see if that
> helps.



Yes, after removing that you can select & paste text from the command box.

If you try typing into the command box, the cusor advances but the text
(and command that is run) doesn't change. The cursor stops advancing
when you get to the end of the displayed text.


Hamish




More information about the grass-dev mailing list