Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What are the main features of default byobu behavior/config for tmux user?

I am thinking what to deploy by default to production servers. tmux wins over screen, because it is immediately visible when remote console is "protected from disconnection". Will byobu provide more interesting default features?

share|improve this question
    
Another reason for liking tmux or byobu is they support the scrollbar in your terminal emulator. (Apparently screen can do it, but needs configuring to do so). –  sourcejedi Feb 18 '13 at 9:29
add comment

2 Answers

up vote 1 down vote accepted

Byobu had a bug where logging in to a heavily-loaded server would spawn infinite apt-check processes. At the time of writing, the fix is still in the process of being pushed out to Ubuntu 12.04 LTS. If you manage other operating systems, you'd want to check their package version/bug trackers as well.

The default display also includes the time in seconds, so sending updates continuously when it doesn't need to. (Annoying network traffic, possible side-effects in the client terminal).

If you disable those, it's nice and pretty. It's easy to change the configuration for your user, using the byobu-config frontend. I like that it automatically enables ctrl-a in tmux (plain tmux uses ctrl-b). And unlike tmux, byobu with no options will conveniently create a new session if there isn't one, or attache to the existing un-named session. I'm happily using it at home.

For deploying to a number of different servers, possibly managed by multiple people, I'd consider whether plain tmux might be safer.

share|improve this answer
    
Good insight. Thanks. –  techtonik Feb 17 '13 at 20:14
    
That's a bug that affected a version of Byobu that has been fixed in subsequent releases. Thanks -- Byobu Maintainer. –  Dustin Kirkland Feb 18 '13 at 3:32
    
@DustinKirkland, thanks for the heads-up, but the bug is still marked as "In Progress" for Ubuntu 12.04 LTS and not fixed for any Debian servers (the majority I have to deal with), so I'd stick with tmux for now. –  techtonik Feb 18 '13 at 7:05
add comment

Byobu is intended to give a consistent look-and-feel user interface across your servers running different versions and distributions of Linux and UNIX. It also bridges Screen and Tmux a bit, with a consistent set of key bindings and conky-like status extensions.

Tmux and Screen are both awesome on their own, and even better if you highly customize your configuration in ~/.screenrc and ~/.tmux.conf and have the wherewithal to synchronize that configuration across all your servers. Byobu tries to do that for you, out of the box from within your distro.

I wrote a far more complete answer to a very similar question here:

Notes:

  1. The apt-check bug the other poster mentioned has been fixed in a subsequent revision, r1952, on 2012-06-24.
  2. Full disclosure, I'm the upstream author and maintainer of Byobu.
share|improve this answer
1  
Does your answer imply that tmux has inconsistent look-and-feel across different versions and distributions? –  techtonik Feb 18 '13 at 7:07
    
BTW, does F1 work as help in byobu by default? Or is there a help displayed on the first run like in irssi? Because tmux is unusable without reading documentation first. –  techtonik Feb 18 '13 at 7:10
    
And, does byobu has automatic ability to attach or create session (if it doesn't exist)? In tmux these are two different commands with two different arguments. –  techtonik Feb 18 '13 at 7:12
2  
F1 does work in byobu. And byobu does automatically attach to an existing session if available / create a new one if it's not. –  sourcejedi Feb 18 '13 at 9:16
    
@sourcejedi, this information is nice to have in the best answer. –  techtonik Feb 18 '13 at 9:48
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.