-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.screenrc
66 lines (48 loc) · 2.46 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#crlf off # no thanks.
#defmonitor on # turn monitoring on
shell -$SHELL # I'll take my default shell.
startup_message off # don't want this either.
term $TERM # We'll use whatever is currently used
# message display time (seconds)
msgwait 3
# Never, ever turn this off.
autodetach on
# define a bigger scrollback, default is 100 lines. Too big and you start getting into memory issues when you have many screens open.
defscrollback 20000
# Run everything in UTF-8.
defutf8 on
# The caption line has the following entries
# username@host | uptime | time - date | screens |
#caption splitonly "%{yK} $LOGNAME@%H | %l | %C:%s %A - %M-%d-%Y | %-Lw%50>%{Ky}%n%f* %t%{-}%+Lw%<%{- Wk}%{yK} | %{= wd}"
#caption splitonly "%w%="
activity "%c activity -> %n%f %t" # tell me when stuff happens!
# see http://www.manpagez.com/man/1/screen/
# TABS: [%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}]
# %? :the part to the next '%?' is displayed only if a '%' escape inside the part expands to a non-empty string
# zone stat: [%{Y}%l%{g}]
# dateTime: [ %M %d %c ]
# clear all attr, write on bright Red on black bg: %{=b kR}
# color bright yellow : %{Y}
# clear all attr, color light blue: %{=b C}
# color green : %{g}
#hardstatus alwayslastline
#hardstatus string '%{gk}[ %H ][%= %{= kG}%-Lw%{= kW}%50> %n%f* %t%{= kG}%+Lw%< %{= kG}%-=%c:%s%{-} %= %{g}]%{=b C}'
hardstatus alwayslastline '%{gk}[ %H ][%= %{wk}%?%-Lw%?%{=b kR}(%{-b g}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}]%{=b C}[ %M %d %c ]%{W}'
#orig hardstatus alwayslastline '%{gk}[ %H ][%= %{wk}%?%-Lw%?%{=b kR}(%{-b g}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}]%{=b C}[ %M %d %c ]%{W}'
windowlist string "%3n %t %h%=%f"
# Don't block command output if the terminal stops responding
# (like if the ssh connection times out for example).
nonblock on
# F8 to turn the status bar off
#bindkey -k k8 hardstatus alwayslastline
# F9 to turn the status bar on
#bindkey -k k9 hardstatus alwaysignore
# F5 and F6 to move one screen forward or backward
#bind F7 to change focus
bindkey -k k7 focus up
bindkey -k k5 prev
bindkey -k k6 next
# tell screen how to set colors. AB = background, AF=foreground
# termcapinfo xterm|xterms|xs|rxvt|terminal|konsole ti@:te@ 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
termcap xterm* 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
terminfo xterm* 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'