Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Friday August 02 2019, @01:03PM   Printer-friendly
from the ASCII-and-you-will-receivii? dept.

https://bestasciitable.com/

To understand why Control+i inserts a Tab in your terminal you need to understand ASCII, and to understand ASCII you need know a bit about its history and the world it was developed in. Please bear with me (or just go the table).

Teleprinters

Teleprinters evolved from the telegraph. Connect a printer and keyboard to a telegraph and you've got a teleprinter. Early versions were called "printing telegraphs".

Most teleprinters communicated using the ITA2 protocol. For the most part this would just encode the alphabet, but there are a few control codes: WRU ("Who R U") would cause the receiving teleprinter to send back its identification, BEL would ring a bell, and it had the familiar CR (Carriage Return) and LF (Line Feed).

This is all early 20th century stuff. There are no electronic computers; it's all mechanical working with punched tape. ITA2 (and codes like it) were mechanical efficient; common letters such as "e" and "t" required only a single hole to be punched.

These 5-bit codes could only encode 32 characters, which is not even enough for just English. The solution was to add the FIGS and LTRS codes, which would switch between "figures" and "letters" mode. "FIGS R W" would produce "42". This worked, but typo'ing a FIGS or LTRS (or losing one in line noise) would result in gibberish. Not ideal.

Terminals

In the 1950s teleprinters started to get connected to computers, rather than other teleprinters. ITA2 was designed for mechanical machines and was awkward to use. ASCII was designed specifically for computer use and published in 1962. Teleprinters used with computers were called terminals (as in "end of a connection", like "train terminal"). Teleprinters were also called "TeleTYpewriter", or TTY for short, and you can still find names like /dev/tty or /bin/stty on modern systems.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 3, Insightful) by pkrasimirov on Friday August 02 2019, @04:25PM (2 children)

    by pkrasimirov (3358) Subscriber Badge on Friday August 02 2019, @04:25PM (#874694)

    Lol that's a good one :) Sir, I believe this site could benefit tremendously if you post here more often.

    Starting Score:    1  point
    Moderation   +1  
       Insightful=1, Total=1
    Extra 'Insightful' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   3  
  • (Score: 2) by crb3 on Saturday August 03 2019, @03:29PM (1 child)

    by crb3 (5919) on Saturday August 03 2019, @03:29PM (#875159)

    You're sure it's not just a bunch of BS?

    • (Score: 2) by acid andy on Saturday August 03 2019, @03:52PM

      by acid andy (1683) on Saturday August 03 2019, @03:52PM (#875168) Homepage Journal

      I must confess,
      You're the one leaking B. S.
      Into Soylent N. E. W. S.
      P. S. please redress
      This excess
      Of B. S.

      ;)

      --
      If a cat has kittens, does a rat have rittens, a bat bittens and a mat mittens?