annotate lisp/term/bobcat.el @ 2800:a7b260d27c2c

(face-initialize): Don't create the `modeline' face. Set region-face. (invert-face): Really do use the default colors. (x-initialize-frame-faces): Always try "gray" color for primary-selection; always invert if that fails. Similar changes for highlight, secondary-selection. (make-face): Add interactive spec. (set-default-font): Deleted.
author Richard M. Stallman <rms@gnu.org>
date Sat, 15 May 1993 19:53:44 +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))