comparison lisp/term/iris-ansi.el @ 91041:bdb3fe0ba9fa

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 866-879) - Merge multi-tty branch - Update from CVS - Merge from emacs--rel--22 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-257
author Miles Bader <miles@gnu.org>
date Thu, 11 Oct 2007 16:22:07 +0000
parents f55f9811f5d7 65663fcd2caa
children 4bc33ffdda1a
comparison
equal deleted inserted replaced
91040:14c4a6aac623 91041:bdb3fe0ba9fa
24 24
25 ;;; Commentary: 25 ;;; Commentary:
26 26
27 ;;; Code: 27 ;;; Code:
28 28
29 (defun iris-ansi-initialize-terminal () 29 (defvar iris-function-map (make-sparse-keymap)
30 "Function key definitions for SGI xwsh and winterm apps.")
31
32 (define-key iris-function-map "\e[120q" [S-escape])
33 (define-key iris-function-map "\e[121q" [C-escape])
34
35 (define-key iris-function-map "\e[001q" [f1])
36 (define-key iris-function-map "\e[013q" [S-f1])
37 (define-key iris-function-map "\e[025q" [C-f1])
38
39
40 (define-key iris-function-map "\e[002q" [f2])
41 (define-key iris-function-map "\e[014q" [S-f2])
42 (define-key iris-function-map "\e[026q" [C-f2])
43 (define-key iris-function-map "\e[038q" [M-f2])
44
45 (define-key iris-function-map "\e[003q" [f3])
46 (define-key iris-function-map "\e[015q" [S-f3])
47 (define-key iris-function-map "\e[027q" [C-f3])
48
49
50 (define-key iris-function-map "\e[004q" [f4])
51 (define-key iris-function-map "\e[016q" [S-f4])
52 (define-key iris-function-map "\e[028q" [C-f4])
53
54
55 (define-key iris-function-map "\e[005q" [f5])
56 (define-key iris-function-map "\e[017q" [S-f5])
57 (define-key iris-function-map "\e[029q" [C-f5])
58
59
60 (define-key iris-function-map "\e[006q" [f6])
61 (define-key iris-function-map "\e[018q" [S-f6])
62 (define-key iris-function-map "\e[030q" [C-f6])
63
64
65 (define-key iris-function-map "\e[007q" [f7])
66 (define-key iris-function-map "\e[019q" [S-f7])
67 (define-key iris-function-map "\e[031q" [C-f7])
68
69
70 (define-key iris-function-map "\e[008q" [f8])
71 (define-key iris-function-map "\e[020q" [S-f8])
72 (define-key iris-function-map "\e[032q" [C-f8])
73
74
75 (define-key iris-function-map "\e[009q" [f9])
76 (define-key iris-function-map "\e[021q" [S-f9])
77 (define-key iris-function-map "\e[033q" [C-f9])
78
79
80 (define-key iris-function-map "\e[010q" [f10])
81 (define-key iris-function-map "\e[022q" [S-f10])
82 (define-key iris-function-map "\e[034q" [C-f10])
83
84
85 (define-key iris-function-map "\e[011q" [f11])
86 (define-key iris-function-map "\e[023q" [S-f11])
87 (define-key iris-function-map "\e[035q" [C-f11])
88 (define-key iris-function-map "\e[047q" [M-f11])
89
90 (define-key iris-function-map "\e[012q" [f12])
91 (define-key iris-function-map "\e[024q" [S-f12])
92 (define-key iris-function-map "\e[036q" [C-f12])
93 (define-key iris-function-map "\e[048q" [M-f12])
94
95
96 (define-key iris-function-map "\e[057q" [?\C-`])
97 (define-key iris-function-map "\e[115q" [?\M-`])
98
99 (define-key iris-function-map "\e[049q" [?\C-1])
100 (define-key iris-function-map "\e[058q" [?\M-1])
101
102
103 (define-key iris-function-map "\e[059q" [?\M-2])
104
105 (define-key iris-function-map "\e[050q" [?\C-3])
106 (define-key iris-function-map "\e[060q" [?\M-3])
107
108 (define-key iris-function-map "\e[051q" [?\C-4])
109 (define-key iris-function-map "\e[061q" [?\M-4])
110
111 (define-key iris-function-map "\e[052q" [?\C-5])
112 (define-key iris-function-map "\e[062q" [?\M-5])
113
114
115 (define-key iris-function-map "\e[063q" [?\M-6])
116
117 (define-key iris-function-map "\e[053q" [?\C-7])
118 (define-key iris-function-map "\e[064q" [?\M-7])
119
120 (define-key iris-function-map "\e[054q" [?\C-8])
121 (define-key iris-function-map "\e[065q" [?\M-8])
122
123 (define-key iris-function-map "\e[055q" [?\C-9])
124 (define-key iris-function-map "\e[066q" [?\M-9])
125
126 (define-key iris-function-map "\e[056q" [?\C-0])
127 (define-key iris-function-map "\e[067q" [?\M-0])
128
129 (define-key iris-function-map "\e[068q" [?\M--])
130
131 (define-key iris-function-map "\e[069q" [?\C-=])
132 (define-key iris-function-map "\e[070q" [?\M-=])
133
134 ;; I don't know what to do with those.
135 ;;(define-key iris-function-map "^H" [<del>])
136 ;;(define-key iris-function-map "^H" [S-<del>])
137 ;;(define-key iris-function-map "\177" [C-<del>])
138 ;;(define-key iris-function-map "\e[071q" [M-<del>])
139
140 (define-key iris-function-map "\e[Z" [?\S-\t])
141 (define-key iris-function-map "\e[072q" [?\C-\t])
142 ;; This only works if you remove the M-TAB keybing from the system.4Dwmrc
143 ;; our your ~/.4Dwmrc, if you use the 4Dwm window manager.
144 (define-key iris-function-map "\e[073q" [?\M-\t])
145
146 (define-key iris-function-map "\e[074q" [?\M-q])
147
148 (define-key iris-function-map "\e[075q" [?\M-w])
149
150 (define-key iris-function-map "\e[076q" [?\M-e])
151
152 (define-key iris-function-map "\e[077q" [?\M-r])
153
154 (define-key iris-function-map "\e[078q" [?\M-t])
155
156 (define-key iris-function-map "\e[079q" [?\M-y])
157
158 (define-key iris-function-map "\e[080q" [?\M-u])
159
160 (define-key iris-function-map "\e[081q" [?\M-i])
161
162 (define-key iris-function-map "\e[082q" [?\M-o])
163
164 (define-key iris-function-map "\e[083q" [?\M-p])
165
166 (define-key iris-function-map "\e[084q" [?\M-\[])
167
168 (define-key iris-function-map "\e[085q" [?\M-\]])
169
170 (define-key iris-function-map "\e[086q" [?\M-\\])
171
172 (define-key iris-function-map "\e[087q" [?\M-a])
173
174 (define-key iris-function-map "\e[088q" [?\M-s])
175
176 (define-key iris-function-map "\e[089q" [?\M-d])
177
178 (define-key iris-function-map "\e[090q" [?\M-f])
179
180 (define-key iris-function-map "\e[091q" [?\M-g])
181
182 (define-key iris-function-map "\e[092q" [?\M-h])
183
184 (define-key iris-function-map "\e[093q" [?\M-j])
185
186 (define-key iris-function-map "\e[094q" [?\M-k])
187
188 (define-key iris-function-map "\e[095q" [?\M-l])
189
190 (define-key iris-function-map "\e[096q" [?\C-\;])
191 (define-key iris-function-map "\e[097q" [?\M-:]) ;; we are cheating
192 ;; here, this is realy
193 ;; M-;, but M-:
194 ;; generates the same
195 ;; string and is more
196 ;; usefull.
197
198 (define-key iris-function-map "\e[098q" [?\C-'])
199 (define-key iris-function-map "\e[099q" [?\M-'])
200
201 (define-key iris-function-map "\e[100q" [?\M-\n])
202
203 (define-key iris-function-map "\e[101q" [?\M-z])
204
205 (define-key iris-function-map "\e[102q" [?\M-x])
206
207 (define-key iris-function-map "\e[103q" [?\M-c])
208
209 (define-key iris-function-map "\e[104q" [?\M-v])
210
211 (define-key iris-function-map "\e[105q" [?\M-b])
212
213 (define-key iris-function-map "\e[106q" [M-n])
214
215 (define-key iris-function-map "\e[107q" [M-m])
216
217 (define-key iris-function-map "\e[108q" [?\C-,])
218 (define-key iris-function-map "\e[109q" [?\M-,])
219
220 (define-key iris-function-map "\e[110q" [?\C-.])
221 (define-key iris-function-map "\e[111q" [?\M-.])
222
223 (define-key iris-function-map "\e[112q" [?\C-/])
224 (define-key iris-function-map "\e[113q" [?\M-/])
225
226 (define-key iris-function-map "\e[139q" [insert])
227 (define-key iris-function-map "\e[139q" [S-insert])
228 (define-key iris-function-map "\e[140q" [C-insert])
229 (define-key iris-function-map "\e[141q" [M-insert])
230
231 (define-key iris-function-map "\e[H" [home])
232 (define-key iris-function-map "\e[143q" [S-home])
233 (define-key iris-function-map "\e[144q" [C-home])
234
235
236 (define-key iris-function-map "\e[150q" [prior])
237 (define-key iris-function-map "\e[151q" [S-prior]) ;; those don't seem
238 ;; to generate
239 ;; anything
240 (define-key iris-function-map "\e[152q" [C-prior])
241
242
243 ;; (define-key iris-function-map "^?" [delete]) ?? something else seems to take care of this.
244 (define-key iris-function-map "\e[P" [S-delete])
245 (define-key iris-function-map "\e[142q" [C-delete])
246 (define-key iris-function-map "\e[M" [M-delete])
247
248 (define-key iris-function-map "\e[146q" [end])
249 (define-key iris-function-map "\e[147q" [S-end]) ;; those don't seem to
250 ;; generate anything
251 (define-key iris-function-map "\e[148q" [C-end])
252
253 (define-key iris-function-map "\e[154q" [next])
254 (define-key iris-function-map "\e[155q" [S-next])
255 (define-key iris-function-map "\e[156q" [C-next])
256
257
258 (define-key iris-function-map "\e[161q" [S-up])
259 (define-key iris-function-map "\e[162q" [C-up])
260 (define-key iris-function-map "\e[163q" [M-up])
261
262 (define-key iris-function-map "\e[158q" [S-left])
263 (define-key iris-function-map "\e[159q" [C-left])
264 (define-key iris-function-map "\e[160q" [M-left])
265
266 (define-key iris-function-map "\e[164q" [S-down])
267 (define-key iris-function-map "\e[165q" [C-down])
268 (define-key iris-function-map "\e[166q" [M-down])
269
270 (define-key iris-function-map "\e[167q" [S-right])
271 (define-key iris-function-map "\e[168q" [C-right])
272 (define-key iris-function-map "\e[169q" [M-right])
273
274 ;; Keypad functions, most of those are untested.
275 (define-key iris-function-map "\e[179q" [?\C-/])
276 (define-key iris-function-map "\e[180q" [?\M-/])
277
278 (define-key iris-function-map "\e[187q" [?\C-*])
279 (define-key iris-function-map "\e[188q" [?\M-*])
280
281 (define-key iris-function-map "\e[198q" [?\C--])
282 (define-key iris-function-map "\e[199q" [?\M--])
283
284 ;; Something else takes care of home, up, prior, down, left, right, next
285 ;(define-key iris-function-map "\e[H" [home])
286 (define-key iris-function-map "\e[172q" [C-home])
287
288 ;(define-key iris-function-map "\e[A" [up])
289 (define-key iris-function-map "\e[182q" [C-up])
290
291
292 ;(define-key iris-function-map "\e[150q" [prior])
293 (define-key iris-function-map "\e[190q" [C-prior])
294
295
296 (define-key iris-function-map "\e[200q" [?\C-+])
297 (define-key iris-function-map "\e[201q" [?\M-+])
298
299 ;(define-key iris-function-map "\e[D" [left])
300 (define-key iris-function-map "\e[174q" [C-left])
301
302
303 (define-key iris-function-map "\e[000q" [begin])
304 (define-key iris-function-map "\e[184q" [C-begin])
305
306
307 ;(define-key iris-function-map "\e[C" [right])
308 (define-key iris-function-map "\e[192q" [C-right])
309
310 ;(define-key iris-function-map "\e[146q" [end])
311 (define-key iris-function-map "\e[176q" [C-end])
312
313 ;(define-key iris-function-map "\e[B" [down])
314 (define-key iris-function-map "\e[186q" [C-down])
315
316 ;(define-key iris-function-map "\e[154q" [next])
317 (define-key iris-function-map "\e[194q" [C-next])
318
319
320 (define-key iris-function-map "\e[100q" [M-enter])
321
322 (define-key iris-function-map "\e[139q" [insert])
323 (define-key iris-function-map "\e[178q" [C-inset])
324
325 (define-key iris-function-map "\e[P" [delete])
326 (define-key iris-function-map "\e[196q" [C-delete])
327 (define-key iris-function-map "\e[197q" [M-delete])
328
329 (defun terminal-init-iris-ansi ()
30 "Terminal initialization function for iris-ansi." 330 "Terminal initialization function for iris-ansi."
31 (define-key function-key-map "\e[120q" [S-escape]) 331 ;; Use inheritance to let the main keymap override these defaults.
32 (define-key function-key-map "\e[121q" [C-escape]) 332 ;; This way we don't override terminfo-derived settings or settings
33 333 ;; made in the .emacs file.
34 (define-key function-key-map "\e[001q" [f1]) 334 (let ((m (copy-keymap iris-function-map)))
35 (define-key function-key-map "\e[013q" [S-f1]) 335 (set-keymap-parent m (keymap-parent local-function-key-map))
36 (define-key function-key-map "\e[025q" [C-f1]) 336 (set-keymap-parent local-function-key-map m)))
37
38
39 (define-key function-key-map "\e[002q" [f2])
40 (define-key function-key-map "\e[014q" [S-f2])
41 (define-key function-key-map "\e[026q" [C-f2])
42 (define-key function-key-map "\e[038q" [M-f2])
43
44 (define-key function-key-map "\e[003q" [f3])
45 (define-key function-key-map "\e[015q" [S-f3])
46 (define-key function-key-map "\e[027q" [C-f3])
47
48
49 (define-key function-key-map "\e[004q" [f4])
50 (define-key function-key-map "\e[016q" [S-f4])
51 (define-key function-key-map "\e[028q" [C-f4])
52
53
54 (define-key function-key-map "\e[005q" [f5])
55 (define-key function-key-map "\e[017q" [S-f5])
56 (define-key function-key-map "\e[029q" [C-f5])
57
58
59 (define-key function-key-map "\e[006q" [f6])
60 (define-key function-key-map "\e[018q" [S-f6])
61 (define-key function-key-map "\e[030q" [C-f6])
62
63
64 (define-key function-key-map "\e[007q" [f7])
65 (define-key function-key-map "\e[019q" [S-f7])
66 (define-key function-key-map "\e[031q" [C-f7])
67
68
69 (define-key function-key-map "\e[008q" [f8])
70 (define-key function-key-map "\e[020q" [S-f8])
71 (define-key function-key-map "\e[032q" [C-f8])
72
73
74 (define-key function-key-map "\e[009q" [f9])
75 (define-key function-key-map "\e[021q" [S-f9])
76 (define-key function-key-map "\e[033q" [C-f9])
77
78
79 (define-key function-key-map "\e[010q" [f10])
80 (define-key function-key-map "\e[022q" [S-f10])
81 (define-key function-key-map "\e[034q" [C-f10])
82
83
84 (define-key function-key-map "\e[011q" [f11])
85 (define-key function-key-map "\e[023q" [S-f11])
86 (define-key function-key-map "\e[035q" [C-f11])
87 (define-key function-key-map "\e[047q" [M-f11])
88
89 (define-key function-key-map "\e[012q" [f12])
90 (define-key function-key-map "\e[024q" [S-f12])
91 (define-key function-key-map "\e[036q" [C-f12])
92 (define-key function-key-map "\e[048q" [M-f12])
93
94
95 (define-key function-key-map "\e[057q" [?\C-`])
96 (define-key function-key-map "\e[115q" [?\M-`])
97
98 (define-key function-key-map "\e[049q" [?\C-1])
99 (define-key function-key-map "\e[058q" [?\M-1])
100
101
102 (define-key function-key-map "\e[059q" [?\M-2])
103
104 (define-key function-key-map "\e[050q" [?\C-3])
105 (define-key function-key-map "\e[060q" [?\M-3])
106
107 (define-key function-key-map "\e[051q" [?\C-4])
108 (define-key function-key-map "\e[061q" [?\M-4])
109
110 (define-key function-key-map "\e[052q" [?\C-5])
111 (define-key function-key-map "\e[062q" [?\M-5])
112
113
114 (define-key function-key-map "\e[063q" [?\M-6])
115
116 (define-key function-key-map "\e[053q" [?\C-7])
117 (define-key function-key-map "\e[064q" [?\M-7])
118
119 (define-key function-key-map "\e[054q" [?\C-8])
120 (define-key function-key-map "\e[065q" [?\M-8])
121
122 (define-key function-key-map "\e[055q" [?\C-9])
123 (define-key function-key-map "\e[066q" [?\M-9])
124
125 (define-key function-key-map "\e[056q" [?\C-0])
126 (define-key function-key-map "\e[067q" [?\M-0])
127
128 (define-key function-key-map "\e[068q" [?\M--])
129
130 (define-key function-key-map "\e[069q" [?\C-=])
131 (define-key function-key-map "\e[070q" [?\M-=])
132
133 ;; I don't know what to do with those.
134 ;;(define-key function-key-map "^H" [<del>])
135 ;;(define-key function-key-map "^H" [S-<del>])
136 ;;(define-key function-key-map "\177" [C-<del>])
137 ;;(define-key function-key-map "\e[071q" [M-<del>])
138
139 (define-key function-key-map "\e[Z" [?\S-\t])
140 (define-key function-key-map "\e[072q" [?\C-\t])
141 ;; This only works if you remove the M-TAB keybing from the system.4Dwmrc
142 ;; our your ~/.4Dwmrc, if you use the 4Dwm window manager.
143 (define-key function-key-map "\e[073q" [?\M-\t])
144
145 (define-key function-key-map "\e[074q" [?\M-q])
146
147 (define-key function-key-map "\e[075q" [?\M-w])
148
149 (define-key function-key-map "\e[076q" [?\M-e])
150
151 (define-key function-key-map "\e[077q" [?\M-r])
152
153 (define-key function-key-map "\e[078q" [?\M-t])
154
155 (define-key function-key-map "\e[079q" [?\M-y])
156
157 (define-key function-key-map "\e[080q" [?\M-u])
158
159 (define-key function-key-map "\e[081q" [?\M-i])
160
161 (define-key function-key-map "\e[082q" [?\M-o])
162
163 (define-key function-key-map "\e[083q" [?\M-p])
164
165 (define-key function-key-map "\e[084q" [?\M-\[])
166
167 (define-key function-key-map "\e[085q" [?\M-\]])
168
169 (define-key function-key-map "\e[086q" [?\M-\\])
170
171 (define-key function-key-map "\e[087q" [?\M-a])
172
173 (define-key function-key-map "\e[088q" [?\M-s])
174
175 (define-key function-key-map "\e[089q" [?\M-d])
176
177 (define-key function-key-map "\e[090q" [?\M-f])
178
179 (define-key function-key-map "\e[091q" [?\M-g])
180
181 (define-key function-key-map "\e[092q" [?\M-h])
182
183 (define-key function-key-map "\e[093q" [?\M-j])
184
185 (define-key function-key-map "\e[094q" [?\M-k])
186
187 (define-key function-key-map "\e[095q" [?\M-l])
188
189 (define-key function-key-map "\e[096q" [?\C-\;])
190 (define-key function-key-map "\e[097q" [?\M-:]) ;; we are cheating
191 ;; here, this is
192 ;; realy M-;, but
193 ;; M-: generates the
194 ;; same string and
195 ;; is more usefull.
196
197 (define-key function-key-map "\e[098q" [?\C-'])
198 (define-key function-key-map "\e[099q" [?\M-'])
199
200 (define-key function-key-map "\e[100q" [?\M-\n])
201
202 (define-key function-key-map "\e[101q" [?\M-z])
203
204 (define-key function-key-map "\e[102q" [?\M-x])
205
206 (define-key function-key-map "\e[103q" [?\M-c])
207
208 (define-key function-key-map "\e[104q" [?\M-v])
209
210 (define-key function-key-map "\e[105q" [?\M-b])
211
212 (define-key function-key-map "\e[106q" [M-n])
213
214 (define-key function-key-map "\e[107q" [M-m])
215
216 (define-key function-key-map "\e[108q" [?\C-,])
217 (define-key function-key-map "\e[109q" [?\M-,])
218
219 (define-key function-key-map "\e[110q" [?\C-.])
220 (define-key function-key-map "\e[111q" [?\M-.])
221
222 (define-key function-key-map "\e[112q" [?\C-/])
223 (define-key function-key-map "\e[113q" [?\M-/])
224
225 (define-key function-key-map "\e[139q" [insert])
226 (define-key function-key-map "\e[139q" [S-insert])
227 (define-key function-key-map "\e[140q" [C-insert])
228 (define-key function-key-map "\e[141q" [M-insert])
229
230 (define-key function-key-map "\e[H" [home])
231 (define-key function-key-map "\e[143q" [S-home])
232 (define-key function-key-map "\e[144q" [C-home])
233
234
235 (define-key function-key-map "\e[150q" [prior])
236 (define-key function-key-map "\e[151q" [S-prior]) ;; those don't
237 ;; seem to
238 ;; generate
239 ;; anything
240 (define-key function-key-map "\e[152q" [C-prior])
241
242
243 ;; (define-key function-key-map "^?" [delete])
244 (define-key function-key-map "\e[P" [S-delete])
245 (define-key function-key-map "\e[142q" [C-delete])
246 (define-key function-key-map "\e[M" [M-delete])
247
248 (define-key function-key-map "\e[146q" [end])
249 (define-key function-key-map "\e[147q" [S-end]) ;; those don't seem
250 ;; to generate
251 ;; anything
252 (define-key function-key-map "\e[148q" [C-end])
253
254 (define-key function-key-map "\e[154q" [next])
255 (define-key function-key-map "\e[155q" [S-next])
256 (define-key function-key-map "\e[156q" [C-next])
257
258
259 (define-key function-key-map "\e[161q" [S-up])
260 (define-key function-key-map "\e[162q" [C-up])
261 (define-key function-key-map "\e[163q" [M-up])
262
263 (define-key function-key-map "\e[158q" [S-left])
264 (define-key function-key-map "\e[159q" [C-left])
265 (define-key function-key-map "\e[160q" [M-left])
266
267 (define-key function-key-map "\e[164q" [S-down])
268 (define-key function-key-map "\e[165q" [C-down])
269 (define-key function-key-map "\e[166q" [M-down])
270
271 (define-key function-key-map "\e[167q" [S-right])
272 (define-key function-key-map "\e[168q" [C-right])
273 (define-key function-key-map "\e[169q" [M-right])
274
275 ;; Keypad functions, most of those are untested.
276 (define-key function-key-map "\e[179q" [?\C-/])
277 (define-key function-key-map "\e[180q" [?\M-/])
278
279 (define-key function-key-map "\e[187q" [?\C-*])
280 (define-key function-key-map "\e[188q" [?\M-*])
281
282 (define-key function-key-map "\e[198q" [?\C--])
283 (define-key function-key-map "\e[199q" [?\M--])
284
285 ;; Something else takes care of home, up, prior, down, left, right, next
286 ;;(define-key function-key-map "\e[H" [home])
287 (define-key function-key-map "\e[172q" [C-home])
288
289 ;;(define-key function-key-map "\e[A" [up])
290 (define-key function-key-map "\e[182q" [C-up])
291
292
293 ;;(define-key function-key-map "\e[150q" [prior])
294 (define-key function-key-map "\e[190q" [C-prior])
295
296
297 (define-key function-key-map "\e[200q" [?\C-+])
298 (define-key function-key-map "\e[201q" [?\M-+])
299
300 ;;(define-key function-key-map "\e[D" [left])
301 (define-key function-key-map "\e[174q" [C-left])
302
303
304 (define-key function-key-map "\e[000q" [begin])
305 (define-key function-key-map "\e[184q" [C-begin])
306
307
308 ;;(define-key function-key-map "\e[C" [right])
309 (define-key function-key-map "\e[192q" [C-right])
310
311 ;;(define-key function-key-map "\e[146q" [end])
312 (define-key function-key-map "\e[176q" [C-end])
313
314 ;;(define-key function-key-map "\e[B" [down])
315 (define-key function-key-map "\e[186q" [C-down])
316
317 ;;(define-key function-key-map "\e[154q" [next])
318 (define-key function-key-map "\e[194q" [C-next])
319
320
321 (define-key function-key-map "\e[100q" [M-enter])
322
323 (define-key function-key-map "\e[139q" [insert])
324 (define-key function-key-map "\e[178q" [C-inset])
325
326 (define-key function-key-map "\e[P" [delete])
327 (define-key function-key-map "\e[196q" [C-delete])
328 (define-key function-key-map "\e[197q" [M-delete]))
329 337
330 ;;; arch-tag: b1d0e73a-bb7d-47be-9fb2-6fb126469a1b 338 ;;; arch-tag: b1d0e73a-bb7d-47be-9fb2-6fb126469a1b
331 ;;; iris-ansi.el ends here 339 ;;; iris-ansi.el ends here