Hello Huidae
Date: Thursday October 12, 2000 @ 12:41
Author: choUpdate of /grassrepository/grass/src/general/init
In directory intevation.de:/tmp/cvs-serv11603Modified Files:
Gmakefile init.head
Log Message:
patch for non-interactive startupaffected env variables:
GISDBASE
LOCATION_NAME
MAPSET
LOCATIONbasically grass5 takes it's argument which is LOCATION.
1. without any env variable
grass5 - interactive startup
grass5 interactive startup
grass5 GISDBASE/LOCATION_NAME/MAPSET non-interactive startup2. with GISDBASE env variable
grass5 - interactive startup
grass5 interactive startup
grass5 LOCATION_NAME/MAPSET non-interactive startupoverride GISDBASE like this:
grass5 GISDBASE/LOCATION_NAME/MAPSET non-interactive startup3. with GISDBASE and LOCATION_NAME env variables
grass5 - interactive startup
grass5 interactive startup
grass5 MAPSET non-interactive startupoverride GISDBASE and LOCATION_NAME like this:
grass5 LOCATION_NAME/MAPSET non-interactive startup
grass5 GISDBASE/LOCATION_NAME/MAPSET non-interactive startup4. with GISDBASE, LOCATION_NAME and MAPSET env variables
grass5 - interactive startup
grass5 non-interactive startupoverride GISDBASE, LOCATION_NAME and MAPSET like this:
grass5 MAPSET non-interactive startup
grass5 LOCATION_NAME/MAPSET non-interactive startup
grass5 GISDBASE/LOCATION_NAME/MAPSET non-interactive startup5. with LOCATION env variable: override GISDBASE, LOCATION_NAME,
MAPSET varsgrass5 - interactive startup
grass5 non-interactive startupoverride GISDBASE, LOCATION_NAME and MAPSET like this:
grass5 MAPSET non-interactive startup
grass5 LOCATION_NAME/MAPSET non-interactive startup
grass5 GISDBASE/LOCATION_NAME/MAPSET non-interactive startup
May I make a suggestion? Perhaps "grass5" should be used for interactive
startup for all cases. That way, the behaviour is consistant for all
users when they start grass with "grass5". Then "grass5 -" could be used
for non-interactive where appropriate. Basically, you would switch
"grass5" and "grass5 -" in your 5 cases above.
By the way, could you please post proposals for new features to the
developers list before you commit them to the CVS tree? This not only
gives the other developers a chance to comment on your new feature, but
can save you time as well - like yesterday when you found out your new
feature was duplication.
Just some suggestions.
--
Sincerely,
Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
People who think they know everything are very irritating to those
of us who do. ---Anonymous
Jazz and Trek Rule!!!
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'