annotate lisp/term/iris-ansi.el @ 83468:b98066f4aa10

Merged from emacs@sv.gnu.org Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-49 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-50 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-51 Make constrain-to-field notice overlays * emacs@sv.gnu.org/emacs--devo--0--patch-52 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-53 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-54 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-55 Merge from erc--emacs--0 * emacs@sv.gnu.org/emacs--devo--0--patch-56 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-57 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-58 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-59 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-60 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-61 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-62 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-63 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-64 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-65 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-66 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-67 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-68 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-69 rcirc: Add flexible response formatting; Add nick abbrevs * emacs@sv.gnu.org/emacs--devo--0--patch-70 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-71 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-72 Update from CVS: man/dired.texi (Tumme): More tumme documentation. * emacs@sv.gnu.org/gnus--rel--5.10--patch-18 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-19 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-20 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-21 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-22 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-23 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-24 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-25 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-26 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-27 Update from CVS: lisp/gnus.el: Remove bogus comment. * emacs@sv.gnu.org/gnus--rel--5.10--patch-28 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-29 Add sendmail.el and smptmail.el from Emacs tree to contrib/ git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-508
author Karoly Lorentey <lorentey@elte.hu>
date Sun, 12 Feb 2006 00:15:44 +0000
parents 7d093d9d4479 067115a6e738
children 673d62ad74b5
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
68648
067115a6e738 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64701
diff changeset
3 ;; Copyright (C) 1997, 2002, 2003, 2004, 2005,
067115a6e738 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64701
diff changeset
4 ;; 2006 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
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
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
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
29 (defvar iris-function-map nil
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
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
32 ;; Make reloads faster.
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
33 (unless iris-function-map
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
34 (setq iris-function-map (make-sparse-keymap))
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
35
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
36 (define-key iris-function-map "\e[120q" [S-escape])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
37 (define-key iris-function-map "\e[121q" [C-escape])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
38
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
39 (define-key iris-function-map "\e[001q" [f1])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
40 (define-key iris-function-map "\e[013q" [S-f1])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
41 (define-key iris-function-map "\e[025q" [C-f1])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
42
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
43
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
44 (define-key iris-function-map "\e[002q" [f2])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
45 (define-key iris-function-map "\e[014q" [S-f2])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
46 (define-key iris-function-map "\e[026q" [C-f2])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
47 (define-key iris-function-map "\e[038q" [M-f2])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
48
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
49 (define-key iris-function-map "\e[003q" [f3])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
50 (define-key iris-function-map "\e[015q" [S-f3])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
51 (define-key iris-function-map "\e[027q" [C-f3])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
52
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
53
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
54 (define-key iris-function-map "\e[004q" [f4])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
55 (define-key iris-function-map "\e[016q" [S-f4])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
56 (define-key iris-function-map "\e[028q" [C-f4])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
57
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
58
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
59 (define-key iris-function-map "\e[005q" [f5])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
60 (define-key iris-function-map "\e[017q" [S-f5])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
61 (define-key iris-function-map "\e[029q" [C-f5])
64701
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
62
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
63
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
64 (define-key iris-function-map "\e[006q" [f6])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
65 (define-key iris-function-map "\e[018q" [S-f6])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
66 (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
67
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
68
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
69 (define-key iris-function-map "\e[007q" [f7])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
70 (define-key iris-function-map "\e[019q" [S-f7])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
71 (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
72
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
73
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
74 (define-key iris-function-map "\e[008q" [f8])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
75 (define-key iris-function-map "\e[020q" [S-f8])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
76 (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
77
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
78
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
79 (define-key iris-function-map "\e[009q" [f9])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
80 (define-key iris-function-map "\e[021q" [S-f9])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
81 (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
82
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
83
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
84 (define-key iris-function-map "\e[010q" [f10])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
85 (define-key iris-function-map "\e[022q" [S-f10])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
86 (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
87
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
88
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
89 (define-key iris-function-map "\e[011q" [f11])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
90 (define-key iris-function-map "\e[023q" [S-f11])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
91 (define-key iris-function-map "\e[035q" [C-f11])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
92 (define-key iris-function-map "\e[047q" [M-f11])
64701
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
93
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
94 (define-key iris-function-map "\e[012q" [f12])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
95 (define-key iris-function-map "\e[024q" [S-f12])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
96 (define-key iris-function-map "\e[036q" [C-f12])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
97 (define-key iris-function-map "\e[048q" [M-f12])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
98
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
99
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
100 (define-key iris-function-map "\e[057q" [C-`])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
101 (define-key iris-function-map "\e[115q" [M-`])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
102
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
103 (define-key iris-function-map "\e[049q" [?\C-1])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
104 (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
105
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
106
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
107 (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
108
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
109 (define-key iris-function-map "\e[050q" [?\C-3])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
110 (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
111
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
112 (define-key iris-function-map "\e[051q" [?\C-4])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
113 (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
114
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
115 (define-key iris-function-map "\e[052q" [?\C-5])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
116 (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
117
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
118
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
119 (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
120
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
121 (define-key iris-function-map "\e[053q" [?\C-7])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
122 (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
123
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
124 (define-key iris-function-map "\e[054q" [?\C-8])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
125 (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
126
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
127 (define-key iris-function-map "\e[055q" [?\C-9])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
128 (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
129
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
130 (define-key iris-function-map "\e[056q" [?\C-0])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
131 (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
132
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
133 (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
134
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
135 (define-key iris-function-map "\e[069q" [?\C-=])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
136 (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
137
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
138 ;; I don't know what to do with those.
83353
532e0a9335a9 Merged in changes from CVS trunk. Plus added lisp/term tweaks.
Karoly Lorentey <lorentey@elte.hu>
parents: 83346 64701
diff changeset
139 ;;(define-key iris-function-map "^H" [<del>])
532e0a9335a9 Merged in changes from CVS trunk. Plus added lisp/term tweaks.
Karoly Lorentey <lorentey@elte.hu>
parents: 83346 64701
diff changeset
140 ;;(define-key iris-function-map "^H" [S-<del>])
532e0a9335a9 Merged in changes from CVS trunk. Plus added lisp/term tweaks.
Karoly Lorentey <lorentey@elte.hu>
parents: 83346 64701
diff changeset
141 ;;(define-key iris-function-map "\177" [C-<del>])
532e0a9335a9 Merged in changes from CVS trunk. Plus added lisp/term tweaks.
Karoly Lorentey <lorentey@elte.hu>
parents: 83346 64701
diff changeset
142 ;;(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
143
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
144 (define-key iris-function-map "\e[Z" [?\S-\t])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
145 (define-key iris-function-map "\e[072q" [?\C-\t])
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
146 ;; This only works if you remove the M-TAB keybing from the system.4Dwmrc
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
147 ;; our your ~/.4Dwmrc, if you use the 4Dwm window manager.
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
148 (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
149
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
150 (define-key iris-function-map "\e[074q" [?\M-q])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
151
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
152 (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
153
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
154 (define-key iris-function-map "\e[076q" [?\M-e])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
155
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
156 (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
157
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
158 (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
159
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
160 (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
161
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
162 (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
163
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
164 (define-key iris-function-map "\e[081q" [?\M-i])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
165
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
166 (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
167
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
168 (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
169
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
170 (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
171
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
172 (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
173
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
174 (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
175
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
176 (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
177
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
178 (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
179
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
180 (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
181
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
182 (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
183
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
184 (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
185
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
186 (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
187
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
188 (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
189
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
190 (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
191
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
192 (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
193
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
194 (define-key iris-function-map "\e[096q" [?\C-\;])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
195 (define-key iris-function-map "\e[097q" [?\M-:]) ;; we are cheating
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
196 ;; here, this is realy
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
197 ;; M-;, but M-:
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
198 ;; generates the same
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
199 ;; string and is more
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
200 ;; usefull.
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
201
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
202 (define-key iris-function-map "\e[098q" [?\C-'])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
203 (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
204
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
205 (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
206
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
207 (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
208
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
209 (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
210
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
211 (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
212
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
213 (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
214
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
215 (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
216
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
217 (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
218
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
219 (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
220
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
221 (define-key iris-function-map "\e[108q" [?\C-,])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
222 (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
223
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
224 (define-key iris-function-map "\e[110q" [?\C-.])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
225 (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
226
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
227 (define-key iris-function-map "\e[112q" [?\C-/])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
228 (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
229
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
230 (define-key iris-function-map "\e[139q" [insert])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
231 (define-key iris-function-map "\e[139q" [S-insert])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
232 (define-key iris-function-map "\e[140q" [C-insert])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
233 (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
234
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
235 (define-key iris-function-map "\e[H" [home])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
236 (define-key iris-function-map "\e[143q" [S-home])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
237 (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
238
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
239
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
240 (define-key iris-function-map "\e[150q" [prior])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
241 (define-key iris-function-map "\e[151q" [S-prior]) ;; those don't seem
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
242 ;; to generate
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
243 ;; anything
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
244 (define-key iris-function-map "\e[152q" [C-prior])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
245
64701
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
246
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
247 ;; (define-key iris-function-map "^?" [delete]) ?? something else seems to take care of this.
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
248 (define-key iris-function-map "\e[P" [S-delete])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
249 (define-key iris-function-map "\e[142q" [C-delete])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
250 (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
251
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
252 (define-key iris-function-map "\e[146q" [end])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
253 (define-key iris-function-map "\e[147q" [S-end]) ;; those don't seem to
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
254 ;; generate anything
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
255 (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
256
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
257 (define-key iris-function-map "\e[154q" [next])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
258 (define-key iris-function-map "\e[155q" [S-next])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
259 (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
260
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
261
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
262 (define-key iris-function-map "\e[161q" [S-up])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
263 (define-key iris-function-map "\e[162q" [C-up])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
264 (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
265
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
266 (define-key iris-function-map "\e[158q" [S-left])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
267 (define-key iris-function-map "\e[159q" [C-left])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
268 (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
269
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
270 (define-key iris-function-map "\e[164q" [S-down])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
271 (define-key iris-function-map "\e[165q" [C-down])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
272 (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
273
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
274 (define-key iris-function-map "\e[167q" [S-right])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
275 (define-key iris-function-map "\e[168q" [C-right])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
276 (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
277
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
278 ;; Keypad functions, most of those are untested.
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
279 (define-key iris-function-map "\e[179q" [?\C-/])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
280 (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
281
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
282 (define-key iris-function-map "\e[187q" [?\C-*])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
283 (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
284
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
285 (define-key iris-function-map "\e[198q" [?\C--])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
286 (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
287
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 64084
diff changeset
288 ;; Something else takes care of home, up, prior, down, left, right, next
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
289 ;(define-key iris-function-map "\e[H" [home])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
290 (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
291
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
292 ;(define-key iris-function-map "\e[A" [up])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
293 (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
294
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
295
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
296 ;(define-key iris-function-map "\e[150q" [prior])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
297 (define-key iris-function-map "\e[190q" [C-prior])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
298
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
299
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
300 (define-key iris-function-map "\e[200q" [?\C-+])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
301 (define-key iris-function-map "\e[201q" [?\M-+])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
302
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
303 ;(define-key iris-function-map "\e[D" [left])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
304 (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
305
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
306
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
307 (define-key iris-function-map "\e[000q" [begin])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
308 (define-key iris-function-map "\e[184q" [C-begin])
64701
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
309
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
310
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
311 ;(define-key iris-function-map "\e[C" [right])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
312 (define-key iris-function-map "\e[192q" [C-right])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
313
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
314 ;(define-key iris-function-map "\e[146q" [end])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
315 (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
316
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
317 ;(define-key iris-function-map "\e[B" [down])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
318 (define-key iris-function-map "\e[186q" [C-down])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
319
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
320 ;(define-key iris-function-map "\e[154q" [next])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
321 (define-key iris-function-map "\e[194q" [C-next])
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
322
64701
34bd8e434dd7 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 64651
diff changeset
323
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
324 (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
325
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
326 (define-key iris-function-map "\e[139q" [insert])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
327 (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
328
83316
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
329 (define-key iris-function-map "\e[P" [delete])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
330 (define-key iris-function-map "\e[196q" [C-delete])
102194c6d773 Update Lisp code for a terminal-local `function-key-map'.
Karoly Lorentey <lorentey@elte.hu>
parents: 83297
diff changeset
331 (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
332
83353
532e0a9335a9 Merged in changes from CVS trunk. Plus added lisp/term tweaks.
Karoly Lorentey <lorentey@elte.hu>
parents: 83346 64701
diff changeset
333 (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
334 "Terminal initialization function for iris-ansi."
83363
3d2bc61f2da0 Fix function-key-map massaging vs `C-x 5 2' in lisp/term/*.el. (Submitted by Dan Nicolaescu.)
Karoly Lorentey <lorentey@elte.hu>
parents: 83353
diff changeset
335 ;; The terminal-local stuff only need to be set up on the first
3d2bc61f2da0 Fix function-key-map massaging vs `C-x 5 2' in lisp/term/*.el. (Submitted by Dan Nicolaescu.)
Karoly Lorentey <lorentey@elte.hu>
parents: 83353
diff changeset
336 ;; frame on that device.
3d2bc61f2da0 Fix function-key-map massaging vs `C-x 5 2' in lisp/term/*.el. (Submitted by Dan Nicolaescu.)
Karoly Lorentey <lorentey@elte.hu>
parents: 83353
diff changeset
337 (when (eq 1 (length (frames-on-display-list)))
3d2bc61f2da0 Fix function-key-map massaging vs `C-x 5 2' in lisp/term/*.el. (Submitted by Dan Nicolaescu.)
Karoly Lorentey <lorentey@elte.hu>
parents: 83353
diff changeset
338 ;; Use inheritance to let the main keymap override these defaults.
3d2bc61f2da0 Fix function-key-map massaging vs `C-x 5 2' in lisp/term/*.el. (Submitted by Dan Nicolaescu.)
Karoly Lorentey <lorentey@elte.hu>
parents: 83353
diff changeset
339 ;; This way we don't override terminfo-derived settings or settings
3d2bc61f2da0 Fix function-key-map massaging vs `C-x 5 2' in lisp/term/*.el. (Submitted by Dan Nicolaescu.)
Karoly Lorentey <lorentey@elte.hu>
parents: 83353
diff changeset
340 ;; made in the .emacs file.
3d2bc61f2da0 Fix function-key-map massaging vs `C-x 5 2' in lisp/term/*.el. (Submitted by Dan Nicolaescu.)
Karoly Lorentey <lorentey@elte.hu>
parents: 83353
diff changeset
341 (let ((m (copy-keymap iris-function-map)))
83394
7d093d9d4479 Fix semantics of terminal-local variables. Remove `terminal-local-value' hack.
Karoly Lorentey <lorentey@elte.hu>
parents: 83363
diff changeset
342 (set-keymap-parent m (keymap-parent local-function-key-map))
7d093d9d4479 Fix semantics of terminal-local variables. Remove `terminal-local-value' hack.
Karoly Lorentey <lorentey@elte.hu>
parents: 83363
diff changeset
343 (set-keymap-parent local-function-key-map m))))
23367
7355f4d47dfa Initial revision
Dan Nicolaescu <done@ece.arizona.edu>
parents:
diff changeset
344
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49599
diff changeset
345 ;;; 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
346 ;;; iris-ansi.el ends here