Package: rxvt-ml
Version: 1:2.6.4-6.2
Severity: normal

crxvt can select crxvt-gb only in zh_CN.GB2312 locale.
It should be wrong.

I modified /usr/bin/crxvt like this:

#!/bin/sh
#
# This is a wrapper script that tests the locale and executes the
# appropriate version of rxvt.

if   [ ${LC_ALL:0:5}   = "zh_TW"   ]; then ext=big5
elif [ ${LC_ALL:0:5}   = "zh_CN" ]; then ext=gb
elif [ ${LC_CTYPE:0:5} = "zh_TW"   ]; then ext=big5
elif [ ${LC_CTYPE:0:5} = "zh_CN" ]; then ext=gb
elif [ ${LANG:0:5}     = "zh_TW"   ]; then ext=big5
elif [ ${LANG:0:5}     = "zh_CN" ]; then ext=gb
else ext=big5
fi
exec /usr/bin/crxvt-"$ext" "$@"

It should be OK.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=zh_CN.GBK, LC_CTYPE=zh_CN.GBK (charmap=GBK) (ignored: LC_ALL set 
to zh_CN.GBK)

Versions of packages rxvt-ml depends on:
ii  base-passwd              3.5.9           Debian base system master password
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxpm4                  4.3.0.dfsg.1-10 X pixmap library
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