~ uncon /.screenrc

# .screenrc  1.0 (2008-05-20)
# uncon (uncon@uncon.net)

# Turn off the visual bell
vbell off
vbell_msg "   -- Beep --   "

# Set messages
activity "Activity in %n %t"
bell "Bell in %n %t"

# Set color for messages
sorendition wK

# Autodetach session on hangup instead of terminating screen completely
autodetach on

# Turn off the splash screen
startup_message off

# Use a 30000-line scrollback buffer
defscrollback 30000

# Status bar at the bottom.
caption always "%{= 96}-%{=b 90}-(%{= 96}%{=b 90}%-w%{= 96}%n %t%{-}%+w%{=b 90})-%{= 96}-"
hardstatus alwayslastline "%{= 96}-%{=b 90}-(%{= 96}%H%{=b 90}:%{= 96}%l%{=b 90})-%{= 96}- %-= %{= 96}-%{=b 90}-(%{= 96}%Y.%m.%d%{=b 90}:%{= 96}%C %a%{=b 90})-%{= 96}-"

# Enable programs which need a DISPLAY
setenv DISPLAY ':0'

# Tell screen that the term can scroll
termcapinfo xterm ti@:te@

# Bind Shift+PgUp/PgDn
bindkey -m "^[[5;2~" stuff ^b
bindkey -m "^[[6;2~" stuff ^f