[GRASS5] 5.7 - GIS manager - zoom and pan - change term to execute
in d.m.tcl
Glynn Clements
glynn.clements at virgin.net
Thu Oct 21 13:25:59 EDT 2004
Michael Barton wrote:
> Could this somehow be worked into the init.sh script so as to do a tiny bit
> to keep multiple file clutter to a minimum? If not I'd suggest to put it in
> gui.tcl as a procedure, or barring that in $GISBASE/etc/d.m/script except
> that it seems like some people need it for the command line in a few cases
> if I understood some of the comments earlier.
None of those will work. If a command is run via xterm, and xterm is
setuid or setgid, LD_LIBRARY_PATH will be cleared. Thus, anything
which runs GRASS programs via "xterm -e ..." (i.e. tcltkgrass, d.m)
must arrange for LD_LIBRARY_PATH to be re-set before the actual
program is run.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list