[comp.unix.questions] TERMCAP arrow keys

kohout@nwc-143b.arpa (03/25/87)

    I have a vt100 terminal and would like to find where in the termcap
file the arrow keys are being defined(if they are).  When I press the
up_arrow key I get an "ESC[A", down_arrow key I get "ESC[B", right_arrow 
key I get "ESC[C", and left_arrow key I get "ESC[D".    The ku, kd, kr, kl
sequences as defined in the vt100 termcap entry are not being generated by
the terminal but the arrow keys do work.  I have found up=2\E[A(cursor up 
with 2 ms delay) and nd=2\E[C(non_destructive space = cursor right with 
2 ms delay).  But where are the down_arrow and left_arrow keys defined?

d0|vt100|vt100-am|dec vt100:\
	:cr=^M:do=^J:nl=^J:bl=^G:co#80:li#24:cl=50\E[;H\E[2J:\
	:le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
	:ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
	:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\
	:rf=/usr/lib/tabset/vt100:\
	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
	:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
	:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:sr=5\EM:vt#3:xn:\
	:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:

    Since I'm not on info-unix, please respond directly to
kohout@nwc-143b.ARPA.  Thanks....

+-------------------------------------------------------------------------+
| Keith Kohout                                                            |
| DDN:  kohout@nwc-143b.ARPA                                              |
| UUCP:  ...!seismo.CSS.GOV!kohout@nwc-143b.ARPA                          |
| USnail: Missile Software Branch, Code 3922                              |
|           Naval Weapons Center                                          |
|           China Lake, CA 93555-6001                                     |
| PHONE: (619) 939-1275                                                   |
+-------------------------------------------------------------------------+
------