Vaclav Petras 80dafe9939 using sys.platform to determine if running in Cygwin 10 年之前
..
Makefile 5dbea3bef5 fix bug introduced in https://trac.osgeo.org/grass/changeset/60216 11 年之前
README 736151b08d version update: trunk is grass71 11 年之前
circle_1.png 7b40439248 prettify helptext.html graphics (merge from devbr6) 15 年之前
circle_2.png 7b40439248 prettify helptext.html graphics (merge from devbr6) 15 年之前
circle_3.png 7b40439248 prettify helptext.html graphics (merge from devbr6) 15 年之前
circle_4.png 7b40439248 prettify helptext.html graphics (merge from devbr6) 15 年之前
circle_5.png 7b40439248 prettify helptext.html graphics (merge from devbr6) 15 年之前
clean_temp.c 623c7b94ec simplify wingrass LFS 12 年之前
echo.c 8868d4b686 indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \ 17 年之前
grass-xterm-mac 2b743926c1 add relocated MANPATH to startup routine 13 年之前
grass.py 80dafe9939 using sys.platform to determine if running in Cygwin 10 年之前
grass.sh 736151b08d version update: trunk is grass71 11 年之前
grass7.html 736151b08d version update: trunk is grass71 11 年之前
grass_start.png 28a30ea171 Run 'optipng -o5' to compress PNG images 12 年之前
help_loc_struct.png 0dab40a516 Milena Nowotarska: location structure graphics beautified 11 年之前
helptext.html 382cc71384 helptext: remove static toc 11 年之前
html_browser_mac.sh db49180dd7 welcome to GRASS 7.0.svn 17 年之前
license.txt 210ca257ac there is only wxpython gui, simplify starting script 14 年之前
local_proto.h 8868d4b686 indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \ 17 年之前
lock.c db4e0ac563 Don't attempt to declare errno 12 年之前
run.c 8868d4b686 indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \ 17 年之前
variables.html 5addecc005 libinit: fix GRASS_ZLIB_LEVEL documentation 11 年之前
version.sed db49180dd7 welcome to GRASS 7.0.svn 17 年之前
winlocale.c bfc3c80575 Set LANG on Windows 15 年之前

README

o GRASS text mode startup

"grass71" starts up d.m by default (if not first time user).
"grass71 -text" will start up in text mode.
"grass71 -wxpython" or "grass71 -gui" will start up in wxpython mode.

You can use alias "grass71" to "grass71 -text" to use text mode by default.
Or set env var GRASS_GUI=text.


o GRASS non-interactive startup examples

You can startup GRASS non-interactively using some env variables.

LOCATION
GISDBASE
LOCATION_NAME
MAPSET

LOCATION var overrides GISDBASE/LOCATION_NAME/MAPSET location.

ex1)
export LOCATION=/usr/home/grass/usr/data1/loc1/map1
export GISDBASE=/usr/home/grass/usr/data1
export LOCATION_NAME=loc1
export MAPSET=map1

grass71 - # non-interactive startup using LOCATION location

ex2)
export GISDBASE=/usr/home/grass/usr/data1
export LOCATION_NAME=loc1
export MAPSET=map1

grass71 - # non-interactive startup using
# GISDBASE/LOCATION_NAME/MAPSET location


Also, the first argument of grass71 can override these env vars.

ex3)
export LOCATION=/usr/home/grass/usr/data1/loc1/map1
export GISDBASE=/usr/home/grass/usr/data1
export LOCATION_NAME=loc1
export MAPSET=map1

grass71 /usr/home/grass/usr/data2/loc2-1/map1-1
# non-interactive startup using
# /usr/home/grass/usr/data2/loc2-1/map1-1 location

ex4)
export GISDBASE=/usr/home/grass/usr/data1
export LOCATION_NAME=loc1
export MAPSET=map1

grass71 /usr/home/grass/usr/data2/loc2-1/map1-1
# non-interactive startup using
# /usr/home/grass/usr/data2/loc2-1/map1-1 location

ex5)
export LOCATION=/usr/home/grass/usr/data1/loc1/map1
export GISDBASE=/usr/home/grass/usr/data1
export LOCATION_NAME=loc1
export MAPSET=map1

grass71 map1-1 # non-interactive startup using
# GISDBASE/LOCATION_NAME/map1-1 location

ex6)
export LOCATION=/usr/home/grass/usr/data1/loc1/map1
export GISDBASE=/usr/home/grass/usr/data1
export LOCATION_NAME=loc1
export MAPSET=map1

grass71 loc2-1/map1-1
# non-interactive startup using
# GISDBASE/loc2-1/map1-1 location


Any suggestionss to