What are teletypes, and why were they used with computers?

Teletypes, short for tele-typewriters, were electromechanical machines with a keyboard and a printer that early computers used as their main way to take typed commands and print results.

This article explains how a teletype worked, why mini and mainframe computers relied on them, what replaced them, and why Linux, macOS and Windows still talk about TTYs today.

What are teletypes, and why were they used with computers?
A teletype combined a keyboard with a paper printer; machines such as the ASR33 sent about 10 characters per second. (Image: Microsoft)

What is a teletype machine in computing?

A teletype (TTY) is a keyboard plus a printing output device, connected to a computer by a cable, that sends each typed character to the computer and prints whatever characters the computer sends back. From the earliest days of electronic computing, users needed an efficient way to send commands and data and see the results, and the teletype was one of the first truly effective human-computer interfaces.

Later teletype-style devices swapped the printer for a screen, but the job stayed the same: characters in from the keyboard, characters out to the operator.

Understanding teletypes

A teletype was a machine of moving parts, not electronics. Each part handled one simple stage of the conversation with the computer.

Part What it did
Keyboard Turned each key press into a character code, such as 65 for A and 90 for Z under the 7-bit ASCII standard.
Local buffer Held the typed characters before they went down the wire.
Serial link Carried characters to a nearby mini or mainframe computer over a cable, typically an RS-232 link or a 20 mA current loop.
Printer Printed the characters the computer sent back, so the operator could read the result and reply.
Speed Ran at about 10 characters per second, or 110 baud, on machines such as the ASR33.

The mechanism was simple on purpose. Because every stage only passed a stream of characters to the next, engineers could add a modem and send the same stream over telephone lines.

The role of teletypes in computing

Teletypes were the input and output devices for early mini and mainframe computers. The computer never drew anything; it only received and returned text.

Function How a teletype handled it
Input The operator typed a command, and the characters went to the program running on the computer.
Processing The program decided what to do with those characters and did the work.
Output The program sent characters back, and the teletype printed them on paper.
Remote use With a modem, the same terminal could reach a computer far away over a telephone line.
Development work Programmers worked this way too; a well-known photo shows Ken Thompson and Dennis Ritchie using a DEC PDP-11 through a teletype with no screen at all.
Teletype role in computing shown as terminal and computer I/O buffers over RS-232
Keystrokes flow from the terminal's output buffer over a serial link such as RS-232 to the shell, and results flow back the same way. (Image: Microsoft)

Why were teletypes used with computers?

Teletypes were chosen because they solved the interface problem with hardware that already existed and was easy to connect.

Reason Why it mattered
Operators needed a way in and out Users had to send commands and data to the computer and see the results of their calculations.
Plain character streams A keyboard and printer that only send and receive characters are easy for any program to handle.
A printed record Every command and every answer was printed on paper for the operator to read.
Distance The serial signal could run along a cable to the computer room or through a modem over phone lines.
One device for both directions Input and output lived in a single machine on a single connection.

Historical importance of teletypes

The teletype set the pattern every later terminal copied. Terminals and command lines changed hardware many times while keeping the same model.

Stage What changed What stayed the same
Electromechanical teletypes Keyboard and printer at about 10 characters per second Characters sent to the computer, characters printed back
Video terminals CRT screens such as the DEC VT100 replaced paper, and speeds rose as high as 19,200 bps The same character stream over RS-232
Software terminals on PCs From the mid-1980s, PC terminal programs used the serial port to reach other computers The PC played the part of the old terminal
Terminal apps on modern desktops Windows, Linux and macOS run terminals in a window Shells such as bash, Cmd and PowerShell still read characters and write text back

That continuity also shaped automation. Once commands were plain text, operators could save them as scripts, which grew into the command-line shells used to automate systems today.

DEC VT100 video terminal that replaced teletypes with a CRT screen
Video terminals such as the DEC VT100 swapped paper for a CRT screen but kept the same character stream over RS-232. (Image: Microsoft)

The challenges faced by teletypes

Challenge Effect What solved it
Speed limitations About 10 characters per second made long output slow to read. Video terminals with much higher serial speeds.
Noisy printing The printer mechanism was noisy. Silent CRT screens.
Running cost The printer was expensive to operate. Screens that displayed text without printing it.
Maintenance and reliability Teletypes were clunky, hulking electromechanical machines full of moving parts. Electronic terminals with far fewer moving parts.
No screen editing Printed text could not be changed once it was on paper. Video terminals that buffered a line for local editing before sending it.

The transition to modern technologies happened in steps: dumb terminals first, then PCs running terminal software, and finally terminal windows inside a graphical desktop.

Teletype vs terminal vs terminal emulator

Device Output Connection Example
Teletype (TTY) Paper printer Serial line or current loop to the computer ASR33
Video terminal CRT screen Serial RS-232 line DEC VT100
Terminal emulator A window on your desktop In-memory pseudo terminal (PTY) or a network connection xterm

All three do the same job. The terminal emulator simply runs inside the computer it talks to, so the cable became a pseudo teletype in memory.

Terminal emulator vs teletype: a pseudo terminal links the terminal and shell
A terminal emulator talks to the shell through an in-memory pseudo terminal, the software stand-in for the old teletype cable. (Image: Microsoft)

The legacy of teletypes

The machines are gone from offices, but the name and the model survive in every operating system.

Where TTY survives What it is today
The tty command on Linux Prints the file name of the terminal connected to standard input.
Pseudo terminals (PTY) Virtual serial hardware that lets terminal apps and tools such as tmux talk to shells on the same machine.
Windows ConPTY The Windows Pseudo Console, added to Windows 10 so terminal apps could work the way PTYs do on Unix.
Virtual terminal sequences Escape codes descended from DEC and Tektronix terminals, now Microsoft's recommended way to drive the Windows console.
Python's tty module Puts a Unix terminal into cbreak or raw mode.
ASCII control codes Values 0-31 and 127 are set aside as non-printing device control codes.
TTY calls on phones iPhone supports Software TTY and Hardware TTY for people with hearing or speech difficulties.

That is also why teletypes keep educational value: tracing a modern terminal back to a printing teletype explains odd details such as character streams, escape codes and the name TTY itself.

Teletype legacy in Windows ConPTY linking consoles and command-line apps
The Windows Pseudo Console (ConPTY) passes UTF-8 text and VT sequences between a console and command-line apps, the way PTYs do on Unix. (Image: Microsoft)

What does TTY mean in Linux? Check it with the tty command

On Linux, TTY is the name for the terminal device a program reads input from. The tty command shows which one your shell is using.

tty

Prints the file name of the terminal connected to standard input. Add -s (or –silent) to print nothing and only return an exit status, which is handy in scripts.

You should see: A device path is printed, which is the terminal device your current shell is attached to.

Teletype and TTY FAQ

What does TTY stand for?

TTY stands for teletype, short for tele-typewriter. The name came from the electromechanical keyboard-and-printer machines early computers used, and Unix-like systems kept it for any terminal device a program reads input from.

How fast was a teletype?

A teletype such as the ASR33 sent about 10 characters per second, which is 110 baud. Later video terminals reached serial speeds of up to 19,200 bps, which is one reason teletypes disappeared from computer rooms.

What replaced teletypes?

Video terminals with CRT screens, such as the DEC VT100, replaced teletypes. From the mid-1980s, PCs running terminal software took over that role, and today terminal apps run in a window on Windows, Linux and macOS.

How did a teletype connect to a computer?

A teletype connected through a serial link, typically an RS-232 cable or a 20 mA current loop. Adding a modem let the same character stream travel over telephone lines to a computer far away.

Is a teletype the same as a terminal?

A teletype is the earliest kind of terminal. It printed output on paper, while later video terminals showed text on a screen and terminal emulators show it in a window, but all three send typed characters and display what comes back.

What is a pseudo terminal (PTY)?

A pseudo terminal is a software version of a teletype connection. It virtualizes serial hardware so a terminal app and a shell such as bash or PowerShell can exchange characters in memory on the same computer.

Are teletypes still used today?

Printing teletypes are no longer used with computers, but TTY lives on. Phones such as the iPhone support TTY calls for people with hearing or speech difficulties, and Linux still reports the current terminal device with the tty command.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *