DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: The TTY demystified  (Read 7,827 times)

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,027
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Linux User
The TTY demystified
« on: February 14, 2014, 07:10 AM »
Hmmm... I always wondered why an ancient technology is still an essential part of how Unix-like operating systems communicate internally between user and software.  Now I know the 'why', but I got the how as a pretty sweet bonus.  :Thmbsup:

Though I found the article easy to read and digest, I must say it's not quite n00b reading material, but neither is it restricted to brain rockets.  Enjoy:

Quote
The TTY subsystem is central to the design of Linux, and UNIX in general. Unfortunately, its importance is often overlooked, and it is difficult to find good introductory articles about it. I believe that a basic understanding of TTYs in Linux is essential for the developer and the advanced user.

Beware, though: What you are about to see is not particularly elegant...



from HackADay
All children left unattended will be given a mocha and a puppy.

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,861
Re: The TTY demystified
« Reply #1 on: February 14, 2014, 03:36 PM »

Excellent journeyman-level article that doesn't get too esoteric. Thanks for posting the link!  :):Thmbsup:
« Last Edit: February 14, 2014, 03:46 PM by 40hz »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: The TTY demystified
« Reply #2 on: February 16, 2014, 08:15 AM »
Seems like a nice write-up, though haven't gotten through the whole thing yet.

Thanks for sharing this :up:

Original address: https://www.donationcoder.com/forum/index.php?topic=37250.0