the other terminals carry on running as normal so you can multitask. Here are
some of the basic commands in byobu:
F2—Creates a new window
F3—Goes to the previous window
F4—Goes to the next window
F9—Opens the byobu menu for help and configuration
To close a terminal within byobu, simply log out of it normally, using exit
or Ctrl+D. When you exit the last terminal session that is open in byobu, the
program closes as well and drops you to the regular terminal session you used
to start byobu.
However, there are two alternatives to quitting a byobu session: locking and
disconnecting. The first, activated with F12, locks access to your screen data
until you enter your system password.
The second is the most powerful feature of screen and also works
beautifully in byobu: You can exit it and do other things for a while and then
reconnect later; both screen and byobu allow you to pick up where you
left off. For example, you could be typing at your desk, detach from a session
and go home, reconnect, and carry on as if nothing had changed. What’s
more, all the programs you ran from screen or byobu carry on running
even while screen or byobu is disconnected. They even automatically
disconnect for you if someone closes your terminal window while it is in a
locked state (with Ctrl+A+X).
To disconnect, press F6. You are returned to the prompt from which you
launched screen or byobu and can carry on working, close the terminal
you had opened, or even log out completely. When you want to reconnect, run
the command screen -r or byobu -r. You can, in the meantime, just
run screen or byobu and start a new session without resuming the
previous one, but that is not wise if you value your sanity. You can disconnect
and reconnect the same session as many times you want, which potentially
means you need never lose your session again.
Although this has been a mere taste of what byobu and screen can do,
hopefully you can see how useful they can be. Check the man pages for each
to learn more. You can also find byobu documentation at http://byobu.co and
https://help.ubuntu.com/community/Byobu.