Martin Landa 83fd10dfd0 show error dialog when wxGUI is used 15 år sedan
..
Makefile 9914d6c010 remove init sh/bat scripts (replaced by python scripts) 15 år sedan
README 63fb789f39 TclTk removed 16 år sedan
circle_1.png 7b40439248 prettify helptext.html graphics (merge from devbr6) 15 år sedan
circle_2.png 7b40439248 prettify helptext.html graphics (merge from devbr6) 15 år sedan
circle_3.png 7b40439248 prettify helptext.html graphics (merge from devbr6) 15 år sedan
circle_4.png 7b40439248 prettify helptext.html graphics (merge from devbr6) 15 år sedan
circle_5.png 7b40439248 prettify helptext.html graphics (merge from devbr6) 15 år sedan
clean_temp.c ab082da4e0 Add "const" where appropriate to libgis return types 16 år sedan
echo.c 8868d4b686 indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \ 17 år sedan
grass-run.bat 4a27bf5b0c sync RunInXterm related changes from devbr6 16 år sedan
grass-xterm-mac 63fb789f39 TclTk removed 16 år sedan
grass.py 83fd10dfd0 show error dialog when wxGUI is used 15 år sedan
grass.sh 9914d6c010 remove init sh/bat scripts (replaced by python scripts) 15 år sedan
grass7.html 6c2e2e888f first steps towards config dir (.grass7) 15 år sedan
grass_intro.txt db49180dd7 welcome to GRASS 7.0.svn 17 år sedan
grass_start.png 7b40439248 prettify helptext.html graphics (merge from devbr6) 15 år sedan
help_loc_struct.png db49180dd7 welcome to GRASS 7.0.svn 17 år sedan
helptext.html 7b40439248 prettify helptext.html graphics (merge from devbr6) 15 år sedan
html_browser_mac.sh db49180dd7 welcome to GRASS 7.0.svn 17 år sedan
license.txt db49180dd7 welcome to GRASS 7.0.svn 17 år sedan
local_proto.h 8868d4b686 indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \ 17 år sedan
lock.c 1f86ff433d move lockfile detection to exit(2) to allow G_fatal_error() to occupy exit(1) alone (trac https://trac.osgeo.org/grass/ticket/755) 16 år sedan
run.c 8868d4b686 indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \ 17 år sedan
variables.html ddf6f4153e Documentation von GRASS_SIGSEGV_ON_ERROR 15 år sedan
version.sed db49180dd7 welcome to GRASS 7.0.svn 17 år sedan
welcome.txt db49180dd7 welcome to GRASS 7.0.svn 17 år sedan
winlocale.c bfc3c80575 Set LANG on Windows 15 år sedan

README

o GRASS text mode startup

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

You can use alias "grass70" to "grass70 -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

grass70 - # non-interactive startup using LOCATION location

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

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


Also, the first argument of grass70 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

grass70 /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

grass70 /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

grass70 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

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


Any suggestionss to