1 --- screen-4.0.3/etc/etcscreenrc 2006-11-02 01:09:43.413440948 +0200
2 +++ screen-4.0.3/etc/etcscreenrc 2006-11-02 01:19:56.237184687 +0200
5 -# This is an example for the global screenrc file.
6 -# You may want to install this file as /etc/screenrc.
7 -# Check config.h for the exact location.
8 +# This is global screenrc file.
10 # Flaws of termcap and standard settings are done here.
14 +# don't display the copyright page
17 +# emulate .logout message
18 +pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
20 #defflow on # will force screen to process ^S/^Q
25 +# no annoying audible bell, please
27 vbell_msg " Wuff ---- Wuff!! "
29 +# make the shell in every window a login shell
32 # all termcap entries are now duplicated as terminfo entries.
33 # only difference should be the slightly modified syntax, and check for
34 # terminfo entries, that are already corected in the database.
36 termcap facit|vt100|xterm LP:G0
37 terminfo facit|vt100|xterm LP:G0
39 -#the vt100 description does not mention "dl". *sigh*
40 +# the vt100 description does not mention "dl". *sigh*
41 termcap vt100 dl=5\E[M
42 terminfo vt100 dl=5\E[M
44 -#facit's "al" / "dl" are buggy if the current / last line
45 -#contain attributes...
46 +# facit's "al" / "dl" are buggy if the current / last line
47 +# contain attributes...
48 termcap facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%d;%dr:ic@
49 terminfo facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%p1%d;%p2%dr:ic@
51 -#make sun termcap/info better
52 +# make sun termcap/info better
53 termcap sun 'up=^K:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:IC=\E[%d@:WS=1000\E[8;%d;%dt'
54 terminfo sun 'up=^K:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC:IC=\E[%p1%d@:WS=\E[8;%p1%d;%p2%dt$<1000>'
56 -#xterm understands both im/ic and doesn't have a status line.
57 -#Note: Do not specify im and ic in the real termcap/info file as
58 -#some programs (e.g. vi) will (no,no, may (jw)) not work anymore.
59 +# xterm understands both im/ic and doesn't have a status line.
60 +# Note: Do not specify im and ic in the real termcap/info file as
61 +# some programs (e.g. vi) will (no,no, may (jw)) not work anymore.
62 termcap xterm|fptwist hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
63 terminfo xterm|fptwist hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
66 #termcap xterm|xterms|xs ti=\E7\E[?47l
67 #terminfo xterm|xterms|xs ti=\E7\E[?47l
69 -#make hp700 termcap/info better
70 +# make hp700 termcap/info better
71 termcap hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
72 terminfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
74 -#wyse-75-42 must have defflow control (xo = "terminal uses xon/xoff")
75 -#(nowadays: nx = padding doesn't work, have to use xon/off)
76 -#essential to have it here, as this is a slow terminal.
77 +# wyse-75-42 must have defflow control (xo = "terminal uses xon/xoff")
78 +# (nowadays: nx = padding doesn't work, have to use xon/off)
79 +# essential to have it here, as this is a slow terminal.
80 termcap wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
81 terminfo wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
83 -#remove some stupid / dangerous key bindings
89 +# remove some stupid / dangerous key bindings
111 +# Prepend/append register [/] to the paste if ^a^] is pressed.
112 +# This lets me have autoindent mode in vi.
113 +register [ "\033:se noai\015a"
114 +register ] "\033:se ai\015a"
117 +# rebind so the window list is recently used first.
118 +bind '"' windowlist -m
120 # On Debian GNU/Linux, `<--' (Backspace key) should send char `\177':
121 bindkey -k kb stuff "\177"
123 +######################
125 +# status bar settings
128 +# Status bar with hostname, term names and clock/calendar info
129 +#caption always "${HOSTNAME} %{-b}%{= wb}%-Lw%{= wr}%50>%{+b}%n%f %t%{= wb}%{-b}%+Lw%{= wr}%-017= %c %Y-%m-%d"
131 +# To disable the status bar uncomment the following line
134 +# Some more status bar examples provided by Elan Ruusamäe <glen@pld...>
136 +# colourized windowlist chooser
137 +## windowlist string "%{+ g}%02n%{-}: %{+ y}%t%{-}%f [%h]"
141 +# active window is bolder
142 +#caption string "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
144 +# glen's old one colour default
145 +#caption string "%c %t:%n|%? [%h]%? %w"
146 +#sorendition "=s dg"
148 +# glen's coloured one where active window is different colour
149 +## caption string "%{=s wb}%{+b g.}%c%{-} %{+b w.}%t:%n%{-}|%? [%{+b y.}%h%{-}]%? %-Lw[%{+b w}%n%f %t%{-}]%+Lw"
150 +#sorendition "=d ry"
153 +#caption always "%c %t:%n|%? [%h]%? %w"
155 +#caption always "%c %t - ( %w )"
159 +#caption always "%{=b by} %c %{-} %{= .w}[%{=b .w}%n%{-}%{= .w}]%{=b .w}%t%{-} %{=b .k}[ %{= .k}%w %{=b .k}]%{-} %{=b .k}@ TmC Serv%{-}"
160 +#sorendition "=b gy"
163 +#caption always "%{=b .y}%c%{-} %{=b .w}%t%{-} %{= .k}( %{= .w}%w %{= .k})%{-}"
164 +#sorendition "=b br"
166 +# blue line: and active window is bold
167 +#caption always "%{=b .y}%c%{-} %{=b .w}%t%{-} %{= .k}( %{= .w}%-Lw%{=b BW}%50>%n* %t%{-}%+Lw%< %{= .k})%{-}"
168 +#sorendition "=b br"