annotate lisp/term/xterm.el @ 12493:f8ada5acbaec

(redisplay_window): Fix typos in clip_changed change.
author Richard M. Stallman <rms@gnu.org>
date Fri, 07 Jul 1995 13:35:19 +0000
parents e83a888f32d9
children 23cc3f54e536
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12159
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
1 ;;; xterm.el --- define function key sequences for xterm
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
3 ;; Author: FSF
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
4 ;; Keywords: terminals
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
5
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
6 ;; Copyright (C) 1995 Free Software Foundation, Inc.
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
7 ;;; This file is part of GNU Emacs.
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8 ;;;
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
9 ;;; GNU Emacs is free software; you can redistribute it and/or modify
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
10 ;;; it under the terms of the GNU General Public License as published by
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
11 ;;; the Free Software Foundation; either version 2, or (at your option)
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12 ;;; any later version.
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 ;;;
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
14 ;;; GNU Emacs is distributed in the hope that it will be useful,
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
15 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
17 ;;; GNU General Public License for more details.
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
18 ;;;
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
19 ;;; You should have received a copy of the GNU General Public License
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
20 ;;; along with GNU Emacs; see the file COPYING. If not, write to
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
21 ;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
22
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
23 ;;;; Code:
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
24
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
25 (define-key function-key-map "\e[A" [up])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
26 (define-key function-key-map "\e[B" [down])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
27 (define-key function-key-map "\e[C" [right])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
28 (define-key function-key-map "\e[D" [left])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
29 (define-key function-key-map "\e[2~" [insert])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
30 (define-key function-key-map "\e[4~" [select])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
31 (define-key function-key-map "\e[5~" [prior])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
32 (define-key function-key-map "\e[6~" [next])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
33 (define-key function-key-map "\e[11~" [f1])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
34 (define-key function-key-map "\e[12~" [f2])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
35 (define-key function-key-map "\e[13~" [f3])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
36 (define-key function-key-map "\e[14~" [f4])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
37 (define-key function-key-map "\e[15~" [f5])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
38 (define-key function-key-map "\e[17~" [f6])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
39 (define-key function-key-map "\e[18~" [f7])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
40 (define-key function-key-map "\e[19~" [f8])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
41 (define-key function-key-map "\e[20~" [f9])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
42 (define-key function-key-map "\e[21~" [f10])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
43 (define-key function-key-map "\e[23~" [f11])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
44 (define-key function-key-map "\e[24~" [f12])
e83a888f32d9 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
45 (define-key function-key-map "\e[29~" [print])