[GRASS5] Looking for ncurses code
grass5 at geog.uni-hannover.de
Sun, 25 Feb 2001 10:41:08 +0000
On Fri, Feb 23, 2001 at 07:45:05PM -0800, Eric G. Miller wrote:
> On Fri, Feb 23, 2001 at 09:44:33AM -0800, Rich Shepard wrote:
> > On Fri, 23 Feb 2001, Markus Neteler wrote:
> > > You can see CLI at work in src/raster/r.agnps50/ if you need an
> > > example.
> > Again, thanks, Markus.
> > I've grep'd the files in src/libes/vask/ and haven't found the names of
> > the variables used to store the input (GISDBASE. location and mapset). Is
> > there any guide in the programmer's manual to the organization of the start
> > up code and the user interface? I don't recall seeing that the last time I
> > looked.
> The vask library is just a simplified wrapper for curses. The GISDBASE,
> LOCATION and MAPSET are written to the ~/.grassrc5 file. If you're
> interested in the session start-up code, have a look in
> src/general/init/, which among other things sets the environment
> variables above. Also good to poke around src/libes/gis/ to see how
> many things are handled regarding database management, I/O, etc... Don't
> rely on the Programming manual. It's helpful, but doesn't document a
> lot of stuff (some things just aren't documented).
We should collect the missing stuff in a Programming manual "TODO".
Please send input or directly feed the
(outside GRASS source code, inside CVS)
> > I'll look at the tcl/tk code, too, and see if I can find these variable
> > names there.
> It gets them from the environment...
They are documented/listed here:
If you want to unsubscribe from GRASS Development Team mailing list write to:
subject 'unsubscribe grass5'