by ori_b 4 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 4 days ago | [-5 more]

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

Zetaphor 3 days ago | [-3 more]

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?

npodbielski 3 days ago | [-1 more]

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

3 days ago | [-0 more]
[deleted]
em-bee 2 days ago | [-0 more]

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

ori_b 3 days ago | [-0 more]

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

y1zhou 3 days ago | [-0 more]
setopt 4 days ago | [-1 more]

> 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 4 days ago | [-0 more]

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

ssivark 4 days ago | [-0 more]
andrewSC 3 days ago | [-1 more]

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

dolmen 3 days ago | [-0 more]
veber-alex 3 days ago | [-0 more]

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

hrimfaxi 3 days ago | [-0 more]

Using mosh would help specifically with the network reconnection piece.

ndr 4 days ago | [-1 more]

window manager like what though?

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

kelvinjps10 4 days ago | [-0 more]

i3, dwm, hyprland etc...