Skip to content
Snippets Groups Projects
tmux.md 904 B
Newer Older
  • Learn to ignore specific revisions
  • Jan Siwiec's avatar
    Jan Siwiec committed
    # 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.
    
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    Note that [GNU Screen][2] is not supported, but if you prefer it, you can install it in your `/home` folder:
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    
    ```console
    
    Jakub Kropáček's avatar
    Jakub Kropáček committed
    wget https://ftp.gnu.org/gnu/screen/screen-4.9.0.tar.gz
    tar xf screen-4.9.0.tar.gz && rm screen-4.9.0.tar.gz
    cd screen-4.9.0
    
    ./autogen.sh
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    ./configure --prefix=$HOME/.local/screen
    make
    make install
    
    Jakub Kropáček's avatar
    Jakub Kropáček committed
    
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    mkdir $HOME/.local/screen/etc
    cp etc/etcscreenrc $HOME/.local/screen/etc/screenrc
    
    Jakub Kropáček's avatar
    Jakub Kropáček committed
    
    echo "export PATH=\$HOME/.local/screen/bin:\$PATH" >> $HOME/.bashrc
    
    cd ../ && rm -rf screen-4.9.0
    
    Jan Siwiec's avatar
    Jan Siwiec committed
    ```
    
    [1]: https://github.com/tmux/tmux/wiki
    [2]: https://www.gnu.org/software/screen/