On Sat, Sep 28, 2002 at 09:49:43AM +0900, Tomohiro KUBOTA wrote: > I think this choice is shell's responsibility, not terminal. > This is because now "single BACKSPACE" means keyboard typing, > not submitting of 0x08 to tty. > > Submitting of 0x08 to tty should *always* move cursor left > one column, regardless of what character is written on the > left column. This is because terminals cannot tell the > context of accepted 0x08. Many softwares uses 0x08 to > move one column left. > > For example, even if the left column is doublewidth character, > 0x08 moves *one* column and the cursor will be located at the > right half of the doublewidth character. Bash-2.05b is aware > of this behavior and, when BACKSPACE key is pressed after > doublewidth character, bash issues 0x08 0x08 0x20 0x20 0x08 0x08 > to the tty to erase the whole doublewidth character. (It is > more complex in real, to handle line folding.)
Seems so clear to me now. Thanks for the explanation. So, let's move to bash (and whatever other shells). :) And the discussion should be moved to li18nux instead of xfree86-i18n. So, I'll stop following up this thread in xfree86-i18n after this one. -Thep. -- Theppitak Karoonboonyanan Thai Linux Working Group (TLWG) http://linux.thai.net/thep/ _______________________________________________ I18n mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/i18n
