3 ms·
Mosh looks very cool, though I've never used it. Does Screen provide some advantage over tmux in this setup?
by ghkbrew 1y ago
Mosh looks very cool, though I've never used it. Does Screen provide some advantage over tmux in this setup?
- jvanderbot 1y agoYes. Mosh is a seamless replacement for ssh, and screen is a mostly seamless replacement for tmux. One more level is Mosh+byobu, which is so useful I don't even bother with plain terminals most the time.
- positr0n 1y agoHaha I think you have the history backwards here. Tmux was created as a replacement for screen when it was 20 years old! Speaking as someone with ‘set -g prefix c-a’ in their .tmux.conf because my muscle memory is so used to the screen hotkeys. GNU screen was released in 1987. tmux was created in 2007.
- jvanderbot 1y agoHey maybe I do! Great to learn the history here. Regardless, my point is that Byobu is very nice compared to either. That may now be lost due to my careless comment.
- saagarjha 1y agoIt's seamless until you want to scroll.
- lostdog 1y agoMosh does not support OSC52, so it's a barrier to getting copy/paste to work.
- brontitall 1y agoOn mobile so I’m not sure which case OSC52 applies to, but I use mosh+tmux 8-10 hours a day. Both bracketed paste and tmux selection setting local clipboard work fine
- kzrdude 1y agoAnd case in point, mosh is another terminal layer, it's also a multiplexer of sorts. I've used mosh a lot but it's just interesting to note it's in the same category as screen and tmux
- attentive 1y agoit sort of does support it, except it doesn't work with tmux.
- radiofreeeuropa 1y agoMosh is excellent. It lets remote sessions survive (well, automatically and transparently recover from) disruption that reliably kills ssh. I basically don't use ssh at all any more for interactive sessions, because I'm sick of a few lost packets on wifi or a weak cell signal dropping my connections and forcing me to start over. Tmux, I used to use and eventually abandoned. I decided I didn't need two keyboard-based window managers (I use Spectacle on Mac) and the one that was only for shells was the one that could go. I have replaced it with nothing, so far, aside from that I just open more Terminal.app windows now (I also used to use iTerm2, for years, until it dawned on me that I was using exactly nothing in it that's not also provided by Terminal.app, and the latter's got better input latency, so I was suffering an extra installed program and slightly less responsive typing for no reason at all)