Re: UTF-8 and Alt key in the console

From: H. Peter Anvin
Date: Fri Mar 28 2008 - 21:07:31 EST


Jan Engelhardt wrote:

I think it would be a major lose to move away from ISO 6429 format; the format is self-terminating and really isn't all that complex.

What do you mean by self-terminating? There is no easy
synchronization like in UTF-8, given you are anywhere inside
a text stream, how do you know (a) you are already in an
escape sequence and (b) how to figure out the rebegin of
normal text.

(a) isn't readily supported (other than scanning backwards), but (b) is pretty easy, see ISO 6429.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/