;;; On the hp2392a terminals, delete is very inconveniently placed,
;;; so the following makes C-h do the job of delete (delete still works).

(global-set-key "\C-h" 'backward-delete-char-untabify)

;;; But where to put help?  The code below puts it on C-x C-h, which gets
;;; you to the help map.  To get the help menu after that type C-h or ?.
;;; You can also directly invoke help's menu by M-x help-for-help.
(define-key ctl-x-map "\C-h" 'help-command)

;;; cursor key movements.  This may not match what you think, but seems to
;;; have worked for several people.  caveat emptor.
(global-set-key "\M-A" 'previous-line)
(global-set-key "\M-B" 'next-line)
(global-set-key "\M-C" 'forward-char)
(global-set-key "\M-D" 'backward-char)

;;; some other keys for the hp2392a...
(global-set-key "\M-P" 'delete-char)
(global-set-key "\M-V" 'backward-page)
(global-set-key "\M-U" 'forward-page)
