#remove some stupid / dangerous key bindings bind ^k bind ^\ bind k # # don't lock screen accidently - use if you don't know the accounts # # password (e.g. when access is managed by ssh keys) # bind x # bind ^x startup_message off vbell on vbell_msg " Klingeling! " bindkey -k kb stuff ^? # Enable cycling backward throug regions in Putty by C-a,Shift+TAB bindkey -t "^A^[[Z" focus prev # Make C-a C-a work smooth again bindkey -t "^A^A" other defscrollback 500 # make $HOME the base for all relative paths chdir caption always # # show window title and optional # # hardware status line text # caption string "%?%F%{.c.}%?%3n %t%? [%h]%?" # # show window title if set, else hardware status line text # windowlist string "%3n %?[%h]%:%t%?" # windowlist title "Num Name|HW Status" # # show window title and hardware status line text if set # windowlist string "%3n %t %?[%h]%?" # windowlist title "Num Name [HW Status]" # # Use approximately original windowlist string appended by hardware statusline if set windowlist string "%3n %t%=%?[%h] %:%?%f " windowlist title "Num Name%=[HW Status] Flags" # # show clock in caption line # caption string "%?%F%{.b.}%H: %?%3n%? [%h]%: %t%?%=| %c:%s " # Higlight active window, show hold and escape-key state caption string "%?%F%{.bw}%?%H: %3n%?%E %{.rw}~a~%{-}%?%?%P %{.wb}~HOLD~%{-}%?%? [%h]%: %t%?%-11=| %c:%s " hardstatus on hardstatus alwayslastline msgminwait 0 logfile .screenlog/screen.%S.%n.%Y-%m-%d.%0c.log zombie xr onerror # If you're using bash (won't hurt otherwise) setenv PROMPT_COMMAND 'screen -p "$WINDOW" -X title "$PWD"'