Reading List

The Selfish Gene
The Psychopath Test: A Journey Through the Madness Industry
Bad Science
The Feynman Lectures on Physics
The Theory of Everything: The Origin and Fate of the Universe


ifknot's favorite books »

Wednesday 15 July 2020

PiDP11 211BSD Jove cursor key bindings




JOVE - How do you keymap VT100 arrow keys?

I found the answer in a 1991 comp.editors Google Group or rather 3 answers courtesy of  Alan Coopersmith (Open Computing Facility, Berkley) quote...

There are 3 basic solutions (all of which are commands put in your
.joverc file):
1. Upgrade to version 4.14 (I was told 4.9 really means 4.09) and use:
>       make-keymap vt100-map
>       bind-keymap-to-key vt100-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
2. Use this (not sure which version):
             bind-to-key prefix-3 ^[[

             bind-to-key next-line ^[[B
             bind-to-key previous-line ^[[A
             bind-to-key forward-character ^[[C
        bind-to-key backward-character ^[[D
3. Stay with version 4.9 and use:
        bind-to-key ansi-codes ^[[
        bind-to-key ansi-codes ^[O
I will use #3 since it doesn't require bothering the overworked/unpaid
OCF staff to install a new version.  It is also the simplest, but only
works with vt100/ANSI term types.  If you want to do assign keys on a
vt220 or a Sun or anything else that doesn't use the vt100 key codes, you
need a version past 4.9.  (To find out what version you have type M-X
version).
I used solution 3. and that worked just fine.


No comments:

Post a Comment