mobile-shell / mobile-shell/mosh
Mosh to the Moon (really big delays)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 14.5k
- Forks
- 865
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'd like to use mosh to comunicate with a spacecraft on the moon. The problem is that round trip time earth->moon->earth is between 3 and 4 seconds.
What I already did is changing MAX_RTO in network.h from 1000 ms to 10000 ms. This allowed me to establish a stable connection between mosh-server and mosh-client.
But there are two remaining problems.
- As we do not have TCP or SSH available we have to use another way of starting the mosh-server, getting the cryto-key down to earth and connect a mosh-client to it. How can I increase the initial timeout period before the mosh-server terminates itself when no mosh-client is connected?
- When I start to type in my local mosh-client there is quite a delay before I see what I typed. When I keep on typing eventually the underlined characters appear indicating not confirmed letters by the server. Also deleting characters in my local console is quite laggy. It there a way to make mosh more responsive even with round trip times of >3s?
Cheers
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 with network.h and the mosh-server and mosh-client startup paths described in the issue. Investigate the initial no-client timeout and delayed input behavior under a 3–4 second round trip; done means both connection setup and interactive typing remain usable without TCP or SSH.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100