Bug#315186: [Pkg-grass-devel] Bug#315186: grass: unnecessary xterm dependency

Hamish Hamish <hamish_nospam@yahoo.com>, 315186@bugs.debian.org
Wed, 22 Jun 2005 14:01:58 +1200


> Is it really necessary to make grass dependent on xterm? I used
> to use grass 5 in konsole and I was pretty happy with that.
> Wouldn't it be better to make it dependent just on
> x-terminal-emulator?


"xterm" is hardcoded. Mostly invoked from the d.m GUI,

display/d.m/script/d.colors.sh
display/d.m/script/d.text.sh
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
lib/external/bwidget/entry.tcl
lib/init/epsg_option.tcl
scripts/r.mapcalculator/r.mapcalculator
scripts/r3.mapcalculator/r3.mapcalculator

It would be nice to get rid of all these, but we need a better
interactive TCL solution first.

These are all installed text files that you can hack away at if you
really want to change xterm -> whatever.


Does something providing x-terminal-emulator make a symlink called
"xterm" and respect things like -e and -name?


GRASS from the command line doesn't need xterm. It runs in whatever you 
start it in.


Hamish