Hello! I dont know how to use luit for receive alt+ or ctrl+ NON-LATIN key combinations. For example, I type english and cyrillic characters and combinations "q", "w", "e", "<alt>+q", "<alt>+w", "<alt>+e", "й", "ц", "у", "<alt>+й", "<alt>+ц", "<alt>+у" Without luit: $ showkey -a Press any keys - Ctrl-D will terminate this program q 113 0161 0x71 w 119 0167 0x77 e 101 0145 0x65 ^[q 27 0033 0x1b 113 0161 0x71 ^[w 27 0033 0x1b 119 0167 0x77 ^[e 27 0033 0x1b 101 0145 0x65 й 208 0320 0xd0 185 0271 0xb9 ц 209 0321 0xd1 134 0206 0x86 у 209 0321 0xd1 131 0203 0x83 ^[й 27 0033 0x1b 208 0320 0xd0 185 0271 0xb9 ^[ц 27 0033 0x1b 209 0321 0xd1 134 0206 0x86 ^[у 27 0033 0x1b 209 0321 0xd1 131 0203 0x83 With luit: $ luit -encoding 'KOI8-R' showkey -a Press any keys - Ctrl-D will terminate this program q 113 0161 0x71 w 119 0167 0x77 e 101 0145 0x65 ^[q 27 0033 0x1b 113 0161 0x71 ^[w 27 0033 0x1b 119 0167 0x77 ^[e 27 0033 0x1b 101 0145 0x65 й 202 0312 0xca ц 195 0303 0xc3 у 213 0325 0xd5 ^[ 27 0033 0x1b ^[ 27 0033 0x1b ^[ 27 0033 0x1b How can i get the right code for "<alt>+й" instead "^[ 27 0033 0x1b" ? Thx, Merry Christmas and Happy New Year!
Created attachment 120844 [details] [review] Now, <Alt>+key combinations works with non-Latin characters I solved problem. Would you like review my patch?
This is actually an issue for whatever terminal is being used, not luit. A patch was mentioned, but not provided.
> A patch was mentioned, but not provided. Whose patch? Where?
> This is actually an issue for whatever terminal is being used, not luit. I use GNOME Terminal 3.26.2 , this solution works for me https://bugs.freedesktop.org/attachment.cgi?id=120844 (I'm playing in a MUD and use alt+<cyrillic> combinations as a hotkeys)
> (I'm playing in a MUD and use alt+<cyrillic> combinations as a hotkeys) **I'm playing in a MUD using the Tintin++ 2.01.3 console client
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.