Comment by ori_b
19 hours ago
Once I discovered window managers and graphics, I stopped using half-baked features to emulate them in the terminal.
I use tmux to reattach to programs after the network connection dies, and not really anything else. I would welcome a version of it that stripped out everything but that, and just replayed the last few pages of scrollback on reattach.
Using mosh would help specifically with the network reconnection piece.
I use iTerm2 with tmux CC mode. Works great and gives native tabs and panes.
I use tmux for everything because I work in a headless VM where a WM isn't available.
I ssh in multiple times. If I really needed to, I suppose I could use vnc.
You don't have a window manager hosting the terminal window on your host OS? That's the argument being made here, you're already in some kind of tiling or windowed environment, why replicate all of that on the remote?
Because with tmux you can reattach to session from another pc or from a phone and still have the same windows and panes?
1 reply →
I'm in the same boat and https://github.com/neurosnap/zmx has been working very well for me.
> I would welcome a version of it that stripped out everything but that, and just replayed the last few pages of scrollback on reattach.
Like `dtach`?
Thanks. Dtach is definitely closer to what I want than tmux, I'll be trying it out this week.
Check out shpool, whose tagline is "Think tmux, then aim... lower" :-)
https://github.com/shell-pool/shpool
Unless I'm misreading this, I would also offer `mosh` as a recommendation. Has been nothing but excellent for my use cases.
zmosh is zmx+mosh
https://github.com/mmonad/zmosh
window manager like what though?
Mac WM is horrible, I use aerospace to make it tolerable
i3, dwm, hyprland etc...