[comp.sys.hp] MicroEmacs 3.9e cursor key bindings for hp98550

nickw@syma.sussex.ac.uk (Nick Watkins) (07/08/89)

I am trying to port MicroEmacs 3.9e to a Hewlett Packard HP835 running
HP-UX release A.B3.00.5B . For the time being we are using an HP 98789A as the
console (with TERM set to hp98550).
 All is well except the absence of cursor key bindings for the
terminal, does anyone know how we could modify the keybindings shown in
the extract below (vt52) for use on the HP? Please mail me or post if you feel
it is of general interest.
 I tried setting TERM to vt52 and running unmodified .emacsrc but it
doesn't work.
 Thanks
Nick Watkins
 

; example .emacsrc for syma [A Sequent Symmetry S81 running Dynix]
; for MicroEmacs 3.9e

[Deleted]

set $discmd FALSE

[Deleted]

>bind-to-key previous-line	FNA
>bind-to-key next-line		FNB
>bind-to-key forward-character	FNC
>bind-to-key backward-character	FND


-- 
Nick Watkins, School of Maths & Physical Sciences, Univ. of Sussex, Brighton
BN1 9QH, ENGLAND
JANET: nickw@syma.sussex.ac.uk   BITNET: nickw%syma.sussex.ac.uk@uk.ac
Voice: +44 273 678072

rer@hpfcdc.HP.COM (Rob Robason) (07/11/89)

Because I'm not familiar with your application, I'm not sure this is any
help, but the cursor keys send these sequences:

	Up	- [Esc]A
	Down	- [Esc]B
	Right	- [Esc]C
	Left	- [Esc]D

What I saw in you posting may or may not communicate this.