# tell screen that you term can scroll termcapinfo xterm ti@:te@ # tell screen that the term has a hardstatus line termcapinfo xterm* 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007' # bind Shift+PgUp/PgDn bindkey -m "^[[5;2~" stuff ^b bindkey -m "^[[6;2~" stuff ^f startup_message off autodetach on caption always "%{= dd}%-w%{= bk}%{-b} %n %t %{= dd}%+w" hardstatus string "screen %n: %t" hardstatus off