[GRASS5] Tk/Tcl scripts

GRASS grass at geni.knu.ac.kr
Wed Dec 6 01:57:36 EST 2000


Hi Tcl/Tk developers,

grass5 script now uses GRASS_TCLSH and GRASS_WISH environmental variables to
override the default names, tclsh and wish.

So Tcl/Tk scripts should start with the following lines:

Tcl script:
-----------
#!/bin/sh
# the next line restarts using tclsh \
exec $GRASS_TCLSH "$0" "$@"


Tk script:
-----------
#!/bin/sh
# the next line restarts using wish \
exec $GRASS_WISH "$0" "$@"


GRASS_TCLSH and GRASS_WISH vars will be set to the default names, if users
don't set these vars explicitly.

e.g., on FreeBSD

	setenv GRASS_TCLSH tclsh8.3
	setenv GRASS_WISH wish8.3

	grass5 -tcltk

should be enough.


Regards,
Huidae Cho

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list