Sun, Aug 24 2003
19:04:48
|
|
Request created by guest
|
|
Subject: tcltkgrass commands displayed in console
Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 5.02
I'm a beginner and would like to see the commands that I make in tcltkgrass show
up in console. I think this will be of great benefit to one who is learning
the commands or even pros who forget how to use a command.
BTW, excellent work! |
|
Mon, Aug 25 2003
01:40:49
|
|
Mail sent by hbowman
|
|
The command should be listed in a box at the bottom of the module's Tcl/Tk
window as it is built. You can view & cut and paste to the command line from
there. I agree that it a very useful feature for building scripts as a newcomer.
?
Hamish
|
|
Mon, Feb 7 2005
23:31:28
|
|
Comments added by hbowman
|
|
5.7/6.0 update:
Currently the new tcl module windows print out the a command-line string in
the tcl window when the command is run, but this is not always shell-safe.
Multi word input text is quoted properly AFAICT, special chars given for fs=
often are not (but should be), and incorrect 'quoting' of input items might
want to be stripped off the ends of strings(?).
Also it seems to get lost at the beginning of the text. Perhaps put it in
another text area as the old 5.0 tcltkgrass used to do?
Hamish
|
|
Thu, May 11 2006
22:33:38
|
|
Status changed to resolved by cshock
|
|
Thu, May 11 2006
22:33:38
|
|
Mail sent by cshock
|
|
Changed to resolved: In new gui.tcl the command is shown as it's edited, with
a copy button. It's not escaped for any particular shell, though quotes are
added that match tcl's idea of a list for a command. Also the command is
displayed when run. |
|