File: edt.el.html

This is Version 4.0 of the EDT Emulation for Emacs. It comes with special functions which replicate nearly all of EDT's keypad mode behavior. It sets up default keypad and function key bindings which closely match those found in EDT. Support is provided so that users may reconfigure most keypad and function key bindings to their own liking.

NOTE: Version 4.0 contains several enhancements. See the Enhancement section below for the details.

Getting Started:

To start the EDT Emulation, first start Emacs and then enter

   M-x edt-emulation-on

to begin the emulation. After initialization is complete, the following message will appear below the status line informing you that the emulation has been enabled: "Default EDT keymap active".

You can have the EDT Emulation start up automatically, each time you initiate a GNU Emacs session, by adding the following line to your init file:

   (add-hook 'emacs-startup-hook 'edt-emulation-on)

IMPORTANT: Be sure to read the Info node (emacs)edt for more details. It contains very helpful user information.

The EDT emulation consists of the following files:

edt.texi - User manual
edt-user.el - Sample Customization File (located in Emacs
                     distribution etc directory)
edt.el - EDT Emulation Functions and Default Configuration
edt-lk201.el - Built-in support for DEC LK-201 Keyboards
edt-vt100.el - Built-in support for DEC VT-100 (and above) terminals
edt-pc.el - Built-in support for PC 101 Keyboards under MS-DOS
edt-mapper.el - Create an EDT LK-201 Map File for Keyboards Without
                     Built-in Support

Enhancements:

Version 4.0 contains the following enhancements:

 1. Scroll margins at the top and bottom of the window are now
     supported. (The design was copied from tpu-extras.el.) By
     default, this feature is enabled, with the top margin set to
     10% of the window and the bottom margin set to 15% of the
     window. To change these settings, you can invoke the function
     edt-set-scroll-margins in your init file. For example, the
     following line

          (edt-set-scroll-margins "20%" "25%")

     sets the top margin to 20% of the window and the bottom margin
     to 25% of the window. To disable this feature, set each
     margin to 0%. You can also invoke edt-set-scroll-margins
     interactively while EDT Emulation is active to change the
     settings for that session.

     NOTE: Another way to set the scroll margins is to use the
     Emacs customization feature to set the following two variables
     directly:

          edt-top-scroll-margin and edt-bottom-scroll-margin

     Enter the Emacs customize command. First select the Editing
     group and then select the Emulations group. Finally, select
     the Edt group and follow the directions.

 2. The SUBS command is now supported and bound to GOLD-Enter by
     default. (This design was copied from tpu-edt.el.) Note, in
     earlier versions of EDT Emulation, GOLD-Enter was assigned to
     the Emacs function query-replace. The binding of
     query-replace has been moved to GOLD-/. If you prefer to
     restore query-replace to GOLD-Enter, then use an EDT user
     customization file, edt-user.el, to do this.
     See Info node (emacs)edt for more details.

 3. If you access a workstation using an X Server, observe that
     the initialization file generated by edt-mapper.el will now
     contain the name of the X Server vendor. This is a
     convenience for those who have access to their Unix account
     from more than one type of X Server. Since different X
     Servers typically require different EDT emulation
     initialization files, edt-mapper.el will now generate these
     different initialization files and save them with different
     names. Then, the correct initialization file for the
     particular X server in use is loaded correctly automatically.

 4. Also, edt-mapper.el is now capable of binding an ASCII key
     sequence, providing the ASCII key sequence prefix is already
     known by Emacs to be a prefix. As a result of providing this
     support, some terminal/keyboard/window system configurations,
     which don't have a complete set of sensible function key
     bindings built into Emacs in function-key-map, can still be
     configured for use with EDT Emulation. (Note: In a few rare
     circumstances this does not work properly. In particular, it
     does not work if a subset of the leading ASCII characters in a
     key sequence are recognized by Emacs as having an existing
     binding. For example, if the keypad 7 (KP-7) key generates
     the sequence \"<ESC>Ow\\" and \"<ESC>O\\" is already bound to a
     function, pressing KP-7 when told to do so by edt-mapper.el
     will result in edt-mapper.el incorrectly mapping \"<ESC>O\\" to
     KP-7 and \"w\\" to KP-8. If something like this happens to
     you, it is probably a bug in the support for your keyboard
     within Emacs OR a bug in the Unix termcap/terminfo support for
     your terminal OR a bug in the terminal emulation software you
     are using.)

 5. The edt-quit function (bound to GOLD-q by default) has been
     modified to warn the user when file-related buffer
     modifications exist. It now cautions the user that those
     modifications will be lost if the user quits without saving
     those buffers.

Defined variables (24)

edt-backward-stringDirection string in mode line to indicate backward movement.
edt-bottom-scroll-marginScroll margin at the bottom of the screen.
edt-default-map-activeNon-nil indicates that default EDT emulation key bindings are active.
edt-direction-stringString indicating current direction of movement.
edt-find-last-textLast text found by the EDT emulation FIND command.
edt-forward-stringDirection string in mode line to indicate forward movement.
edt-keep-current-page-delimiterEmacs MUST be restarted for a change in value to take effect!
edt-keys-fileUser’s custom keypad and function keys mappings to emulate LK-201 keyboard.
edt-last-answerMost recent response to ‘edt-y-or-n-p’.
edt-last-copied-wordLast word that the user copied.
edt-last-deleted-charsLast text deleted by the EDT emulation DEL C command.
edt-last-deleted-linesLast text deleted by the EDT emulation DEL L command.
edt-last-deleted-wordsLast text deleted by the EDT emulation DEL W command.
edt-last-replaced-key-definitionKey definition replaced with ‘edt-define-key’ or ‘edt-learn’ command.
edt-match-beginning-markUsed internally by the EDT emulation SUBS command.
edt-match-end-markUsed internally by the EDT emulation SUBS command.
edt-select-modeNon-nil means select mode is active.
edt-select-mode-currentText displayed in mode line to indicate the state of EDT select mode.
edt-select-mode-stringUsed in mode line to indicate select mode is active.
edt-top-scroll-marginScroll margin at the top of the screen.
edt-use-EDT-control-key-bindingsEmacs MUST be restarted for a change in value to take effect!
edt-user-map-configuredNon-nil indicates that user custom EDT key bindings are configured.
edt-versionEDT Emulation version number.
edt-word-entitiesSpecifies the list of EDT word entity characters.

Defined functions (135)

edt-advance()
edt-append()
edt-backup()
edt-beginning-of-line(NUM)
edt-bind-function-key(FUNCTION-KEY BINDING GOLD-BINDING)
edt-bind-function-key-default(FUNCTION-KEY BINDING GOLD-BINDING)
edt-bind-gold-key(KEY GOLD-BINDING)
edt-bind-gold-key-default(KEY GOLD-BINDING)
edt-bind-key(KEY BINDING)
edt-bind-key-default(KEY BINDING)
edt-bind-standard-key(KEY BINDING)
edt-bottom()
edt-bottom-check(BEG LINES)
edt-change-case(NUM)
edt-change-direction()
edt-character(NUM)
edt-check-match()
edt-check-prefix(NUM)
edt-check-selection()
edt-copy()
edt-copy-rectangle()
edt-current-line()
edt-cut()
edt-cut-or-copy()
edt-cut-rectangle()
edt-cut-rectangle-insert-mode()
edt-cut-rectangle-overstrike-mode()
edt-default-emulation-setup(&optional USER-SETUP)
edt-define-key()
edt-delete-character(NUM)
edt-delete-entire-line()
edt-delete-line(NUM)
edt-delete-previous-character(NUM)
edt-delete-to-beginning-of-line(NUM)
edt-delete-to-beginning-of-word(NUM)
edt-delete-to-end-of-line(NUM)
edt-delete-word(NUM)
edt-display-the-time()
edt-duplicate-line(NUM)
edt-duplicate-word()
edt-electric-helpify(FUN)
edt-electric-keypad-help()
edt-electric-user-keypad-help()
edt-eliminate-all-tabs()
edt-emulation-off()
edt-emulation-on()
edt-end-of-line(NUM)
edt-end-of-line-backward(NUM)
edt-end-of-line-forward(NUM)
edt-exit()
edt-fill-region()
edt-find()
edt-find-backward(&optional FIND)
edt-find-forward(&optional FIND)
edt-find-next()
edt-find-next-backward()
edt-find-next-forward()
edt-form-feed-insert(NUM)
edt-goto-percentage(NUM)
edt-indent-or-fill-region()
edt-key-not-assigned()
edt-keypad-help()
edt-learn()
edt-line(NUM)
edt-line-backward(NUM)
edt-line-forward(NUM)
edt-line-to-bottom-of-window()
edt-line-to-middle-of-window()
edt-line-to-top-of-window()
edt-load-keys(FILE)
edt-lowercase()
edt-mark-section-wisely()
edt-match-beginning()
edt-match-end()
edt-next-line(NUM)
edt-one-word-backward()
edt-one-word-forward()
edt-page(NUM)
edt-page-backward(NUM)
edt-page-forward(NUM)
edt-paragraph(NUM)
edt-paragraph-backward(NUM)
edt-paragraph-forward(NUM)
edt-paste-rectangle()
edt-paste-rectangle-insert-mode()
edt-paste-rectangle-overstrike-mode()
edt-previous-line(NUM)
edt-quit()
edt-remember()
edt-replace()
edt-reset()
edt-restore-key()
edt-scroll-line()
edt-scroll-window(NUM)
edt-scroll-window-backward(NUM)
edt-scroll-window-backward-line()
edt-scroll-window-forward(NUM)
edt-scroll-window-forward-line()
edt-sect(NUM)
edt-sect-backward(NUM)
edt-sect-forward(NUM)
edt-select()
edt-select-default-global-map()
edt-select-mode(ARG)
edt-select-user-global-map()
edt-sentence(NUM)
edt-sentence-backward(NUM)
edt-sentence-forward(NUM)
edt-set-match()
edt-set-screen-width-132()
edt-set-screen-width-80()
edt-set-scroll-margins(TOP BOTTOM)
edt-setup-default-bindings()
edt-show-match-markers()
edt-split-window()
edt-substitute(NUM)
edt-switch-global-maps()
edt-tab-insert(NUM)
edt-toggle-capitalization-of-word()
edt-toggle-select()
edt-top()
edt-top-check(BEG LINES)
edt-undelete-character()
edt-undelete-line()
edt-undelete-word()
edt-unset-match()
edt-uppercase()
edt-user-emulation-setup()
edt-window-bottom()
edt-window-top()
edt-with-position(&rest BODY)
edt-word(NUM)
edt-word-backward(NUM)
edt-word-forward(NUM)
edt-y-or-n-p(PROMPT &optional NOT-YES)

Defined faces (0)