X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/732be46569e11c446abb92a0fe9664fff94be875..142e26a72e9b8bbbec23c6bf7234e9f2544b5f89:/lisp/emulation/edt-lk201.el diff --git a/lisp/emulation/edt-lk201.el b/lisp/emulation/edt-lk201.el index 7aa9f2c73c..2c6a46752f 100644 --- a/lisp/emulation/edt-lk201.el +++ b/lisp/emulation/edt-lk201.el @@ -1,20 +1,18 @@ -;;; File: edt-lk201.el --- Enhanced EDT Keypad Mode Emulation -;;; for LK-201 Keyboards -;;; -;;; For GNU Emacs 19 -;; -;; Copyright (C) 1986, 1992, 1993, 1995 Free Software Foundation, Inc. +;;; edt-lk201.el --- enhanced EDT keypad mode emulation for LK-201 keyboards + +;; Copyright (C) 1986, 1992, 1993, 1995, 2001, 2002, 2003, 2004, +;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -;; Author: Kevin Gallagher -;; Maintainer: Kevin Gallagher +;; Author: Kevin Gallagher +;; Maintainer: Kevin Gallagher ;; Keywords: emulations ;; This file is part of GNU Emacs. -;; GNU Emacs is free software; you can redistribute it and/or modify +;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 2, or (at your option) -;; any later version. +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -22,21 +20,14 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs. If not, see . -;;; Usage: +;;; Commentary: -;; See edt-user.doc +;; See edt-user.doc in the Emacs etc directory. ;; ==================================================================== -;;; -;;; Revision Information -;;; -(defconst edt-lk201-revision "$Revision: 1.2 $" - "Revision Number of EDT LK-201 Keyboard Support.") - ;;;; ;;;; KEY TRANSLATIONS ;;;; @@ -47,8 +38,11 @@ ;; F1 - F5 are not available on many DEC VT series terminals. ;; However, this is not always the case. So support for F1 - F5 is ;; provided here and in lisp/term/lk201.el. + +;;; Code: + (defconst *EDT-keys* - '(("KP0" . [kp-0]) ("KP1" . [kp-1]) ("KP2" . [kp-2]) ("KP3" . [kp-3]) + '(("KP0" . [kp-0]) ("KP1" . [kp-1]) ("KP2" . [kp-2]) ("KP3" . [kp-3]) ("KP4" . [kp-4]) ("KP5" . [kp-5]) ("KP6" . [kp-6]) ("KP7" . [kp-7]) ("KP8" . [kp-8]) ("KP9" . [kp-9]) ("KP," . [kp-separator]) ("KP-" . [kp-subtract]) ("KPP" . [kp-decimal]) ("KPE" . [kp-enter]) @@ -61,3 +55,6 @@ ("F11" . [f11]) ("F12" . [f12]) ("F13" . [f13]) ("F14" . [f14]) ("HELP" . [help]) ("DO" . [menu]) ("F17" . [f17]) ("F18" . [f18]) ("F19" . [f19]) ("F20" . [f20]))) + +;; arch-tag: 36f498cf-c3f6-41b0-911b-83b1348855ec +;;; edt-lk201.el ends here