emacs/lisp/emulation/edt-vt100.el

52 lines
1.5 KiB
EmacsLisp
Raw Normal View History

;;; edt-vt100.el --- enhanced EDT keypad mode emulation for VT series terminals
1995-10-30 17:35:01 +00:00
;; Copyright (C) 1986, 1992-1993, 1995, 2002-2017 Free Software
2013-01-01 09:11:05 +00:00
;; Foundation, Inc.
1995-02-08 01:25:15 +00:00
;; Author: Kevin Gallagher <kevin.gal@verizon.net>
;; Maintainer: Kevin Gallagher <kevin.gal@verizon.net>
1995-02-08 01:25:15 +00:00
;; Keywords: emulations
;; Package: edt
1995-02-08 01:25:15 +00:00
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
1995-02-08 01:25:15 +00:00
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
1995-02-08 01:25:15 +00:00
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
1995-02-08 01:25:15 +00:00
;;; Commentary:
1995-02-08 01:25:15 +00:00
2009-12-15 03:07:30 +00:00
;; See Info node `edt' for more details.
1995-02-08 01:25:15 +00:00
;; ====================================================================
;;; Code:
1995-02-08 01:25:15 +00:00
;; Get keyboard function key mapping to EDT keys.
(load "edt-lk201" nil t)
;; The following functions are called by the EDT screen width commands defined
;; in edt.el.
(declare-function vt100-wide-mode "../term/vt100" (&optional arg))
(defun edt-set-term-width-80 ()
"Set terminal width to 80 columns."
(vt100-wide-mode -1))
(defun edt-set-term-width-132 ()
"Set terminal width to 132 columns."
(vt100-wide-mode 1))
;;; edt-vt100.el ends here