mobile-shell / mobile-shell/mosh

VT100 DECKPAM - Alternate Keypad Mode

Open
#1,298 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature Terminal emulation
Dominant language
C++
Stars
14.5k
Forks
865
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with issue 1135 and the listed DECKPAM, DECKPNM, and keypad escape sequences, then investigate how mosh handles terminal modes and input forwarding. Done means alternate keypad mode and its associated keypad codes work consistently through mosh, as they do over SSH.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.