Moin!
On 15 Jul 2016, at 18:15, Marcus Bointon wrote:
> Take a look at mosh. It's awesome. My connections never die - I can
> put my computer to sleep, restart my ADSL router, switch networks,
> have a network outage and everything just stays up. It's fantastic for
> working with a tethered mobile on trains, where the network drops out
> all the time. That said, tmux and mosh still have some issues with
> relaying mouse events.
Mosh is awesome, but it also has a problem with the tmux and thus iTerm
scroll back buffer due to it's architecture. If you issue an command
that has more than one screen of output (and the output is fast) you
won't be able to see the start of the output that has scrolled off as
mosh will not have transferred it to the client machine.
I also use mosh and tmux together, but there are use cases where ssh and
tmux are better. And if you create your terminal windows with
Applescript you can easily create or reattach the tmux session with:
tell current session of myterm
write text "ssh HOST"
write text "tmux attach -t SESSION || tmux new-session -s SESSION"
end tell
So long
-Ralf