-
Notifications
You must be signed in to change notification settings - Fork 3
/
screenrc
41 lines (35 loc) · 1.37 KB
/
screenrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -------------------------------------------------------------------
# Settings
# -------------------------------------------------------------------
crlf off # No Microsoft linebreaks
startup_message off # bypass GPL notice (we're aware)
defscrollback 30000 # big scrollback
shell bash # don't start login shells
shelltitle "" # no title by default - set in PS1
bell_msg "DING! (%n)"
vbell_msg "DING! (%n)"
vbell off
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
autodetach on
defutf8 on
defbce on # erase background with current bg color
hardstatus on
hardstatus alwayslastline "%H %`%-w%{=b bw}%n %t%{-}%+w"
termcapinfo screen*|xterm* 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# allow bold colors - necessary for some reason
attrcolor b ".I"
# xterm understands both im/ic and doesn't have a status line.
# Note: Do not specify im and ic in the real termcap/info file as
# some programs (e.g. vi) will not work anymore.
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'
termcap xterm-color 'hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l'
terminfo xterm-color 'hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l'
# this makes backspace sane on debian systems
termcapinfo xterm 'bc@:bs@'
termcapinfo xterm-color 'bc@:bs@'
screen -t server 0
screen -t zeus 1
screen -t test 2
screen -t vim 3
screen -t console 4