]> git.pld-linux.org Git - packages/screen.git/blame - screen-screenrc.patch
- simplify user screenrc
[packages/screen.git] / screen-screenrc.patch
CommitLineData
7d1e8057
ER
1--- screen-4.0.3/etc/etcscreenrc 2006-10-27 18:39:47.882556628 +0300
2+++ screen-4.0.3/etc/etcscreenrc 2006-11-02 01:09:43.413440948 +0200
3@@ -1,7 +1,4 @@
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@@ -39,22 +36,22 @@
13 termcap facit|vt100|xterm LP:G0
14 terminfo facit|vt100|xterm LP:G0
15
16-#the vt100 description does not mention "dl". *sigh*
17+# the vt100 description does not mention "dl". *sigh*
18 termcap vt100 dl=5\E[M
19 terminfo vt100 dl=5\E[M
20
21-#facit's "al" / "dl" are buggy if the current / last line
22-#contain attributes...
23+# facit's "al" / "dl" are buggy if the current / last line
24+# contain attributes...
25 termcap facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%d;%dr:ic@
26 terminfo facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%p1%d;%p2%dr:ic@
27
28-#make sun termcap/info better
29+# make sun termcap/info better
30 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'
31 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>'
32
33-#xterm understands both im/ic and doesn't have a status line.
34-#Note: Do not specify im and ic in the real termcap/info file as
35-#some programs (e.g. vi) will (no,no, may (jw)) not work anymore.
36+# xterm understands both im/ic and doesn't have a status line.
37+# Note: Do not specify im and ic in the real termcap/info file as
38+# some programs (e.g. vi) will (no,no, may (jw)) not work anymore.
39 termcap xterm|fptwist hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
40 terminfo xterm|fptwist hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
41
42@@ -71,27 +68,30 @@
43 #termcap xterm|xterms|xs ti=\E7\E[?47l
44 #terminfo xterm|xterms|xs ti=\E7\E[?47l
45
46-#make hp700 termcap/info better
47+# make hp700 termcap/info better
48 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@'
49 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@'
50
51-#wyse-75-42 must have defflow control (xo = "terminal uses xon/xoff")
52-#(nowadays: nx = padding doesn't work, have to use xon/off)
53-#essential to have it here, as this is a slow terminal.
54+# wyse-75-42 must have defflow control (xo = "terminal uses xon/xoff")
55+# (nowadays: nx = padding doesn't work, have to use xon/off)
56+# essential to have it here, as this is a slow terminal.
57 termcap wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
58 terminfo wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
59
60-#remove some stupid / dangerous key bindings
61+# remove some stupid / dangerous key bindings
62 bind ^k
63-#bind L
64+# bind L
65 bind ^\
66-#make them better
67+# make them better
68 bind \\ quit
69 bind K kill
70 bind I login on
bfeacce0
ER
71 bind O login off
72 bind } history
73
74+# rebind so the window list is recently used first.
75+bind '"' windowlist -m
76+
77 # On Debian GNU/Linux, `<--' (Backspace key) should send char `\177':
78 bindkey -k kb stuff "\177"
79
This page took 0.037008 seconds and 4 git commands to generate.