bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: loading debugged termcap?


From: Thomas Dickey
Subject: Re: loading debugged termcap?
Date: Sat, 18 Jun 2016 15:14:30 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Jun 15, 2016 at 11:22:54AM -0400, Alan Grimes wrote:
> Hey, I'm trying to hack on Keith's Heathkit H18-A terminal.
> 
> 
> My buggy blah blah blah looks like:
> 
>  h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode,
>     OTbs, am, mir, msgr,
>     cols#80, it#8, lines#25,
>     acsc=~kthum^i^jwwawbwedwgzz{{pstvufc`, bel=^G, clear=\E[2J,
>     cnorm=\E[>4l\E[m\E[>5l, cr=^M, cub1=^H,
>     el1=\E[1K, el=\E[K, ed=\E[J, il=\E%i%p1%dL, cub=\E[%i%p1%dD,
>     cuf=\E[%i%p1%dC, cud=\E[%i%p1%dB, cuu=\E[%i%p1%dA,
>     cud1=\E[B, cuf1=\E[C,  cub=\E[D, cup=\E[%i%p1%d;%p2%dH,
>     cuu1=\E[A, civis=\E[>5h, cvvis=\E[>5l, dch1=\E[1P,
>     dl1=\E[1M, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J,
>     is2=\E<\E[>2;3;4;5;6;7;8;9l\E[>1h\E[m\E[11m\E[?7h,
>     kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A,
>     kich1=\E[4h , kdch1=\EN, kdl1=\EM, kil1=\EL, khome=\E[H,
>     kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP,
>     kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white,
>     ri=\EM, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m,    smacs=\E[10m,
>     smam=\E[?7h, smir=\E[4h, rev=\E[7m, rmacs=\E[11m,

actually that's terminfo.  An equivalent more/less termcap would be

h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode:\
        :am:bs:mi:ms:\
        :co#80:it#8:li#25:\
        :AL=\E%i%dL:DO=\E[%i%dB:LE=\E[D:RA=\E[?7l:RI=\E[%i%dC:\
        :SA=\E[?7h:UP=\E[%i%dA:ac=\011\nawbwc`edpstvufwgzz{{~k:\
        :ae=\E[11m:al=\E[1L:as=\E[10m:bl=^G:cb=\E[1K:cd=\E[J:\
        :ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:cr=^M:dc=\E[1P:dl=\E[1M:\
        :do=\E[B:ei=\E[4l:ho=\E[H:im=\E[4h:\
        :is=\E<\E[>2;3;4;5;6;7;8;9l\E[>1h\E[m\E[11m\E[?7h:\
        :k1=\EOS:k2=\EOT:k3=\EOU:k4=\EOV:k5=\EOW:k6=\EOP:k7=\EOQ:\
        :k8=\EOR:kA=\EL:kD=\EN:kI=\E[4h\s:kL=\EM:kb=^H:kd=\E[1B:\
        :kh=\E[H:kl=\E[1D:kr=\E[1C:ku=\E[1A:l6=blue:l7=red:\
        :l8=white:le=^H:mr=\E[7m:nd=\E[C:se=\E[m:sf=^J:sr=\EM:ta=^I:\
        :up=\E[A:ve=\E[>4l\E[m\E[>5l:vi=\E[>5h:vs=\E[>5l:

> 
> Which is revised and extended from baseline...
> 
> I'm trying to test this but when I try to agetty my terminal, and use
> the termcaps demo program, and through behavior, it is still using a
> version I had a few days ago. =\
> 
> I am copying the tic-output into the appropriate directory, and I have

hmm (tic puts things in directories, itself)

> confirmed that the right binary is there using okteta, yet I'm still
> living with bugs that I fixed quite a while ago because the new version
> isn't being loaded for some reason?

infocmp shows the path where it finds a terminal description

You might have a cached copy of the terminfo information in $HOME/.terminfo

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]