mobile-shell / mobile-shell/mosh

Run script on reconnect?

Open
#1,056 1 comment 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 would need to wake my host up in the case of a reconnect as it goes to sleep when there is no active Mosh session.

Is there a way to make Mosh run a script when/before it tries to reconnect?

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

Review the reconnect behavior described in the issue and the linked gist. No source files, tests, or entry points are identified, so first locate the reconnect path and determine how a pre-reconnect script could be specified and invoked. Done means the requested wake-up hook is defined, documented, and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.