LWN.net Logo

A tempest in a tty pot

A tempest in a tty pot

Posted Jul 29, 2009 19:35 UTC (Wed) by michaeljt (subscriber, #39183)
In reply to: A tempest in a tty pot by BrucePerens
Parent article: A tempest in a tty pot

Why the ANSI terminal to framebuffer code? I would have thought that simple line printing, along with a couple of ioctls for moving the cursor and selecting colours would be enough. And of course all the virtual terminal stuff is not needed either for printing kernel messages.


(Log in to post comments)

A tempest in a tty pot

Posted Jul 29, 2009 19:41 UTC (Wed) by BrucePerens (guest, #2510) [Link]

Well, the color is set with ANSI codes. And there's a lot of code that backspaces over itself and reprints while indicating something in process.

So. you end up with a reasonably large piece of function-duplicating code if you split the kernel console and a more elaborate user console.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds