annotate lisp/term/bobcat.el @ 1591:765cb54fa9af

* lread.c: #include "keyboard.h". (Fread_char, Fread_char_exclusive): Don't signal an error for or throw away switch-frame events; instead, put them off until after we've found a character we can respond to. Rename unread_command_char to unread_command_event; it has subtly different semantics now, and we should use `make-obsolete-variable' to warn people. * lread.c (Fread_char): Change reference.
author Jim Blandy <jimb@redhat.com>
date Mon, 16 Nov 1992 00:45:02 +0000
parents 9a41f30a5e64
children f1f4cab7f621
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
479
9a41f30a5e64 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 ;;; HP terminals usually encourage using ^H as the rubout character
9a41f30a5e64 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2
9a41f30a5e64 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 (let ((the-table (make-string 128 0)))
9a41f30a5e64 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4 (let ((i 0))
9a41f30a5e64 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 (while (< i 128)
9a41f30a5e64 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 (aset the-table i i)
9a41f30a5e64 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 (setq i (1+ i))))
9a41f30a5e64 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 ;; Swap ^H and DEL
9a41f30a5e64 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 (aset the-table ?\177 ?\^h)
9a41f30a5e64 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10 (aset the-table ?\^h ?\177)
9a41f30a5e64 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 (setq keyboard-translate-table the-table))