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