[GRASS-dev] hardcoded 'xterm': wrapper?

Glynn Clements glynn at gclements.plus.com
Sun Aug 27 07:52:35 EDT 2006


Markus Neteler wrote:

> Debian folks are unhappy with the hardcoded 'xterm' in
> many places and suggest to replace it with a wrapper script so
> that they have to change it in a single place later.
> 
> They do:
> http://svn.debian.org/wsvn/pkg-grass/packages/grass/branches/6.1/debian/patches/xterm-fix.dpatch?op=file&rev=0&sc=0
> 
> Should we invent a 'grass-xterm' script (in $ETC?) for
> that? What would be the needed content (thinking portability)?

That's one option; another is an environment variable, GRASS_XTERM. If
a wrapper script is used, it should check $GRASS_XTERM before falling
back to x-terminal-emulator or xterm.

In the longer term, we need to make more progress on eliminating the
need for a terminal. The inability to access certain functionality
without a (curses-compatible) terminal should be considered a bug.

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




More information about the grass-dev mailing list