News for hackers. Stuff that matters.
Re:Tmux 2.0 released by nickysielicki on Thursday May 07, 2015 @01:15PM (#9506661)
Why should I use tmux over screen?

Why do I use screen over tmux?:

- its old. A stable version is on every distro. Trying to start a screen session is more likely to succeed on any given box than a tmux session. I see my friends wrestle with their tmux setup being more recent on one box than another and their nested sessions get screwed up. I never have any issue.

- I know it, and for my simple use it does everything perfectly. I can split panes, I can detach and come back, I can nest sessions.

- screen can attach to serial terminals.

What's the killer feature of tmux that I'm missing out on?

Re:Tmux 2.0 released by exDM69 on Thursday May 07, 2015 @02:04PM (#9507017)
Not sure if it works in GNU Screen but tmux can be controlled from the command line. Examples:

    tmux show-buffer | vipe | bash -
    tmux send-keys -t debugger run
This allows nice ad hoc scripts that are composable in a very Unix-y way.
Re:Tmux 2.0 released by evol262 on Thursday May 07, 2015 @01:21PM (#9506704)
It's maintainable, modern code, which screen is not. Screen is not dead yet, but it eventually will be.
Re:Tmux 2.0 released by Peaker on Thursday May 07, 2015 @01:39PM (#9506843)
He didn't ask which one is nicer to hack on.
Re:Tmux 2.0 released by ChristianBundy on Thursday May 07, 2015 @03:12PM (#9507516)
No, they asked "Why should I use tmux over screen?", which the answer was relevant to.
Re:Tmux 2.0 released by Peaker on Friday May 08, 2015 @02:20PM (#9513290)
Doesn't seem that way to me at all.
Re:Tmux 2.0 released by perlgeek on Thursday May 07, 2015 @03:18PM (#9507564)
I use both, and enjoy that they have different control keys by default, so I can nest them painlessly without need for any configuration.

Also, tmux works out-of-the-box for accounts that you su'ed into, something I never managed with screen.

Re:Tmux 2.0 released by vacri on Friday May 08, 2015 @12:45AM (#9509994)
Try out Byobu. It's built on tmux, and it's nicer to use than screen, I find. Stupid name, but has some conveniences. Mostly I just use F2 to create a parallel terminal and F3/4 to cycle through them.