[HN Gopher] The TTY Demystified ___________________________________________________________________ The TTY Demystified Author : csomar Score : 43 points Date : 2021-04-14 05:00 UTC (17 hours ago) (HTM) web link (www.linusakesson.net) (TXT) w3m dump (www.linusakesson.net) | AceJohnny2 wrote: | What would a clean-slate implementation of a serial terminal look | like today? | | I work in embedded, and a serial terminal is practically a must | in any system, if only for debug. A way to provide input and | receive output. | | You'll definitely want a FIFOs for RX/TX. You also likely want | control chars and a way to shortcut the FIFO, if only to | interrupt output. The FIFO means you can abstract away the exact | physical communication medium. | | TUI interfaces mean you also want a way to tell the program what | the dimensions of your screen are, through the control chars. | | What else? | mesofile wrote: | A veritable Internet classic, well worth a read by anyone who | uses a text terminal -- real or emulated. | | Previous discussions: https://hn.algolia.com/?q=TTY+Demystified | galacticaactual wrote: | I really, really enjoy coming to HN for articles like this. ___________________________________________________________________ (page generated 2021-04-14 23:00 UTC)