[Info-ingres] Key Mapping
Paul Mason
Paul.Mason at actian.com
Wed Feb 19 10:35:08 UTC 2020
Here’s the xterm definition from the standard xterm
vs|xterm|vs100|XV11 xterm terminal emulator (X window system):\
:co#80:li#34:cl=\E[H\E[2J:bs:cm=\E[%i%2;%2H:nd=\E[C:up=\E[A:\
:ce=\E[K:cd=\E[J:so=\E[7m:se=2\E[m:us=\E[4m:ue=\E[m:\
:is=\E>\E[?3l\E[?4l\E[?7l\E[?8h:\
:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:vs=\E[?7h:ve=\E[?7l:\
:ms:ld=\E)0:qa=j:qb=k:qc=l:qd=m:qe=n:qf=q:qg=t:qh=u:\
:qi=v:qj=w:qk=x:ls=\016:le=\017:cs=5\E[%2;%2r:\
:bl=1\E[5m:be=2\E[m:bo=1\E[1m:eb=2\E[m:rv=\E[7m:re=2\E[m:ea=2\E[m:\
:za=1\E[1;4;5;7m:zb=1\E[1;4m:zc=1\E[1;5m:zd=1\E[1;7m:\
:ze=1\E[4;5m:zf=1\E[4;7m:zg=1\E[5;7m:zh=1\E[1;4;5m:\
:zi=1\E[4;5;7m:zj=1\E[1;5;7m:zk=1\E[1;4;7m:es=\E[?7h:\
:ky:k0=\EOP:k1=\EOQ:k2=\EOR:k3=\EOS:pt:sf=\n:sr=\EM:\
:k4=\EOw:k5=\EOx:k6=\EOy:k7=\EOm:k8=\EOt:k9=\EOu:kA=\EOv:\
:kB=\EOl:kC=\EOq:kD=\EOr:kE=\EOs:kF=\EOp:kG=\EOn:kH=\EOM:kn#18:
notice the “:kn#18:” i.e. it has 18 function keys. I can add kU but I’d need to change kn#18 to kn#31.
From the Character-based Querying and Reporting Tools User Guide:
Appendix C, the table “Commands Needed for Function Keys (Linux)”
“kn The number of function keys available; for example, this is specified as
kn#18 on the VT100. You can have a maximum value of 40 for the number
of function keys."
From: info-ingres-bounces at lists.planetingres.org <info-ingres-bounces at lists.planetingres.org> On Behalf Of Steve
Sent: 19 February 2020 10:04
To: info-ingres at lists.planetingres.org
Subject: Re: [Info-ingres] Key Mapping
On Wednesday, 19 February 2020 19:22:04 UTC+11, Paul Mason wrote:
> Have you updated kn so it’s at least 31?
>
>
How do I do that? I thought I was doing that by adding kU to the termcap file.
By the way, "\E[1~:" was what was displayed when I pressed shift-home.
INGRES_KEYS=/path/to/my/konsole.map
TERM_INGRES=putty
II_TERMCAP_FILE=/path/to/my/termcap
_______________________________________________
Info-ingres mailing list
Info-ingres at lists.planetingres.org<mailto:Info-ingres at lists.planetingres.org>
https://lists.planetingres.org/mailman/listinfo/info-ingres<https://lists.planetingres.org/mailman/listinfo/info-ingres>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.planetingres.org/pipermail/info-ingres/attachments/20200219/9f1935ba/attachment.html>
More information about the Info-ingres
mailing list