annotate etc/edt-user.doc @ 98:0d2f883870bc r20-1b1

Import from CVS: tag r20-1b1
author cvs
date Mon, 13 Aug 2007 09:13:56 +0200
parents b9518feda344
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
72
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
1 File: edt-user.doc --- EDT Emulation User Instructions
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
2
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
3 For GNU Emacs 19
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
4
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
5 Copyright (C) 1986, 1992, 1994, 1995 Free Software Foundation, Inc.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
6
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
7 Author: Kevin Gallagher <kgallagh@spd.dsccc.com>
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
8 Maintainer: Kevin Gallagher <kgallagh@spd.dsccc.com>
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
9 Keywords: emulations
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
10
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
11 This file is part of GNU Emacs.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
12
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
13 GNU Emacs is free software; you can redistribute it and/or modify
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
14 it under the terms of the GNU General Public License as published by
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
15 the Free Software Foundation; either version 2, or (at your option)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
16 any later version.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
17
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
18 GNU Emacs is distributed in the hope that it will be useful,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
21 GNU General Public License for more details.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
22
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
23 You should have received a copy of the GNU General Public License
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
24 along with GNU Emacs; see the file COPYING. If not, write to the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
25 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
26 Boston, MA 02111-1307, USA.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
27
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
28 ============================================================================
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
29
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
30 I. OVERVIEW:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
31
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
32 This version of the EDT emulation package for GNU Emacs is a substantially
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
33 enhanced version of the original. A large part of the original can still be
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
34 found here, of course, but much of it has been modified and quite a bit is
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
35 new. Many of the ideas found here are borrowed from others. In particular,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
36 some of the code found here was drawn from an earlier re-write of the EDT
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
37 package done at DSC in 1989 by Matthew Frohman.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
38
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
39 Send bug fixes, suggestions for enhancements, and corrections to this
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
40 documentation to Kevin Gallagher (kgallagh@spd.dsccc.com).
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
41
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
42 The EDT emulation consists of the following files:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
43
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
44 edt-user.doc - User instructions (which you are reading now)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
45 edt.el - EDT Emulation Functions and Default Configuration
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
46 edt-lk201.el - Support for DEC LK-201 Keyboards
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
47 edt-vt100.el - Support for DEC VT-100 (and above) terminals
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
48 edt-mapper.el - Support for Keyboards used under X Windows
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
49 edt-pc.el - Support for the PC AT Keyboard under MS-DOS
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
50
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
51 Several goals were kept in mind when making this version:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
52
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
53 1. Emulate EDT Keypad Mode commands closely so that current
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
54 EDT users will find that it easy and comfortable to use
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
55 GNU Emacs with a small learning curve;
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
56
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
57 2. Make it easy for a user to customize EDT emulation key
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
58 bindings without knowing much about Emacs Lisp;
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
59
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
60 3. Make it easy to switch between the original EDT default bindings
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
61 and the user's customized bindings, without having to exit Emacs.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
62
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
63 4. Provide support for some TPU/EVE functions not supported in
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
64 EDT.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
65
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
66 5. Provide an easy way to restore ALL original Emacs key bindings,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
67 just as they existed before the EDT emulation was first invoked.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
68
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
69 6. Support GNU Emacs 19. (Support for GNU Emacs 18 has been dropped.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
70 Also, although there is some code designed to support Xemacs 19
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
71 (formerly Lucid Emacs), this is not fully implemented at this
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
72 time.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
73
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
74 7. When running under X, support highlighting of marked text.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
75
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
76 8. Handle terminal configuration under X interactively when the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
77 emulation is invoked for the first time.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
78
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
79 9. Support a PC AT keyboard under MS-DOS.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
80
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
81 II. TERMINALS/KEYBOARDS SUPPORTED:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
82
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
83 Keyboards used under X Windows are supported via the edt-mapper function. The
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
84 first time you invoke the emulation under X, the edt-mapper function is run
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
85 automatically and the user is prompted to identify which keys the emulation is
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
86 to use for the standard keypad and function keys EDT expects (e.g., PF1, PF2,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
87 etc.). This configuration is saved to disk read each time the emulation is
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
88 invoked.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
89
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
90 In character oriented connections not running a window manager, the following
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
91 terminals/keyboards are supported. (1) DEC VT-100 series and higher. This
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
92 includes well behaved VT clones and emulators. If you are using a VT series
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
93 terminal, be sure that the term environment variable is set properly before
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
94 invoking emacs. (2) PC AT keyboard under MS-DOS.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
95
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
96 Be sure to read the SPECIAL NOTES FOR SOME PLATFORMS sections to see if those
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
97 notes apply to you.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
98
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
99
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
100 III. STARTING THE EDT EMULATION:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
101
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
102 Start up GNU Emacs and enter "M-x edt-emulation-on" to begin the emulation.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
103 After initialization is complete, the following message will appear below the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
104 status line informing you that the emulation has been enabled:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
105
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
106 Default EDT keymap active
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
107
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
108 You can have the EDT Emulation start up automatically, each time you initiate
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
109 a GNU Emacs session, by adding the following line to your .emacs file:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
110
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
111 (setq term-setup-hook 'edt-emulation-on)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
112
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
113 A reference sheet is included (later on) listing the default EDT Emulation key
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
114 bindings. This sheet is also accessible on line from within Emacs by pressing
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
115 PF2, GOLD H, or HELP (when in the EDT Default Mode).
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
116
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
117 It is easy to customize key bindings in the EDT Emulation. (See CUSTOMIZING
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
118 section, below.) Customizations are placed in a file called edt-user.el. (A
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
119 sample edt-user.el file can be found in the CUSTOMIZING section.) If
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
120 edt-user.el is found in your GNU Emacs load path during EDT Emulation
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
121 initialization, then the following message will appear below the status line
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
122 indicating that the emulation has been enabled, enhanced by your own
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
123 customizations:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
124
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
125 User EDT custom keymap active
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
126
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
127 Once enabled, it is easy to switch back and forth between your customized EDT
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
128 Emulation key bindings and the default EDT Emulation key bindings. It is also
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
129 easy to turn off the emulation. Doing so completely restores the original key
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
130 bindings in effect just prior to invoking the emulation.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
131
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
132 Where EDT key bindings and GNU Emacs key bindings conflict, the default GNU
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
133 Emacs key bindings are retained by the EDT emulation by default. If you are a
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
134 diehard EDT user you may not like this. The CUSTOMIZING section explains how
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
135 to change this default.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
136
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
137
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
138 IV. SPECIAL NOTES FOR SOME PLATFORMS:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
139
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
140 Sun Workstations running X:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
141
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
142 Some earlier Sun keyboards do not have arrow keys separate from the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
143 keypad keys. It is difficult to emulate the full EDT keypad and still
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
144 retain use of the arrow keys on such keyboards.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
145
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
146 The Sun Type 5 keyboard, however, does have separate arrow keys. This
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
147 makes it a candidate for setting up a reasonable EDT keypad emulation.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
148 Unfortunately, Sun's default X keynames for the keypad keys don't permit
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
149 GNU Emacs to interpret the keypad 2, 4, 6, and 8 keys as something other
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
150 than arrow keys, nor use all the top row of keys for PF1 thru PF4 keys.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
151 Here's the contents of an .xmodmaprc file which corrects this problem for
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
152 Sun Type 5 keyboards:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
153
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
154 ! File: .xmodmaprc
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
155 !
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
156 ! Set up Sun Type 5 keypad for use with the GNU Emacs EDT Emulation
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
157 !
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
158 keycode 53 = KP_Divide
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
159 keycode 54 = KP_Multiply
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
160 keycode 57 = KP_Decimal
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
161 keycode 75 = KP_7
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
162 keycode 76 = KP_8
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
163 keycode 77 = KP_9
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
164 keycode 78 = KP_Subtract
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
165 keycode 97 = KP_Enter
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
166 keycode 98 = KP_4
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
167 keycode 99 = KP_5
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
168 keycode 100 = KP_6
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
169 keycode 101 = KP_0
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
170 keycode 105 = F24
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
171 keycode 119 = KP_1
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
172 keycode 120 = KP_2
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
173 keycode 121 = KP_3
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
174 keycode 132 = KP_Add
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
175
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
176 Feed .xmodmaprc to the xmodmap command and all the Sun Type 5 keypad keys
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
177 will now be configurable for the emulation of an LK-201 keypad (less the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
178 comma key). The line
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
179
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
180 keycode 105 = F24
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
181
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
182 modifies the NumLock key to be the F24 key which can then be configured
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
183 to behave as the PF1 key. In doing so, you will no longer have a NumLock
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
184 key. If you are using other software under X which requires a NumLock
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
185 key, then examine your keyboard and look for one you don't use and
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
186 redefine it to be the NumLock key. (See the man page on xmodmap for for
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
187 further help on how to do this.)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
188
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
189 PC users running MS-DOS:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
190
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
191 By default, F1 is configured to emulate the PF1 (GOLD) key. But NumLock
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
192 can be used instead if you load a freeware TSR distributed with
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
193 MS-Kermit, call gold.com. It is distributed in a file called gold22.zip
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
194 and comes with the source code as well as a loadable binary image.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
195 (See edt-pc.el for more information.)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
196
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
197 PC users running Linux:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
198
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
199 The default X server configuration of three keys PC AT keyboard keys
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
200 needs to be modified to permit the PC keyboard to emulate an LK-201
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
201 keyboard properly. Here's the contents of an .xmodmaprc file which makes
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
202 these changes for your:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
203
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
204 ! File: .xmodmaprc
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
205 !
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
206 ! Set up PC keypad under Linux for the GNU Emacs EDT Emulation
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
207 !
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
208 keycode 22 = BackSpace
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
209 keycode 77 = F12
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
210 keycode 96 = Num_Lock
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
211
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
212 Feed the file to the xmodmap command and all the PC keypad keys will now
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
213 be configurable for the emulation of an LK-201 keypad (less the comma
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
214 key), the standard keyboard supplied with DEC terminals VT-200 and above.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
215 This file switches the role of the F12 and NumLock keys. It also
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
216 modifies the definition of the Delete key above the arrow keys so that it
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
217 can be assigned a keybinding independently of the the BackSpace key.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
218
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
219 NOTE: It is necessary to have NumLock ON for the PC keypad to emulate the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
220 LK-201 keypad properly.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
221
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
222
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
223 V. HOW DOES THIS EDT EMULATION DIFFER FROM REAL EDT?:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
224
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
225 In general, you will find that this emulation of EDT replicates most, but not
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
226 all, of EDT's most used Keypad Mode editing functions and behavior. It is not
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
227 perfect, but most EDT users who have tried the emulation agree that it is
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
228 quite good enough to make it easy for die-hard EDT users to move over to using
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
229 GNU Emacs.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
230
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
231 Here's a list of the most important differences between EDT and this GNU Emacs
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
232 EDT Emulation. The list is short but you must be aware of these differences
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
233 if you are to use the EDT Emulation effectively.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
234
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
235 1. Entering repeat counts works a little differently than in EDT.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
236
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
237 EDT allows users to enter a repeat count before entering a command that
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
238 accepts repeat counts. For example, when in EDT, pressing these three
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
239 keys in sequence, GOLD 5 KP1, will move the cursor in the current
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
240 direction 5 words.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
241
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
242 Emacs provides two ways to enter repeat counts, though neither involves
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
243 using the GOLD key. In Emacs, repeat counts can be entered by using the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
244 ESC key. For example, pressing these keys in sequence, ESC 1 0 KP1, will
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
245 move the cursor in the current direction 10 words.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
246
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
247 Emacs provides another command called universal-argument that can do the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
248 same thing, plus a few other things. Normally, Emacs has this bound to
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
249 C-u.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
250
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
251 2. The EDT SUBS command, bound to GOLD ENTER, is NOT supported. The built-in
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
252 Emacs query-replace command has been bound to GOLD ENTER, instead. It is
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
253 much more convenient to use than SUBS.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
254
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
255 3. EDT's line mode commands and nokeypad mode commands are NOT supported
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
256 (with one important exception; see item 8 in the Highlights section
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
257 below). Although, at first, this may seem like a big omission, the set of
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
258 built-in Emacs commands provides a much richer set of capabilities which
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
259 more than make up for this omission.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
260
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
261 To enter Emacs commands not bound to keys, you can press GOLD KP7 or the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
262 DO key. Emacs will display it's own command prompt called Meta-x (M-x).
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
263 You can also invoke this prompt the normal Emacs way by entering ESC x.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
264
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
265 4. Selected text is highlighted ONLY when running under X Windows. Gnu Emacs
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
266 19 does not support highlighting of text on VT series terminals, at this
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
267 time.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
268
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
269 5. Just like TPU/EVE, The ENTER key is NOT used to terminate input when the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
270 editor prompts you for input. The RETURN key is used, instead. (KP4 and
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
271 KP5 do terminate input for the FIND command, just like in EDT, however.)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
272
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
273
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
274
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
275
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
276 VI. SOME HIGHLIGHTS IN THIS EDT EMULATION, AND SOME COMPARISONS TO THE
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
277 ORIGINAL GNU EMACS EDT EMULATION:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
278
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
279 1. The EDT define key command is supported (edt-define-key) and is bound to
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
280 C-k in the default EDT mode when EDT control sequence bindings are enabled
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
281 or one of the sample edt-user.el customization files is used. The TPU/EVE
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
282 learn command is supported but not bound to a key in the default EDT mode
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
283 but is bound in the sample edt-user.el files.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
284
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
285 Unlike the TPU/EVE learn command, which uses one key to begin the learn
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
286 sequence, C-l, and another command to remember the sequence, C-r, this
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
287 version of the learn command (edt-learn) serves as a toggle to both begin
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
288 and to remember the learn sequence.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
289
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
290 Many users who change the meaning of a key with the define key and the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
291 learn commands, would like to be able to restore the original key binding
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
292 without having to quit and restart emacs. So a restore key command is
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
293 provided to do just that. When invoked, it prompts you to press the key
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
294 to which you wish the last replaced key definition restored. It is bound
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
295 to GOLD C-k in the default EDT mode when EDT control sequence bindings are
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
296 enabled or one of the sample edt-user.el customization files is used.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
297
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
298 2. Direction support is fully supported. It is no longer accomplished by
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
299 re-defining keys each time the direction is changed. Thus, commands
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
300 sensitive to the current direction setting may be bound easily to any key.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
301
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
302 3. All original emacs bindings are fully restored when EDT emulation is
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
303 turned off.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
304
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
305 4. User custom EDT bindings are kept separate from the default EDT bindings.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
306 One can toggle back and forth between the custom EDT bindings and default
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
307 EDT bindings.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
308
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
309 5. The Emacs functions in edt.el attempt to emulate, where practical, the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
310 exact behavior of the corresponding EDT keypad mode commands. In a few
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
311 cases, the emulation is not exact, but we hope you will agree it is close
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
312 enough. In a very few cases, we chose to use the Emacs way of handling
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
313 things. As mentioned earlier, we do not emulate the EDT SUBS command.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
314 Instead, we chose to use the Emacs query-replace function, which we find
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
315 to be easier to use.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
316
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
317 6. Emacs uses the regexp assigned to page-delimiter to determine what marks a
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
318 page break. This is normally "^\f", which causes the edt-page command to
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
319 ignore form feeds not located at the beginning of a line. To emulate the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
320 EDT PAGE command exactly, page-delimiter is set to "\f" when EDT emulation
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
321 is turned on, and restored to "^\f" when EDT emulation is turned off.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
322 But, since some users prefer the Emacs definition of a page break, or may
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
323 wish to preserve a customized definition of page break, one can override
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
324 the EDT definition by placing
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
325
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
326 (setq edt-keep-current-page-delimiter t)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
327
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
328 in your .emacs file.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
329
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
330 7. The EDT definition of a section of a terminal window is hardwired to be 16
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
331 lines of its one-and-only 24-line window (the EDT SECT command bound to
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
332 KP8). That's two-thirds of the window at a time. Since Emacs, like
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
333 TPU/EVE, can handle multiple windows of sizes of other than 24 lines, the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
334 definition of section used here has been modified to two-thirds of the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
335 current window. (There is also an edt-scroll-window function which you
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
336 may prefer over the SECT emulation.)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
337
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
338 8. Cursor movement and deletion involving word entities is identical to EDT.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
339 This, above all else, gives the die-hard EDT user a sense of being at
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
340 home. Also, an emulation of EDT's SET ENTITY WORD command is provided,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
341 for those users who like to customize movement by a word at a time to
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
342 their own liking.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
343
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
344 9. EDT's FIND and FNDNXT are supported.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
345
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
346 10. EDT's APPEND and REPLACE commands are supported.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
347
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
348 11. CHNGCASE is supported. It works on individual characters or selected
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
349 text, if SELECT is active. In addition, two new commands are provided:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
350 edt-lowercase and edt-uppercase. They work on individual WORDS or
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
351 selected text, if SELECT is active.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
352
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
353 12. Form feed and tab insert commands are supported.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
354
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
355 13. A new command, edt-duplicate-word, is provided. If you experiment with
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
356 it, you might find it to be surprisingly useful and may wonder how you
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
357 ever got along without it! It is assigned to C-j in the sample
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
358 edt-user.el customization files.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
359
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
360 14. TPU/EVE's Rectangular Cut and Paste functions (originally from the EVE-Plus
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
361 package) are supported. But unlike the TPU/EVE versions, these here
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
362 support both insert and overwrite modes. The seven rectangular functions
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
363 are bound to F7, F8, GOLD-F8, F9, GOLD-F9, F10, and GOLD-F10 in the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
364 default EDT mode.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
365
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
366 15. The original EDT emulation package set up many default regular and GOLD
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
367 bindings. We tried to preserve most (but not all!) of these, so users of
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
368 the original emulation package will feel more at home.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
369
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
370 Nevertheless, there are still many GOLD key sequences which are not bound
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
371 to any functions. These are prime candidates to use for your own
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
372 customizations.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
373
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
374 Also, there are several commands in edt.el not bound to any key. So, you
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
375 will find it worthwhile to look through edt.el for functions you may wish
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
376 to add to your personal customized bindings.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
377
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
378 16. The VT200/VT300 series terminals steal the function keys F1 to F5 for
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
379 their own use. These do not generate signals which are sent to the host.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
380 So, edt.el does not assign any default bindings to F1 through F5.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
381
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
382 In addition, our VT220 terminals generate an interrupt when the F6 key is
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
383 pressed (^C or ^Y, can't remember which) and not the character sequence
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
384 documented in the manual. So, binding emacs commands to F6 will not work
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
385 if your terminal behaves the same way.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
386
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
387 17. The VT220 terminal has no ESC, BS, nor LF keys, as does a VT100. So the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
388 default EDT bindings adopt the standard DEC convention of having the F11,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
389 F12, and F13 keys, on a VT200 series (and above) terminal, assigned to the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
390 same EDT functions that are bound to ESC, BS, and LF on a VT100 terminal.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
391
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
392 18. Each user, through the use of a private edt-user.el file, can customize,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
393 very easily, personal EDT emulation bindings.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
394
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
395 19. The EDT SELECT and RESET functions are supported. However, unlike EDT,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
396 pressing RESET to cancel text selection does NOT reset the existing
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
397 setting of the current direction.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
398
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
399 We also provide a TPU/EVE like version of the single SELECT/RESET
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
400 function, called edt-toggle-select, which makes the EDT SELECT function
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
401 into a toggle on/off switch. That is, if selection is ON, pressing SELECT
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
402 again turns selection off (cancels selection). This function is used in
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
403 the sample edt-user.el customization files.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
404
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
405
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
406 VII. CUSTOMIZING:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
407
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
408 Most EDT users, at one time or another, make some custom key bindings, or
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
409 use someone else's custom key bindings, which they come to depend upon just as
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
410 if they were built-in bindings. This EDT Emulation for GNU Emacs is designed
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
411 to make it easy to customize bindings.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
412
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
413 If you wish to customize the EDT Emulation to use some of your own key
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
414 bindings, you need to make a private version of edt-user.el in your own
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
415 private lisp directory. There are two sample files edt-user.el1 and
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
416 edt-user.el2 for you to use as templates and for ideas. Look at
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
417 edt-user.el1 first. Unless you will be using two or more very different
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
418 types of terminals on the same system, you need not look at edt-user.el2.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
419
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
420 First, you need to have your own private lisp directory, say ~/lisp, and
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
421 you should add it to the GNU Emacs load path.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
422
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
423 NOTE: A few sites have different load-path requirements, so the above
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
424 directions may need some modification if your site has such special
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
425 needs.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
426
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
427
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
428 Creating your own edt-user.el file:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
429
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
430 A sample edt-user.el file is attached to the end of this user documentation.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
431 You should use it as a guide to learn how you can customize EDT emulation
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
432 bindings to your own liking. Names used to identify the set of LK-201
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
433 keypad and function keys are:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
434
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
435 Keypad Keys:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
436 PF1 PF2 PF3 PF4
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
437 KP7 KP8 KP9 KP-
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
438 KP4 KP5 KP6 KP,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
439 KP1 KP2 KP3
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
440 KP0 KPP KPE
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
441
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
442 Arrow Keys:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
443 LEFT RIGHT DOWN UP
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
444
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
445 Function Keys:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
446 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
447 HELP DO F17 F18 F19 F20
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
448
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
449 FIND INSERT REMOVE
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
450 SELECT PREVIOUS NEXT
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
451
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
452 Note:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
453 Many VT-200 terminals, and above, steal function keys F1 thru
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
454 F5 for terminal setup control and don't send anything to the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
455 host if pressed. So customizing bindings to these keys may
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
456 not work for you.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
457
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
458 There are three basic functions that do the EDT emulation bindings:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
459 edt-bind-standard-key, edt-bind-gold-key, and edt-bind-function-key.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
460
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
461 The first two are for binding functions to keys which are standard across most
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
462 keyboards. This makes them keyboard independent, making it possible to define
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
463 these key bindings for all terminals in the file edt.el.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
464
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
465 The first, edt-bind-standard-key, is used typically to bind emacs commands to
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
466 control keys, although some people use it to bind commands to other keys, as
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
467 well. (For example, some people use it to bind the VT200 seldom used
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
468 back-tick key (`) to the function "ESC-prefix" so it will behave like an ESC
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
469 key.) The second function, edt-bind-gold-key, is used to bind emacs commands
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
470 to gold key sequences involving alpha-numeric keys, special character keys,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
471 and control keys.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
472
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
473 The third function, edt-bind-function-key, is terminal dependent and is
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
474 defined in a terminal specific file (see edt-vt100.el for example). It is
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
475 used to bind emacs commands to function keys, to keypad keys, and to gold
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
476 sequences of those keys.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
477
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
478 WARNING: Each of the three functions, edt-bind-function-key,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
479 edt-bind-gold-key, and edt-bind-standard-key, has an optional
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
480 last argument. The optional argument should NOT be used in
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
481 edt-user.el! When the optional argument is missing, each
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
482 function knows to make the key binding part of the user's EDT
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
483 custom bindings, which is what you want to do in edt-user.el!
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
484
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
485 The EDT default bindings are set up in edt.el by calling these
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
486 same functions with the optional last argument set to "t". So, if
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
487 you decide to copy such function calls from edt.el to edt-user.el
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
488 for subsequent modification, BE SURE TO DELETE THE "t" AT THE END
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
489 OF EACH PARAMETER LIST!
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
490
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
491
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
492 SPECIFYING WORD ENTITIES:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
493
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
494 The variable edt-word-entities is used to emulate EDT's SET ENTITY WORD
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
495 command. It contains a list of characters to be treated as words in
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
496 themselves. If the user does not define edt-word-entities in his/her .emacs
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
497 file, then it is set up with the EDT default containing only TAB.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
498
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
499 The characters are stored in the list by their numerical values, not as
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
500 strings. Emacs supports several ways to specify the numerical value of a
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
501 character. One method is to use the question mark: ?A means the numerical
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
502 value for A, ?/ means the numerical value for /, and so on. Several
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
503 unprintable characters have special representations:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
504
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
505 ?\b specifies BS, C-h
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
506 ?\t specifies TAB, C-i
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
507 ?\n specifies LFD, C-j
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
508 ?\v specifies VTAB, C-k
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
509 ?\f specifies FF, C-l
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
510 ?\r specifies CR, C-m
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
511 ?\e specifies ESC, C-[
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
512 ?\\ specifies \
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
513
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
514 Here are some examples:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
515
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
516 (setq edt-word-entities '(?\t ?- ?/)) ;; Specifies TAB, - , and /
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
517 (setq edt-word-entities '(?\t) ;; Specifies TAB, the default
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
518
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
519 You can also specify characters by their decimal ascii values:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
520
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
521 (setq edt-word-entities '(9 45 47)) ;; Specifies TAB, - , and /
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
522
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
523
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
524 ENABLING EDT CONTROL KEY SEQUENCE BINDINGS:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
525
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
526 Where EDT key bindings and GNU Emacs key bindings conflict, the default GNU
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
527 Emacs key bindings are retained by default. Some diehard EDT users may not
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
528 like this. So, if the variable edt-use-EDT-control-key-bindings is set to
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
529 true in a user's .emacs file, then the default EDT Emulation mode will enable
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
530 most of the original EDT control key sequence bindings. If you wish to do
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
531 this, add the following line to your .emacs file:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
532
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
533 (setq edt-use-EDT-control-key-bindings t)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
534
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
535
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
536 DEFAULT EDT Keypad
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
537
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
538 F7: Copy Rectangle +----------+----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
539 F8: Cut Rect Overstrike |Prev Line |Next Line |Bkwd Char |Frwd Char |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
540 G-F8: Paste Rect Overstrike | (UP) | (DOWN) | (LEFT) | (RIGHT) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
541 F9: Cut Rect Insert |Window Top|Window Bot|Bkwd Sent |Frwd Sent |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
542 G-F9: Paste Rect Insert +----------+----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
543 F10: Cut Rectangle
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
544 G-F10: Paste Rectangle
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
545 F11: ESC
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
546 F12: Begining of Line +----------+----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
547 G-F12: Delete Other Windows | GOLD | HELP | FNDNXT | DEL L |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
548 F13: Delete to Begin of Word | (PF1) | (PF2) | (PF3) | (PF4) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
549 HELP: Keypad Help |Mark Wisel|Desc Funct| FIND | UND L |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
550 DO: Execute extended command +----------+----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
551 | PAGE | SECT | APPEND | DEL W |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
552 C-g: Keyboard Quit | (7) | (8) | (9) | (-) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
553 G-C-g: Keyboard Quit |Ex Ext Cmd|Fill Regio| REPLACE | UND W |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
554 C-h: Beginning of Line +----------+----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
555 G-C-h: Emacs Help | ADVANCE | BACKUP | CUT | DEL C |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
556 C-i: Tab Insert | (4) | (5) | (6) | (,) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
557 C-j: Delete to Begin of Word | BOTTOM | TOP | Yank | UND C |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
558 C-k: Define Key +----------+----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
559 G-C-k: Restore Key | WORD | EOL | CHAR | Next |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
560 C-l: Form Feed Insert | (1) | (2) | (3) | Window |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
561 C-n: Set Screen Width 80 | CHNGCASE | DEL EOL |Quoted Ins| !
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
562 C-r: Isearch Backward +---------------------+----------+ (ENTER) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
563 C-s: Isearch Forward | LINE | SELECT | !
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
564 C-t: Display the Time | (0) | (.) | Query |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
565 C-u: Delete to Begin of Line | Open Line | RESET | Replace |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
566 C-v: Redraw Display +---------------------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
567 C-w: Set Screen Width 132
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
568 C-z: Suspend Emacs +----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
569 G-C-\: Split Window | FNDNXT | Yank | CUT |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
570 | (FIND) | (INSERT) | (REMOVE) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
571 G-b: Buffer Menu | FIND | | COPY |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
572 G-c: Compile +----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
573 G-d: Delete Window |SELECT/RES|SECT BACKW|SECT FORWA|
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
574 G-e: Exit | (SELECT) |(PREVIOUS)| (NEXT) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
575 G-f: Find File | | | |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
576 G-g: Find File Other Window +----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
577 G-h: Keypad Help
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
578 G-i: Insert File
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
579 G-k: Toggle Capitalization Word
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
580 G-l: Lowercase Word or Region
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
581 G-m: Save Some Buffers
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
582 G-n: Next Error
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
583 G-o: Switch to Next Window
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
584 G-q: Quit
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
585 G-r: Revert File
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
586 G-s: Save Buffer
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
587 G-u: Uppercase Word or Region
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
588 G-v: Find File Other Window
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
589 G-w: Write file
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
590 G-y: EDT Emulation OFF
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
591 G-z: Switch to User EDT Key Bindings
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
592 G-1: Delete Other Windows
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
593 G-2: Split Window
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
594 G-%: Go to Percentage
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
595 G- : Undo (GOLD Spacebar)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
596 G-=: Go to Line
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
597 G-`: What line
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
598
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
599 ;;; File: edt-user.el --- Sample User Customizations for the Enhanced
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
600 ;;; EDT Keypad Mode Emulation
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
601 ;;;
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
602 ;;; For GNU Emacs 19
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
603 ;;;
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
604 ;; Copyright (C) 1986, 1992, 1993 Free Software Foundation, Inc.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
605
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
606 ;; Author: Kevin Gallagher <kgallagh@spd.dsccc.com>
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
607 ;; Maintainer: Kevin Gallagher <kgallagh@spd.dsccc.com>
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
608 ;; Keywords: emulations
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
609
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
610 ;; GNU Emacs is free software; you can redistribute it and/or modify
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
611 ;; it under the terms of the GNU General Public License as published by
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
612 ;; the Free Software Foundation; either version 2, or (at your option)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
613 ;; any later version.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
614
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
615 ;; GNU Emacs is distributed in the hope that it will be useful,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
616 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
617 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
618 ;; GNU General Public License for more details.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
619
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
620 ;; You should have received a copy of the GNU General Public License
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
621 ;; along with GNU Emacs; see the file COPYING. If not, write to the
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
622 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
623 ;; Boston, MA 02111-1307, USA.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
624
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
625 ;;; Commentary:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
626
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
627 ;; This file contains GNU Emacs User Custom EDT bindings and functions. In
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
628 ;; this example file, there is no special test for the type of terminal being
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
629 ;; used. The assumption is that all key bindings here apply to all terminals
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
630 ;; that may be used. (In fact, it was written by an individual who uses only
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
631 ;; VT series terminals when logging into a VAX.)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
632 ;;
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
633 ;; WARNING: Each of the three functions, edt-bind-function-key,
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
634 ;; edt-bind-gold-key, and edt-bind-standard-key, has an optional
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
635 ;; last argument. The optional argument should NOT be used in
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
636 ;; edt-user.el! When the optional argument is missing, each
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
637 ;; function knows to make the key binding part of the user's EDT
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
638 ;; custom bindings, which is what you want to do in edt-user.el!
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
639 ;;
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
640 ;; The EDT default bindings are set up in edt.el by calling these
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
641 ;; same functions with the optional last argument set to "t". So, if
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
642 ;; you decide to copy such function calls from edt.el to edt-user.el
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
643 ;; for subsequent modification, BE SURE TO DELETE THE "t" AT THE END
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
644 ;; OF EACH PARAMETER LIST!
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
645 ;;
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
646
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
647 ;;; Usage:
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
648
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
649 ;; See edt-user.doc in the emacs etc directory.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
650
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
651 ;; ====================================================================
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
652
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
653 ;;;;
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
654 ;;;; Setup user custom EDT key bindings.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
655 ;;;;
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
656
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
657 (defun edt-setup-user-bindings ()
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
658 "Assigns user custom EDT Emulation keyboard bindings."
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
659
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
660 ;; PF1 (GOLD), PF2, PF3, PF4
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
661 ;;
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
662 ;; This file MUST contain a binding of PF1 to edt-user-gold-map. So
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
663 ;; DON'T CHANGE OR DELETE THE REGULAR KEY BINDING OF PF1 BELOW!
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
664 ;; (However, you may change the GOLD-PF1 binding, if you wish.)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
665 (edt-bind-function-key "PF1" 'edt-user-gold-map 'edt-mark-section-wisely)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
666 (edt-bind-function-key "PF2" 'query-replace 'other-window)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
667 (edt-bind-function-key "PF4" 'edt-delete-entire-line 'edt-undelete-line)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
668
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
669 ;; EDT Keypad Keys
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
670 (edt-bind-function-key "KP1" 'edt-word-forward 'edt-change-case)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
671 (edt-bind-function-key "KP3" 'edt-word-backward 'edt-copy)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
672 (edt-bind-function-key "KP6" 'edt-cut-or-copy 'yank)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
673 (edt-bind-function-key "KP8" 'edt-scroll-window 'fill-paragraph)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
674 (edt-bind-function-key "KP9" 'open-line 'edt-eliminate-all-tabs)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
675 (edt-bind-function-key "KPP"
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
676 'edt-toggle-select 'edt-line-to-middle-of-window)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
677 (edt-bind-function-key "KPE" 'edt-change-direction 'overwrite-mode)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
678
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
679 ;; GOLD bindings for regular keys.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
680 (edt-bind-gold-key "a" 'edt-append)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
681 (edt-bind-gold-key "A" 'edt-append)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
682 (edt-bind-gold-key "h" 'edt-electric-user-keypad-help)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
683 (edt-bind-gold-key "H" 'edt-electric-user-keypad-help)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
684
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
685 ;; Control bindings for regular keys.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
686 ;;; Leave binding of C-c as original prefix key.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
687 (edt-bind-standard-key "\C-j" 'edt-duplicate-word)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
688 (edt-bind-standard-key "\C-k" 'edt-define-key)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
689 (edt-bind-gold-key "\C-k" 'edt-restore-key)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
690 (edt-bind-standard-key "\C-l" 'edt-learn)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
691 ;;; Leave binding of C-m to newline.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
692 (edt-bind-standard-key "\C-n" 'edt-set-screen-width-80)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
693 (edt-bind-standard-key "\C-o" 'open-line)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
694 (edt-bind-standard-key "\C-p" 'fill-paragraph)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
695 ;;; Leave binding of C-r to isearch-backward.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
696 ;;; Leave binding of C-s to isearch-forward.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
697 (edt-bind-standard-key "\C-t" 'edt-display-the-time)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
698 (edt-bind-standard-key "\C-v" 'redraw-display)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
699 (edt-bind-standard-key "\C-w" 'edt-set-screen-width-132)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
700 ;;; Leave binding of C-x as original prefix key.
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
701 )
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
702
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
703 ;;;
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
704 ;;; LK-201 KEYBOARD USER EDT KEYPAD HELP
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
705 ;;;
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
706
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
707 (defun edt-user-keypad-help ()
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
708 "
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
709 USER EDT Keypad Active
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
710
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
711 +----------+----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
712 F7: Copy Rectangle |Prev Line |Next Line |Bkwd Char |Frwd Char |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
713 F8: Cut Rect Overstrike | (UP) | (DOWN) | (LEFT) | (RIGHT) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
714 G-F8: Paste Rect Overstrike |Window Top|Window Bot|Bkwd Sent |Frwd Sent |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
715 F9: Cut Rect Insert +----------+----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
716 G-F9: Paste Rect Insert
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
717 F10: Cut Rectangle
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
718 G-F10: Paste Rectangle
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
719 F11: ESC +----------+----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
720 F12: Begining of Line | GOLD |Query Repl| FNDNXT |Del Ent L |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
721 G-F12: Delete Other Windows | (PF1) | (PF2) | (PF3) | (PF4) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
722 F13: Delete to Begin of Word |Mark Wisel|Other Wind| FIND | UND L |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
723 HELP: Keypad Help +----------+----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
724 DO: Execute extended command | PAGE |Scroll Win|Open Line | DEL W |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
725 | (7) | (8) | (9) | (-) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
726 C-a: Beginning of Line |Ex Ext Cmd|Fill Parag|Elim Tabs | UND W |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
727 C-b: Switch to Buffer +----------+----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
728 C-d: Delete Character | ADVANCE | BACKUP | CUT/COPY | DEL C |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
729 C-e: End of Line | (4) | (5) | (6) | (,) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
730 C-f: Forward Character | BOTTOM | TOP | Yank | UND C |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
731 C-g: Keyboard Quit +----------+----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
732 G-C-g: Keyboard Quit | Fwd Word | EOL | Bwd Word | Change |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
733 C-h: Electric Emacs Help | (1) | (2) | (3) | Direction|
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
734 G-C-h: Emacs Help | CHNGCASE | DEL EOL | COPY | |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
735 C-i: Indent for Tab +---------------------+----------+ (ENTER) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
736 C-j: Duplicate Word | LINE |SELECT/RES| |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
737 C-k: Define Key | (0) | (.) | Toggle |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
738 G-C-k: Restore Key | Open Line |Center Lin|Insrt/Over|
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
739 C-l: Learn +---------------------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
740 C-n: Set Screen Width 80
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
741 C-o: Open Line +----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
742 C-p: Fill Paragraph | FNDNXT | Yank | CUT |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
743 C-q: Quoted Insert | (FIND)) | (INSERT) | (REMOVE) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
744 C-r: Isearch Backward | FIND | | COPY |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
745 C-s: Isearch Forward +----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
746 C-t: Display the Time |SELECT/RES|SECT BACKW|SECT FORWA|
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
747 C-u: Universal Argument | (SELECT) |(PREVIOUS)| (NEXT) |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
748 C-v: Redraw Display | | | |
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
749 C-w: Set Screen Width 132 +----------+----------+----------+
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
750 C-z: Suspend Emacs
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
751 G-C-\\: Split Window
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
752
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
753 G-a: Append to Kill Buffer
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
754 G-b: Buffer Menu
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
755 G-c: Compile
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
756 G-d: Delete Window
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
757 G-e: Exit
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
758 G-f: Find File
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
759 G-g: Find File Other Window
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
760 G-h: Keypad Help
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
761 G-i: Insert File
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
762 G-k: Toggle Capitalization Word
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
763 G-l: Lowercase Word or Region
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
764 G-m: Save Some Buffers
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
765 G-n: Next Error
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
766 G-o: Switch Windows
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
767 G-q: Quit
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
768 G-r: Revert File
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
769 G-s: Save Buffer
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
770 G-u: Uppercase Word or Region
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
771 G-v: Find File Other Window
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
772 G-w: Write file
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
773 G-y: EDT Emulation OFF
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
774 G-z: Switch to Default EDT Key Bindings
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
775 G-2: Split Window
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
776 G-%: Go to Percentage
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
777 G- : Undo (GOLD Spacebar)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
778 G-=: Go to Line
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
779 G-`: What line"
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
780
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
781 (interactive)
b9518feda344 Import from CVS: tag r20-0b31
cvs
parents:
diff changeset
782 (describe-function 'edt-user-keypad-help))