mobile-shell / mobile-shell/mosh

Terminal corruption with emacs-over-mosh

Open
#909 5 comments 0 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

I'm using mosh 1.3.2 to connect to a mosh 1.2.6 (Debian Stable) server. When using Emacs (24.5.1) with long, truncated lines in one buffer and visual-wrap in other buffers (the notmuch mail client), I get visual corruption: text that should be cleared is put in the first line, the mode line gets screwed up, and similar.

I don't get such corruption connecting to the same tmux session over ssh. I get the corruption both in iTerm2 and in Terminal.app. I don't think I saw that corruption in mosh 1.3.0. I originally observed it with tmux 2.3 in the mix, but have replicated it without tmux.

How can I help debug this?

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

No source file or test is named. Start by reproducing the corruption with Emacs 24.5.1, mosh 1.3.2 over the reported server versions, and compare the same session over SSH and with mosh 1.3.0; done means isolating a minimal reproduction or confirming the version-specific regression with useful debugging details.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.