GNU Screen
If you would like to know about tmux, an alternative, click here.
GNU Screen allows you to run and seperate multiple login sessions within a seperate terminal window.
This program is also useful for dealing with multiple programs from the terminal and seperating programs
from the session that started the program, making it possible so remote processes continue running even when
the user has disconnected from the SSH connection. In our case, we can use this program to keep an instance of 
weechat running, even when we exit the session. This is useful as we can read previous IRC messages 
without losing context/history from disconnecting connection, or switching between different devices.
the basics
To start GNU Screen, enter the command screen into the terminal. Use Control + A followed by ? to open up 
the help screen. Here are other controls:
- Ctrl+a- cCreate a new window (with shell)
- Ctrl+a- "List all window
- Ctrl+a- 0Switch to window 0 (by number )
- Ctrl+a- ARename the current window
- Ctrl+a- SSplit current region horizontally into two regions
- Ctrl+a- |Split current region vertically into two regions
- Ctrl+a- tabSwitch the input focus to the next region
- Ctrl+a- Ctrl+aToggle between the current and previous region
- Ctrl+a- QClose all regions but the current one
- Ctrl+a- XClose the current region
- Ctrl+a- Ctrl+dDetach the current session
restoring screen session
Anything done after typing screen can be safely closed by closing the terminal window or detaching the session.
When reopening the SSH connection, you can quickly type in screen -r to re-enter the session.
Multiple screen sessions can be viewed using screen -ls
last compiled: 2022-02-08 03:26:28.781920
