# screen init file on Arch GNU/Linux #vbell on # no bell autodetach on # detach on hangup startup_message off # don't display the copyright page defutf8 on # utf-8 encoding defscrollback 1000 # change default scrollback value for new windows bufferfile $HOME/.screen_exchange # the file to use for "readbuf" ('<') and "writebuf" ('>'): shell -$SHELL # make the shell in every window a login shell #term screen-256color # set TERM # fix 256 color support in urxvt termcapinfo rxvt* 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' termcapinfo rxvt* ti@:te@:XT # improve mouse scrolling # keybindings #bindkey -k k5 prev # F5 for previous window #bindkey -k k6 next # F6 for next window # startup windows #screen -t "User" 0 zsh #screen -t "Emacs" 1 emacs -nw #screen -t "Mail" 2 alpine #screen -t "Root" 3 su #screen -t "FM" 4 mc #screen -t "System Monitor" 5 htop # change hardstatus settings to show a window list at the bottom of the # screen, with the current window highlighted and hostname on both ends hardstatus alwayslastline "%{G}[ %{Y}%H %{G}][%{w}%?%-Lw%?%{G}(%{W}%n*%f%t%?(%u)%?%{G})%{w}%?%+Lw%?%?%= %{G}][%{Y} %H %{G}]" sorendition Wk backtick 50 0 0 hostname