bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bash and multibyte characters


From: Michael C . Wu
Subject: Bash and multibyte characters
Date: Sun, 24 Dec 2000 17:51:23 -0600
User-agent: Mutt/1.2.5i

Hello bash users:

Regarding multibyte character support, here is a feature suggestion:
Say we have two-byte characters (commonly used in Chinese/Japanese/
Korean) AA, BB, XX, and YY

The correct behavior when I have the following text:

AABBXXYY<cursor>
and I push "backspace" once
The result would be:
AABBXX

But bash does this:
AABBXXY

And we have to push the delete button again, same incorrect behavior
happens with arrow keys, ^W and etc.

Basically, bash needs to be taught about multibyte characters.
Would you mind modifying bash behavior to respect an environmental
shell variable that toggles this as well as the functionality?

Merry Christmas and thanks,

Michael
-- 
+------------------------------------------------------------------+
| address@hidden         | address@hidden |
| http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. |
+------------------------------------------------------------------+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]