Mercurial > hg > xemacs-beta
annotate lisp/term/lk201.el @ 5586:d8a11d5ebc9f
Merge refactored Xaw3d configure.ac.
| author | Stephen J. Turnbull <stephen@xemacs.org> |
|---|---|
| date | Fri, 28 Oct 2011 23:52:26 +0900 |
| parents | 308d34e9f07d |
| children |
| rev | line source |
|---|---|
| 428 | 1 ;;; lk201.el --- basic editing commands for XEmacs |
| 2 | |
| 3 ;; This file is part of XEmacs. | |
| 4 | |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
622
diff
changeset
|
5 ;; XEmacs is free software: you can redistribute it and/or modify it |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
622
diff
changeset
|
6 ;; under the terms of the GNU General Public License as published by the |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
622
diff
changeset
|
7 ;; Free Software Foundation, either version 3 of the License, or (at your |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
622
diff
changeset
|
8 ;; option) any later version. |
| 428 | 9 |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
622
diff
changeset
|
10 ;; XEmacs is distributed in the hope that it will be useful, but WITHOUT |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
622
diff
changeset
|
11 ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
622
diff
changeset
|
12 ;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
622
diff
changeset
|
13 ;; for more details. |
| 428 | 14 |
| 15 ;; You should have received a copy of the GNU General Public License | |
|
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
622
diff
changeset
|
16 ;; along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
| 428 | 17 |
| 622 | 18 ;;; Synched up with: FSF 21.0.103. |
| 428 | 19 |
| 20 ;;; Commentary: | |
| 21 | |
| 22 ;; Define function key sequences for DEC terminals. | |
| 23 | |
| 24 ;; Termcap or terminfo should set these. | |
| 25 ;; (define-key function-key-map "\e[A" [up]) | |
| 26 ;; (define-key function-key-map "\e[B" [down]) | |
| 27 ;; (define-key function-key-map "\e[C" [right]) | |
| 28 ;; (define-key function-key-map "\e[D" [left]) | |
| 29 | |
| 30 ;;; Code: | |
| 31 | |
| 32 (define-key function-key-map "\e[1~" [find]) | |
| 33 (define-key function-key-map "\e[2~" [insert]) | |
| 34 (define-key function-key-map "\e[3~" [delete]) | |
| 35 (define-key function-key-map "\e[4~" [select]) | |
| 36 (define-key function-key-map "\e[5~" [prior]) | |
| 37 (define-key function-key-map "\e[6~" [next]) | |
| 38 (define-key function-key-map "\e[11~" [f1]) | |
| 39 (define-key function-key-map "\e[12~" [f2]) | |
| 40 (define-key function-key-map "\e[13~" [f3]) | |
| 41 (define-key function-key-map "\e[14~" [f4]) | |
| 42 (define-key function-key-map "\e[15~" [f5]) | |
| 43 (define-key function-key-map "\e[17~" [f6]) | |
| 44 (define-key function-key-map "\e[18~" [f7]) | |
| 45 (define-key function-key-map "\e[19~" [f8]) | |
| 46 (define-key function-key-map "\e[20~" [f9]) | |
| 47 (define-key function-key-map "\e[21~" [f10]) | |
| 48 ;; Customarily F11 is used as the ESC key. | |
| 49 ;; The file that includes this one, takes care of that. | |
| 50 (define-key function-key-map "\e[23~" [f11]) | |
| 51 (define-key function-key-map "\e[24~" [f12]) | |
| 52 (define-key function-key-map "\e[25~" [f13]) | |
| 53 (define-key function-key-map "\e[26~" [f14]) | |
| 54 (define-key function-key-map "\e[28~" [help]) | |
| 55 (define-key function-key-map "\e[29~" [menu]) | |
| 56 (define-key function-key-map "\e[31~" [f17]) | |
| 57 (define-key function-key-map "\e[32~" [f18]) | |
| 58 (define-key function-key-map "\e[33~" [f19]) | |
| 59 (define-key function-key-map "\e[34~" [f20]) | |
| 60 | |
| 61 ;; Termcap or terminfo should set these. | |
| 62 ;; (define-key function-key-map "\eOA" [up]) | |
| 63 ;; (define-key function-key-map "\eOB" [down]) | |
| 64 ;; (define-key function-key-map "\eOC" [right]) | |
| 65 ;; (define-key function-key-map "\eOD" [left]) | |
| 66 | |
| 67 ;; Termcap or terminfo should set these, but doesn't properly. | |
| 68 ;; Termcap sets these to k1-k4, which get mapped to f1-f4 in term.c | |
| 69 (define-key function-key-map "\eOP" [kp-f1]) | |
| 70 (define-key function-key-map "\eOQ" [kp-f2]) | |
| 71 (define-key function-key-map "\eOR" [kp-f3]) | |
| 72 (define-key function-key-map "\eOS" [kp-f4]) | |
| 73 | |
| 74 (define-key function-key-map "\eOI" [kp-tab]) | |
| 75 (define-key function-key-map "\eOj" [kp-multiply]) | |
| 76 (define-key function-key-map "\eOk" [kp-add]) | |
| 77 (define-key function-key-map "\eOl" [kp-separator]) | |
| 78 (define-key function-key-map "\eOM" [kp-enter]) | |
| 79 (define-key function-key-map "\eOm" [kp-subtract]) | |
| 80 (define-key function-key-map "\eOn" [kp-decimal]) | |
| 81 (define-key function-key-map "\eOo" [kp-divide]) | |
| 82 (define-key function-key-map "\eOp" [kp-0]) | |
| 83 (define-key function-key-map "\eOq" [kp-1]) | |
| 84 (define-key function-key-map "\eOr" [kp-2]) | |
| 85 (define-key function-key-map "\eOs" [kp-3]) | |
| 86 (define-key function-key-map "\eOt" [kp-4]) | |
| 87 (define-key function-key-map "\eOu" [kp-5]) | |
| 88 (define-key function-key-map "\eOv" [kp-6]) | |
| 89 (define-key function-key-map "\eOw" [kp-7]) | |
| 90 (define-key function-key-map "\eOx" [kp-8]) | |
| 91 (define-key function-key-map "\eOy" [kp-9]) | |
| 92 | |
| 93 ;;; lk201.el ends here |
