Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libcurses tests/libcurses: split terminfo entry ov...



details:   https://anonhg.NetBSD.org/src/rev/80ec6e556482
branches:  trunk
changeset: 952658:80ec6e556482
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Feb 13 16:38:02 2021 +0000

description:
tests/libcurses: split terminfo entry over more lines

This provides space to see each capability on its own, instead of having
to search them in the blob of text.

diffstat:

 tests/lib/libcurses/atf.terminfo |  170 +++++++++++++++++++++++++++++---------
 1 files changed, 130 insertions(+), 40 deletions(-)

diffs (178 lines):

diff -r aab1c2b1d635 -r 80ec6e556482 tests/lib/libcurses/atf.terminfo
--- a/tests/lib/libcurses/atf.terminfo  Sat Feb 13 16:33:30 2021 +0000
+++ b/tests/lib/libcurses/atf.terminfo  Sat Feb 13 16:38:02 2021 +0000
@@ -1,44 +1,134 @@
+# $NetBSD: atf.terminfo,v 1.2 2021/02/13 16:38:02 rillig Exp $
+#
 # Based on xterm capabilities
-atf|atf automatic test frame pseudo terminal,
-       am, bce, ccc, km, mc5i, mir, msgr, npc, xenl,
-       colors#8, cols#80, it#8, lines#24, pairs#64,
+#
+atf|Automated Test Framework pseudo terminal,
+       am,
+       bce,
+       ccc,
+       km,
+       mc5i,
+       mir,
+       msgr,
+       npc,
+       xenl,
+       colors#8,
+       cols#80,
+       it#8,
+       lines#24,
+       pairs#64,
        acsc=++\,\,--..00``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
-       bel=bel, blink=blink, bold=bold, cbt=cbt, civis=civis, clear=clear,
-       cnorm=cnorm, cr=^M, csr=csr%i%p1%d;%p2%dX, cub=cub%p1%dX,
-       cub1=^H, cud=cud%p1%dX, cud1=^J, cuf=cuf%p1%dX, cuf1=,
-       cup=cup%i%p1%d;%p2%dX, cuu=cuu%p1%dX, cuu1=, cvvis=cvvis,
-       dch=dch%p1%dX, dch1=, dl=dl%p1%dX, dl1=, dim=dim, ech=ech%p1%dX,
-       ed=ed, el=el, el1=el1, enacs=enacs, flash=flash, home=home,
-       hpa=hpa%i%p1%dX, ht=^I, hts=hts, ich=ich%p1%dX, il=il%p1%dX,
-       il1=il1, ind=^M, indn=indn%p1%dX, invis=invis,
-       is2=is2, kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H,
-       kIC=\E[2;2~, kLFT=\E[1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~,
-       kRIT=\E[1;2C, kb2=\EOE, kbs=^H, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB,
-       kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\EOF, kent=\EOM,
-       kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[1;2P,
-       kf14=\E[1;2Q, kf15=\E[1;2R, kf16=\E[1;2S, kf17=\E[15;2~,
-       kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~,
-       kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~,
-       kf25=\E[1;5P, kf26=\E[1;5Q, kf27=\E[1;5R, kf28=\E[1;5S,
-       kf29=\E[15;5~, kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~,
-       kf32=\E[19;5~, kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
-       kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q, kf39=\E[1;6R, kf4=\EOS,
-       kf40=\E[1;6S, kf41=\E[15;6~, kf42=\E[17;6~, kf43=\E[18;6~,
-       kf44=\E[19;6~, kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~,
-       kf48=\E[24;6~, kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q,
-       kf51=\E[1;3R, kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
-       kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~, kf58=\E[21;3~,
-       kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~, kf61=\E[1;4P,
-       kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
-       khome=\EOH, kich1=\E[2~, kind=\E[1;2B, kmous=\E[M, knp=\E[6~,
-       kpp=\E[5~, kri=\E[1;2A, mc0=mc0, mc4=mc4, mc5=mc5,
-       op=op, rc=rc, rev=rev, ri=ri, rin=rin%p1%dX, rmacs=rmacs,
-       rmam=rmam, rmcup=rmcup, rmir=rmir, rmkx=rmkx,
-       rmm=rmm, rmso=rmso, rmul=rmul, rs1=rs1,
-       rs2=rs2, sc=sc, setab=setab%p1%dX,
-       setaf=setaf%p1%dX, setb=setb%p1%dX, setf=setf%p1%dX,
+       bel=bel,
+       blink=blink,
+       bold=bold,
+       cbt=cbt,
+       civis=civis,
+       clear=clear,
+       cnorm=cnorm,
+       cr=^M,
+       csr=csr%i%p1%d;%p2%dX,
+       cub=cub%p1%dX,          cub1=^H,
+       cud=cud%p1%dX,          cud1=^J,
+       cuf=cuf%p1%dX,          cuf1=,
+       cup=cup%i%p1%d;%p2%dX,
+       cuu=cuu%p1%dX,          cuu1=,
+       cvvis=cvvis,
+       dch=dch%p1%dX,          dch1=,
+       dl=dl%p1%dX,            dl1=,
+       dim=dim,
+       ech=ech%p1%dX,
+       ed=ed,
+       el=el,
+       el1=el1,
+       enacs=enacs,
+       flash=flash,
+       home=home,
+       hpa=hpa%i%p1%dX,
+       ht=^I,
+       hts=hts,
+       ich=ich%p1%dX,
+       il=il%p1%dX, il1=il1,
+       ind=^M,
+       indn=indn%p1%dX,
+       invis=invis,
+       is2=is2,
+       kDC=\E[3;2~,
+       kEND=\E[1;2F,
+       kHOM=\E[1;2H,
+       kIC=\E[2;2~,
+       kLFT=\E[1;2D,
+       kNXT=\E[6;2~,
+       kPRV=\E[5;2~,
+       kRIT=\E[1;2C,
+       kb2=\EOE,
+       kbs=^H,
+       kcbt=\E[Z,
+       kcub1=\EOD,
+       kcud1=\EOB,
+       kcuf1=\EOC,
+       kcuu1=\EOA,
+       kdch1=\E[3~,
+       kend=\EOF,
+       kent=\EOM,
+       kf1=\EOP,       kf2=\EOQ,       kf3=\EOR,       kf4=\EOS,
+       kf5=\E[15~,     kf6=\E[17~,     kf7=\E[18~,     kf8=\E[19~,
+       kf9=\E[20~,     kf10=\E[21~,    kf11=\E[23~,    kf12=\E[24~,
+       kf13=\E[1;2P,   kf14=\E[1;2Q,   kf15=\E[1;2R,   kf16=\E[1;2S,
+       kf17=\E[15;2~,  kf18=\E[17;2~,  kf19=\E[18;2~,  kf20=\E[19;2~,
+       kf21=\E[20;2~,  kf22=\E[21;2~,  kf23=\E[23;2~,  kf24=\E[24;2~,
+       kf25=\E[1;5P,   kf26=\E[1;5Q,   kf27=\E[1;5R,   kf28=\E[1;5S,
+       kf29=\E[15;5~,  kf30=\E[17;5~,  kf31=\E[18;5~,  kf32=\E[19;5~,
+       kf33=\E[20;5~,  kf34=\E[21;5~,  kf35=\E[23;5~,  kf36=\E[24;5~,
+       kf37=\E[1;6P,   kf38=\E[1;6Q,   kf39=\E[1;6R,   kf40=\E[1;6S,
+       kf41=\E[15;6~,  kf42=\E[17;6~,  kf43=\E[18;6~,  kf44=\E[19;6~,
+       kf45=\E[20;6~,  kf46=\E[21;6~,  kf47=\E[23;6~,  kf48=\E[24;6~,
+       kf49=\E[1;3P,   kf50=\E[1;3Q,   kf51=\E[1;3R,   kf52=\E[1;3S,
+       kf53=\E[15;3~,  kf54=\E[17;3~,  kf55=\E[18;3~,  kf56=\E[19;3~,
+       kf57=\E[20;3~,  kf58=\E[21;3~,  kf59=\E[23;3~,  kf60=\E[24;3~,
+       kf61=\E[1;4P,   kf62=\E[1;4Q,   kf63=\E[1;4R,
+       khome=\EOH,
+       kich1=\E[2~,
+       kind=\E[1;2B,
+       kmous=\E[M,
+       knp=\E[6~,
+       kpp=\E[5~,
+       kri=\E[1;2A,
+       mc0=mc0,
+       mc4=mc4,
+       mc5=mc5,
+       op=op,
+       rc=rc,
+       rev=rev,
+       ri=ri,
+       rin=rin%p1%dX,
+       rmacs=rmacs,
+       rmam=rmam,
+       rmcup=rmcup,
+       rmir=rmir,
+       rmkx=rmkx,
+       rmm=rmm,
+       rmso=rmso,
+       rmul=rmul,
+       rs1=rs1,
+       rs2=rs2,
+       sc=sc,
+       setab=setab%p1%dX,
+       setaf=setaf%p1%dX,
+       setb=setb%p1%dX,
+       setf=setf%p1%dX,
        sgr=sgr%p1%d;%p2%d;%p3%d;%p4%d;%p5%d;%p6%d;%p7%d;%p8;%d;%p9%dX,
-       sgr0=sgr0, smacs=smacs, smam=smam, smcup=smcup,
-       smir=smir, smkx=smkx, smm=smm, smso=smso, smul=smul,
-       tbc=tbc, u6=u6%d;%dX, u7=u7, u8=u8, u9=u9,
+       sgr0=sgr0,
+       smacs=smacs,
+       smam=smam,
+       smcup=smcup,
+       smir=smir,
+       smkx=smkx,
+       smm=smm,
+       smso=smso,
+       smul=smul,
+       tbc=tbc,
+       u6=u6%d;%dX,
+       u7=u7,
+       u8=u8,
+       u9=u9,
        vpa=vpa%p1%dX



Home | Main Index | Thread Index | Old Index