-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.screenrc
More file actions
115 lines (91 loc) · 3.43 KB
/
Copy path.screenrc
File metadata and controls
115 lines (91 loc) · 3.43 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# encodings
# default encoding for new window
defencoding utf-8
# エラー時の端末画面の点滅
vbell off
# 自動デタッチ
autodetach on
# 起動メッセージ
startup_message off
# スクロールバックバッファ
defscrollback 20000
# モニター機能
defmonitor on
# ステータスバー
hardstatus on
# caption string description:
#
# %? - Start of a conditional statement.
# %F - Use this part of the statement if the window has focus (i.e. it
# is the only window or the currently active one).
# %{= 4;7} - bright brue on white.
# %: - else
# %{=b 0:7} - battribute is bold, bg is white and fg is blue
# %? - End conditional statement.
# %2n - number of the current window with left 2 padding
# %f - flags for current window
# %07= - left 7 padding for window number and flags
# %t - title of current window
# %= - truncation/padding point
caption always '%?%F%{= wB}%:%{=b wk}%?%2n%f%07=%t%='
# hardstatus string description:
#
# %m - Two-letter month number
# %d - Two-letter day number
# %02c - time (hh:mm) in 24 hour format
# %s - seconds
# %{= .b} - blue color on default background
# %H - host name.
# %{-} - undo last color change(so now we're back to default color)
# %L= - left padding start here
# %-w - window list up to but not including the current window (-)
# %45L> - truncation/padding marker; place this point about 45% of the
# way into the display area (45)
# %{=bu br} - attributes are bold and underline, bg is default and fg is red
# %n - number of the current window.
# %t - title of current window.
# %{-} - undo last color change
# %+w - window list from the next window on (-)
# %-17< - truncation/padding point. place this point zero spaces (0)
# from the right margin (-).
# %= - truncation/paddion point.
# %{= .b} - blue on default background.
# %l - host load average.
backtick 1 1 1 date '+%m/%d %H:%M:%S'
exec bash $HOME/dotfiles/mac-output-status.sh
backtick 2 10 10 cat /tmp/screen-status.txt
hardstatus alwayslastline '%{= 7;0} %1` %{= 3} %H %L=%{= 4}%-w%46>%{= 1} %n %t* %{= 4}%+w%-50=%{= 3} %2'`
#hardstatus alwayslastline '%{= 7;0} %1` %{= 3} %H %L=%{= 4}%-w%46>%{= 1} %n %t* %{= 4}%+w%-16=%{= 3} [%l]'
# その他のメッセージ
sorendition "+rb .G"
# ステータス行に各ウィンドウで打ったコマンドを表示
shelltitle "$ |shell"
# エスケープ C-z
escape ^Zz
# 背景色消去
defbce "on"
# フルカラー
truecolor on
# ボールドのテキストを表示するとき、色を明るい青に変更する。
#attrcolor b "^["
# アンダーラインの代わりに青のテキストを用いる。
#attrcolor u "-u b"
#attrcolor u "b"
# 高輝度色のテキストをボールドにもする。
#attrcolor i "+b"
# 256色表示設定
term xterm-256color
# 別画面サポート。Vimやless使うときに便利
altscreen on
# 新しいウィンドウを生成するときのコマンド
shell -$SHELL
# ログファイル保存先
#logfile "$HOME/.screen/screen-%H.%Y%m%d-%0c:%s.%n.%t.log"
# ログ取得
#deflog on
# メッセージを表示する時間(秒単位)
msgwait 5
# 次のメッセージを表示するまでの遅延時間(秒単位)
msgminwait 1
# iTerm2での描画問題を修正
termcapinfo xterm-256color* ti@:te@