fix vpn host naming
[distro-setup] / .screenrc
1 # turn off visual bell
2 vbell off
3
4 # bufferfile /tmp/screen-exchange
5 # replace ctrl-A by ctrl-O
6 # escape ^Oo
7 # set a big scrolling buffer
8 defscrollback 20000
9 # Set the caption on the bottom line
10 # %-w all window names & numbers up to the current one. %+w all after the current.
11 #
12 #
13 # modified from this
14 #caption always "%{= kw}%-w%{= kw}%n %t%{-}%+w %-= %u@%H - %LD %d %LM - %C"
15 caption always "%{= kw}%-w%{= kw}%n %t%{-}%+w %-= %h"
16 # useless stuff taken away.
17 # %u other users using this session or something
18 # %H host, doesn't change after ssh
19 #
20 #
21
22 # make vim go away when it exits
23 altscreen on
24
25 # syn with X paste buffer
26 #bindkey -m > eval "stuff ' '" writebuf "exec sh -c 'xsel -n < /tmp/screen-exchange'"
27 #screen -t shell1
28
29 startup_message off
30
31 # terminfo and termcap for nice 256 color terminal
32 # allow bold colors - necessary for some reason
33 attrcolor b ".I"
34 # tell screen how to set colors. AB = background, AF=foreground
35 termcapinfo xterm|xterm-256color 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
36 # erase background with current bg color. bce = background color erase
37 defbce "on"
38
39 # make shift-pgup/pgdn work
40 termcapinfo xterm|xterm-256color ti@:te=\E[2J
41
42 # can update the hardstatus (xterm title) with a command like this:
43 # hardstatus string "SCREEN @ %H: %-n - %t"
44
45 # the default scrollback is way too small
46 defscrollback 1000000