summaryrefslogtreecommitdiff
path: root/lisp/term/bobcat.el
blob: 7abe538ef77bfd376a97a363aa2040a04858ff67 (plain)
1
2
3
4
5
6
7
8
9
10
11
;;; 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))