peb@pbhyf.PacBell.COM (Pat Bowens) (07/26/88)
Has anyone been able to get 'vi' to function properly with the Microport 386 pre-release software, on a PC/AT? I am using 'AT386' as a terminfo specification. Result: - When a file is vi'd, the first letter of each line is 'off,stage left', unseen. - Ctrl-G prints its information on the line the cursor is on, rather than on the bottom line. - Some other control sequences either cause half the working line to disappear, or sends the file into reverse video. Any ideas/suggestions/HELP? Thanks. Pat Bowens pbhyf!pacbell!peb 415-823-2445
dave@micropen (David F. Carlson) (07/27/88)
In article <3686@pbhyf.PacBell.COM>, peb@pbhyf.PacBell.COM (Pat Bowens) writes: > > Has anyone been able to get 'vi' to function properly with the Microport > 386 pre-release software, on a PC/AT? > > Thanks. > > Pat Bowens pbhyf!pacbell!peb 415-823-2445 This is of interest to more than Pat I suspect. First, if the 386 pre-release you speak of is 2.2H, use the ansi terminfo. The reverse video bug is only in earlier versions so your symptoms are not quite what I would expect to see. Try this terminfo. It does many things better than the Microport including vnews(1) and vi(1). Bugs in the device driver it does not fix, but it at least hides them. Notably missing strings are due to bugs! If rep works with your console driver, replace it. In early releases rep didn't move the cursor the numbert of reps! I have picked a reasonable set of acsc graphics strings and these draw pretty boxes using the curses box() command just fine. ------------cut here-------------------- AT386|at386|at/386 console, am, xon, cols#80, it#8, lines#24, acsc=+/0~.ga1fxgqh20[lZm@k?jYqDx3tCu9vPwQ~z, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[27;25m, clear=\E[H\E[J, cnorm=\E[27;23m, cr=\r, cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K\E[P, home=\E[H, hpa=\E[%i%p1%dG, ht=\t, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\n, indn=\E[%p1%dS, invis=\E[8m, is1=\E[=h, is2=\E7\E[r\E8\E[?6;?7l, kb2=\E[G, kbs=\b, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\EOY, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, rc=\E8, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmir=\E[4l, rmso=\E[10;0m, rmul=\E[10;0m, rs1=\Ec;\E[0m\E[r, rs2=\E22;%p2%{16}%*%p1%+%dm, rs3=\E[55m, sc=\E7, sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p9%t12%e10%;m, sgr0=\E[10;0m, smacs=\E[12m, smso=\E[1;7m, smul=\E[4m, tbc=\E[2g, uc=_\b%p1%c, xoffc=^S, xonc=^Q, -------------end_of_terminfo-------------------- -- David F. Carlson, Micropen, Inc. ...!{ames|harvard|rutgers|topaz|...}!rochester!ur-valhalla!micropen!dave "The faster I go, the behinder I get." --Lewis Carroll