Remix.run Logo
ori_b 2 days 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.

dbu21 2 days ago | parent | next [-]

I use tmux for everything because I work in a headless VM where a WM isn't available.

ori_b a day ago | parent | next [-]

I ssh in multiple times. If I really needed to, I suppose I could use vnc.

Zetaphor 2 days ago | parent | prev [-]

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?

em-bee 18 hours ago | parent | next [-]

because 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...

npodbielski a day ago | parent | prev [-]

Because with tmux you can reattach to session from another pc or from a phone and still have the same windows and panes?

a day ago | parent [-]
[deleted]
y1zhou 2 days ago | parent | prev | next [-]

I'm in the same boat and https://github.com/neurosnap/zmx has been working very well for me.

setopt 2 days ago | parent | prev | next [-]

> 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 2 days ago | parent [-]

Thanks. Dtach is definitely closer to what I want than tmux, I'll be trying it out this week.

ssivark 2 days ago | parent | prev | next [-]

Check out shpool, whose tagline is "Think tmux, then aim... lower" :-)

https://github.com/shell-pool/shpool

andrewSC 2 days ago | parent | prev | next [-]

Unless I'm misreading this, I would also offer `mosh` as a recommendation. Has been nothing but excellent for my use cases.

dolmen a day ago | parent [-]

zmosh is zmx+mosh

https://github.com/mmonad/zmosh

veber-alex a day ago | parent | prev | next [-]

I use iTerm2 with tmux CC mode. Works great and gives native tabs and panes.

hrimfaxi a day ago | parent | prev | next [-]

Using mosh would help specifically with the network reconnection piece.

ndr 2 days ago | parent | prev [-]

window manager like what though?

Mac WM is horrible, I use aerospace to make it tolerable

kelvinjps10 2 days ago | parent [-]

i3, dwm, hyprland etc...