[GRASS-dev] GIF -> PNG

Glynn Clements glynn at gclements.plus.com
Tue Oct 3 00:31:48 EDT 2006


Hamish wrote:

> > > with this set in ~/.grass.bashrc:
> > >   export GRASS_HTML_BROWSER=dillo
> > > it works fine from NVIZ, but the startup GUI defaults to using
> > > klunky old mozilla as .grass.bashrc hasn't been sourced yet(?).
> > 
> > You can always set it in your normal ~/.bash_profile etc.
> 
> well yes, but that's sloppy. my thought was: should ~/.grass.[*]rc be
> processed earlier,

~/.grass.*rc are sourced into the interactive session shell. If your
$SHELL is e.g. csh, you probably aren't going to have a
~/.grass.bashrc, and you aren't going to be able to source a
~/.grass.cshrc into a bash script such as Init.sh.

Even if your $SHELL is bash, ~/.grass.bashrc may contain commands
which don't make sense outside of an interactive shell.

> perhaps even in bin.i686-pc-linux-gnu/grass63 ?

There wouldn't be any point. The grass63 script sets $GISBASE then
runs Init.sh; anything useful that could be done in grass63 can be
done equally well in Init.sh.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list