]> code.delx.au - gnu-emacs/blob - lisp/term/news.el
*** empty log message ***
[gnu-emacs] / lisp / term / news.el
1 ;; keypad and function key bindings for the Sony NEWS keyboard.
2 ;; Copyright (C) 1989 Free Software Foundation, Inc.
3
4 ;; This file is part of GNU Emacs.
5
6 ;; GNU Emacs is distributed in the hope that it will be useful,
7 ;; but WITHOUT ANY WARRANTY. No author or distributor
8 ;; accepts responsibility to anyone for the consequences of using it
9 ;; or for whether it serves any particular purpose or works at all,
10 ;; unless he says so in writing. Refer to the GNU Emacs General Public
11 ;; License for full details.
12
13 ;; Everyone is granted permission to copy, modify and redistribute
14 ;; GNU Emacs, but only under the conditions described in the
15 ;; GNU Emacs General Public License. A copy of this license is
16 ;; supposed to have been given to you along with GNU Emacs so you
17 ;; can know your rights and responsibilities. It should be in a
18 ;; file named COPYING. Among other things, the copyright notice
19 ;; and this notice must be preserved on all copies.
20
21 ;; This file places entries in function-key-map for the raw escape
22 ;; sequences of various keypad and function keys, binding them to
23 ;; their symbolic forms.
24
25 (define-prefix-command 'news-fkey-prefix)
26 (define-key function-key-map "\eO" 'news-fkey-prefix)
27
28 (define-key news-fkey-prefix "P" [f1])
29 (define-key news-fkey-prefix "Q" [f2])
30 (define-key news-fkey-prefix "R" [f3])
31 (define-key news-fkey-prefix "S" [f4])
32 (define-key news-fkey-prefix "T" [f5])
33 (define-key news-fkey-prefix "U" [f6])
34 (define-key news-fkey-prefix "V" [f7])
35 (define-key news-fkey-prefix "W" [f8])
36 (define-key news-fkey-prefix "X" [f9])
37 (define-key news-fkey-prefix "Y" [f10])
38 (define-key news-fkey-prefix "m" [kp-subtract])
39 (define-key news-fkey-prefix "k" [kp-add])
40 (define-key news-fkey-prefix "l" [kp-separator])
41 (define-key news-fkey-prefix "n" [kp-period])
42 (define-key news-fkey-prefix "M" [kp-enter])
43 (define-key news-fkey-prefix "p" [kp-0])
44 (define-key news-fkey-prefix "q" [kp-1])
45 (define-key news-fkey-prefix "r" [kp-2])
46 (define-key news-fkey-prefix "s" [kp-3])
47 (define-key news-fkey-prefix "t" [kp-4])
48 (define-key news-fkey-prefix "u" [kp-5])
49 (define-key news-fkey-prefix "v" [kp-6])
50 (define-key news-fkey-prefix "w" [kp-7])
51 (define-key news-fkey-prefix "x" [kp-8])
52 (define-key news-fkey-prefix "y" [kp-9])
53 (define-key news-fkey-prefix "a" [execute])
54 (define-key news-fkey-prefix "b" [select])
55 (define-key news-fkey-prefix "c" [cancel])