User: Password:
Subscribe / Log in / New account

Getting a new tty pot

Getting a new tty pot

Posted Jul 30, 2009 1:20 UTC (Thu) by corbet (editor, #1)
In reply to: Getting a new tty pot by PaulWay
Parent article: A tempest in a tty pot

The real problem here, of course, is step 2. The current TTY interface is a little brutal at times, but it's standard and a lot of programs have been written to it. A new user-space API would be painful to bring in, and we'd still have to support the old one forever.

Past history in this area is not greatly encouraging either. Solaris tried more-or-less what you suggest; the result was called "streams." If you've never had to deal with those, count your blessings.

(Log in to post comments)

Getting a new tty pot

Posted Jul 30, 2009 8:08 UTC (Thu) by nix (subscriber, #2304) [Link]

The *problem* is also step 2, of course. The TTY layer isn't complicated
by its need to conform to RS232 or whatever. It's complicated by its
horrendously arcane userspace interface (what is it, *two* chapters in
APUE?), which is the very thing whose behaviour must be preserved.

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