From: utzoo!decvax!microsof!uw-beaver!teltone!joe Newsgroups: net.unix-wizards,net.graphics Title: TERMCAPS for v100 and long lines in vi Article-I.D.: teltone.128 Posted: Sun May 1 11:48:51 1983 Received: Mon May 2 06:38:53 1983 We are having trouble with vi when a line is longer than 80 characters. On the lines after the long line the displayed position of the cursor and vi's idea of the cursor position differ such that editing operations are performed on the wrong piece of text. We have vt100, vt101, and vt102 terminals. The symptoms are the same on all these terminals. The display is different, but incorrect, depending on where or not auto margin is set during terminal set up. Has anyone seen this before? Or better yet does anyone have vi working with long lines? I have included a copy of our termcaps entry for vt100. If yours works better and is different please send me a copy. Thanks. Joe Brady (...decvax!microsoft!teltone!joe or ...uw-beaver!teltone!joe) d0|vt100n|vt100 w/no init:is@:if@:tc=vt100: db|vt100|vt100 w/blinking bell:\ :vb=\E[?5h\200\200\200\200\200\E[?5l:tc=vt100b: d1|vt100b|vt-100|pt100|pt-100|dec vt100:\ :co#80:li#24:am:cl=50\E[;H\E[2J:bs:cm=5\E[%i%2;%2H: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:\ :is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\ :if=/usr/lib/tabset/vt100:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\ :kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=5\EM:xn: