Re:Devil Mode: A twisted key sequence translator for modifie...
by susam on Sunday May 07, 2023 @12:30PM
(#35853096)
Indeed. A really easy way to test this out on a modern Unix-ish system is to launch a terminal emulator, run cat, and then type Alt+a followed by Esc a. And then for bonus, type Ctrl+[ a. The output should look like this:
[ Parent
| on HN ]
Re:Devil Mode: A twisted key sequence translator for modifie...
by msla on Sunday May 07, 2023 @03:01PM
(#35854481)
Interestingly, on my Linux setup, Alt-a gets me this for left and right Alt:
á
Ubuntu 22.04
I set up PrtSc as a compose key and have an .XCompose file, but that still works.
Re:Devil Mode: A twisted key sequence translator for modifie...
by msla on Sunday May 07, 2023 @05:13PM
(#35855649)
Through a little playing around, I figured it out: My Alt actually is a Meta key, in that it sets the high bit. Convert the resulting eight-bit value to UTF-8 and you get the observed behavior: 'a' is 0x61 (0b01100001) and 'á' is U+00E1 (0b11100001) in Unicode.