Bug#400859: xterm: Emacs and XEmacs don't use 256 colors
Package: xterm
Version: 222-1
Severity: normal
Emacs and XEmacs don't recognize that an xterm supports 256 colors,
even when TERM is set to "xterm-256color". I'm not sure if this is a
bug in "xterm", "ncurses-term", or the Emacs/XEmacs packages. To
reproduce the bug:
xterm% TERM=xterm-256color xemacs -nw
and then, from within XEmacs (or Emacs):
M-x list-colors-display
Only 16 colors are displayed. I verified that the xterm supports 256
colors by running the "256colors2.pl" script that is included with the
source package.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages xterm depends on:
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libfontconfig1 2.4.1-2 generic font configuration library
ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii libsm6 1:1.0.1-3 X11 Session Management library
ii libx11-6 2:1.0.3-3 X11 client-side library
ii libxaw7 1:1.0.2-4 X11 Athena Widget library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxft2 2.1.8.2-8 FreeType-based font drawing librar
ii libxmu6 1:1.0.2-2 X11 miscellaneous utility library
ii libxt6 1:1.0.2-2 X11 toolkit intrinsics library
ii xbitmaps 1.0.1-2 Base X bitmaps
Versions of packages xterm recommends:
ii xutils 1:7.1.ds.3-1 X Window System utility programs
-- no debconf information
Reply to: