10690
|
1 ;;; File: edt-vt100.el --- Enhanced EDT Keypad Mode Emulation
|
|
2 ;;; for VT Series Terminals
|
|
3 ;;;
|
|
4 ;;; For GNU Emacs 19
|
|
5 ;;;
|
|
6 ;;
|
11234
|
7 ;; Copyright (C) 1986, 1992, 1993, 1995 Free Software Foundation, Inc.
|
10690
|
8
|
|
9 ;; Author: Kevin Gallagher <kgallagh@spd.dsccc.com>
|
|
10 ;; Maintainer: Kevin Gallagher <kgallagh@spd.dsccc.com>
|
|
11 ;; Keywords: emulations
|
|
12
|
|
13 ;; This file is part of GNU Emacs.
|
|
14
|
|
15 ;; GNU Emacs is free software; you can redistribute it and/or modify
|
|
16 ;; it under the terms of the GNU General Public License as published by
|
|
17 ;; the Free Software Foundation; either version 2, or (at your option)
|
|
18 ;; any later version.
|
|
19
|
|
20 ;; GNU Emacs is distributed in the hope that it will be useful,
|
|
21 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
23 ;; GNU General Public License for more details.
|
|
24
|
|
25 ;; You should have received a copy of the GNU General Public License
|
|
26 ;; along with GNU Emacs; see the file COPYING. If not, write to
|
|
27 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
28
|
|
29 ;;; Usage:
|
|
30
|
11441
|
31 ;; See edt-user.doc in the Emacs etc directory.
|
10690
|
32
|
|
33 ;; ====================================================================
|
|
34
|
|
35 ;; Get keyboard function key mapping to EDT keys.
|
|
36 (load "edt-lk201" nil t)
|
|
37
|
|
38 (defun edt-set-screen-width-80 ()
|
|
39 "Set screen width to 80 columns."
|
|
40 (interactive)
|
|
41 (vt100-wide-mode -1)
|
|
42 (message "Screen width 80"))
|
|
43
|
|
44 (defun edt-set-screen-width-132 ()
|
|
45 "Set screen width to 132 columns."
|
|
46 (interactive)
|
|
47 (vt100-wide-mode 1)
|
|
48 (message "Screen width 132"))
|