Live data from Hacker News

Tmux 1.9 released

sourceforge.net

11–20 of 121 posts

Re: Tmux 1.9 released

#11
post #6
post #4

Earlier quoted context omitted.

I use screen and tmux for different tasks. I'll use screen when I need to run a long-running task and can't keep my terminal session open. I use tmux with a script so that I can ssh into multiple nodes and broadcast the same commands to them all at the same time. Great for interactive deployments that I haven't been able to automate away with CFEngine just yet.

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

Docker can be used as a screen replacement?

Re: Tmux 1.9 released

#12
post #6
post #4

Earlier quoted context omitted.

I use screen and tmux for different tasks. I'll use screen when I need to run a long-running task and can't keep my terminal session open. I use tmux with a script so that I can ssh into multiple nodes and broadcast the same commands to them all at the same time. Great for interactive deployments that I haven't been able to automate away with CFEngine just yet.

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.

Re: Tmux 1.9 released

#13

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?

You can also get tab and scrollback support in the regular mac terminal with mouseterm https://bitheap.org/mouseterm/

Re: Tmux 1.9 released

#14
post #6
post #4

Earlier quoted context omitted.

I use screen and tmux for different tasks. I'll use screen when I need to run a long-running task and can't keep my terminal session open. I use tmux with a script so that I can ssh into multiple nodes and broadcast the same commands to them all at the same time. Great for interactive deployments that I haven't been able to automate away with CFEngine just yet.

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

Docker runs a whole container (with embedded OS), screen justs keeps a terminal accessible after a disconnect. I don't see how using Docker fits that usecase.

Re: Tmux 1.9 released

#15

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?

Isn't one of the advantages of tmux is reduce / avoid using the mouse?

I know that scrolling is one of the first non-obvious changes that seem irritating at first. But after you get used to scrolling with the keyboard, I find myself missing this possibility on 'standard' terminal windows.

Suddenly using the mouse to scroll feels really awkward and inefficient.

Re: Tmux 1.9 released

#17

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?

Isn't one of the advantages of tmux is reduce / avoid using the mouse? I know that scrolling is one of the first non-obvious changes that seem irritating at first. But after you get used to scrolling with the keyboard, I find myself missing this possibility on 'standard' terminal windows. Suddenly using the mouse to scroll feels really awkward and inefficient.

I think I can live without scrolling, but what I found most irritating when trying tmux is selecting / copying / pasting things. ATM I use iterm with split panes and a 'quake-style' dropdown terminal; tbh it works well enough for me.

Re: Tmux 1.9 released

#18
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.

Screen is amazing for SSH work or if you just don't want to have 50 tabs open. I've been looking into tmux lately though for the later. I just found out about it last week.

Seriously, the amount of commands linux has that most people don't know about is staggering. This link[1] was on HN just the other day.

[1] http://www.danielmiessler.com/blog/collection-of-less-common...

Re: Tmux 1.9 released

#19
post #4
post #2

Has anyone used these, and can they give me a comparison: tmux/scree/byobu Currently a byobu user, it seems fine so far. Wondering what others offer more than that.

I use screen and tmux for different tasks. I'll use screen when I need to run a long-running task and can't keep my terminal session open. I use tmux with a script so that I can ssh into multiple nodes and broadcast the same commands to them all at the same time. Great for interactive deployments that I haven't been able to automate away with CFEngine just yet.

So why do you use screen rather than tmux for long running tasks, if you use tmux for everything else?
Post reply on HN