view lisp/term/bobcat.el @ 2505:c0a13d078f68

* keyboard.c (echo_dash): Do nothing if echoptr is 0.
author Jim Blandy <jimb@redhat.com>
date Sat, 10 Apr 1993 07:45:07 +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))