Skip to content

Commit

Permalink
Upgrade mosh to 1.4.0 statically-linked and patched
Browse files Browse the repository at this point in the history
Made using my forked mosh-multiarch github action with added patch from
my forked mosh repo.

https://github.com/eggbean/mosh-static-multiarch
https://github.com/eggbean/mosh

Patched for improved cursor style handling
mobile-shell/mosh#1167
  • Loading branch information
eggbean committed Jun 27, 2023
1 parent 2f167df commit 65cb825
Show file tree
Hide file tree
Showing 9 changed files with 569 additions and 0 deletions.
Binary file added bin/aarch64/mosh-client
Binary file not shown.
Binary file added bin/aarch64/mosh-server
Binary file not shown.
31 changes: 31 additions & 0 deletions bin/completions/mosh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Bash completions for Mosh, the mobile shell. -*- shell-script -*-

__mosh_init_completion()
{
if declare -F _init_completions >/dev/null 2>&1; then
_init_completion
else
COMPREPLY=()
_get_comp_words_by_ref cur prev words cword
fi
}

_mosh () {
local cur

__mosh_init_completion || return

local simple_flags="-a -b -4 -6 -p"
local flags="--client= --server= --predict= --family= --port=
--bind-server= --ssh= --no-init --help --version"

if [[ "$cur" == --* && "$COMP_CWORD" == 1 ]]; then
COMPREPLY=($(compgen -W "$flags" -- "$cur"))
elif [[ "$cur" == -* && "$COMP_CWORD" == 1 ]]; then
COMPREPLY=($(compgen -W "$simple_flags" -- "$cur"))
else
_known_hosts_real -a "$cur"
fi
}

complete -o nospace -F _mosh mosh
Binary file added bin/man/man1/mosh-client.1.gz
Binary file not shown.
Binary file added bin/man/man1/mosh-server.1.gz
Binary file not shown.
Binary file added bin/man/man1/mosh.1.gz
Binary file not shown.
Loading

0 comments on commit 65cb825

Please sign in to comment.