mobile-shell / mosh

Mobile Shell
https://mosh.org
GNU General Public License v3.0
12.68k stars 740 forks source link

VT100 DECKPAM - Alternate Keypad Mode #1298

Open justinpopa opened 1 year ago

justinpopa commented 1 year ago

Presently, I can use the DECKPAM escape code locally to enable alternative keypad mode. If I ssh to a remote machine, this functionality persists. If I use mosh instead, it no longer functions. I am presuming that the issue is similar to 1135, but my knowledge of this is exceedingly limited. I'm presuming this might be tricky to implement given that these codes are often used for application specific purposes and it may not be simple to update the client state? Is implemting capability for both DECKPAM and DECKPNM switching, along with the associated keypad codes (below) even possible?

^[Op
^[Oq
^[Or
^[Os
^[Ot
^[Ou
^[Ov
^[Ow
^[Ox
^[Oy
^[Om
^[Ol
^[On
^[OM
achernya commented 1 year ago

This is likely possible, but I doubt anyone will get to this any time soon.