Repository navigation
Expand file tree
/
Copy pathscreenrc
More file actions
45 lines (32 loc) · 1.36 KB
/
Copy pathscreenrc
File metadata and controls
45 lines (32 loc) · 1.36 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
# 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'
# Enables use of shift-PgUp and shift-PgDn
termcapinfo xterm|xterms|xs|rxvt ti@:te@
# Enable 256 color term
term xterm-256color
# Cache 30000 lines for scroll back
defscrollback 30000
# Always start `screen` with UTF-8 enabled (`screen -U`)
defutf8 on
# Disable the startup message
startup_message off
# Don't block command output if the terminal stops responding (like if the ssh connection times out for example).
nonblock on
# Allow editors etc. to restore display on exit rather than leaving existing text in place
altscreen on
# Shell
shell -$SHELL
shelltitle '$ |'
# Window list at the bottom
#hardstatus alwayslastline '%{b kG}[ %H ]%{-b kw} %{= d}%-w%{= r}[%{= W}%n %t%{= r}]%{= d}%+w %-= %{G}'
#hardstatus alwayslastline "%{b kw}[ %H ] %{r}%1` %{w}[ %{G}%c %{w}| %{Y}%d.%m.%Y %{w}| %{G}%l %{w}] %{-b kw}%u %-Lw%{= rW}%50> %n%f %t %{-}%+Lw%<"
hardstatus alwayslastline "%{b kg}[ %H ] %{r}%1` %{-b kw}%u %-Lw%{= rW}%50> %n%f %t %{-}%+Lw%<"
#hardstatus alwayslastline '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]'
# Set prev/next bindings
bind ',' prev
bind '.' next
screen -t bash
#screen -t irssi irssi
#screen -t htop htop