muller@src.umd.edu (Christophe Muller) (09/18/90)
Hello, Sorry if this has already been mentioned, I'm a new reader of this group. Is there any way of swapping the BACKSPACE and DELETE keys on a 340/9000HP? (shift delete is not very nice in emacs...) Please email the answer, Thanks in advance. Christophe. = Got thirteen channels of shit on the T.V. to choose from ...to choose from =
evgabb@sdrc.UUCP (Rob Gabbard) (09/19/90)
From article <MULLER.90Sep18095129@molecule.src.umd.edu>, by muller@src.umd.edu (Christophe Muller):
> Is there any way of swapping the BACKSPACE and DELETE keys on a 340/9000HP?
If you are running X try this:
xmodmap -e "keysym BackSpace = Delete"
--
Rob Gabbard (uunet!sdrc!evgabb)
Technical Development Engineer
Structural Dynamics Research Corp
campbell@hpindda.cup.hp.com (Heather Campbell) (09/21/90)
If you only want to swap the BACKSPACE and DELETE keys within emacs, put the following in your .emacs file. ----------------------------------------------------------------------------- (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) ) --------------------------------------------------------------------------- Heather Campbell Standard Disclaimer: This is not an official statement of Hewlett-Packard Corp., and does not necessarily reflect the views of HP. The information above is provided completely without warranty of any kind.