mobile-shell / mobile-shell/mosh
Typing MOSH_ESCAPE_KEY twice sends the escape key twice
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 14.5k
- Forks
- 865
- PR merge metrics
- No merged PRs in 30d
Description
With mosh 1.3.2 on MacSS 12.5 (installed via brew) connecting to mosh 1.3.2 on CentOS 7, if I type the escape character (^6) twice, I get two escape characters at the remote end:
-bash-4.2$ hexdump -C
^^^^00000000 1e 1e |..|
00000002
This is different to the description in the ESCAPE SEQUENCES section of the manpage:
... To send the escape character itself, type it twice.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the double-MOSH_ESCAPE_KEY behavior using the versions and platforms described, then compare it with the ESCAPE SEQUENCES section of the manpage. Trace the terminal input handling involved and confirm that sending the escape character twice matches the documented behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100