-
Notifications
You must be signed in to change notification settings - Fork 5
/
screenrc
34 lines (26 loc) · 1.07 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
# ~/.screenrc
startup_message off
vbell off
term 'screen-256color'
altscreen on
# Do not send own status messages to hardstatus, use it only for program titles
hardstatus off
# When not supported by terminal, reserve last line for hardstatus
hardstatus lastline
defhstatus "^%t (window ^%n)"
# (from default screenrc)
# xterm understands both im/ic and doesn't have a status line.
terminfo xterm* 'hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l'
# (from default screenrc)
# we do not want the width to change to 80 characters on startup:
terminfo xterm* 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
# (from default screenrc)
# make the output buffer large for (fast) xterms
terminfo xterm* 'OL=10000'
# (from default screenrc)
# tell screen that xterm can switch to dark background and has function keys.
#terminfo xterm* 'VR=\E[?5h:VN=\E[?5l'
#terminfo xterm* 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
#terminfo xterm* 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
# xterm can use GUI titlebar as hardstatus
terminfo xterm*|rxvt*|kterm*|Eterm*|cygwin 'hs:ts=\E]0;:fs=\007:ds=\E]0;screen\007'