[GRASS-user] # gis.m & [1] 26553 gis.m exec: wish: not found

Glynn Clements glynn at gclements.plus.com
Mon Dec 11 14:31:33 EST 2006


Hamish wrote:

> 2) "grass62 --help" shows:
> ...
> Environment variables relevant for startup:
>   GRASS_TCLSH                    set tclsh shell name to override 'tclsh'
>   GRASS_WISH                     set wish shell name to override 'wish'
> 
> 
> so for bash/ash you could do this before starting grass62:
> GRASS_WISH=wish8.4
> export GRASS_WISH
> 
> To save time, you could put that in your ~/.grass.bashrc file.

That won't work.

~/.grass.bashrc (etc) is used to create the .bashrc file used by the
interactive shell which Init.sh spawns. Its contents aren't available
within Init.sh itself.

Environment variables which are used by Init.sh have to be set
beforehand, e.g. in /etc/profile or ~/.bash_profile.

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




More information about the grass-user mailing list