[GRASS5] Environment variable listings...

Glynn Clements glynn.clements at virgin.net
Fri Aug 10 07:39:49 EDT 2001


Eric G. Miller wrote:

> Do you think people would find it useful if g.gisenv could list all of
> the known environment variables with a bit of information about them?
> 
> I've hacked my copy of g.gisenv to do this via an "-l" flag.  Output is
> like:

[snip]

> Seems it's never easy enough to figure out what environment variables
> are available for controlling behaviors...  Developer's can easily add
> to the struct array if there's a module that recognizes a certain
> variable and it's not yet "registered".
> 
> Opinions?

Adding this to g.gisenv might further confuse users regarding the
distinction between GRASS variables ($GISRC) and environment variables
(getenv()). It might be better to have a separate program.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list