conf/.screenrc

127 lines
3.8 KiB
Plaintext

# ===================================================
#
# Fichier de configuration de screen par Némunaire
#
# Dernière modification : 06/11/2010
#
# ===================================================
# Paramètres booléens
allpartial off
altscreen off
autodetach on
crlf off
debug off
defsilence off
defutf8 on
defwrap on
hardcopy_append off
ignorecase off
log off
startup_message off
vbell off
# Paramètres pour les terminaux
term screen-256color
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
termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
termcapinfo xterm* OL=10000
termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
termcapinfo xterm 'kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:kP=\E[H:kN=\E[6~'
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
termcapinfo xterm ut
termcapinfo wy75-42 xo:hs@
termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
# Paramètres entiers
defscrollback 2048
msgminwait 0
msgwait 5
silencewait 15
# Paramètres chemins d'accès/dossiers
#shell -$SHELL
shell bash
#shell zsh
# Paramètres textuels
#mot de passe pour rattacher
password SM4CUO61TsAFs
# ============================================
# Ligne CAPTION : au dessus de la hardstatus
# ============================================
#Affiche la liste des écrans
#caption always "%{= kw}%?%-Lw%?%{+b kw}%n*%t%f %?(%u)%?%{= kw}%?%+Lw%?"
#caption always "%?%{+b kw}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
#caption always "%?%{wk}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%?%{wk}%=%{gk}%c"
#caption always "%{gk}[%H] %?%{wk}%-Lw%?%{yK}%n*%f%t%?(%u)%?%?%{wk}%+Lw%?%{wk} %-= %l %{gk}%c %{yk}%d.%M%y"
caption always "%{= kC}[%{C}%H%{c}]%{kw}[%= %{= kw}%?%-Lw%?%{r}(%{y}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{kw}]%l %{kg}%c %{ky}%d.%M%y"
# ============================================
# Ligne HARDSTATUS
# ===========================================
#hardstatus alwayslastline "%?%{wk}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
#hardstatus alwayslastline "%{+b kr}[ %H ] %{ky} Load: %l %-=%{kb} %c %d.%m.%Y"
#hardstatus alwayslastline "%{kg}[%H] %{kw} Charge : %l %{+b}%-=% %t %{ky}%d.%M%y"
hardstatus alwaysmessage
# Coloration
sorendition wk
# ==========================================
# Messages en tous genre
# ==========================================
activity "%{wr}Activite dans l'ecran $%n-%t a %c:%s~%{+b}%-=% %t %d.%M%y"
bell "%{wr}Avertissement dans l'ecran $%n-%t a %c:%s~%{+b}%-=% %t %{ky}%d.%M%y"
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
vbell_msg " *beep* "
# =========================================
# Bind !
# =========================================
bind s
bind ` select 0
bind F screen -t FTP ncftp
bind G screen -t DDG links www.duckduckgo.com
bind P paste .
bind ! screen -t sekhmet ssh sekhmet.pa
bind @ screen -t Lab ssh lab
#bindkey -k k1 select 0
#bindkey -k k2 select 1
#bindkey -k k3 select 2
#bindkey -k k4 select 3
#bindkey -k k5 select 4
#bindkey -k k6 select 5
#bindkey -k k7 select 6
#bindkey -k k8 select 7
#bindkey -k k9 select 8
#bindkey -k k; select 9
# Écans à charger par défaut
#screen