Details Ticket 2074


Comment | Reply | Take | Open


Serial Number 2074
Subject tcltkgrass commands displayed in console
Area wish
Queue grass
Requestors simon1tan@yahoo.com
Owner none
Status resolved
Last User Contact Thu May 11 22:33:38 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Thu May 11 22:33:38 2006 (2 yr ago)
Created Sun Aug 24 19:04:48 2003 (5 yr ago)

Transaction History Ticket 2074


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.
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request