by wanderingjew · 2y ago · 0 comments
https://twitter.com/ViolenceWorks/status/1335382435031252992...
Control-a inputs byte value 1, control-b 2 and so on.
BEL is mapped to value 7 in ascii, thus C-g.
Note control-space usually does input a NUL (0) in most terminals.
This explanation is over-simplified though. In practice, different systems have used different techniques to derive control codes from key chords. I have a more detailed article about this at https://susam.net/blog/control-escape-meta-tricks.html if anyone is interested to read it.