Test results for Linux

test_010060_example_terminfo

Test description

Test for correct functionality of the examples used in the xmlfy documentation.

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -k3 -F1 __ALL__ -F2 , -F3:1 '=' -E 'f1/#/:1' -t -T1 name vt220

Input data

#	Reconstructed via infocmp from file: /usr/share/terminfo/v/vt220
vt220¦vt200¦dec vt220, 
	am, mc5i, mir, msgr, xenl, xon, 
	cols#80, it#8, lines#24, vt#3, 
	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{¦¦}}~~, 
	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
	flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
	ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
	il=\E[%p1%dL, il1=\E[L, ind=\ED, 
	is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D, 
	kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~, 
	kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
	kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
	kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
	kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
	kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, 
	lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, mc4=\E[4i, 
	mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
	rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, 
	rmul=\E[24m, rs1=\E[?3l, sc=\E7, 
	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%¦%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>, 
	sgr0=\E[m\E(B, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
	smso=\E[7m, smul=\E[4m, tbc=\E[3g, 

Output result

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xmlfy SYSTEM "xmlfy.dtd">
<xmlfy>
  <vt220>
    <field>am</field>
    <field>mc5i</field>
    <field>mir</field>
    <field>msgr</field>
    <field>xenl</field>
    <field>xon</field>
    <field>cols#80</field>
    <field>it#8</field>
    <field>lines#24</field>
    <field>vt#3</field>
    <acsc>``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{¦¦}}~~</acsc>
    <bel>^G</bel>
    <blink>\E[5m</blink>
    <bold>\E[1m</bold>
    <clear>\E[H\E[J</clear>
    <cr>^M</cr>
    <csr>\E[%i%p1%d;%p2%dr</csr>
    <cub>\E[%p1%dD</cub>
    <cub1>^H</cub1>
    <cud>\E[%p1%dB</cud>
    <cud1>^J</cud1>
    <cuf>\E[%p1%dC</cuf>
    <cuf1>\E[C</cuf1>
    <cup>\E[%i%p1%d;%p2%dH</cup>
    <cuu>\E[%p1%dA</cuu>
    <cuu1>\E[A</cuu1>
    <dch>\E[%p1%dP</dch>
    <dch1>\E[P</dch1>
    <dl>\E[%p1%dM</dl>
    <dl1>\E[M</dl1>
    <ech>\E[%p1%dX</ech>
    <ed>\E[J</ed>
    <el>\E[K</el>
    <el1>\E[1K</el1>
    <enacs>\E)0</enacs>
    <flash>\E[?5h$<200/>\E[?5l</flash>
    <home>\E[H</home>
    <ht>^I</ht>
    <hts>\EH</hts>
    <ich>\E[%p1%d@</ich>
    <if>/usr/share/tabset/vt100</if>
    <il>\E[%p1%dL</il>
    <il1>\E[L</il1>
    <ind>\ED</ind>
    <is2>\E[?7h\E[>\E[?1h\E F\E[?4l</is2>
    <kbs>^H</kbs>
    <kcub1>\E[D</kcub1>
    <kcud1>\E[B</kcud1>
    <kcuf1>\E[C</kcuf1>
    <kcuu1>\E[A</kcuu1>
    <kf1>\EOP</kf1>
    <kf10>\E[21~</kf10>
    <kf11>\E[23~</kf11>
    <kf12>\E[24~</kf12>
    <kf13>\E[25~</kf13>
    <kf14>\E[26~</kf14>
    <kf17>\E[31~</kf17>
    <kf18>\E[32~</kf18>
    <kf19>\E[33~</kf19>
    <kf2>\EOQ</kf2>
    <kf20>\E[34~</kf20>
    <kf3>\EOR</kf3>
    <kf4>\EOS</kf4>
    <kf6>\E[17~</kf6>
    <kf7>\E[18~</kf7>
    <kf8>\E[19~</kf8>
    <kf9>\E[20~</kf9>
    <kfnd>\E[1~</kfnd>
    <khlp>\E[28~</khlp>
    <kich1>\E[2~</kich1>
    <knp>\E[6~</knp>
    <kpp>\E[5~</kpp>
    <krdo>\E[29~</krdo>
    <kslt>\E[4~</kslt>
    <lf1>pf1</lf1>
    <lf2>pf2</lf2>
    <lf3>pf3</lf3>
    <lf4>pf4</lf4>
    <mc0>\E[i</mc0>
    <mc4>\E[4i</mc4>
    <mc5>\E[5i</mc5>
    <nel>\EE</nel>
    <rc>\E8</rc>
    <rev>\E[7m</rev>
    <ri>\EM</ri>
    <rmacs>\E(B$<4></rmacs>
    <rmam>\E[?7l</rmam>
    <rmir>\E[4l</rmir>
    <rmso>\E[27m</rmso>
    <rmul>\E[24m</rmul>
    <rs1>\E[?3l</rs1>
    <sc>\E7</sc>
    <sgr>\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%¦%t;7%;m%?%p9%t\E(0%e\E(B%;$<2></sgr>
    <sgr0>\E[m\E(B</sgr0>
    <smacs>\E(0$<2></smacs>
    <smam>\E[?7h</smam>
    <smir>\E[4h</smir>
    <smso>\E[7m</smso>
    <smul>\E[4m</smul>
    <tbc>\E[3g</tbc>
  </vt220>
</xmlfy>

Goto:   Top of page.   Section "Environment".   Section "Summary".   Section "Test cases".