H. Peter Anvin wrote:
One would also like to distinguish, say, Backspace from Ctrl-H. This is trickier, because the termios settings don't permit compound keys. The most obvious way to deal with that is an escape code for Ctrl-H, but that has the risk of breaking a lot of other things.
Backspace is not a problem, since it generates ^? (DEL/127) on Linux since the early days.
It would be really nice to be able get arbitrary modifier combinations for all keys and a separate combination for the escape key.