rabe@thor.stolaf.edu (brett m rabe) (09/28/89)
I made a mistake in my posting about a termcap problem. I stated that I was using a wyse58, but in actuality, it is a wyse85. I just recieved a letter from a kind soul informing me of my error. To restate the problem: When using the editor vi: 1: When moving the cursor down or up, it will delete out to the cursor position. 2: When moving over words using "w" or "b" it will delete the word about 50% of the time. The question: Does anyone see anything wrong with this termcap entry, or have any suggestions as to how to tweak it to fix the problem, or does anyone have a good termcap out there that they would send me? This is the termcap entry I am using. wc|wy85|wyse85|wyse-85:\ :do=^J:co#80:li#24:cl=\E[;H\E[2J:\ :le=^H:bs:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ :ce=\E[0K:cd=\E[0J:so=\E[7m:se=\E[27m:\ :us=\E[4m:ue=\E[24m:\ :is=\E[1;24r\E[24;1H\E[0m:\ :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:kh=\E[H"ta=^I:pt:sr=\EM:\ :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:as=^N:ae=^O:bt=\E[Z:\ :dc=\E[P:dl=\E[M:al=\E[L:ei=\E[4l:im=\E[4h:\ :vb=\E[?5h\E[?5l:\ :hs:es:ts=\E7\E[?25l\E[40h\E[25;%dH\E[2K:fs=\E[1;24r\E8\E[?25h: This is all taking place on a Vax 11/780, running 4.3BSD Unix (Mt. Xinu, but that shouldn't matter). Thanks for any help that you can give. Brett
allbery@NCoast.ORG (Brandon S. Allbery) (09/29/89)
As quoted from <6594@thor.acc.stolaf.edu> by rabe@thor.stolaf.edu (brett m rabe): +--------------- | To restate the problem: | When using the editor vi: | 1: When moving the cursor down or up, it will delete out to the | cursor position. | 2: When moving over words using "w" or "b" it will delete the | word about 50% of the time. +--------------- It's not your termcap. Check the terminal set-up; you'll probably find an entry that says that backspace is "destructive". This means that ^H makes the cursor not just move backwards but also erase the character. Change it to be "non-destructive", and all will be well. If you *don't* find such an entry, I can't help you... your termcap looks fine to me. ++Brandon -- Brandon S. Allbery, moderator of comp.sources.misc allbery@NCoast.ORG uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu bsa@telotech.uucp, 161-7070 BALLBERY (MCI), ALLBERY (Delphi), B.ALLBERY (GEnie) Is that enough addresses for you? no? then: allbery@uunet.UU.NET (c.s.misc)
allbery@NCoast.ORG (Brandon S. Allbery) (09/29/89)
As quoted from <1989Sep29.005125.21813@NCoast.ORG> by allbery@NCoast.ORG (Brandon S. Allbery): +--------------- | It's not your termcap. Check the terminal set-up; you'll probably find an | entry that says that backspace is "destructive". This means that ^H makes the +--------------- Whoops. Another possibility is that *tab* is being "destructive". The fix for this: if it's a setup option as outlined in my message, fix it. Otherwise, it might be a problem with your Unix stty settings; try "stty tabs" followed by "tset -Q". (My, aren't terminals *fun*? ;-) ++Brandon -- Brandon S. Allbery, moderator of comp.sources.misc allbery@NCoast.ORG uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu bsa@telotech.uucp, 161-7070 BALLBERY (MCI), ALLBERY (Delphi), B.ALLBERY (GEnie) Is that enough addresses for you? no? then: allbery@uunet.UU.NET (c.s.misc)