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