[GRASS-dev] CLI working again
Dylan Beaudette
debeaudette at ucdavis.edu
Wed Jun 6 16:36:08 EDT 2007
On Wednesday 06 June 2007 13:12, Michael Barton wrote:
> I got the CLI for wxgrass working again. You can type in any command (GRASS
> or shell).
>
> Non-GRASS commands will simply be passed to the shell.
>
> GRASS commands without arguments (e.g. g.region) will open their properties
> dialogs for non-display commands. d.* commands without arguments will add a
> layer to the GUI layer tree and open their respective properties dialog
> (e.g., d.rast).
>
> GRASS commands with arguments (e.g., g.region rast=elevation.10m) will be
> passed to the GRASS command shell for processing. d.* commands with
> arguments (e.g., d.rast elevation.10m) will display their results in the
> currently selected map display. Multiple display commands separated by
> commas will send overlaying graphic results to the current map display
> (e.g., d.rast elevation.10m,d.vect roads color=red).
>
> Michael
> __________________________________________
Great news. one small nitpick: wouldn't it be better to seperate commands with
a semi-colon instead of a comma? There are some commands which use the comma
to parse multiple entries.
cheers,
--
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
More information about the grass-dev
mailing list