view lisp/term/bobcat.el @ 2064:092ea2e7316e

(XTread_socket): Don't reverse the chars that XLookupString returns. Use all of them. Save last 100 chars and keysyms in temp_buffer.
author Richard M. Stallman <rms@gnu.org>
date Mon, 08 Mar 1993 05:38:53 +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))