Bug#541603: Application defaults fail to get loaded (xrdb error messages)
Package: xterm
Version: 244-1
Severity: normal
Tags: patch
__> xrdb -merge /etc/X11/app-defaults/XTerm-color
In file included from /etc/X11/app-defaults/XTerm-color:4:
/etc/X11/app-defaults/XTerm:200:8: warning: missing terminating ' character
/etc/X11/app-defaults/XTerm-color:23:64: warning: missing terminating ' character
The problem is, this makes several colors default to the
background color (black, for me), and you get black on black text.
This affect, amongst other things, git diff -- no file names can be
seen, which is a trifle disconcerting.
======================================================================
__> git diff /tmp/one /tmp/two
diff --git a/tmp/one b/tmp/two
@@ -2,9 +2,9 @@ one
two
three
four
-five
six
seven
eight
nine
ten
+five
======================================================================
The fix is trivial:
perl -pli -e 's/\'/\'\'/g' /etc/X11/app-defaults/XTerm{,-color}
manoj
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30.4-anzu (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xterm depends on:
ii libc6 2.9-23 GNU C Library: Shared libraries
ii libfontconfig1 2.6.0-4 generic font configuration library
ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library
ii libncurses5 5.7+20090803-1 shared libraries for terminal hand
ii libx11-6 2:1.2.2-1 X11 client-side library
ii libxaw7 2:1.0.6-1 X11 Athena Widget library
ii libxft2 2.1.13-3 FreeType-based font drawing librar
ii libxmu6 2:1.0.4-2 X11 miscellaneous utility library
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii xbitmaps 1.0.1-2 Base X bitmaps
Versions of packages xterm recommends:
ii x11-utils 7.4+1 X11 utilities
ii xutils 1:7.4+3 X Window System utility programs m
Versions of packages xterm suggests:
pn xfonts-cyrillic <none> (no description available)
-- no debconf information
Reply to: