-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscreenrc-4
33 lines (29 loc) · 934 Bytes
/
screenrc-4
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
#
# Configuration for GNU Screen 4 or earlier
#
defutf8 on
startup_message off
defscrollback 32000
# Visual bell off by default (toggle it with C-a C-g)
vbell off
# Disable screen lock actuation
bind x
bind ^x
# Fancy status line
#
# http://www.gnu.org/software/screen/manual/html_node/String-Escapes.html
#
# %{= kw} : set (w)hite text on blac(k) background
# %-w : numbers and titles of all windows before the current one
# %{=b bw} : set (b)old font with (w)hite text on (b)lue background
# %n %t : number and title of current window
# %{-} : reset attributes and colors
# %+w : numbers and titles of all windows after the current one
# %-= : pad with spaces (divider)
# %{=b} : set (b)old font
# %S : screen session name
# %H : host name
# %Y-%M-%d : current date
# %c : current time (24 hour format)
#
caption always "%{= kw}%-w%{=b bw}%n %t%{-}%+w%-=%{=b}%S :: @%H - %Y-%M-%d %c"