← Back to context

Comment by ori_b

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

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

  • 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?

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

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