At present, mlterm already supports the xterm ‘modifyOtherKeys’ full mode (CSI>4;2m) as well as the normal off state (CSI>4;0m). I would like to request that mlterm also support the intermediate mode (CSI>4;1m), which is described in xterm ctlseqs.txt as: “When modifyOtherKeys is set to 1, only the alt- and meta-modifiers apply.” The purpose is that regular old ASCII Control keys are sent as normal, for compatibility with programs that use ASCII controls, while at the same time the Alt/Meta combinations use the special escape sequence, for programs that can use extended key mappings.
I have attached a small patch that can implement this, for your consideration.
Hi, I supported it.
https://bitbucket.org/arakiken/mlterm/commits/c18b19b0ae9481e502ba795622a0d15c52d5a900
Regards,
Thank you!