5 ms·
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 t
by ori_b 6mo 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.
- setopt 6mo ago> 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`?
- ori_b 6mo agoThanks. Dtach is definitely closer to what I want than tmux, I'll be trying it out this week.
- ssivark 6mo agoCheck out shpool, whose tagline is "Think tmux, then aim... lower" :-) https://github.com/shell-pool/shpool https://github.com/shell-pool/shpool
- ndr 6mo agowindow manager like what though? Mac WM is horrible, I use aerospace to make it tolerable
- kelvinjps10 6mo agoi3, dwm, hyprland etc...
- dbu21 6mo agoI use tmux for everything because I work in a headless VM where a WM isn't available.
- Zetaphor 6mo agoYou 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?
- npodbielski 6mo agoBecause with tmux you can reattach to session from another pc or from a phone and still have the same windows and panes?
- deleted 6mo ago[deleted]
- em-bee 6mo agobecause my remote is a server that keeps running while my laptop gets rebooted frequently. i can leave a tmux session running on the server for months...
- ori_b 6mo agoI ssh in multiple times. If I really needed to, I suppose I could use vnc.
- andrewSC 6mo agoUnless I'm misreading this, I would also offer `mosh` as a recommendation. Has been nothing but excellent for my use cases.
- dolmen 6mo agozmosh is zmx+mosh https://github.com/mmonad/zmosh https://github.com/mmonad/zmosh
- y1zhou 6mo agoI'm in the same boat and https://github.com/neurosnap/zmx https://github.com/neurosnap/zmx has been working very well for me.
- veber-alex 6mo agoI use iTerm2 with tmux CC mode. Works great and gives native tabs and panes.
- hrimfaxi 6mo agoUsing mosh would help specifically with the network reconnection piece.