[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1093056: Re: Bug#1093056: xterm: Alt key combinations with non-Latin keyboard layouts don't send escape sequences in modifyOtherKeys mode 2



Hi Thomas,
 
Thank you for your feedback on the proposed patch. I understand your concerns, and I agree that configurability and avoiding assumptions about Mod1Mask are important.
 
Regarding configurability, I think extending the modifyOtherKeys option would be the most logical approach. Perhaps a new mode (e.g., modifyOtherKeys=3) could be introduced. This new mode would behave like mode 2, but also send the Unicode character (as an escape sequence followed by the character) when Alt is combined with a non-Latin key and a specific escape sequence cannot be generated. This would maintain backward compatibility while providing the desired functionality.
 
Alternatively, a separate resource like altSendsUnicode could be considered, but I believe integrating it with modifyOtherKeys would be cleaner. The main advantage of this behaviour - that Far Manager (and probably, another console software) users that uses non-Latin input could bind hotkeys the same manner as a latin input users.
 
What variant do you prefer?
 
You're absolutely right about Mod1Mask. I was too focused on my own setup. A more robust solution is needed. What do you think about using XkbGetState?
 
Thanks in advance,
Ivan
 
 

Reply to: