Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!nrl-cmf!cmcl2!acf8!sperling
From: sperling@acf8.UUCP (George Sperling)
Newsgroups: comp.emacs
Subject: Re: jove & vt100
Message-ID: <1040005@acf8.UUCP>
Date: 11 May 88 22:21:00 GMT
References: <299@wmt.UUCP>
Organization: New York University
Lines: 27

Rob writes

>However I do not seem to be able to use my cursorkeys as they send an 
>escape sequence JOVE can't interpret. These sequence are:
>
>	left	^[OC
>	right	^[OD
>	up		^[OA
>	down	^[OB
>
>Can someone help me ?

You have to bind the function "ansi-codes" to the lead-in sequence of
your function keys. This is usually "ESC [", but Jove sets the VT100
into keypad applications mode, and in that mode the terminal sends
"ESC O". All you have to do is to put the line
	bind-to-key ansi-codes ESC O
into your .joverc file. This will allow you to use the cursor keys on
a VT100. I have a patch for ansi-codes which knows about more of the
function keys on a VT100. 

Karl Gegenfurtner

arpa:	karl@hipl.psych.nyu.edu
uucp:	...{seismo|ihnp4|allegra}!cmcl2!xp!hipl!karl
usps:	Department of Psychology, NYU
	6 Washington Place, 8th fl.
	New York, NY 10003