Mercurial > emacs
annotate lisp/term/iris-ansi.el @ 99975:dddfb4772d33
(hash_get_category_set): New function.
(Fmodify_category_entry): Adjusted for the change of
char_table_ref_and_range. Call hash_get_category_set to get a
category set to store in the table.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 27 Nov 2008 07:59:21 +0000 |
parents | f3ab0c2464f5 |
children | a9dc0e7c3f2b |
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 | 2 |
74509 | 3 ;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, |
79718 | 4 ;; 2006, 2007, 2008 Free Software Foundation, Inc. |
23367 | 5 |
6 ;; Author: Dan Nicolaescu <dann@ics.uci.edu> | |
7 | |
8 ;; This file is part of GNU Emacs. | |
9 | |
94671
f3ab0c2464f5
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
10 ;; GNU Emacs is free software: you can redistribute it and/or modify |
23367 | 11 ;; it under the terms of the GNU General Public License as published by |
94671
f3ab0c2464f5
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
12 ;; the Free Software Foundation, either version 3 of the License, or |
f3ab0c2464f5
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
13 ;; (at your option) any later version. |
23367 | 14 |
15 ;; GNU Emacs is distributed in the hope that it will be useful, | |
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 ;; GNU General Public License for more details. | |
19 | |
20 ;; You should have received a copy of the GNU General Public License | |
94671
f3ab0c2464f5
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
21 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
23367 | 22 |
38436
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
23367
diff
changeset
|
23 ;;; Commentary: |
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
23367
diff
changeset
|
24 |
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
23367
diff
changeset
|
25 ;;; Code: |
b174db545cfd
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
23367
diff
changeset
|
26 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
27 (defvar iris-function-map |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
28 (let ((map (make-sparse-keymap))) |
23367 | 29 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
30 (define-key map "\e[120q" [S-escape]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
31 (define-key map "\e[121q" [C-escape]) |
23367 | 32 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
33 (define-key map "\e[001q" [f1]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
34 (define-key map "\e[013q" [S-f1]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
35 (define-key map "\e[025q" [C-f1]) |
23367 | 36 |
37 | |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
38 (define-key map "\e[002q" [f2]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
39 (define-key map "\e[014q" [S-f2]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
40 (define-key map "\e[026q" [C-f2]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
41 (define-key map "\e[038q" [M-f2]) |
23367 | 42 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
43 (define-key map "\e[003q" [f3]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
44 (define-key map "\e[015q" [S-f3]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
45 (define-key map "\e[027q" [C-f3]) |
23367 | 46 |
47 | |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
48 (define-key map "\e[004q" [f4]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
49 (define-key map "\e[016q" [S-f4]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
50 (define-key map "\e[028q" [C-f4]) |
23367 | 51 |
52 | |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
53 (define-key map "\e[005q" [f5]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
54 (define-key map "\e[017q" [S-f5]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
55 (define-key map "\e[029q" [C-f5]) |
23367 | 56 |
57 | |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
58 (define-key map "\e[006q" [f6]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
59 (define-key map "\e[018q" [S-f6]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
60 (define-key map "\e[030q" [C-f6]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
61 |
23367 | 62 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
63 (define-key map "\e[007q" [f7]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
64 (define-key map "\e[019q" [S-f7]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
65 (define-key map "\e[031q" [C-f7]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
66 |
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
67 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
68 (define-key map "\e[008q" [f8]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
69 (define-key map "\e[020q" [S-f8]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
70 (define-key map "\e[032q" [C-f8]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
71 |
23367 | 72 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
73 (define-key map "\e[009q" [f9]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
74 (define-key map "\e[021q" [S-f9]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
75 (define-key map "\e[033q" [C-f9]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
76 |
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
77 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
78 (define-key map "\e[010q" [f10]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
79 (define-key map "\e[022q" [S-f10]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
80 (define-key map "\e[034q" [C-f10]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
81 |
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
82 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
83 (define-key map "\e[011q" [f11]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
84 (define-key map "\e[023q" [S-f11]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
85 (define-key map "\e[035q" [C-f11]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
86 (define-key map "\e[047q" [M-f11]) |
23367 | 87 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
88 (define-key map "\e[012q" [f12]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
89 (define-key map "\e[024q" [S-f12]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
90 (define-key map "\e[036q" [C-f12]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
91 (define-key map "\e[048q" [M-f12]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
92 |
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
93 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
94 (define-key map "\e[057q" [?\C-`]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
95 (define-key map "\e[115q" [?\M-`]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
96 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
97 (define-key map "\e[049q" [?\C-1]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
98 (define-key map "\e[058q" [?\M-1]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
99 |
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
100 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
101 (define-key map "\e[059q" [?\M-2]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
102 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
103 (define-key map "\e[050q" [?\C-3]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
104 (define-key map "\e[060q" [?\M-3]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
105 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
106 (define-key map "\e[051q" [?\C-4]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
107 (define-key map "\e[061q" [?\M-4]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
108 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
109 (define-key map "\e[052q" [?\C-5]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
110 (define-key map "\e[062q" [?\M-5]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
111 |
23367 | 112 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
113 (define-key map "\e[063q" [?\M-6]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
114 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
115 (define-key map "\e[053q" [?\C-7]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
116 (define-key map "\e[064q" [?\M-7]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
117 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
118 (define-key map "\e[054q" [?\C-8]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
119 (define-key map "\e[065q" [?\M-8]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
120 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
121 (define-key map "\e[055q" [?\C-9]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
122 (define-key map "\e[066q" [?\M-9]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
123 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
124 (define-key map "\e[056q" [?\C-0]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
125 (define-key map "\e[067q" [?\M-0]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
126 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
127 (define-key map "\e[068q" [?\M--]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
128 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
129 (define-key map "\e[069q" [?\C-=]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
130 (define-key map "\e[070q" [?\M-=]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
131 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
132 ;; I don't know what to do with those. |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
133 ;;(define-key map "^H" [<del>]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
134 ;;(define-key map "^H" [S-<del>]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
135 ;;(define-key map "\177" [C-<del>]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
136 ;;(define-key map "\e[071q" [M-<del>]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
137 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
138 (define-key map "\e[Z" [?\S-\t]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
139 (define-key map "\e[072q" [?\C-\t]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
140 ;; This only works if you remove the M-TAB keybing from the system.4Dwmrc |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
141 ;; our your ~/.4Dwmrc, if you use the 4Dwm window manager. |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
142 (define-key map "\e[073q" [?\M-\t]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
143 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
144 (define-key map "\e[074q" [?\M-q]) |
23367 | 145 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
146 (define-key map "\e[075q" [?\M-w]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
147 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
148 (define-key map "\e[076q" [?\M-e]) |
23367 | 149 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
150 (define-key map "\e[077q" [?\M-r]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
151 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
152 (define-key map "\e[078q" [?\M-t]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
153 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
154 (define-key map "\e[079q" [?\M-y]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
155 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
156 (define-key map "\e[080q" [?\M-u]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
157 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
158 (define-key map "\e[081q" [?\M-i]) |
23367 | 159 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
160 (define-key map "\e[082q" [?\M-o]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
161 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
162 (define-key map "\e[083q" [?\M-p]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
163 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
164 (define-key map "\e[084q" [?\M-\[]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
165 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
166 (define-key map "\e[085q" [?\M-\]]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
167 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
168 (define-key map "\e[086q" [?\M-\\]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
169 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
170 (define-key map "\e[087q" [?\M-a]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
171 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
172 (define-key map "\e[088q" [?\M-s]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
173 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
174 (define-key map "\e[089q" [?\M-d]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
175 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
176 (define-key map "\e[090q" [?\M-f]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
177 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
178 (define-key map "\e[091q" [?\M-g]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
179 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
180 (define-key map "\e[092q" [?\M-h]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
181 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
182 (define-key map "\e[093q" [?\M-j]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
183 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
184 (define-key map "\e[094q" [?\M-k]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
185 |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
186 (define-key map "\e[095q" [?\M-l]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
187 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
188 (define-key map "\e[096q" [?\C-\;]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
189 ;; We are cheating here, this is really M-;, but M-: generates the same |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
190 ;; string and is more useful. |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
191 (define-key map "\e[097q" [?\M-:]) |
23367 | 192 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
193 (define-key map "\e[098q" [?\C-']) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
194 (define-key map "\e[099q" [?\M-']) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
195 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
196 (define-key map "\e[100q" [?\M-\n]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
197 |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
198 (define-key map "\e[101q" [?\M-z]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
199 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
200 (define-key map "\e[102q" [?\M-x]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
201 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
202 (define-key map "\e[103q" [?\M-c]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
203 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
204 (define-key map "\e[104q" [?\M-v]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
205 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
206 (define-key map "\e[105q" [?\M-b]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
207 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
208 (define-key map "\e[106q" [M-n]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
209 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
210 (define-key map "\e[107q" [M-m]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
211 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
212 (define-key map "\e[108q" [?\C-,]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
213 (define-key map "\e[109q" [?\M-,]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
214 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
215 (define-key map "\e[110q" [?\C-.]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
216 (define-key map "\e[111q" [?\M-.]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
217 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
218 (define-key map "\e[112q" [?\C-/]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
219 (define-key map "\e[113q" [?\M-/]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
220 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
221 (define-key map "\e[139q" [insert]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
222 (define-key map "\e[139q" [S-insert]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
223 (define-key map "\e[140q" [C-insert]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
224 (define-key map "\e[141q" [M-insert]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
225 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
226 (define-key map "\e[H" [home]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
227 (define-key map "\e[143q" [S-home]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
228 (define-key map "\e[144q" [C-home]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
229 |
23367 | 230 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
231 (define-key map "\e[150q" [prior]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
232 (define-key map "\e[151q" [S-prior]) ;Those don't seem to generate anything. |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
233 (define-key map "\e[152q" [C-prior]) |
23367 | 234 |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
235 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
236 ;; (define-key map "^?" [delete]) ?? something else seems to take care of this. |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
237 (define-key map "\e[P" [S-delete]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
238 (define-key map "\e[142q" [C-delete]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
239 (define-key map "\e[M" [M-delete]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
240 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
241 (define-key map "\e[146q" [end]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
242 (define-key map "\e[147q" [S-end]) ; Those don't seem to generate anything. |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
243 (define-key map "\e[148q" [C-end]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
244 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
245 (define-key map "\e[154q" [next]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
246 (define-key map "\e[155q" [S-next]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
247 (define-key map "\e[156q" [C-next]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
248 |
23367 | 249 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
250 (define-key map "\e[161q" [S-up]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
251 (define-key map "\e[162q" [C-up]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
252 (define-key map "\e[163q" [M-up]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
253 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
254 (define-key map "\e[158q" [S-left]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
255 (define-key map "\e[159q" [C-left]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
256 (define-key map "\e[160q" [M-left]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
257 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
258 (define-key map "\e[164q" [S-down]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
259 (define-key map "\e[165q" [C-down]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
260 (define-key map "\e[166q" [M-down]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
261 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
262 (define-key map "\e[167q" [S-right]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
263 (define-key map "\e[168q" [C-right]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
264 (define-key map "\e[169q" [M-right]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
265 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
266 ;; Keypad functions, most of those are untested. |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
267 (define-key map "\e[179q" [?\C-/]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
268 (define-key map "\e[180q" [?\M-/]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
269 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
270 (define-key map "\e[187q" [?\C-*]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
271 (define-key map "\e[188q" [?\M-*]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
272 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
273 (define-key map "\e[198q" [?\C--]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
274 (define-key map "\e[199q" [?\M--]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
275 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
276 ;; Something else takes care of home, up, prior, down, left, right, next |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
277 ;;(define-key map "\e[H" [home]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
278 (define-key map "\e[172q" [C-home]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
279 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
280 ;;(define-key map "\e[A" [up]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
281 (define-key map "\e[182q" [C-up]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
282 |
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
283 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
284 ;;(define-key map "\e[150q" [prior]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
285 (define-key map "\e[190q" [C-prior]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
286 |
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
287 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
288 (define-key map "\e[200q" [?\C-+]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
289 (define-key map "\e[201q" [?\M-+]) |
83316
102194c6d773
Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents:
83297
diff
changeset
|
290 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
291 ;;(define-key map "\e[D" [left]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
292 (define-key map "\e[174q" [C-left]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
293 |
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
294 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
295 (define-key map "\e[000q" [begin]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
296 (define-key map "\e[184q" [C-begin]) |
23367 | 297 |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
298 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
299 ;;(define-key map "\e[C" [right]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
300 (define-key map "\e[192q" [C-right]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
301 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
302 ;;(define-key map "\e[146q" [end]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
303 (define-key map "\e[176q" [C-end]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
304 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
305 ;;(define-key map "\e[B" [down]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
306 (define-key map "\e[186q" [C-down]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
307 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
308 ;;(define-key map "\e[154q" [next]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
309 (define-key map "\e[194q" [C-next]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
310 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
311 (define-key map "\e[100q" [M-enter]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
312 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
313 (define-key map "\e[139q" [insert]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
314 (define-key map "\e[178q" [C-inset]) |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
315 |
85612
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
316 (define-key map "\e[P" [delete]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
317 (define-key map "\e[196q" [C-delete]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
318 (define-key map "\e[197q" [M-delete]) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
319 map) |
35afe0eebae6
(iris-function-map): Move initialization into declaration.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
85546
diff
changeset
|
320 "Function key definitions for SGI xwsh and winterm apps.") |
64701
34bd8e434dd7
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64651
diff
changeset
|
321 |
83353
532e0a9335a9
Merged in changes from CVS trunk. Plus added lisp/term tweaks.
Karoly Lorentey <lorentey@elte.hu>
diff
changeset
|
322 (defun terminal-init-iris-ansi () |
532e0a9335a9
Merged in changes from CVS trunk. Plus added lisp/term tweaks.
Karoly Lorentey <lorentey@elte.hu>
diff
changeset
|
323 "Terminal initialization function for iris-ansi." |
83524
673d62ad74b5
Fix and/or simplify terminal initialization files.
Karoly Lorentey <lorentey@elte.hu>
parents:
83468
diff
changeset
|
324 ;; Use inheritance to let the main keymap override these defaults. |
673d62ad74b5
Fix and/or simplify terminal initialization files.
Karoly Lorentey <lorentey@elte.hu>
parents:
83468
diff
changeset
|
325 ;; This way we don't override terminfo-derived settings or settings |
673d62ad74b5
Fix and/or simplify terminal initialization files.
Karoly Lorentey <lorentey@elte.hu>
parents:
83468
diff
changeset
|
326 ;; made in the .emacs file. |
673d62ad74b5
Fix and/or simplify terminal initialization files.
Karoly Lorentey <lorentey@elte.hu>
parents:
83468
diff
changeset
|
327 (let ((m (copy-keymap iris-function-map))) |
85546
d3c6c7427cef
* term/news.el (terminal-init-news):
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
328 (set-keymap-parent m (keymap-parent input-decode-map)) |
d3c6c7427cef
* term/news.el (terminal-init-news):
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
329 (set-keymap-parent input-decode-map m))) |
23367 | 330 |
85546
d3c6c7427cef
* term/news.el (terminal-init-news):
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
83648
diff
changeset
|
331 ;; 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
|
332 ;;; iris-ansi.el ends here |