https://invisible-island.net/personal/
Copyright © 2018 by Thomas E. Dickey


Copyrights/comments

# Intel AT/386 for color card with monochrome display
#
AT386-M|at386-m|386AT-M|386at-m|at/386 console,
        ambweoxonxt,
        cols#80lines#25,
        acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
        bel=^Gblink=\E[5mbold=\E[1mclear=\E[2J\E[H,
        cr=\rcub=\E[%p1%dDcub1=\E[Dcud=\E[%p1%dB,
        cud1=\E[Bcuf=\E[%p1%dCcuf1=\E[C,
        cup=\E[%i%p1%02d;%p2%02dHcuu=\E[%p1%dAcuu1=\E[A,
        dch=\E[%p1%dPdch1=\E[Pdl=\E[%p1%dMdl1=\E[1M,
        ed=\E[Jel=\E[Kflash=^Ghome=\E[Hht=\t
        ich=\E[%p1%d@ich1=\E[1@il=\E[%p1%dLil1=\E[1L,
        ind=\E[Sindn=\E[%P1%dSinvis=\E[9mis2=\E[0;10;38m,
        kbs=\bkcbt=^]kclr=\E[2Jkcub1=\E[Dkcud1=\E[B,
        kcuf1=\E[Ckcuu1=\E[Akdch1=\E[Pkend=\E[Y,
        kf1=\EOPkf10=\EOYkf11=\EOZkf12=\EOAkf2=\EOQ
        kf3=\EORkf4=\EOSkf5=\EOTkf6=\EOUkf7=\EOV
        kf8=\EOWkf9=\EOXkhome=\E[Hkich1=\E[@knp=\E[U
        kpp=\E[Vkrmir=\E0rev=\E[7mrin=\E[S
        rmacs=\E[10mrmso=\E[mrmul=\E[m,
        sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p9%t;12%;%?%p7%t;9%;m,
        sgr0=\E[0;10msmacs=\E[12msmso=\E[7msmul=\E[4m,
#
# AT&T 386 color console 
#
AT386|at386|386AT|386at|at/386 console,
        colors#8ncv#3pairs#64,
        is2=\E[0;10;39m,
        op=\E[0m
        setb=\E[%?%p1%{0}%=%t40m
                %e%p1%{1}%=%t44m
                %e%p1%{2}%=%t42m
                %e%p1%{3}%=%t46m
                %e%p1%{4}%=%t41m
                %e%p1%{5}%=%t45m
                %e%p1%{6}%=%t43m
                %e%p1%{7}%=%t47m%;
,
        setf=\E[%?%p1%{0}%=%t30m
                %e%p1%{1}%=%t34m
                %e%p1%{2}%=%t32m
                %e%p1%{3}%=%t36m
                %e%p1%{4}%=%t31m
                %e%p1%{5}%=%t35m
                %e%p1%{6}%=%t33m
                %e%p1%{6}%=%t33m
                %e%p1%{7}%=%t37m%;
,
        use=at386-m,
 
hp+color|hp with colors,
        ccc,
        pairs#7colors#16ncv#17,
        scp=\E&v%p1%dS,
        initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a
                  %?%p3%{1000}%=%t1%e.%p3%d%;b
                  %?%p4%{1000}%=%t1%e.%p4%d%;c
                  %?%p5%{1000}%=%t1%e.%p5%d%;x
                  %?%p6%{1000}%=%t1%e.%p6%d%;y
                  %?%p7%{1000}%=%t1%e.%p7%d%;z
                  %p1%dI
,
        oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I,
        op=\E&v0S,
 
tek4205|4205|tektronix 4205,
 
#       am is not defined because the wrap around occurs not when the char.
#       is placed in the 80'th column, but when we are attempting to type
#       the 81'st character on the line.
 
#       bold, dim, and standout are simulated by colors and thus not allowed
#       with colors
 
        .ammsgrmirccc,
        cols#80lines#30it#8colors#8pairs#63ncv#49,
        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
        il1=\E[1Led=\E[Jel=\E[Kclear=\E[2J\E[H
        il=\E[%p1%dL,
        cup=\E[%i%p1%d;%p2%dH,
        dch1=\E[1Pdl1=\E[1M,
        home=\E[Hsmir=\E[4hrmir=\E[4l
        cuf1=\E[Ccud1=\E[Bcuu1=\E[Acub1=\E[D,
        cuf=\E[%p1%dCcud=\E[%p1%dBcuu=\E[%p1%dAcub=\E[%p1%dD,
        ech=\E%p1%dXel1=\E[1Kich=\E[%p1%d@
        smacs=^Nrmacs=^Oenacs=\E)0,
        rmso=\E[=0;<1msmso=\E[=2;<3m,
        smul=\E[4mrmul=\E[24m,
        is1=\E%!0\ETM1\E%!1\E[0m,
        rev=\E[7mbold=\E[=7;<4minvis=\E[=6;<5dim=\E[=1;<6m,
        blink=\E[5msgr0=\E[=0;<1m\E[24;25;27m^O,
        smcup=\E%%!1\E[?6l\E[2J
        kbs=^hkcuu1=\E[Akcud1=\E[B,
        kcub1=\E[Dkcuf1=\E[C,
        .is2=\E%%!1\E[?6141\E[0m,
        cbt=\E[Zcr=^Mind=\EDri=\EM,
        tbc=\E[1ght=^Ibel=^G,
 
#       tektroinix color table is mapped into the RGB color table
 
        setf=\E[<%?%p1%{0}%=%t0m
                 %e%p1%{1}%=%t4m
                 %e%p1%{2}%=%t3m
                 %e%p1%{3}%=%t5m
                 %e%p1%{4}%=%t2m
                 %e%p1%{5}%=%t6m
                 %e%p1%{6}%=%t7m
                 %e1m%;
,
        setb=\E[=%?%p1%{0}%=%t0m
                 %e%p1%{1}%=%t4m
                 %e%p1%{2}%=%t3m
                 %e%p1%{3}%=%t5m
                 %e%p1%{4}%=%t2m
                 %e%p1%{5}%=%t6m
                 %e%p1%{6}%=%t7m
                 %e1m%;
,
#       All colors are reset to factory specifications
 
        oc=\E%!0
              \ETFB0
                0000
                1F4F4F4
                2F400
                30F40
                4A4C<F4
                50F4F4
                6F40F4
                7F4F40
            \E%!1
,
        op=\E[39;40m,
 
#       using RGB notation to define colors.  for arguments 1-3 the interval
#       (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
#       interval then maps into pre-defined value.
 
        initc=\E%%!0
              \ETF4
                 %?%p1%{0}%=%t0
                 %e%p1%{1}%=%t4
                 %e%p1%{2}%=%t3
                 %e%p1%{3}%=%t5
                 %e%p1%{4}%=%t2
                 %e%p1%{5}%=%t6
                 %e%p1%{6}%=%t7
                 %e1%;
                  %?%p2%{125}%<%t0
                  %e%p2%{250}%<%tA2
                  %e%p2%{375}%<%tA?
                  %e%p2%{500}%<%tC8
                  %e%p2%{625}%<%tD4
                  %e%p2%{750}%<%tE1
                  %e%p2%{875}%<%tE:
                  %eF4%;
                  %?%p3%{125}%<%t0
                  %e%p3%{250}%<%tA2
                  %e%p3%{375}%<%tA?
                  %e%p3%{500}%<%tC8
                  %e%p3%{625}%<%tD4
                  %e%p3%{750}%<%tE1
                  %e%p3%{875}%<%tE:
                  %eF4%;
                  %?%p4%{125}%<%t0
                  %e%p4%{250}%<%tA2
                  %e%p4%{375}%<%tA?
                  %e%p4%{500}%<%tC8
                  %e%p4%{625}%<%tD4
                  %e%p4%{750}%<%tE1
                  %e%p4%{875}%<%tE:
                  %eF4%;
              \E%%!1
,
        kf0=\EOAkf1=\EOBkf2=\EOCkf3=\EOD,
        kf4=\EPkf5=\EQkf6=\ERkf7=\ES,
 
wy370|wyse370|Wyse 370 ,
 
# misc booleans
        xenlxonmirmsgrhs,
 
# misc numerics
        vt#3cols#80lines#24it#8,
 
# color - setf and setb mimic ISO colors
        colors#64,
        pairs#4096,
        op=\E[61;63w\E[62;0w,
        setf=\E[61;
                %p1%{1}%=%t49%e
                %p1%{2}%=%t12%e
                %p1%{3}%=%t60%e
                %p1%{4}%=%t3%e
                %p1%{5}%=%t51%e
                %p1%{6}%=%t15%e
                %p1%{7}%=%t63%e
                %p1%d%;w
,
        setb=\E[62;
                %p1%{1}%=%t49%e
                %p1%{2}%=%t12%e
                %p1%{3}%=%t60%e
                %p1%{4}%=%t3%e
                %p1%{5}%=%t51%e
                %p1%{6}%=%t15%e
                %p1%{7}%=%t63%e
                %p1%d%;w
,
 
# bell capabilities
        bel=^G,
#       flash=\E[30h\E\,\E[30l$<300>,
 
# status line
        tsl=\E[2$~\E[31h\E[1$}\E[H\E[61;63w\E[62;0w,
        fsl=\E[0$}dsl=\E[1$}\E[H\E[61;63w\E[62;0w\E[2J\E[0$},
        wsl#80,
 
# cursor
        cnorm=\E[?25h,
        civis=\E[?25l,
        cvvis=\E[?25h\E[34l\E[52;57w,
 
# misc
        dl1=\E[M,
        il1=\E[L,
        dch1=\E[P,
        ich1=\E[@,
        ind=^Jri=\EM,
        clear=\E[H\E[2J,
        cup=\E[%i%p1%d;%p2%dH,
        cub1=^Hcud1=\E[Bcuf1=\E[Ccuu1=\E[A
        cub=\E[%p1%dDcud=\E[%p1%dBcuu=\E[%p1%dAcuf=\E[%p1%dC
        el=\E[Kel1=\E[1Ked=\E[J,
        smso=\E[1;7mrmso=\E[msmul=\E[4mrmul=\E[m,
        dim=\E[2mbold=\E[1mrev=\E[7mblink=\E[5m,
        sgr0=\E[m^O,
        sgr=\E[0
                %?%p2%t;4%;
                %?%p3%p1%|%t;7%;
                %?%p4%t;5%;
                %?%p5%t;2%;
                %?%p6%t;1%;
                %?%p7%t;8%;m
                %?%p9%t^N%e^O%;
,
        rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h,
        enacs=\E(B\E)0smacs=^Nrmacs=^O,
        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
        tbc=\E[3ghts=\EHhome=\E[Hht=^Icr=^M,
        kf1=\EOPkf2=\EOQkf3=\EORkf4=\EOS,
        kf5=\E[Mkf6=\E[17~kf7=\E[18~kf8=\E[19~,
        kf9=\E[20~kf10=\E[21~kf11=\E[23~kf12=\E[24~,
        kcub1=\E[Dkcud1=\E[Bkcuf1=\E[Ckcuu1=\E[A,
        kbs=^Hkhome=\E[Hkend=\E[1~kpp=\E[Vknp=\E[U,
        krfr=^Rkent=^Mkdch1=\177kich1=\E[2~,
        sc=\E7rc=\E8,
        csr=\E[%i%p1%d;%p2%dr,