acme: Issue with accented characters.
ealvarezn opened this issue · 2 comments
I've configured my keyboard using the setxkbmap utility, as follows:
setxkbmap -layout "us (intl)" -option ctrl:nocaps -option compose:ralt
However, when I attempt to type in an accented character, either using the dead keys in the keyboard, or via the compose character, I instead get each character separately (eg, if I type ' and a to get á, I instead get 'a). Interestingly enough, however, caps lock is working as a control key.
That's not how you insert those characters in plan9, for á
type the sequence Alt
, '
and a
. It's not limited to letters though, Alt
, :
and )
yields ☺ (U+263A), more of those sequences can be found in $PLAN9/lib/keyboard
. You can insert any Unicode hex values too, Alt
, X
followed by four hex digits. See keyboard(6)
That works (though, in my system, keyboard is on section 7. Go figure). I guess I can live with yet another way to enter special characters. Kinda wish I didn't have to do such a context switch between acme and the rest of my system.