On Fri, 9 Jun 2000, Robert Brady wrote:
> Now I've finished exams and have some spare time, I'm working on debugging
> the xterm/doublewide/combining patch. I am confused as to how cursor
> behaviour should work again. :)
>
> Imagine... (where [ is left half of a DWC and ] is the right half)...
>
> 01234567890123456789
> 0 [][][][][][][][][]
> 1
>
> After that last [], what should happen? Obviously, a narrow character can
> fit in, so if one was sent, it should end up looking like
>
> [][][][][][][][][].
>
> but, what if a doublewidth character was next? would it want to look like
>
> [][][][][][][][][][
> ^ with an isolated half
Let's call this A.
> or would it be like
>
> [][][][][][][][][]
> []
Let's call this B.
Below I also refer to
C:
> [][][][][][][][][]
> ?
and D:
> [][][][][][][][][]?
>
where '?' is some wrong glyph, i.e. the character is corrupted.
> What do the other terminals that support doublewidth characters do? Do
Here's what I found for several CJK terminal emulators. (double-byte
characters, EUC-like encodings)
Auto Wrap disabled Auto Wrap enabled
kterm A B
hanterm hangs[*] B
krxvt D C
kon2 N/A B
[*] becomes unresponsive, eats CPU time.
> they even allow doublewidth characters on odd columns at all?
All I know do. It would be pretty strange otherwise.
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/