DEV Community

Discussion on: The power behind the Linux terminal

t4inha profile image
Anderson Bosa Author

Interesting Matthieu! Thanks for sharing!

Just to clarify, this is the teletype ( that you mentioned?

phantas0s profile image
Matthieu Cneude • Edited on

Yes that's it. It was used in the 19th century to send messages, and since it was still widely used in the 60s, they plugged it to computers to send some input. Later they connected the output to a video terminal (cheaper than printing paper).

The terminal emulator is the emulation of both the teletype and the video terminal. It's a mess how it works under the hood because of this legacy. The shell itself is only the layer around the kernel which allows you to interpret your commands and communicate with the kernel.