Re: Ideas for v2.1

Andrew E. Mileski (aem@nic.ott.hookup.net)
Fri, 14 Jun 1996 09:28:49 -0400 (EDT)


> >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.