(display-time-string-forms): Use
[emacs.git] / lisp / term / xterm.el
blob6f0f779df49ec7e55516046c51e35242b35b7484
1 ;;; xterm.el --- define function key sequences for xterm
3 ;; Copyright (C) 1995 Free Software Foundation, Inc.
5 ;; Author: FSF
6 ;; Keywords: terminals
8 ;; This file is part of GNU Emacs.
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation; either version 2, or (at your option)
13 ;; any later version.
15 ;; GNU Emacs is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details.
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 ;; Boston, MA 02111-1307, USA.
25 ;;; Commentary:
27 ;;; Code:
29 (define-key function-key-map "\e[A" [up])
30 (define-key function-key-map "\e[B" [down])
31 (define-key function-key-map "\e[C" [right])
32 (define-key function-key-map "\e[D" [left])
33 (define-key function-key-map "\e[2~" [insert])
34 (define-key function-key-map "\e[4~" [select])
35 (define-key function-key-map "\e[5~" [prior])
36 (define-key function-key-map "\e[6~" [next])
37 (define-key function-key-map "\e[11~" [f1])
38 (define-key function-key-map "\e[12~" [f2])
39 (define-key function-key-map "\e[13~" [f3])
40 (define-key function-key-map "\e[14~" [f4])
41 (define-key function-key-map "\e[15~" [f5])
42 (define-key function-key-map "\e[17~" [f6])
43 (define-key function-key-map "\e[18~" [f7])
44 (define-key function-key-map "\e[19~" [f8])
45 (define-key function-key-map "\e[20~" [f9])
46 (define-key function-key-map "\e[21~" [f10])
47 (define-key function-key-map "\e[23~" [f11])
48 (define-key function-key-map "\e[24~" [f12])
49 (define-key function-key-map "\e[29~" [print])
51 ;;; xterm.el ends here