Live data from Hacker News

Tmux 1.9 released

sourceforge.net

41–50 of 121 posts

Re: Tmux 1.9 released

#41
post #27
post #16

Moving to Emacs, I'm going to miss tmux more than I'll miss vim (there's evil-mode).

I use emacs inside tmux all the time (on a Mac, in iTerm2). Works great.

I find that if I run emacsclient and emacs server, I don't need to use tmux. If I get disconnected, I just reconnect and run emacsclient again. All my buffer states are preserved.

Re: Tmux 1.9 released

#43

I remember using on the mac a branch of tmux with iTerm, where the gui understood tmux, giving native tabs and scrollback. I thought this was the greatest thing ever, but am now on Linux. Is this work still continuing does anyone know?

This actually works with GNU Screen. Because of this, and because of the lack of workspace reordering in tmux, I seem to be actually about the only person who likes Screen more than tmux.

Re: Tmux 1.9 released

#44

Awesome little program. It's saved so much time so far. For anyone that wants to get up and running: https://github.com/andyhmltn/dotfiles That contains two tmux config files that add a few things like CTRL+B thenSHIFT+P for a nice layout and a shortcut for switching between panes with ALT+Arrow keys

i use ctrl-up / ctrl-down

    bind-key -n C-up next
    bind-key -n C-down prev
ctrl-left and alt-left/right interfere with too many other cli apps.

https://github.com/fishman/dot_files/blob/master/tmux/.tmux....

Re: Tmux 1.9 released

#45

If you're on Windows, ConEmu offers the same functionality. And as a bonus you can also run windows apps inside the terminal window. Here's how it looks http://i.imgur.com/dEpQYJf.jpg

And now you can use tmux in Cygwin.

Re: Tmux 1.9 released

#46
post #33

Earlier quoted context omitted.

That tmux broadcast trick sounds interesting. Are you able to provide some more details about it please?

Pull up the command line with "Ctrl-b :" Synchronize your panes: "setw synchronize-panes on" Now you can send the same commands to all panes in the current window. To turn synchronization off: "setw synchronize-panes off" My shell script takes in a list of tuples (hostname plus a special id that I need to paste for my tasks that's unique to each host), splits off a window pane for each hostname(tmux split-window -h),…

Thanks for that :)

> I'll need to sanitize the script, but I'll try to put up a github gist of the script later on.

If you wouldn't mind, I'd be hugely grateful as I often find myself having to do similar tasks as what you describe (and even wanted to set up a script to auto start sessions in different panes like you do but wasn't aware that was possible).

While I do use tmux quite heavily (to the point where I found myself needing to rebind a lot of the keys to be more vi like or more convenient to manage one handed), I reckon I still only use about 10% of it's functionality. So it would be good to see other solutions based around tmux.

Re: Tmux 1.9 released

#49
post #12
post #6

Earlier quoted context omitted.

if you're running it on linux, is any reason to use screen for long-running tasks, instead of Docker?

The reason folks asked, "docker is a screen replacement?" is because one typical use case is using screen within an ssh session where you might get disconnected. screen holds onto the session so that you can ssh back in and continue from where you left off. $ ssh hostname $ screen # some time later, you get disconnected... $ ssh hostname $ screen -x # back to where you were before getting disconnected.

Don't forget mosh exists if you're commonly in situations where a normal ssh session is unreliable: http://mosh.mit.edu
Post reply on HN