[GRASS5] Re: fixes for recent problems in tcltkgrass for GRASS 5.3

Hamish hamish_nospam at yahoo.com
Tue Oct 5 23:37:43 EDT 2004


> This seems to fix the problem. Command lines in tcltkgrass can once
> again include arguments. 
> 
> I've committed this change to the CVS 
...
> > The change causes it to correctly interpret arguments which contain
> > spaces but, as a side-effect, it doesn't handle commands which
> > contain spaces.
> > 
> > It should probably be:
> > 
> > set prog [lindex $cmd 0]
> > set args [lrange $cmd 1 end]
> > set name [eval concat $prog [list $args]]
> > 
> > This will split the command but not the arguments.


So the only remaining issue is displaying '' instead of {} in the
command preview? I notice the above fix leaves the preview as e.g.
 {d.measure -s} other=options
but still runs correctly. 

Minor item, but it would be nice to have that cut-and-pastable.

Anything else to keep 5.4 waiting?


Hamish



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com




More information about the grass-dev mailing list