Running GRASS from a shell...
Malcolm Williamson
malcolm at cast.uark.edu
Wed Jan 12 15:25:21 EST 1994
>
> How do you run GRASS from a shell without going through the intial querying
> at the beginning. In other words I just want to run the GRASS programs and
> not enter the interactive mode. Thanks,
>
> ..........................................................................
>
> Sam Gustman tel - (603) 646-4711
> Computer Engineer fax - (603) 646-4278
> CRREL - Army Corps of Engineers email: samg at hanover-crrel.army.mil
> 72 Lyme Road Hanover, NH 03755 STC Contractor
> ..........................................................................
>
Set the following environmental variables:
GISRC (should be your_home_dir_path/.grassrc)
GISBASE (where the bin, etc, and scripts directories are found)
GIS_LOCK (usually set to the process id of the start-up shell script; I would
use the pid of the current shell)
GISDBASE (the Database of the the query page)
LOCATION (the Database + the Location + the mapset)
MAPSET (just the Mapset name)
Add the following paths to your PATH:
$GISBASE/bin
$GISBASE/scripts
$GISBASE/garden/bin
IF I haven't overlooked anything, you should then be able to run GRASS programs
normally.
--
Malcolm D. Williamson - Research Assistant E-mail: malcolm at cast.uark.edu
Center for Advanced Spatial Technologies Telephone: (501) 575-6159
Ozark Rm. 12 Fax: (501) 575-3846
University of Arkansas
Fayetteville, AR 72701
More information about the grass-user
mailing list