mobile-shell / mobile-shell/mosh

Mosh to the Moon (really big delays)

Open
#871 9 comments 24 reactions 0 assignees View on GitHub

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.

  1. 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?
  2. 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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.