annotate lisp/term/iris-ansi.el @ 84535:54c8de431a51

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