mcdonald@AEDC-VAX.AF.MIL (04/25/91)
In response to Gregg A. Cohen: > >Has anyone hacked the terminfo for the vt series terminal defs that >allow one to use the NCSA Telnet and be able to move the >cursor around in vi? > In version 3.2.* the cursor worked fine in vi using NCSA Telnet. We still had a machine running 3.2.1 and we did an infocmp vt100 on it & a infocmp vt100 on our machine running 3.3.2. There were two differences in the files. So what I did was set up another terminfo file and called it vt100fix. It contains the contents of our old vt100 terminfo information. vt100fix looks like: ---------------------------------- CUT ---------------------------------------- vt100fix|vt100fix-am|(w/advanced video), am, mir, msgr, xenl, xon, cols#80, it#8, lines#24, vt#3, acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, clear=\E[H\E[J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=\t, hts=\EH, ind=\n, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=\b, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N %e^O%;, sgr0=\E[m^O$<2>, smacs=^N, smkx=\E[?1h\E=, smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, ---------------------------------- CUT ---------------------------------------- Then you can run tic on this file to create the terminfo databases. Next when you telnet to the iris set term="vt100fix" & this should do it for you. The differences were: old vt100 from 3.2.1 vt100 in 3.3.2 -------------- ----------- rmkx=\E[?1l\E> rmkx=\E[?1l smkx=\E[?1h\E= smkx=\E[?1h ^ | | These are the values you need in order for it to work. vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv | Kenneth M. McDonald * OAO Corp * Arnold Engineering Development Center | | MS 120 * Arnold AFS, TN 37389-9998 * (615) 454-3413 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNET: mcdonald@aedc-vax.af.mil LOCAL: c60244@ccfiris