Hi,
At Mon, 06 Aug 2001 09:58:28 +0500 (IST),
[EMAIL PROTECTED] wrote:
> While using Backspace or Delete to erase character in Xterm with
> UTF-8 support , it will not work properly. It will accept to more
> Backspace for a single character.
This is not a responsibility of terminals but of shells.
Terminals are responsible to erase one column for one 0x08
code. It is shells' responsibility to issue proper number
of 0x08 code for one hitting of BS key and erase proper
bytes of the internal buffer.
Many shells are designed on an assumption that numbers of
characters, bytes, and columns are identical. This assumption
is only true for encodings without multibyte characters,
doublewidth characters, combining characters, and other
"complex" features.
Try patches for bash and so on which are available at:
http://oss.software.ibm.com/developer/opensource/linux/patches/i18n.php
---
Tomohiro KUBOTA <[EMAIL PROTECTED]>
http://www.debian.or.jp/~kubota/
"Introduction to I18N" http://www.debian.org/doc/manuals/intro-i18n/
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/