[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.1.10.0803290143180.18418@fbirervta.pbzchgretzou.qr>
Date: Sat, 29 Mar 2008 01:44:37 +0100 (CET)
From: Jan Engelhardt <jengelh@...putergmbh.de>
To: "H. Peter Anvin" <hpa@...or.com>
cc: "John T." <j.thomast@...oo.com>, linux-kernel@...r.kernel.org
Subject: Re: UTF-8 and Alt key in the console
On Saturday 2008-03-29 01:23, H. Peter Anvin wrote:
>> And while we are at it, I'd suggest a whole new set of escape
>> codes, the current sequences are particularly... bad for
>> stream synchronization. Right now one has to parse strings for
>> end-of-escape.. which is awkward. I'd just be able to
>> strchr(s, '^]') for example and know when the escape code
>> ends. (Compat should of course be honored where necessary.)
>
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists