top | item 42375982

(no title)

glidergun | 1 year ago

Try pairing tmux with mosh, it's how I've been working for years whenever I'm forced to admin through a brittle straw. Mosh combats lag pretty well and doesn't care if your connection drops intermittently. https://mosh.org/

discuss

order

barosl|1 year ago

I tried Mosh but it didn't fit my taste. It tries to "predict" the state of the screen before being acknowledged by the server, but sometimes the prediction is wrong and Mosh reverts the cursor movement and redraws the affected area of the terminal. For example, when I'm using split windows in Vim or tmux, Mosh allows typed characters to overflow beyond the separator, briefly, until being told "no" by the server. Personally I find this behavior very disturbing. Enduring higher lags was more bearable to me.

glidergun|1 year ago

I can see how that's off-putting, but I've learned to ignore the occasional cosmetic hiccup and just trust that it will sync up correctly. I use it with --predict=experimental (largely undocumented), which seems to be even more aggressive, but it works great for me.

ksynwa|1 year ago

You can try eternal terminal: https://eternalterminal.dev/

I don't remember it doing any sort of prediction but the last time I used it was a while back.

tombh|1 year ago

Have you tried any of the various `--predict` options? At least `--predict=never`.

nissarup|1 year ago

"...admin through a brittle straw." :D That's exactly what it feels like.

_joel|1 year ago

mosh has saved some hair pulling, especially when on a train journey with at best spotty 3G and you get pinged about an outage.