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