How terminal works. Part 1: Xterm, user input
Motivation
Introduction
User input
strace
Printing non-printable
stty raw -echo -isig
UTF-8
Conclusion
Motivation
This blog series explains how modern terminals and command-line tools work. The
primary goal here is to learn by experimenting. I’ll provide Linux tools to
debug every component mentioned in the discussion. Our focus is to discover
how things work. For the explanation of why things work in a certain
way, I encourage the reader to read excellent articles:
The TTY demystified
A Brief I...
Read more at kevroletin.github.io