4 ms·
I hate mosh because it nukes scrolling. I hate tmux because I just can't remember the keybindings. I've been using mosh+byobu since the keybindings are a bit ea
by perryizgr8 6y ago
I hate mosh because it nukes scrolling. I hate tmux because I just can't remember the keybindings. I've been using mosh+byobu since the keybindings are a bit easier for me. But I'd love regular ssh to be resilient like mosh, or maybe mosh can start supporting scrolling.
- shakna 6y agoI use mosh + screen, because you can tell screen to act like it has normal scrolling with a simple config and then the only keybinding you need to remember is disconnect. defscrollback 500000 scrollback 500000 termcapinfo xterm* ti@:te@ There you go, normal scrolling!
- murkt 6y agoThank you very much, I use screen rarely and the thought that screen can be configured has never crossed my brain.
- shakna 6y agoNot much configuration, and slightly annoying that the config file is at $HOME/.screenrc instead of being patched to use an XDG location, but it's "good enough" for my use cases.
- perryizgr8 6y agoDoesn't seem to work for me. I use mosh to start the session, then screen to create a new screen. But this does not scroll using my mouse. I can scroll using Ctrl+A and then arrow keys. But that's not what I'd call normal scrolling.
- shakna 6y agoThen your version of mosh is breaking on termcapinfo. I can't really help on your particular version, but that's not screen breaking. It has told mosh it supports scrolling with the mouse. Case of "works over here".
- perryizgr8 6y agoThanks for the tip anyway. I'll have a place to start investigating the problem.
- technosmurf 6y agoMosh is designed to only synchronize the last screen of changes and will never support scrolling. https://github.com/mobile-shell/mosh/issues/122#issuecomment-650644732 https://github.com/mobile-shell/mosh/issues/122#issuecomment... http://web.mit.edu/keithw/www/Winstein-Balakrishnan-Mosh.pdf http://web.mit.edu/keithw/www/Winstein-Balakrishnan-Mosh.pdf (Section 6)
- boneitis 6y agoI got around the `tmux` barrier by writing down my most useful commands on an index paper, cutting it into the smallest rectangle I could (and folding in half), and tucking it in the pocket of my phone's flipcase (or you could stick it inbetween your smartphone and its back-shell). I'm pretty happy I got over that hurdle.