annotate lisp/term/iris-ansi.el @ 88346:3be7f212f8bc

*** empty log message ***
author Henrik Enberg <henrik.enberg@telia.com>
date Fri, 27 Apr 2007 21:33:38 +0000
parents d7ddb3e565de
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47726
33d53d287ee4 Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents: 38436
diff changeset
1 ;;; iris-ansi.el --- configure Emacs for SGI xwsh and winterm apps -*- no-byte-compile: t -*-
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
2
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
3 ;; Copyright (C) 1997, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
4
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
5 ;; Author: Dan Nicolaescu <dann@ics.uci.edu>
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
6
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
7 ;; This file is part of GNU Emacs.
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
8
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
9 ;; GNU Emacs is free software; you can redistribute it and/or modify
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
10 ;; it under the terms of the GNU General Public License as published by
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
11 ;; the Free Software Foundation; either version 2, or (at your option)
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
12 ;; any later version.
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
13
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
14 ;; GNU Emacs is distributed in the hope that it will be useful,
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
17 ;; GNU General Public License for more details.
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
18
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
19 ;; You should have received a copy of the GNU General Public License
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
20 ;; along with GNU Emacs; see the file COPYING. If not, write to the
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
21 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
22 ;; Boston, MA 02110-1301, USA.
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
23
38436
b174db545cfd Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 23367
diff changeset
24 ;;; Commentary:
b174db545cfd Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 23367
diff changeset
25
b174db545cfd Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 23367
diff changeset
26 ;;; Code:
b174db545cfd Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 23367
diff changeset
27
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
28 (defun iris-ansi-initialize-terminal ()
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
29 "Terminal initialization function for iris-ansi."
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
30 (define-key function-key-map "\e[120q" [S-escape])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
31 (define-key function-key-map "\e[121q" [C-escape])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
32
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
33 (define-key function-key-map "\e[001q" [f1])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
34 (define-key function-key-map "\e[013q" [S-f1])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
35 (define-key function-key-map "\e[025q" [C-f1])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
36
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
37
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
38 (define-key function-key-map "\e[002q" [f2])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
39 (define-key function-key-map "\e[014q" [S-f2])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
40 (define-key function-key-map "\e[026q" [C-f2])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
41 (define-key function-key-map "\e[038q" [M-f2])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
42
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
43 (define-key function-key-map "\e[003q" [f3])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
44 (define-key function-key-map "\e[015q" [S-f3])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
45 (define-key function-key-map "\e[027q" [C-f3])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
46
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
47
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
48 (define-key function-key-map "\e[004q" [f4])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
49 (define-key function-key-map "\e[016q" [S-f4])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
50 (define-key function-key-map "\e[028q" [C-f4])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
51
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
52
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
53 (define-key function-key-map "\e[005q" [f5])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
54 (define-key function-key-map "\e[017q" [S-f5])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
55 (define-key function-key-map "\e[029q" [C-f5])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
56
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
57
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
58 (define-key function-key-map "\e[006q" [f6])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
59 (define-key function-key-map "\e[018q" [S-f6])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
60 (define-key function-key-map "\e[030q" [C-f6])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
61
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
62
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
63 (define-key function-key-map "\e[007q" [f7])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
64 (define-key function-key-map "\e[019q" [S-f7])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
65 (define-key function-key-map "\e[031q" [C-f7])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
66
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
67
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
68 (define-key function-key-map "\e[008q" [f8])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
69 (define-key function-key-map "\e[020q" [S-f8])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
70 (define-key function-key-map "\e[032q" [C-f8])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
71
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
72
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
73 (define-key function-key-map "\e[009q" [f9])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
74 (define-key function-key-map "\e[021q" [S-f9])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
75 (define-key function-key-map "\e[033q" [C-f9])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
76
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
77
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
78 (define-key function-key-map "\e[010q" [f10])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
79 (define-key function-key-map "\e[022q" [S-f10])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
80 (define-key function-key-map "\e[034q" [C-f10])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
81
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
82
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
83 (define-key function-key-map "\e[011q" [f11])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
84 (define-key function-key-map "\e[023q" [S-f11])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
85 (define-key function-key-map "\e[035q" [C-f11])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
86 (define-key function-key-map "\e[047q" [M-f11])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
87
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
88 (define-key function-key-map "\e[012q" [f12])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
89 (define-key function-key-map "\e[024q" [S-f12])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
90 (define-key function-key-map "\e[036q" [C-f12])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
91 (define-key function-key-map "\e[048q" [M-f12])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
92
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
93
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
94 (define-key function-key-map "\e[057q" [?\C-`])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
95 (define-key function-key-map "\e[115q" [?\M-`])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
96
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
97 (define-key function-key-map "\e[049q" [?\C-1])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
98 (define-key function-key-map "\e[058q" [?\M-1])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
99
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
100
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
101 (define-key function-key-map "\e[059q" [?\M-2])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
102
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
103 (define-key function-key-map "\e[050q" [?\C-3])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
104 (define-key function-key-map "\e[060q" [?\M-3])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
105
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
106 (define-key function-key-map "\e[051q" [?\C-4])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
107 (define-key function-key-map "\e[061q" [?\M-4])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
108
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
109 (define-key function-key-map "\e[052q" [?\C-5])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
110 (define-key function-key-map "\e[062q" [?\M-5])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
111
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
112
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
113 (define-key function-key-map "\e[063q" [?\M-6])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
114
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
115 (define-key function-key-map "\e[053q" [?\C-7])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
116 (define-key function-key-map "\e[064q" [?\M-7])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
117
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
118 (define-key function-key-map "\e[054q" [?\C-8])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
119 (define-key function-key-map "\e[065q" [?\M-8])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
120
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
121 (define-key function-key-map "\e[055q" [?\C-9])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
122 (define-key function-key-map "\e[066q" [?\M-9])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
123
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
124 (define-key function-key-map "\e[056q" [?\C-0])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
125 (define-key function-key-map "\e[067q" [?\M-0])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
126
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
127 (define-key function-key-map "\e[068q" [?\M--])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
128
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
129 (define-key function-key-map "\e[069q" [?\C-=])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
130 (define-key function-key-map "\e[070q" [?\M-=])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
131
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
132 ;; I don't know what to do with those.
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
133 ;;(define-key function-key-map "^H" [<del>])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
134 ;;(define-key function-key-map "^H" [S-<del>])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
135 ;;(define-key function-key-map "\177" [C-<del>])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
136 ;;(define-key function-key-map "\e[071q" [M-<del>])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
137
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
138 (define-key function-key-map "\e[Z" [?\S-\t])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
139 (define-key function-key-map "\e[072q" [?\C-\t])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
140 ;; This only works if you remove the M-TAB keybing from the system.4Dwmrc
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
141 ;; our your ~/.4Dwmrc, if you use the 4Dwm window manager.
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
142 (define-key function-key-map "\e[073q" [?\M-\t])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
143
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
144 (define-key function-key-map "\e[074q" [?\M-q])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
145
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
146 (define-key function-key-map "\e[075q" [?\M-w])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
147
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
148 (define-key function-key-map "\e[076q" [?\M-e])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
149
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
150 (define-key function-key-map "\e[077q" [?\M-r])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
151
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
152 (define-key function-key-map "\e[078q" [?\M-t])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
153
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
154 (define-key function-key-map "\e[079q" [?\M-y])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
155
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
156 (define-key function-key-map "\e[080q" [?\M-u])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
157
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
158 (define-key function-key-map "\e[081q" [?\M-i])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
159
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
160 (define-key function-key-map "\e[082q" [?\M-o])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
161
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
162 (define-key function-key-map "\e[083q" [?\M-p])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
163
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
164 (define-key function-key-map "\e[084q" [?\M-\[])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
165
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
166 (define-key function-key-map "\e[085q" [?\M-\]])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
167
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
168 (define-key function-key-map "\e[086q" [?\M-\\])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
169
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
170 (define-key function-key-map "\e[087q" [?\M-a])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
171
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
172 (define-key function-key-map "\e[088q" [?\M-s])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
173
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
174 (define-key function-key-map "\e[089q" [?\M-d])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
175
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
176 (define-key function-key-map "\e[090q" [?\M-f])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
177
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
178 (define-key function-key-map "\e[091q" [?\M-g])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
179
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
180 (define-key function-key-map "\e[092q" [?\M-h])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
181
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
182 (define-key function-key-map "\e[093q" [?\M-j])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
183
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
184 (define-key function-key-map "\e[094q" [?\M-k])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
185
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
186 (define-key function-key-map "\e[095q" [?\M-l])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
187
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
188 (define-key function-key-map "\e[096q" [?\C-\;])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
189 (define-key function-key-map "\e[097q" [?\M-:]) ;; we are cheating
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
190 ;; here, this is
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
191 ;; realy M-;, but
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
192 ;; M-: generates the
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
193 ;; same string and
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
194 ;; is more usefull.
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
195
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
196 (define-key function-key-map "\e[098q" [?\C-'])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
197 (define-key function-key-map "\e[099q" [?\M-'])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
198
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
199 (define-key function-key-map "\e[100q" [?\M-\n])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
200
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
201 (define-key function-key-map "\e[101q" [?\M-z])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
202
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
203 (define-key function-key-map "\e[102q" [?\M-x])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
204
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
205 (define-key function-key-map "\e[103q" [?\M-c])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
206
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
207 (define-key function-key-map "\e[104q" [?\M-v])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
208
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
209 (define-key function-key-map "\e[105q" [?\M-b])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
210
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
211 (define-key function-key-map "\e[106q" [M-n])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
212
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
213 (define-key function-key-map "\e[107q" [M-m])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
214
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
215 (define-key function-key-map "\e[108q" [?\C-,])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
216 (define-key function-key-map "\e[109q" [?\M-,])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
217
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
218 (define-key function-key-map "\e[110q" [?\C-.])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
219 (define-key function-key-map "\e[111q" [?\M-.])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
220
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
221 (define-key function-key-map "\e[112q" [?\C-/])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
222 (define-key function-key-map "\e[113q" [?\M-/])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
223
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
224 (define-key function-key-map "\e[139q" [insert])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
225 (define-key function-key-map "\e[139q" [S-insert])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
226 (define-key function-key-map "\e[140q" [C-insert])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
227 (define-key function-key-map "\e[141q" [M-insert])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
228
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
229 (define-key function-key-map "\e[H" [home])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
230 (define-key function-key-map "\e[143q" [S-home])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
231 (define-key function-key-map "\e[144q" [C-home])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
232
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
233
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
234 (define-key function-key-map "\e[150q" [prior])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
235 (define-key function-key-map "\e[151q" [S-prior]) ;; those don't
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
236 ;; seem to
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
237 ;; generate
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
238 ;; anything
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
239 (define-key function-key-map "\e[152q" [C-prior])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
240
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
241
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
242 ;; (define-key function-key-map "^?" [delete])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
243 (define-key function-key-map "\e[P" [S-delete])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
244 (define-key function-key-map "\e[142q" [C-delete])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
245 (define-key function-key-map "\e[M" [M-delete])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
246
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
247 (define-key function-key-map "\e[146q" [end])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
248 (define-key function-key-map "\e[147q" [S-end]) ;; those don't seem
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
249 ;; to generate
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
250 ;; anything
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
251 (define-key function-key-map "\e[148q" [C-end])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
252
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
253 (define-key function-key-map "\e[154q" [next])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
254 (define-key function-key-map "\e[155q" [S-next])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
255 (define-key function-key-map "\e[156q" [C-next])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
256
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
257
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
258 (define-key function-key-map "\e[161q" [S-up])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
259 (define-key function-key-map "\e[162q" [C-up])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
260 (define-key function-key-map "\e[163q" [M-up])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
261
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
262 (define-key function-key-map "\e[158q" [S-left])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
263 (define-key function-key-map "\e[159q" [C-left])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
264 (define-key function-key-map "\e[160q" [M-left])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
265
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
266 (define-key function-key-map "\e[164q" [S-down])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
267 (define-key function-key-map "\e[165q" [C-down])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
268 (define-key function-key-map "\e[166q" [M-down])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
269
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
270 (define-key function-key-map "\e[167q" [S-right])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
271 (define-key function-key-map "\e[168q" [C-right])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
272 (define-key function-key-map "\e[169q" [M-right])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
273
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
274 ;; Keypad functions, most of those are untested.
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
275 (define-key function-key-map "\e[179q" [?\C-/])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
276 (define-key function-key-map "\e[180q" [?\M-/])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
277
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
278 (define-key function-key-map "\e[187q" [?\C-*])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
279 (define-key function-key-map "\e[188q" [?\M-*])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
280
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
281 (define-key function-key-map "\e[198q" [?\C--])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
282 (define-key function-key-map "\e[199q" [?\M--])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
283
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
284 ;; Something else takes care of home, up, prior, down, left, right, next
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
285 ;;(define-key function-key-map "\e[H" [home])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
286 (define-key function-key-map "\e[172q" [C-home])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
287
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
288 ;;(define-key function-key-map "\e[A" [up])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
289 (define-key function-key-map "\e[182q" [C-up])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
290
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
291
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
292 ;;(define-key function-key-map "\e[150q" [prior])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
293 (define-key function-key-map "\e[190q" [C-prior])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
294
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
295
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
296 (define-key function-key-map "\e[200q" [?\C-+])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
297 (define-key function-key-map "\e[201q" [?\M-+])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
298
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
299 ;;(define-key function-key-map "\e[D" [left])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
300 (define-key function-key-map "\e[174q" [C-left])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
301
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
302
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
303 (define-key function-key-map "\e[000q" [begin])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
304 (define-key function-key-map "\e[184q" [C-begin])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
305
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
306
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
307 ;;(define-key function-key-map "\e[C" [right])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
308 (define-key function-key-map "\e[192q" [C-right])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
309
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
310 ;;(define-key function-key-map "\e[146q" [end])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
311 (define-key function-key-map "\e[176q" [C-end])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
312
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
313 ;;(define-key function-key-map "\e[B" [down])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
314 (define-key function-key-map "\e[186q" [C-down])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
315
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
316 ;;(define-key function-key-map "\e[154q" [next])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
317 (define-key function-key-map "\e[194q" [C-next])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
318
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
319
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
320 (define-key function-key-map "\e[100q" [M-enter])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
321
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
322 (define-key function-key-map "\e[139q" [insert])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
323 (define-key function-key-map "\e[178q" [C-inset])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
324
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
325 (define-key function-key-map "\e[P" [delete])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
326 (define-key function-key-map "\e[196q" [C-delete])
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
327 (define-key function-key-map "\e[197q" [M-delete]))
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
328
88155
d7ddb3e565de sync with trunk
Henrik Enberg <henrik.enberg@telia.com>
parents: 49599
diff changeset
329 ;;; arch-tag: b1d0e73a-bb7d-47be-9fb2-6fb126469a1b
38436
b174db545cfd Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 23367
diff changeset
330 ;;; iris-ansi.el ends here