autodetach on defscrollback 5000 escape ^aa nonblock on obuflimit 1024 startup_message off vbell off zombie cr # Support alternate screens so that, for example, when you # quit out of vi, the display is redrawn as it was before vi # redrew the full screen. altscreen on # # Kludges # # find a free shell bind s select zsh bind c screen 0 bind ^c screen 0 bind 0 select 0 # # Colors # sorendition "=b rW" caption always "%{= kg}[%{kB} %c %{kg}][%= %{kw}%-w%{kr}[%{kW}%n %t%{kr}]%{kw}%+w %=%{kg}][%{kB} %l %{kg}]%{kw}" # # Shift PgUp/PgDn # bindkey "^[[5;2~" eval "copy" "stuff ^b" bindkey -m "^[[5;2~" stuff ^b bindkey -m "^[[6;2~" stuff ^f # xterm understands both im/ic and doesn't have a status line. # Note: Do not specify im and ic in the real termcap/info file as # some programs (e.g. vi) will not work anymore. termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l # 80/132 column switching must be enabled for ^AW to work termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l # Make the output buffer large for (fast) xterms. termcapinfo xterm* OL=100