]> git.pld-linux.org Git - packages/screen.git/blob - screen-screenrc.patch
- unify @direntry formatting (description at 41st column)
[packages/screen.git] / screen-screenrc.patch
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
3 @@ -1,21 +1,26 @@
4 -#
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.
9  #
10  # Flaws of termcap and standard settings are done here.
11  #
12  
13 -#startup_message off
14 +# don't display the copyright page
15 +startup_message off
16 +
17 +# emulate .logout message
18 +pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
19  
20  #defflow on # will force screen to process ^S/^Q
21  
22  deflogin on
23  #autodetach off
24  
25 +# no annoying audible bell, please
26  vbell on
27  vbell_msg "   Wuff  ----  Wuff!!  "
28  
29 +# make the shell in every window a login shell
30 +shell -$SHELL
31 +
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.
35 @@ -39,22 +44,22 @@
36  termcap  facit|vt100|xterm LP:G0
37  terminfo facit|vt100|xterm LP:G0
38  
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
43  
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@
50  
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>'
55  
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
64  
65 @@ -71,27 +76,93 @@
66  #termcap xterm|xterms|xs ti=\E7\E[?47l
67  #terminfo xterm|xterms|xs ti=\E7\E[?47l
68  
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@'
73  
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
82  
83 -#remove some stupid / dangerous key bindings
84 +################
85 +#
86 +# keybindings
87 +#
88 +
89 +# remove some stupid / dangerous key bindings
90 +bind k
91  bind ^k
92 -#bind L
93 +bind .
94  bind ^\
95 -#make them better
96 +bind \\
97 +bind ^h
98 +bind h
99 +# make them better
100  bind \\ quit
101 -bind K kill
102 -bind I login on
103 -bind O login off
104 -bind } history
105 +bind 'K' kill
106 +bind 'I' login on
107 +bind 'O' login off
108 +bind '}' history
109 +
110 +# Yet another hack:
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"
115 +bind ^] paste [.]
116 +
117 +# rebind so the window list is recently used first.
118 +bind '"' windowlist -m
119  
120  # On Debian GNU/Linux, `<--' (Backspace key) should send char `\177':
121  bindkey -k kb stuff "\177"
122  
123 +######################
124 +#
125 +# status bar settings
126 +#
127 +
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"
130 +
131 +# To disable the status bar uncomment the following line
132 +# caption splitonly
133 +
134 +# Some more status bar examples provided by Elan Ruusamäe <glen@pld...>
135 +#
136 +# colourized windowlist chooser
137 +## windowlist string "%{+ g}%02n%{-}: %{+ y}%t%{-}%f [%h]"
138 +
139 +# misc captions
140 +
141 +# active window is bolder
142 +#caption string "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
143 +
144 +# glen's old one colour default
145 +#caption string "%c %t:%n|%? [%h]%? %w"
146 +#sorendition "=s dg"
147 +
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"
151 +
152 +# TmC captions
153 +#caption always "%c %t:%n|%? [%h]%? %w"
154 +
155 +#caption always "%c %t - ( %w )"
156 +#sorendition "= gk"
157 +
158 +# green line
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"
161 +
162 +# blue line
163 +#caption always "%{=b .y}%c%{-} %{=b .w}%t%{-} %{= .k}( %{= .w}%w %{= .k})%{-}"
164 +#sorendition "=b br"
165 +
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"
169 +
This page took 0.040388 seconds and 3 git commands to generate.