diff --git a/docs.it4i/general/accessing-the-clusters/tmux.md b/docs.it4i/general/accessing-the-clusters/tmux.md new file mode 100644 index 0000000000000000000000000000000000000000..08948961abb0617e4b71ea6ddf4d699fa28bb542 --- /dev/null +++ b/docs.it4i/general/accessing-the-clusters/tmux.md @@ -0,0 +1,21 @@ +# Tmux + +[Tmux][1] is an open-source terminal multiplexer which allows multiple terminal sessions to be accessed simultaneously in a single window. Tmux allows you to switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal. + +Tmux is installed on Karolina's login nodes, but if you prefer [GNU Screen][2], you can install it in your `/home` folder: + +```console +wget https://ftp.gnu.org/gnu/screen/screen-4.8.0.tar.gz +tar xf screen-4.8.0.tar.gz && rm screen-4.8.0.tar.gz +cd screen-4.8.0 +./configure --prefix=$HOME/.local/screen +make +make install +mkdir $HOME/.local/screen/etc +cp etc/etcscreenrc $HOME/.local/screen/etc/screenrc +echo "export PATH=$HOME/.local/screen/bin:$PATH" >> $HOME/.bashrc +cd ../ && rm -rf screen-4.8.0 +``` + +[1]: https://github.com/tmux/tmux/wiki +[2]: https://www.gnu.org/software/screen/