view lisp/term/bobcat.el @ 2093:ce8bad247b1a

(Fdefine_key): Use proper meta-bit to clear. (access_keymap): Handle ints beyond the ASCII range. (store_in_keymap): Likewise. (Faccessible_keymaps): Use meta_modifier. Use vectors for the key sequences. (Fwhere_is_internal): Use meta_modifier. (append_key): Always return a vector.
author Richard M. Stallman <rms@gnu.org>
date Wed, 10 Mar 1993 05:24:42 +0000
parents 9a41f30a5e64
children f1f4cab7f621
line wrap: on
line source

;;; HP terminals usually encourage using ^H as the rubout character

(let ((the-table (make-string 128 0)))
  (let ((i 0))
    (while (< i 128)
      (aset the-table i i)
      (setq i (1+ i))))
  ;; Swap ^H and DEL
  (aset the-table ?\177 ?\^h)
  (aset the-table ?\^h ?\177)
  (setq keyboard-translate-table the-table))