[GRASS5] v.out.ascii: Segmentation fault

Markus Neteler neteler at itc.it
Thu Dec 2 07:55:37 EST 2004


On Thu, Dec 02, 2004 at 12:53:37PM +1300, Hamish wrote:
> > > It's primarily an issue for tcltkgrass and d.m, as running
> > > "xterm -e <command>" (i.e. the "term" procedure) will result in the
> > > command being run with LD_LIBRARY_PATH unset.
> ..
> > I would like just to note, that I use aterm
> 
> 
> Is a $GRASS_TERM enviro (shell) variable called for? this doesn't really
> address the problem but would make patching easier in this case and some
> people passionately care about such things .. Gets away from hard coded
> xterm, but I guess you can't guarantee e.g. "-e" works as expected..

yes, probably a good idea.

In grass-run.sh a condition for xterm could be added (then allow for -e,
otherwise do something else).

There are still to many hardcoded xterm in 5.7:

./display/d.m/script/r.colors.rules
./display/d.m/script/r.reclass.rules
./display/d.m/script/r.recode.rules
./display/d.m/d.m.tcl
./gui/tcltkgrass/main/gui.tcl
./gui/tcltkgrass/script/r.colors.rules
./gui/tcltkgrass/script/r.reclass.rules
./gui/tcltkgrass/script/r.recode.rules
./lib/external/bwidget/entry.tcl
./lib/init/epsg_option.tcl
./scripts/r.mapcalculator/r.mapcalculator
./scripts/r3.mapcalculator/r3.mapcalculator

All tcl related, so it will eventually use the new script method.

[?]

Markus




More information about the grass-dev mailing list