annotate .screenrc.pbstops @ 89:103f26c9f9f7

Added syrinx to less-than-strict test
author Steve Huston <huston@astro.princeton.edu>
date Fri, 14 Jun 2013 16:53:28 -0400
parents f9fa25bac9a8
children 43be065c4039
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
61
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
1 # $Id: .screenrc 42 2010-06-17 16:29:11Z huston $
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
2
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
3 vbell off
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
4 bell_msg "^GBell in window %n"
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
5 defnonblock 5
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
6 nethack on
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
7 hardstatus string "%{+b .bw}%-Lw%{+b .rw}%50L>%n%f* %t%?%{+b .cw}(%u)%{-}%?%{-}%+Lw%L< %-20=%{+b ..g} %H%-8= %{+b ..y} %c "
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
8 hardstatus alwayslastline
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
9 activity "^GActivity in window %n"
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
10 zombie qr
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
11 screen -t orbital 0 ssh -t orbital pbstop
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
12 screen -t adroit 1 ssh -t adroit pbstop
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
13 screen -t della 2 ssh -t della pbstop
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
14 screen -t hecate 3 ssh -t hecate pbstop
72
f9fa25bac9a8 * Removed sesame & artemis from cluster commands
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents: 67
diff changeset
15 screen -t sesame 4 ssh -t tiger pbstop
67
54c3436f3284 * Added mcmillan to pbstops
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents: 61
diff changeset
16 screen -t mcmillan 5 ssh -t mcmillan pbstop
61
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
17
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
18 # The following from the /etc/screenrc that came with screen-4.0.3-1.el5_4.1
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
19 # with a few lines commented out so they don't interfere with the above. One
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
20 # note, the 'deflogin' setting causes a complaint on Macs because they don't
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
21 # use it; but it's only when one starts a screen, and only for a second or
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
22 # two.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
23
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
24 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
25 # This is an example for the global screenrc file.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
26 # You may want to install this file as /usr/local/etc/screenrc.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
27 # Check config.h for the exact location.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
28 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
29 # Flaws of termcap and standard settings are done here.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
30 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
31
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
32 #startup_message off
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
33
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
34 #defflow on # will force screen to process ^S/^Q
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
35
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
36 deflogin on
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
37 #autodetach off
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
38
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
39 #vbell on
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
40 #vbell_msg " Wuff ---- Wuff!! "
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
41
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
42 # all termcap entries are now duplicated as terminfo entries.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
43 # only difference should be the slightly modified syntax, and check for
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
44 # terminfo entries, that are already corected in the database.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
45 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
46 # G0 we have a SEMI-GRAPHICS-CHARACTER-MODE
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
47 # WS this sequence resizes our window.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
48 # cs this sequence changes the scrollregion
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
49 # hs@ we have no hardware statusline. screen will only believe that
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
50 # there is a hardware status line if hs,ts,fs,ds are all set.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
51 # ts to statusline
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
52 # fs from statusline
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
53 # ds delete statusline
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
54 # al add one line
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
55 # AL add multiple lines
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
56 # dl delete one line
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
57 # DL delete multiple lines
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
58 # ic insert one char (space)
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
59 # IC insert multiple chars
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
60 # nx terminal uses xon/xoff
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
61
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
62 termcap facit|vt100|xterm LP:G0
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
63 terminfo facit|vt100|xterm LP:G0
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
64
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
65 #the vt100 description does not mention "dl". *sigh*
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
66 termcap vt100 dl=5\E[M
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
67 terminfo vt100 dl=5\E[M
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
68
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
69 #facit's "al" / "dl" are buggy if the current / last line
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
70 #contain attributes...
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
71 termcap facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%d;%dr:ic@
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
72 terminfo facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%p1%d;%p2%dr:ic@
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
73
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
74 #make sun termcap/info better
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
75 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'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
76 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>'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
77
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
78 #xterm understands both im/ic and doesn't have a status line.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
79 #Note: Do not specify im and ic in the real termcap/info file as
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
80 #some programs (e.g. vi) will (no,no, may (jw)) not work anymore.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
81 termcap xterm|fptwist hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
82 terminfo xterm|fptwist hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
83
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
84 # Long time I had this in my private screenrc file. But many people
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
85 # seem to want it (jw):
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
86 # we do not want the width to change to 80 characters on startup:
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
87 # on suns, /etc/termcap has :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
88 termcap xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
89 terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
90
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
91 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
92 # Do not use xterms alternate window buffer.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
93 # This one would not add lines to the scrollback buffer.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
94 #termcap xterm|xterms|xs ti=\E7\E[?47l
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
95 #terminfo xterm|xterms|xs ti=\E7\E[?47l
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
96
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
97 #make hp700 termcap/info better
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
98 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@'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
99 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@'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
100
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
101 #wyse-75-42 must have defflow control (xo = "terminal uses xon/xoff")
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
102 #(nowadays: nx = padding doesn't work, have to use xon/off)
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
103 #essential to have it here, as this is a slow terminal.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
104 termcap wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
105 terminfo wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
106
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
107 #remove some stupid / dangerous key bindings
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
108 bind ^x
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
109 bind x
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
110 bind ^k
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
111 #bind L
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
112 bind ^\
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
113 #make them better
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
114 bind \\ quit
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
115 bind K kill
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
116 #bind I login on
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
117 #bind O login off
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
118 bind } history
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
119 bind X lockscreen
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
120 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
121 # Example of a user's .screenrc file
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
122 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
123
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
124 # This is how one can set a reattach password:
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
125 # password ODSJQf.4IJN7E # "1234"
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
126
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
127 # no annoying audible bell, please
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
128 #vbell on
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
129
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
130 # detach on hangup
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
131 autodetach on
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
132
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
133 # don't display the copyright page
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
134 startup_message off
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
135
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
136 # emulate .logout message
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
137 pow_detach_msg "Screen session of $LOGNAME $:cr:$:nl:ended."
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
138
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
139 # advertise hardstatus support to $TERMCAP
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
140 # termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
141
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
142 # make the shell in every window a login shell
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
143 #shell -$SHELL
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
144
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
145 # autoaka testing
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
146 # shellaka '> |tcsh'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
147 # shellaka '$ |sh'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
148
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
149 # set every new windows hardstatus line to somenthing descriptive
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
150 # defhstatus "screen: ^En (^Et)"
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
151
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
152 defscrollback 1000
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
153
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
154 # don't kill window after the process died
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
155 # zombie "^["
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
156
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
157 # enable support for the "alternate screen" capability in all windows
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
158 # altscreen on
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
159
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
160 ################
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
161 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
162 # xterm tweaks
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
163 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
164
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
165 #xterm understands both im/ic and doesn't have a status line.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
166 #Note: Do not specify im and ic in the real termcap/info file as
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
167 #some programs (e.g. vi) will not work anymore.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
168 termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
169 terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
170
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
171 #80/132 column switching must be enabled for ^AW to work
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
172 #change init sequence to not switch width
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
173 termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
174
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
175 # Make the output buffer large for (fast) xterms.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
176 #termcapinfo xterm* OL=10000
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
177 termcapinfo xterm* OL=100
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
178
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
179 # tell screen that xterm can switch to dark background and has function
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
180 # keys.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
181 termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
182 termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
183 termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
184
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
185 # special xterm hardstatus: use the window title.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
186 termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
187
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
188 #terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
189 termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
190
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
191 # emulate part of the 'K' charset
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
192 termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
193
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
194 # xterm-52 tweaks:
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
195 # - uses background color for delete operations
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
196 termcapinfo xterm* be
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
197
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
198 ################
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
199 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
200 # wyse terminals
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
201 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
202
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
203 #wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
204 #essential to have it here, as this is a slow terminal.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
205 termcapinfo wy75-42 xo:hs@
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
206
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
207 # New termcap sequences for cursor application mode.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
208 termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
209
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
210 ################
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
211 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
212 # other terminals
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
213 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
214
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
215 # make hp700 termcap/info better
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
216 termcapinfo 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@'
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
217
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
218 # Extend the vt100 desciption by some sequences.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
219 termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
220 terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
221 termcapinfo linux C8
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
222 # old rxvt versions also need this
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
223 # termcapinfo rxvt C8
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
224
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
225
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
226 ################
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
227 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
228 # keybindings
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
229 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
230
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
231 #remove some stupid / dangerous key bindings
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
232 bind k
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
233 bind ^k
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
234 bind .
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
235 bind ^\
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
236 bind \\
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
237 bind ^h
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
238 bind h
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
239 #make them better
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
240 bind 'K' kill
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
241 #bind 'I' login on
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
242 #bind 'O' login off
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
243 bind '}' history
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
244
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
245 # Yet another hack:
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
246 # Prepend/append register [/] to the paste if ^a^] is pressed.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
247 # This lets me have autoindent mode in vi.
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
248 #register [ "\033:se noai\015a"
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
249 #register ] "\033:se ai\015a"
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
250 #bind ^] paste [.]
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
251
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
252 ################
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
253 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
254 # default windows
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
255 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
256
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
257 # screen -t local 0
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
258 # screen -t mail 1 mutt
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
259 # screen -t 40 2 rlogin server
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
260
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
261 # caption always "%3n %t%? @%u%?%? [%h]%?%=%c"
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
262 ## alternative caption, gives window list, LOGNAME and current date:
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
263 # caption always "%{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw %=%{mk}@%H %{yk}%D %{ck}%M%{wk} %{ck}%d %{gk}%c"
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
264 # hardstatus alwaysignore
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
265 # hardstatus alwayslastline "%Lw"
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
266
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
267 # Red Hat's normal status line
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
268 #hardstatus string "[screen %n%?: %t%?] %h"
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
269
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
270 # bind = resize =
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
271 # bind + resize +1
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
272 # bind - resize -1
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
273 # bind _ resize max
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
274 #
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
275 # defnonblock 1
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
276 # blankerprg rain -d 100
d59d16a55494 * Added test to dotfile check which aborts if no keys loaded
huston@80426f53-59d1-405d-934b-f07cd76f4a1a
parents:
diff changeset
277 # idle 30 blanker