summaryrefslogtreecommitdiff
path: root/screenrc
blob: ad5da4323ef1060137e43e76ccb210161b382b7f (plain)
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
startup_message off
deflogin on
#vbell off
defscrollback 10000
defnonblock 5

## set these terminals up to be 'optimal' instead of vt100
#termcapinfo xterm*|linux*|rxvt*|Eterm* OP

caption always " %?%F%{r}%?%H%{r}%?%F*%: %? %{rd}| %{r}$LOGNAME%{d} | %{b}%-Lw%{b}%50>%{kw}%n%f* %t %{-}%+Lw%<"

# fix screens copy&paste (background-color-erase to on)
defbce on

# xterm, and urxvt on valiant, defiant
bindkey "^[[1;5D" prev
bindkey "^[[1;5C" next
bindkey "^[[1;5A" focus up
bindkey "^[[1;5B" focus down

# urxvt default Ctrl+left/right/up/down on stretch (orinoco)
bindkey "^[Od" prev
bindkey "^[Oc" next
bindkey "^[Oa" focus up
bindkey "^[Ob" focus down

# gnome terminal (in screen:
#bindkey "^[n" screen
#bindkey "^[O5D" prev
#bindkey "^[O5C" next
#bindkey "^[O5A" focus up
#bindkey "^[O5B" focus down

# urxvt shift+left/right
#bindkey "^[[d" prev
#bindkey "^[[c" next
#bindkey "^[[a" focus up
#bindkey "^[[b" focus down