Merge from origin/emacs-25
[emacs.git] / lisp / emulation / edt-vt100.el
blob019283ed6ee52b2de6d12588bfa53b1886636b21
1 ;;; edt-vt100.el --- enhanced EDT keypad mode emulation for VT series terminals
3 ;; Copyright (C) 1986, 1992-1993, 1995, 2002-2016 Free Software
4 ;; Foundation, Inc.
6 ;; Author: Kevin Gallagher <kevin.gal@verizon.net>
7 ;; Maintainer: Kevin Gallagher <kevin.gal@verizon.net>
8 ;; Keywords: emulations
9 ;; Package: edt
11 ;; This file is part of GNU Emacs.
13 ;; GNU Emacs is free software: you can redistribute it and/or modify
14 ;; it under the terms of the GNU General Public License as published by
15 ;; the Free Software Foundation, either version 3 of the License, or
16 ;; (at your option) any later version.
18 ;; GNU Emacs is distributed in the hope that it will be useful,
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ;; GNU General Public License for more details.
23 ;; You should have received a copy of the GNU General Public License
24 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
26 ;;; Commentary:
28 ;; See Info node `edt' for more details.
30 ;; ====================================================================
33 ;;; Code:
35 ;; Get keyboard function key mapping to EDT keys.
36 (load "edt-lk201" nil t)
38 ;; The following functions are called by the EDT screen width commands defined
39 ;; in edt.el.
41 (declare-function vt100-wide-mode "../term/vt100" (&optional arg))
43 (defun edt-set-term-width-80 ()
44 "Set terminal width to 80 columns."
45 (vt100-wide-mode -1))
47 (defun edt-set-term-width-132 ()
48 "Set terminal width to 132 columns."
49 (vt100-wide-mode 1))
51 ;;; edt-vt100.el ends here