4 ms·
Both screen and tmux do this, and if you’ve never tried either of them please do! Much easier to deal with “tabs” in a single terminal session, plus you can de
by trollied 7y ago
Both screen and tmux do this, and if you’ve never tried either of them please do!
Much easier to deal with “tabs” in a single terminal session, plus you can detach a session and reattach it later. Screen also has a nice feature that lets you essentially share a terminal session by reattaching it multiple times without disconnecting the other sessions (screen -x).
- enricozb 7y agoPretty sure you can attach to an already attached tmux session as well, which I believe has the same behavior that you’re describing. I’ve never used screen, is what you’re describing different than what I’m talking about?
- furgooswft13 7y agoThe default behavior of tmux when multiple users are attached to the same session is that each user shares the same active window. With screen users can choose the active window independently of others. You can get similar behavior in tmux by creating a new session with the "group-name" argument set to that of the name of the session you want to attach to.
- em-bee 7y agoin tmux a window can be in multiple sessions. but tmux also can switch between sessions easely as switching windows. if you want to connect to the same session multiple times, you need to either set that up, or you can create and use multiple sessions to the same effect. having all windows in a single session synchronized is helpful when you share sessions with other users.