]> git.deb.at Git - debienna.git/blob - AlexanderGanster/ScreenConfig/index.mdwn
use unix newlines everywhere
[debienna.git] / AlexanderGanster / ScreenConfig / index.mdwn
1 Here's my current UNIX screen config. Since I'm sharing parts of my config with other people I'm sourcing a user-specific file at the end of the first config file:
2
3 that's my .screenrc
4
5 {{{
6 screen 0 zsh
7
8 defutf8               on
9 deflogin              off
10 startup_message       off
11 vbell                 on
12 nethack on
13 bell_msg        'Bell in %n'
14 altscreen off
15
16 termcapinfo xterm*|linux*|rxvt*|Eterm* OP
17
18 defscrollback         1000
19 shell                 zsh
20
21
22 sorendition 10 99 # default!
23
24 #idle 600 eval "screen cmatrix -o -f -u 9 -C red -s" "idle 0"
25
26 #caption always "%{w$SCREEN_CAPTION_COLOR}%?%-Lw%?%{kW}%n*%f %t%?(%u)%?%{w$SCREEN_CAPTION_COLOR}%?%+Lw"
27
28 ################################### Alex
29 source ./screenrc-$USER
30
31 }}}
32
33 And that's the second part of the config which is user-specific:
34 {{{
35 autodetach on
36 defscrollback 5000
37
38 # Set messages timeout
39 msgwait 2
40 activity "Activity in %n (%t) [%w:%s]~"
41 bell_msg "Trouble in %n!"
42 vbell_msg "Beep Beep ..."
43 pow_detach_msg "BYE"
44
45 # Ctrl-PageUp/Down or Alt-PageUp/Down or Alt-left/right
46 bindkey ^[[5;5~ prev
47 bindkey ^[[6;5~ next
48 bindkey ^[[5;3~ prev
49 bindkey ^[[6;3~ next
50 bindkey ^[[1;3D prev
51 bindkey ^[[1;3C next
52
53 #scrolling
54 termcapinfo xterm* ti@:te@
55
56 multiuser on
57 # allow the following people full control
58 # addacl unki, lefant
59 #aclchg aledesma +rwx "#?"
60
61 # show a window list at the bottom of the
62 hardstatus alwayslastline
63
64 # not so beauty
65 #hardstatus string '%{= mK}%-Lw%{= KW}%50>%n%f* %t%{= mK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}'
66
67 # nice one with clock, but causes much traffic (seconds)
68 #hardstatus string '%{= kG}%-Lw%{= kW}%50> %n%f* %t%{= kG}%+Lw%< %{= kG}%-=%c:%s%{-}'
69
70 # looks quite good - my fav
71 hardstatus string '%{gk}[ %{G}%H %{g}][%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][%{Y}%l%{g}]%{=b C}[ %c ]%{W}'
72
73 # get info at
74 # http://www.delorie.com/gnu/docs/screen/screen_toc.html
75 # http://gentoo-wiki.com/TIP_Using_screen
76
77 }}}
78
79 If you want you can also put the entire config into one file....