3 ms·
>> I don't understand why would I want to use it on my machine. I already have a terminal multiplexer I always feel the same way. I've got terminal set to open
by blakesterz 11y ago
>> I don't understand why would I want to use it on my machine. I already have a terminal multiplexer
I always feel the same way. I've got terminal set to open connections to 6 servers when I open it. I've tried using it, makes perfect sense to me, it's lovely, but I guess it just solves a problem I don't have? It's one of those many things that makes me feel like some kind of failure for some reason. Like using nano as my primary editor. I can use the hell out of emacs and vi, but for the work I do (I'm a sysadmin), most of the time nano just works, no weird issues, and it's always there. I know everyone is going to and laugh and me now, but there it is. I find myself using nano most of the time, though I'll use emacs a few times a week on some projects. Something about that long reach to the esc key keeps me away from vi.
- tyingq 11y agoWhen tmux might be handy: If you find yourself doing repetitive things in those 6 windows. Say they are production machines that are basically clones of one another. It's simple to make a key binding that will force all 6 windows to, for example, "tail -f /var/log/messages". Or start "top" on all of them. If you kick off a long running task (say a big build) in one of those six windows, and you leave it running, but go home and watch it finish. (detach/reattach). It's easier than stdout/stderr redirection, nohup, etc. It also preserves things you did manually (setting environment variables before the build) such that restarting a build might be less complex. You have a peer, not close by, that you want to show how to do something. It has both read only and read/write session sharing. Your peer can watch what you're doing, or you can watch them, and take over when needed.