lkml.org 
[lkml]   [2008]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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.


\
 
 \ /
  Last update: 2008-03-29 01:47    [W:0.068 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site