Function: enable-arrow-keys

enable-arrow-keys is an interactive and byte-compiled function defined in wyse50.el.gz.

Signature

(enable-arrow-keys)

Documentation

To be called by tty-setup-hook. Overrides 6 Emacs standard keys whose functions are then typed as follows:
C-a Funct Left-arrow
C-h M-?
LFD Funct Return, some modes override down-arrow via LFD
C-k CLR Line
C-l Scrn CLR
M-r M-x move-to-window-line, Funct up-arrow or down-arrow are similar

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/term/wyse50.el.gz
(defun enable-arrow-keys ()
  "To be called by `tty-setup-hook'.  Overrides 6 Emacs standard keys
whose functions are then typed as follows:
C-a	Funct Left-arrow
C-h	M-?
LFD	Funct Return, some modes override down-arrow via LFD
C-k	CLR Line
C-l	Scrn CLR
M-r	M-x move-to-window-line, Funct up-arrow or down-arrow are similar"
  (interactive)
  ;; Not needed any more now that we use input-decode-map.
  ;; (dolist (key-definition
  ;;         ;; By unsetting C-a and then binding it to a prefix, we
  ;;         ;; allow the rest of the function keys which start with C-a
  ;;         ;; to be recognized.
  ;;         '(("C-a"	nil)
  ;;           ("C-k"	nil)
  ;;           ("C-j"	nil)
  ;;           ("C-l"	nil)
  ;;           ("C-h"	nil)
  ;;           ("M-r"	nil)))
  ;;   (keymap-global-set (car key-definition)
  ;;                      (nth 1 key-definition)))
  (fset 'enable-arrow-keys nil))