Package: xboard
Version: 4.2.6-2.1
Severity: normal

I do not have xterm installed on my debian system.
If I choose menu Help,"info xterm" or Help,"man xterm" nothing happens, apart 
from this error message in the console:

[EMAIL PROTECTED]:~$ xboard
sh: line 1: xterm: command not found

I have had a look through the source code and xboard just spawns xterm
without checking that this file exists in the path and without checking
whether the call completed successfully.

So xboard needs either to check for the existence of xterm and popup an 
error message if it doesn't exist (as the user would not see the 
console error message unless they had started xboard from a console) or 
alternatively spawn /etc/alternatives/x-terminal-emulator instead of xterm 
which would be better as it would prevent a dependency on an arbitrary 
package. I assume that all x-terminal-emulators will respond 
appropriately to -e command line parameter (x-terminal-emulator -e $command).
I have tested this with konsole and gnome-terminal-emulator and they
both do at any rate.

As a consequnce xboard should suggest either xterm or x-terminal-emulator,
and info and man-db as well.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686-smp
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages xboard depends on:
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  xaw3dg                   1.5+E-8         Xaw3d widget set
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to