🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #2873

JOVE - How do you keymap VT100 arrow keys?

#2873
From: Alan Coopersmith
Date: Thu, 27 Jun 1991 21:27
31 lines
1625 bytes
I would like to use my VT100 arrow keys in jove instead of the built-ins
(^N, ^P, ^F, ^B).  To do this, I tried putting the following in my .joverc
file:

	make-keymap vt102-map
	bind-keymap-to-key vt102-map ^[[
	bind-to-key next-line ^[[B
	bind-to-key previous-line ^[[A
	bind-to-key forward-character ^[[C
	bind-to-key backward-character ^[[D

I got this listing from Section 16.25 of the "JOVE Manual for UNIX Users"
(by Jonathon Payne, revised for 4.3BSD by Doug Kingston & Mark Seiden).

Here's the catch - This doesn't work on the version of JOVE installed here
on the OCF Machines (Version 4.9).  Sourcing the file gives an error of:
	["bind-keymap-to-key" unknown]

Trying to manually bind the keys (by typing M-X bind-to-key next-line ^[[B)
results in a binding to M-[, so that pushing any arrow key move down a line
and inserts A, B, C, or D (depeding on which arrow).

Is there any way to fix this? How? 

Please email alanc@ocf.berkeley.edu and I will post a summary if there is
interest.

----------------------
   Alan Coopersmith
alanc@ocf.berkeley.edu
----------------------
Technical Details
Message-ID: <1991Jun27.212759.18519@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!uakari.primate.wisc.edu!caen!spool.mu.edu!agate!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!uakari.primate.wisc.edu!caen!spool.mu.edu!agate!usenet
From: alanc@ocf.berkeley.edu (Alan Coopersmith)
Newsgroups: comp.editors
Subject: JOVE - How do you keymap VT100 arrow keys?
Keywords: JOVE unix keymap
Message-ID: <1991Jun27.212759.18519@agate.berkeley.edu>
Date: 27 Jun 91 21:27:59 GMT
Sender: usenet@agate.berkeley.edu (USENET Administrator)
Organization: UC Berkeley - Open Computing Facility
Lines: 31