Byobu advertises itself as a terminal multiplexer and a terminal window manager. But what those words actually mean?
If we start from scratch, a terminal is the text-based interface to computers. On Windows computers, it's called the Command Prompt. While it could be seen as the "old-fashioned" way to interact with computers, for programmers, system administrators and in many other technical fields, terminals (and text-based user interfaces) are still used widely due to their efficiency and speed of use.
As a layer on top of the terminal, programs such as screen and, later, tmux were created to allow users to better manage their terminals: with them, you could disconnect from a server, and still have your program running, and then connect to it later as if you were never gone. You can split the screen in several parts (that's the multiplex part), so you can change a configuration file while streaming a log file and watching your changes take effect in real time, just like you're dragging windows around on your Mac or PC. You can also have several desktops - or windows - that can be switched between, just like on your Mac. That's the window manager part.
Byobu is again a layer on top of Screen and tmux. Think of it as an extension: Byobu is a collection of scripts and utilities that enhances the behaviour of these programs.
For other distributions, see the official site.
When running byobu for the first time, it will start with just your shell in a single window. The bottom of your screen has the status bar, which displays your OS and version, a list of open windows, and various system metrics like pending updates, RAM usage and time and date.
To change these, press F9, choose Toggle Status Notifications, and select/unselect the ones you want.
Something you should do first is to choose Byobu's escape sequence. That's a special key that can trigger some of Byobu's functionality. Think of it as a shortcut key. Type CTRL-A, or run byobu-ctrl-a . If you're in doubt, use "Emacs mode", which let's you keep using CTRL-A to navigate text. Byobu's default escape sequence is then F12, which you'll use in a minute.
You can also make Byobu start automatically with byobu-enable. It's useful on servers where you probably don't have a lot of different terminal windows open, and want your terminal history and programs to be running between sessions. To disable that, use byobu-disable.
Search up (while scrolling): ?
Switch between active panes and windows. Click on a window name or pane to switch.
To display the time in big letters, press F12 then T.
To completely kill your session, and byobu in the background, type F12 then : and type kill-server.
This entry was posted on Sunday, August 5th, 2018 at 21:37 and is filed under Articles.	You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.