]> git.pld-linux.org Git - packages/screen.git/blame - screen-screenrc.patch
- unify @direntry formatting (description at 41st column)
[packages/screen.git] / screen-screenrc.patch
CommitLineData
2995cd80
ER
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 @@
7d1e8057
ER
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 #
2995cd80
ER
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 @@
7d1e8057
ER
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
2ae42baf 65@@ -71,27 +76,93 @@
7d1e8057
ER
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
2995cd80
ER
84+################
85+#
86+# keybindings
87+#
88+
7d1e8057 89+# remove some stupid / dangerous key bindings
2995cd80 90+bind k
7d1e8057
ER
91 bind ^k
92-#bind L
2995cd80 93+bind .
7d1e8057
ER
94 bind ^\
95-#make them better
2995cd80
ER
96+bind \\
97+bind ^h
98+bind h
7d1e8057
ER
99+# make them better
100 bind \\ quit
2995cd80
ER
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+
bfeacce0
ER
117+# rebind so the window list is recently used first.
118+bind '"' windowlist -m
2995cd80 119
bfeacce0
ER
120 # On Debian GNU/Linux, `<--' (Backspace key) should send char `\177':
121 bindkey -k kb stuff "\177"
2ae42baf
ER
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