]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/debian-org/files/root-dotfiles/screenrc
put /root/.profile under puppet control, too
[dsa-puppet.git] / modules / debian-org / files / root-dotfiles / screenrc
1 # ~/.screenrc - ViM configuration file
2
3 ## THIS FILE IS UNDER PUPPET CONTROL.
4 ## LOCAL CHANGES WILL BE OVERWRITTEN.
5
6 startup_message off
7 deflogin on
8 #vbell off
9 defscrollback 10000
10
11 # The vt100 description does not mention "dl". *sigh*
12 #termcapinfo vt100 dl=5\E[M
13
14 ## turn sending of screen messages to hardstatus off
15 #hardstatus on
16 #
17 ## Set the hardstatus prop on gui terms to set the titlebar/icon title
18 #termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
19 ## use this for the hard status string
20 #hardstatus string "%h%? users: %u%?"
21 #hardstatus alwayslastline "%{b w} %H %{=} | %{+bry}%D %d-%m-%y %c %{=  d} | %w"
22 #
23 ## set these terminals up to be 'optimal' instead of vt100
24 #termcapinfo xterm*|linux*|rxvt*|Eterm* OP
25
26
27 #caption always "%{rw} * %H * | $LOGNAME | %{-}%-Lw%{rw}%50>%{rW}%n%f* %t %{-}%+Lw%<"
28 #caption always "%{rw} * %H * | $LOGNAME | %{bw}%c %D | %{-}%-Lw%{rw}%50>%{rW}%n%f* %t %{-}%+Lw%<"
29 #caption always "%{=b}%?%F%:%45=%n*%f %t%?%?%F%{r}%:%{s kk}%?%H%?%F%{-}%? %L=%-Lw%45L>%?%F%{g}%?%n*%f %t%?%F%{-}%?%+Lw%-17= %?%F%{y}%?%c %Y-%m-%d%?"
30
31 #caption always " %{r}%H%{d} %?%F*%: %? | %{r}$LOGNAME%{d} | %{b}%-Lw%{b}%50>%{kw}%n%f* %t %{-}%+Lw%<"
32 caption always " %?%F%{r}%?%H%{r}%?%F*%: %? %{rd}| %{r}$LOGNAME%{d} | %{b}%-Lw%{b}%50>%{kw}%n%f* %t %{-}%+Lw%<"
33 #caption always " %{r}%H%{d} | %{r}$LOGNAME%{d} | %{b}%-Lw%{b}%50>%{kw}%n%f* %t %{-}%+Lw%<"
34 #caption always " %{r}%H%{d} | %{r}$LOGNAME%{d} | %{b-}%-Lw%{b-}%50>%{bW}%n%f* %t %{-}%+Lw%<"
35 #caption always " %{=r-}%H%{=b-} | %{=}$LOGNAME%{=b-} | %{b-}%-Lw%{b-}%50>%{bW}%n%f* %t %{-}%+Lw%<"
36
37 # To get screen to add lines to xterm's scrollback buffer, uncomment the
38 # following termcapinfo line which tells xterm to use the normal screen buffer
39 # (which has scrollback), not the alternate screen buffer.
40 #
41 # also makes screen block so irssi ping timeouts
42 #termcapinfo xterm|xterms|xs|rxvt ti@:te@
43
44 # fix screens copy&paste
45 defbce on
46
47
48 bindkey ® next
49 bindkey ¬ prev
50 # home and end
51 #bindkey -k kh prev
52 #bindkey -k kH next
53
54 bindkey î screen
55 # xterm:
56 bindkey "^[[1;5D" prev
57 bindkey "^[[1;5C" next
58 bindkey "^[[1;5A" focus up
59 bindkey "^[[1;5B" focus down
60
61 # gnome terminal (in screen:
62 #bindkey "^[n" screen
63 bindkey "^[O5D" prev
64 bindkey "^[O5C" next
65 bindkey "^[O5A" focus up
66 bindkey "^[O5B" focus down
67
68 # urxvt shift+left/right
69 #bindkey "^[[d" prev
70 #bindkey "^[[c" next
71 #bindkey "^[[a" focus up
72 #bindkey "^[[b" focus down
73
74
75 defnonblock 5