On Mon, 29 Jan 2001, Bruno Haible wrote:
> Marcin 'Qrczak' Kowalczyk writes:
>
> > "\b" does not erase the previous character, only moves the cursor
> > to the left. So you must know widths anyway
>
> Let's take a new character, say DEL ('\177'). We could define that for
> UTF-8 terminals, DEL always erases the last character, i.e. - for the
> nonproportional case - corresponds to a number of "\b \b" sequences.
That sounds good to me - but it still has the problem with large numbers
of combining characters I mentioned earlier.
(Isn't DEL used for something already?)
Random other stuff:
I've been working on making less deal with wcwidth(). This is turning
out to be quite difficult, hope to have something to test later this week.
If it has to display just the the first or second half of a wide-character,
U+303F is the right thing to display? Does this apply to Hangul, Kana,
and Yi as well as Ideographs? What about the wide punctuation?
(For Kana it could display the narrow version, I dunno if that would be
sensible?)
--
Robert Brady
[EMAIL PROTECTED]
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/