-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscreenrc
101 lines (82 loc) · 1.99 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#
# ~/.screenrc startup file for GNU Screen.
#
# Steve
# --
#
#
# skip the startup message
#
startup_message off
#
# Start in our home dir
#
#chdir
#
# we're not graphical
#
unsetenv DISPLAY
#
# Automatically detach on hangup.
#
autodetach on
#
# Change default scrollback value for new windows
#
defscrollback 5000
#
# start with visual bell as default
#
vbell on
vbell_msg "bell on %t (%n)"
activity "Activity in %t(%n)"
caption always "%{+b rk}%H%{gk} |%c %{yk}%d.%m.%Y | %72=Load: %l %{wk}"
hardstatus alwayslastline "%?%{yk}%-Lw%?%{wb}%n*%f %t%?(%u)%?%?%{yk}%+Lw%?"
#
# look and feel for the bottom two lines.
#
caption splitonly "%{+b rk}%H%{yk}|%{yk}%Y-%m-%d %{gk}%c| %72=Load: %l %{wk}"
hardstatus alwayslastline '%{= G}[ %{G}%H %{g}][%= %{= w}%?%-Lw%?%{= R}%n*%t%?%{= R}(%u)%?%{= w}%+Lw%?%= %{= g}][ %{y}Load: %l %{g}][%{B}%Y-%m-%d %{W}%c:%s %{g}]'
#hardstatus alwayslastline "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H: %l%{..Y}"
#
# Toggle 'fullscreen' or not.
#
bind f eval "caption splitonly" "hardstatus ignore"
bind F eval "caption always" "hardstatus alwayslastline"
#
# Shell title.
#
shelltitle "$ |bash"
shell -$SHELL
#shell "zsh"
#
# Keep dead windows around until I tell them to exit.
#
#zombie cr
#
# These keybindings always annoy me: xon/xoff.
# Remove them.
#
bind ^Q
bind q
bind ^S
bind s
#
# If a window goes unresponsive, don't block the whole session waiting for it.
#
nonblock on
#
# Run a screensaver if there's nothing happening for a while.
#
#idle 420 eval "screen cmatrix -f -o -u 10" "idle 0"
bindkey -m > eval "stuff ' '" writebuf "exec sh -c 'xsel -n < ~/screen-exchange'"
# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
#termcapinfo xterm-256color 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007'
#defhstatus "screen ^E (^Et) | $USER@^EH"
# erase background with current bg color
defbce "on"
term screen