7 ms·
Why not just use tmux? Then you get all the features that comes with too.
by mdszy 7y ago
Why not just use tmux? Then you get all the features that comes with too.
- Kaze404 7y agoBecause I have no need for them
- colecut 7y agoAnyone who would not benefit from tmux must only very rarely use the terminal, or not at all. This isn't a dig at this tool, just a strong endorsement for tmux =)
- yur3i__ 7y agoI use the terminal for almost everything but rarely use tmux, I have a window manager for window management so tmux doesn't really seem too useful in that regard
- kettro 7y agoA huge benefit of tmux is session management, where you can resume a session on a different terminal. I use it on my desktop, so I can ssh in on my laptop when working from home, and immediately pick up where I left off.
- dvtrn 7y agoWhat if I use screen?
- inetknght 7y ago`tmux` is directly intended to replace `screen`.
- sgn 7y agoBut not for those want to communicate via serial console. Or is there anything was changed?
- inetknght 7y agoAhh, I said such in tongue and cheek. Indeed, I recently had need to communicate via serial console and searching Stackoverflow suggested screen. I tried tmux and... nope. I ended up using `minicom` instead. Alas, serial ports are pretty nifty but I get the impression that they are distinctly becoming a lost art
- yur3i__ 7y agoActually yeah you are right. I use tmux for running a doom server with my friends. Sorry I forgot about that because I don't generally need to log into it
- ohyeshedid 7y agotmux isn't a window manager.
- tomxor 7y agoHe probaly means tiling window manager specifically, which makes tmux's binary partitioning redundant for all but remote work. I used to use tmux much more heavily locally before I switched to a tiling window manager, now I only use it when I need to do a lot of work over SSH or am using an unstable connection or long running process etc.
- Galanwe 7y agoI get you. Since I moved exclusively to i3 some 10 years ago, I find myself seldomly using screen/tmux anymore. The splitting, moving and switching of windows is just more convenient. Tmux has been relegated to start long running processes on remote servers, and remote pair programming sessions. I could see myself using tmux more if I could find a way to get a more seemless experience when having to scroll panes, copy/paste, handle $TERM properly with vim (I always end up with partially refreshing vim colors under tmux), etc
- em-bee 7y agothe main advantage for tmux is in remote use. i work on multiple machines (laptop, desktop, etc) and i often like to access one from the other. tmux allows me to switch devices in a seamless way. i don't use i3 but you are right about the splitting in particular. it would be nice if we could have more gui integration of tmux. like a graphical tmux client that maps split windows to resizeable gui panes
- colecut 7y agoDo you ever ssh into remote servers? Tmux would give you that same pane management on a remote server without having to SSH into the server in each pane.
- slightwinder 7y agoWhat's the benefit of tmux when one doesn't work remote and already has a better tilling-wm?
- deleted 7y ago[deleted]
- danmur 7y agoI need a cheat sheet to use tmux. I've no doubt I'd find it valuable if I spent some time learning it, but I can also appreciate this thing for adding a nice function without changing the way I work. Not a dig at tmux!
- em-bee 7y agothere are plenty of tutorials to get you started, but most importantly you can run tmux without having learned any of it. start it and continue working as if it wasn't there. then read or learn one thing or two about it, and use only that. the first thing to learn is how to attach to an existing session. that alone can be useful. if you scroll a lot on your terminals, you'll want to learn scrolling in tmux. if you use tabs or multiple windows, you' want to learn how create and switch windows in tmux. beyond that every feature in tmux is additional to your regular terminal use so you can pick and choose the features you want to learn as you go along and otherwise continue without changing the way you work. i have used tmux for a decade and i am still learning new stuff, like how to effectively use split windows.