4 ms·
I've tried switching to tmux a few times but it never stuck because my workflow involves multiple terminals attached to different windows of the same session.
by wting 12y ago
I've tried switching to tmux a few times but it never stuck because my workflow involves multiple terminals attached to different windows of the same session.
However this isn't allowed in tmux without some hackery / wrapper scripts.
- sillysaurus3 12y agoWould you mind going into more detail about your workflow? It seems interesting, and I'd like to learn it. You use Ctrl-Alt-F1 through Ctrl-Alt-F6 to fire up multiple terminals, right? You're saying you have screen running on one of those terminals, and then from other terminals you're somehow attaching to different windows of that one screen instance? How's that done? It sounds pretty clever. What are the advantages of doing it that way?
- ordinary 12y ago-x Attach to a not detached screen session. (Multi display mode).
- sillysaurus3 12y agoIndeed, thanks! I really appreciate it! I was hoping to hear about their workflow, though. What are the advantages of using that? How does multi display mode fit into their workflow in practice? I could try to think of use cases myself, but I prefer to learn from the experience of others whenever possible.
- deleted 12y ago[deleted]
- easytiger 12y ago> I've tried switching to tmux a few times but it never stuck because my workflow involves multiple terminals attached to different windows of the same session. You are going to need to explain this as it sounds exactly to me what tmux does
- graywh 12y agoAttach to the same session from two terminals and change windows. In Tmux, the window changes in both terminals. It just works in Screen. I seem to recall that to make it work in Tmux, you need two sessions with the windows attached to both.
- cturner 12y agoIf I understand your need correctly, I believe it's solvable. Admittedly - using hacks, etc as you speculate. But in case you're interested in a solution that's bundled up - please have a look here and see if it sorts you out: songseed.org/exhibit/20140430/tmux.launcher.sh If you want to use the default, just do 'tmx'. If you want to have multiple windows, themselves shared between multiple terminals, use a label when you use it. e.g. 'tmx second'. One thing you might find frustrating is that it resizes all the terminals for the screen size of the smallest. If anyone knows a fix for this, please supply.