remi /.screenrc

# ----------------------------------------------------------------------------------------------------
#
# @file         .screenrc
# @description  Fichier de configuration pour screen
# @author       Rémi Prévost remi-exomel-com
# @version      20081118
#
# ----------------------------------------------------------------------------------------------------

# on détache automatiquement lors d'un problème
autodetach            on

#
deflogin              off

#
hardcopy_append       on

# pas de message de bienvenue
startup_message       off

#
termcapinfo linux "ve=\E[?25h\E[?17;0;64c"
termcapinfo xterm ti@:te@
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'

# pas de cloche!
vbell                 off

# tell screen that you term can scroll
bindkey -m "^[[5;2~" stuff ^b
bindkey -m "^[[6;2~" stuff ^f

# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"

# erase background with current bg color
defbce "on"

# ça ça marche paaaas!
altscreen on

#
defscrollback         3000

#
silencewait           15

# shell par défaut
shell                 zsh

# caption
caption always "%{= kw}%?%-Lw%?%{+b gw}%n*%t%f %?(%u)%?%{= kw}%?%+Lw%?"

# status
# hardstatus alwayslastline "%{+b kr}[ %H ] %{ky} Load: %l %-=%{kb} %c  %d.%m.%Y"

# couleurs des messages
sorendition wb

# temps d'affichage des messages
msgwait 5

#
activity              "activity in %n (%t) [%w:%s]~"

# Raccourcis clavier
bind A title
bind K  kill
bind m monitor
bind .
bind ^\ quit
bind \\