lkml.org 
[lkml]   [1996]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Ideas for v2.1
Date
From
> >It would a simple matter to _NOT_ log escape sequences, since
> >printk would already have to detect them in the first place.
> >The escape code just shouldn't be put in the buffer.
>
> No, it would probably be quite tricky.

I _STRONGLY_ don't agree (but that is good isn't it? :-)

You are _right_ in saying that the escape codes only should be
acten on in the console driver though.

printk _KNOWS_ what sequences it can handle, and can _easily_
be told to not log other sequences.

Example: "Hello %E3[K4world%E3[K2\n" (note: bogus esc seqences)
%En could be defined as meaning an escape sequence of length n.

--
Andrew E. Mileski

mailto:aem@ott.hookup.net http://www.redhat.com/~aem/
Linux Plug-and-Play Project http://www.redhat.com/pnp/

Red Hat Software sponsors these pages - I have no other affilitation
with Red Hat Software, and I have never used any of their products.


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.041 / U:3.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site