# ~/.screenrc nethack on escape ^t^t bell_msg "Bell in window %n: %t" vbell off autodetach on startup_message off defscrollback 10240 hardstatus on hardstatus alwayslastline "%{=u Wr}[%Y-%m-%d %02c%{-u Wr}] %{Wk}%-w%{BW}%n %t%{-}%+w" caption splitonly "%{.BW} >> %n %t" msgwait 2 termcapinfo xterm 'Co@256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' defbce on term xterm-256color # Key bind bind ^k bind ^\ bind ^G bind \\ quit bind k kill bind / eval "scrollback 0" "scrollback 10240" # Split bind -c REGION 2 split bind -c REGION 1 only bind -c REGION 0 remove bind -c REGION o focus bind -c RESIZE = eval 'resize =' 'command -c RESIZE' bind -c RESIZE J eval 'resize +5' 'command -c RESIZE' bind -c RESIZE K eval 'resize -5' 'command -c RESIZE' bind -c RESIZE j eval 'resize +1' 'command -c RESIZE' bind -c RESIZE k eval 'resize -1' 'command -c RESIZE' bind -c REGION r eval 'echo "j: -1 / k: +1 / other: quit"' 'command -c RESIZE' bind x eval 'echo "2: split / 1: only / 0: remove / o: focus r: resize"' 'command -c REGION' # App bind -c APP a screen -t aptitude sudo aptitude bind -c APP c screen -t cpan sudo cpan bind -c APP t screen -t top top bind a eval 'echo "a: aptitude / c: cpan / t: top"' 'command -c APP' markkeys h=^B:l=^F:$=^E:^D=V # Init. screen -t ROOT 9 screen -t THETA 8 screen -t ETA 7 screen -t ZETA 6 screen -t EPSILON 5 screen -t DELTA 4 screen -t GAMMA 3 screen -t BETA 2 screen -t ALPHA 1 screen -t ZERO 0 # __END__