Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

On the Wikipedia's article (Computer terminal) under the hard copy terminals section of the article it says this "Early user terminals connected to computers were electromechanical teleprinters or teletypewriters (TeleTYpewriter, TTY)..."

So does TTY stand for teletypewriters? But it doesn't make any sense for me because I have never seen it and have no idea what "tele" means.

share|improve this question
6  
Yes, the origin of TTY in Unix is from teletypewriter. The tele in telephone, teletypewriter, etc comes from a Greek root meaning far or distant. TTY's provide a virtual interface similar to what the physical machines provided. This is the origin of the 80 char width and the carriage return and linefeed codes. –  chaskes Jun 11 at 17:04
4  
Really good explanation here: unix.stackexchange.com/questions/4126/… –  No Time Jun 11 at 20:33
8  
I can't believe this question is here...... –  Elder Geek Jun 12 at 2:10
5  
If you don't know what tele means, that suggests you might be weak in Greek and Latin prefixed and suffixes. This is an important language skill, because a good chunk of the English Language is built on this, and knowing the pieces lets you guess the meanings of unfamiliar words. Spend a few hours over the next few weeks studying some web resources on Greek and Latin roots, suffixes and prefixes. (Seriously though, never heard of television? telephone? telekinesis? teleportation? telegraph? telegram? telescope? telemarketing? telecommuting?) –  Kaz Jun 12 at 3:53
5  
There is a Wikipedia page on teletypewriters, you know... –  Nate Eldredge Jun 12 at 8:48
show 4 more comments

6 Answers 6

Yes, the origin of TTY in Unix is from teletypewriter. The tele in telephone, teletypewriter, etc comes from a Greek root meaning far or distant. tele + phon (sound) = Speaking at a distance and so on.

Timeshare systems (pre-Unix) developed physical terminals that allowed you to interact with (share) the computer during your scheduled time. These terminals meant you did not have to be physically in front of the computer to use it. You could also send output to a teletypewriter, that would print the output at that location.

This was the existing physical infrastructure when Unix was developed, so it was natural to use it for Unix networking. Emulation in virtual or software terminals of the features in physical terminals prevented older code or network infrastructure from breaking.

It's this origin in physical terminals (and ultimately the machines origins in the telgraph (distant writing) system and their use of control codes that accounts for certain terminal standards today. These include the standard 80 character width and the carriage return and linefeed codes.

share|improve this answer
add comment

This is a teletype: enter image description here

Pressing a key sends a character down the serial link. Incoming characters on the serial link are printed on the printer. So when you type ls, you get a hardcopy of the file listing.

(from http://www.cl.cam.ac.uk/~djg11/howcomputerswork/)

share|improve this answer
5  
pj50 probably meant "Pressing a key (hard) ..." I'm pretty sure this is the device that was responsible for 'hit' in "hit return". –  Nate Lockwood Jun 12 at 19:47
    
That's implicit by saying "press it", not "tickle it" ;-) –  Steve Jessop Jun 13 at 9:31
    
Same applies to the IBM model M buckling-spring keyboard :) I suspect they were calibrated for typists used to mechanical typewriters and the force required there. I'm astonished that this answer has been so popular! Maybe I should have included more about serial lines and multiple TTYs. –  pjc50 Jun 13 at 12:04
add comment

The first printing telegraph machine was patented in 1846. Various companies continued developing them, and the word "Teletype" was first trademarked in 1921. One of these companies changed its name to the Teletype Corporation in 1928 and was acquired by AT&T in 1930. (Source: en.wikipedia.org/wiki/Teleprinter)

So these machines had seen almost 100 years of development before the first computers, and were the obvious choice for a human-interface device. There were more expensive terminals, but Teletypes were usually the cheapest and most reliable choices. AT&T/Bell Labs owned Teletype corporation when Unix was first developed, and the Digital Equipment computers it was developed on included Teletype 33ASR terminals as standard equipment. TTY was the device name for terminals on the PDP-7 and PDP-11 that Unix originated on, it probably went back to the PDP-1 and who knows what before that. So when they started working on a terminal device handler for Unix, why would they use anything else?

I was confused when I first learned that MSDOS used COM: as the device name for serial ports. I thought TTY was handed down from the ancients, this is heresy!

share|improve this answer
add comment

Early user terminals connected to computers were electromechanical teleprinters or teletypewriters (TeleTYpewriter, TTY), and since then TTY has continued to be used as the name for the text-only console.

There are 6 virtual consoles in Ubuntu accessed by the keyboard shortcuts Ctrl+Alt+F1 to Ctrl+Alt+F6. You can move away from a text-only console (move the console to the background) by using the keyboard shortcut Ctrl+Alt+F7.

share|improve this answer
1  
Moving back to the graphical console from, say, tty2, doesn't "close" tty2. It just moves you away from it. The tty is still active and running. Plus, if you logged in there, you will still be logged in there. –  chaskes Jun 11 at 17:26
add comment

So, back in the day. Computers where hooked up via serial connection to the Teletype you mention. They were essentially matrix printers. You can look on youtube and see how they work. To maintain legacy code, each terminal or UI window you have gets liked to a tty device under /dev.

Nothing but semantics.

share|improve this answer
1  
Matrix? No; not matrix. Like a typewriter, usually a spinning ball head, AFAICR, but definitely not a matrix. –  Jonathan Leffler Jun 12 at 20:45
    
@JonathanLeffler There were ttys based on the IBM Selectric typewriter which used a ball for a print head. It rotated to position the correct letter for the hammer to hit, but it didn't actually "spin". They were nicer than ASR-33s. As you say, no matrix, just metal molds of characters on hammers that would strike an ink ribbon to print the letter on the page or roll of paper. They were an incredible advance over submitting a box of 80 column cards and waiting for an operator to load them. –  Joe Jun 18 at 21:01
add comment

In the later days of the teletypes, it was adopted by the deaf community as a form of communications. Officially called TDD (Telephone Device for the Deaf) with the development & refinement of equipment that used the same communication media of Baudot and Ascii, it was widely adopted by the deaf to sign "TTY" because it's easier to sign than than "TDD". Nowdays, it's fast becoming ancient as deaf people use video relays to communicate. TTY/TDD's are mainly found in public settings at airports, government agencies, public venues, etc. that are hardly used due to the proliferation of wireless devices.

share|improve this answer
add comment

protected by AgentCool Jun 13 at 3:46

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.