Skip to content

Instantly share code, notes, and snippets.

@kskuhlman
Created November 26, 2019 16:29
Show Gist options
  • Save kskuhlman/2b857843956cd15ebb0100b87659e32d to your computer and use it in GitHub Desktop.
Save kskuhlman/2b857843956cd15ebb0100b87659e32d to your computer and use it in GitHub Desktop.
Research into creating workstation customization objects from termcap (xterm, etc) entries.

This is a dumping ground for notes on adding IBM i (#IBM) native support for xterm and other termcap/nscurses supported terminals.

$ infocmp

Reconstructed via infocmp from file: /usr/share/terminfo/x/xterm-256color

xterm-256color|xterm with 256 colors, am, bce, ccc, km, mc5i, mir, msgr, npc, xenl, colors#256, cols#80, it#8, lines#24, pairs#32767, acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, 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, cvvis=\E[?12;25h, 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, flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, initc=\E]4;%p1%d;rgb:%p2%{255}%%{1000}%/%2.2X/%p3%{255}%%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, 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=\177, 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=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El, memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, rmm=\E[?1034l, rmso=\E[27m, rmul=\E[24m, rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7, setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m, sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd, $

$ infocmp -C vt100

Reconstructed via infocmp from file: /usr/share/terminfo/v/vt100

vt100|vt100-am|dec vt100 (w/advanced video):
:am:bs:ms:xn:xo:
:co#80:it#8:li#24:vt#3:
:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:
:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:as=^N:bl=^G:cd=\E[J:
:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:
:ct=\E[3g:do=^J:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:
:k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:kb=^H:
:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:
:ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:
:rc=\E8:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:
:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>:
:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\

$ infocmp -C vt220

Reconstructed via infocmp from file: /usr/share/terminfo/v/vt220

vt220|vt200|dec vt220:
:am:bs:mi:ms:xn:xo:
:co#80:it#8:li#24:vt#3:
:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:
:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:
:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:
:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ec=\E[%dX:
:ei=\E[4l:ho=\E[H:if=/usr/share/tabset/vt100:im=\E[4h:
:is=\E[?7h\E[>\E[?1h\E F\E[?4l:k1=\EOP:k2=\EOQ:k3=\EOR:
:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kI=\E[2~:
:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:
:le=^H:mb=\E[5m:md=\E[1m:me=\E[0m:mr=\E[7m:nd=\E[C:nw=\EE:
:rc=\E8:
:..sa=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>:
:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=^I:
:ue=\E[24m:up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:

static char vt220_alias_data[] = "vt220|vt200|dec vt220";

https://github.com/hharte/tn5250/blob/fdcbc5e725f27912a5a75772e34ce853a7764063/sun/xt5250-color.termcap

xt5250 termcap, adapted for Solaris 7. (p_turczak@NOSPAMwiwa.de)

xterm-5250|xt5250-color:
:Co#8:NC@:pa#64:op=\E[m:AB=\E[4%dm:AF=\E[3%dm:ac@:
:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:UP=\E[%dA:
:al=\E[L:am:
:bs:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:
:cs=\E[%i%d;%dr:ct=\E[3k:
:dc=\E[P:dl=\E[M:
:im=\E[4h:ei=\E[4l:mi:
:ho=\E[H:
:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:
:rs=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<:
:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:
:kl=\EOD:km:kn#4:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:
:li#65:md=\E[1m:me=\E[m:mr=\E[7m:ms:nd=\E[C:pt:
:sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[m:sr=\EM:
:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:
:up=\E[A:us=\E[4m:ue=\E[m:xn:
:kB=\E[Z:bt=\E[Z:kh=\E[1~:kN=\E[6~:kI=\E[2~:kP=\E[5~:


static char vt220_s_bel [] = "\007"; static char vt220_s_cr [] = "\015"; static char vt220_s_csr [] = "\033[%i%p1%d;%p2%dr"; static char vt220_s_tbc [] = "\033[3g"; static char vt220_s_clear [] = "\033[H\033[J"; static char vt220_s_el [] = "\033[K"; static char vt220_s_ed [] = "\033[J"; static char vt220_s_cup [] = "\033[%i%p1%d;%p2%dH"; static char vt220_s_cud1 [] = "\012"; static char vt220_s_home [] = "\033[H"; static char vt220_s_cub1 [] = "\010"; static char vt220_s_cuf1 [] = "\033[C"; static char vt220_s_cuu1 [] = "\033[A"; static char vt220_s_dch1 [] = "\033[P"; static char vt220_s_dl1 [] = "\033[M"; static char vt220_s_smacs [] = "\033(0$<2>"; static char vt220_s_blink [] = "\033[5m"; static char vt220_s_bold [] = "\033[1m"; static char vt220_s_smir [] = "\033[4h"; static char vt220_s_rev [] = "\033[7m"; static char vt220_s_smso [] = "\033[7m"; static char vt220_s_smul [] = "\033[4m"; static char vt220_s_ech [] = "\033[%p1%dX"; static char vt220_s_rmacs [] = "\033(B$<4>"; static char vt220_s_sgr0 [] = "\033[m\033(B"; static char vt220_s_rmir [] = "\033[4l"; static char vt220_s_rmso [] = "\033[27m"; static char vt220_s_rmul [] = "\033[24m"; static char vt220_s_flash [] = "\033[?5h$<200/>\033[?5l"; static char vt220_s_is2 [] = "\033[?7h\033[>\033[?1h\033 F\033[?4l"; static char vt220_s_if [] = "/usr/share/tabset/vt100"; static char vt220_s_il1 [] = "\033[L"; static char vt220_s_kbs [] = "\010"; static char vt220_s_kcud1 [] = "\033[B"; static char vt220_s_kf1 [] = "\033OP"; static char vt220_s_kf10 [] = "\033[21~"; static char vt220_s_kf2 [] = "\033OQ"; static char vt220_s_kf3 [] = "\033OR"; static char vt220_s_kf4 [] = "\033OS"; static char vt220_s_kf6 [] = "\033[17~"; static char vt220_s_kf7 [] = "\033[18~"; static char vt220_s_kf8 [] = "\033[19~"; static char vt220_s_kf9 [] = "\033[20~"; static char vt220_s_kich1 [] = "\033[2~"; static char vt220_s_kcub1 [] = "\033[D"; static char vt220_s_knp [] = "\033[6~"; static char vt220_s_kpp [] = "\033[5~"; static char vt220_s_kcuf1 [] = "\033[C"; static char vt220_s_kcuu1 [] = "\033[A"; static char vt220_s_lf1 [] = "pf1"; static char vt220_s_lf2 [] = "pf2"; static char vt220_s_lf3 [] = "pf3"; static char vt220_s_lf4 [] = "pf4"; static char vt220_s_nel [] = "\033E"; static char vt220_s_dch [] = "\033[%p1%dP"; static char vt220_s_dl [] = "\033[%p1%dM"; static char vt220_s_cud [] = "\033[%p1%dB"; static char vt220_s_ich [] = "\033[%p1%d@"; static char vt220_s_il [] = "\033[%p1%dL"; static char vt220_s_cub [] = "\033[%p1%dD"; static char vt220_s_cuf [] = "\033[%p1%dC"; static char vt220_s_cuu [] = "\033[%p1%dA"; static char vt220_s_mc0 [] = "\033[i"; static char vt220_s_mc4 [] = "\033[4i"; static char vt220_s_mc5 [] = "\033[5i"; static char vt220_s_rs1 [] = "\033[?3l"; static char vt220_s_rc [] = "\0338"; static char vt220_s_sc [] = "\0337"; static char vt220_s_ind [] = "\033D"; static char vt220_s_ri [] = "\033M"; static char vt220_s_sgr [] = "\033[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\033(0%e\033(B%;$<2>"; static char vt220_s_hts [] = "\033H"; static char vt220_s_ht [] = "\011"; static char vt220_s_acsc [] = "``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~"; static char vt220_s_smam [] = "\033[?7h"; static char vt220_s_rmam [] = "\033[?7l"; static char vt220_s_enacs [] = "\033)0"; static char vt220_s_kfnd [] = "\033[1~"; static char vt220_s_khlp [] = "\033[28~"; static char vt220_s_krdo [] = "\033[29~"; static char vt220_s_kslt [] = "\033[4~"; static char vt220_s_kf11 [] = "\033[23~"; static char vt220_s_kf12 [] = "\033[24~"; static char vt220_s_kf13 [] = "\033[25~"; static char vt220_s_kf14 [] = "\033[26~"; static char vt220_s_kf17 [] = "\033[31~"; static char vt220_s_kf18 [] = "\033[32~"; static char vt220_s_kf19 [] = "\033[33~"; static char vt220_s_kf20 [] = "\033[34~"; static char vt220_s_el1 [] = "\033[1K";

static char vt220_bool_data[] = { /* 0: bw / FALSE, / 1: am / TRUE, / 2: xsb / FALSE, / 3: xhp / FALSE, / 4: xenl / TRUE, / 5: eo / FALSE, / 6: gn / FALSE, / 7: hc / FALSE, / 8: km / FALSE, / 9: hs / FALSE, / 10: in / FALSE, / 11: da / FALSE, / 12: db / FALSE, / 13: mir / TRUE, / 14: msgr / TRUE, / 15: os / FALSE, / 16: eslok / FALSE, / 17: xt / FALSE, / 18: hz / FALSE, / 19: ul / FALSE, / 20: xon / TRUE, / 21: nxon / FALSE, / 22: mc5i / TRUE, / 23: chts / FALSE, / 24: nrrmc / FALSE, / 25: npc / FALSE, / 26: ndscr / FALSE, / 27: ccc / FALSE, / 28: bce / FALSE, / 29: hls / FALSE, / 30: xhpa / FALSE, / 31: crxm / FALSE, / 32: daisy / FALSE, / 33: xvpa / FALSE, / 34: sam / FALSE, / 35: cpix / FALSE, / 36: lpix / FALSE, / 37: OTbs / TRUE, / 38: OTns / FALSE, / 39: OTnc / FALSE, / 40: OTMT / FALSE, / 41: OTNL / FALSE, / 42: OTpt / FALSE, / 43: OTxr / FALSE, }; static short vt220_number_data[] = { / 0: cols / 80, / 1: it / 8, / 2: lines / 24, / 3: lm / ABSENT_NUMERIC, / 4: xmc / ABSENT_NUMERIC, / 5: pb / ABSENT_NUMERIC, / 6: vt / 3, / 7: wsl / ABSENT_NUMERIC, / 8: nlab / ABSENT_NUMERIC, / 9: lh / ABSENT_NUMERIC, / 10: lw / ABSENT_NUMERIC, / 11: ma / ABSENT_NUMERIC, / 12: wnum / ABSENT_NUMERIC, / 13: colors / ABSENT_NUMERIC, / 14: pairs / ABSENT_NUMERIC, / 15: ncv / ABSENT_NUMERIC, / 16: bufsz / ABSENT_NUMERIC, / 17: spinv / ABSENT_NUMERIC, / 18: spinh / ABSENT_NUMERIC, / 19: maddr / ABSENT_NUMERIC, / 20: mjump / ABSENT_NUMERIC, / 21: mcs / ABSENT_NUMERIC, / 22: mls / ABSENT_NUMERIC, / 23: npins / ABSENT_NUMERIC, / 24: orc / ABSENT_NUMERIC, / 25: orl / ABSENT_NUMERIC, / 26: orhi / ABSENT_NUMERIC, / 27: orvi / ABSENT_NUMERIC, / 28: cps / ABSENT_NUMERIC, / 29: widcs / ABSENT_NUMERIC, / 30: btns / ABSENT_NUMERIC, / 31: bitwin / ABSENT_NUMERIC, / 32: bitype / ABSENT_NUMERIC, / 33: OTug / ABSENT_NUMERIC, / 34: OTdC / ABSENT_NUMERIC, / 35: OTdN / ABSENT_NUMERIC, / 36: OTdB / ABSENT_NUMERIC, / 37: OTdT / ABSENT_NUMERIC, / 38: OTkn / ABSENT_NUMERIC, }; static char * vt220_string_data[] = { / 0: cbt / ABSENT_STRING, / 1: bel / vt220_s_bel, / 2: cr / vt220_s_cr, / 3: csr / vt220_s_csr, / 4: tbc / vt220_s_tbc, / 5: clear / vt220_s_clear, / 6: el / vt220_s_el, / 7: ed / vt220_s_ed, / 8: hpa / ABSENT_STRING, / 9: cmdch / ABSENT_STRING, / 10: cup / vt220_s_cup, / 11: cud1 / vt220_s_cud1, / 12: home / vt220_s_home, / 13: civis / ABSENT_STRING, / 14: cub1 / vt220_s_cub1, / 15: mrcup / ABSENT_STRING, / 16: cnorm / ABSENT_STRING, / 17: cuf1 / vt220_s_cuf1, / 18: ll / ABSENT_STRING, / 19: cuu1 / vt220_s_cuu1, / 20: cvvis / ABSENT_STRING, / 21: dch1 / vt220_s_dch1, / 22: dl1 / vt220_s_dl1, / 23: dsl / ABSENT_STRING, / 24: hd / ABSENT_STRING, / 25: smacs / vt220_s_smacs, / 26: blink / vt220_s_blink, / 27: bold / vt220_s_bold, / 28: smcup / ABSENT_STRING, / 29: smdc / ABSENT_STRING, / 30: dim / ABSENT_STRING, / 31: smir / vt220_s_smir, / 32: invis / ABSENT_STRING, / 33: prot / ABSENT_STRING, / 34: rev / vt220_s_rev, / 35: smso / vt220_s_smso, / 36: smul / vt220_s_smul, / 37: ech / vt220_s_ech, / 38: rmacs / vt220_s_rmacs, / 39: sgr0 / vt220_s_sgr0, / 40: rmcup / ABSENT_STRING, / 41: rmdc / ABSENT_STRING, / 42: rmir / vt220_s_rmir, / 43: rmso / vt220_s_rmso, / 44: rmul / vt220_s_rmul, / 45: flash / vt220_s_flash, / 46: ff / ABSENT_STRING, / 47: fsl / ABSENT_STRING, / 48: is1 / ABSENT_STRING, / 49: is2 / vt220_s_is2, / 50: is3 / ABSENT_STRING, / 51: if / vt220_s_if, / 52: ich1 / ABSENT_STRING, / 53: il1 / vt220_s_il1, / 54: ip / ABSENT_STRING, / 55: kbs / vt220_s_kbs, / 56: ktbc / ABSENT_STRING, / 57: kclr / ABSENT_STRING, / 58: kctab / ABSENT_STRING, / 59: kdch1 / ABSENT_STRING, / 60: kdl1 / ABSENT_STRING, / 61: kcud1 / vt220_s_kcud1, / 62: krmir / ABSENT_STRING, / 63: kel / ABSENT_STRING, / 64: ked / ABSENT_STRING, / 65: kf0 / ABSENT_STRING, / 66: kf1 / vt220_s_kf1, / 67: kf10 / vt220_s_kf10, / 68: kf2 / vt220_s_kf2, / 69: kf3 / vt220_s_kf3, / 70: kf4 / vt220_s_kf4, / 71: kf5 / ABSENT_STRING, / 72: kf6 / vt220_s_kf6, / 73: kf7 / vt220_s_kf7, / 74: kf8 / vt220_s_kf8, / 75: kf9 / vt220_s_kf9, / 76: khome / ABSENT_STRING, / 77: kich1 / vt220_s_kich1, / 78: kil1 / ABSENT_STRING, / 79: kcub1 / vt220_s_kcub1, / 80: kll / ABSENT_STRING, / 81: knp / vt220_s_knp, / 82: kpp / vt220_s_kpp, / 83: kcuf1 / vt220_s_kcuf1, / 84: kind / ABSENT_STRING, / 85: kri / ABSENT_STRING, / 86: khts / ABSENT_STRING, / 87: kcuu1 / vt220_s_kcuu1, / 88: rmkx / ABSENT_STRING, / 89: smkx / ABSENT_STRING, / 90: lf0 / ABSENT_STRING, / 91: lf1 / vt220_s_lf1, / 92: lf10 / ABSENT_STRING, / 93: lf2 / vt220_s_lf2, / 94: lf3 / vt220_s_lf3, / 95: lf4 / vt220_s_lf4, / 96: lf5 / ABSENT_STRING, / 97: lf6 / ABSENT_STRING, / 98: lf7 / ABSENT_STRING, / 99: lf8 / ABSENT_STRING, / 100: lf9 / ABSENT_STRING, / 101: rmm / ABSENT_STRING, / 102: smm / ABSENT_STRING, / 103: nel / vt220_s_nel, / 104: pad / ABSENT_STRING, / 105: dch / vt220_s_dch, / 106: dl / vt220_s_dl, / 107: cud / vt220_s_cud, / 108: ich / vt220_s_ich, / 109: indn / ABSENT_STRING, / 110: il / vt220_s_il, / 111: cub / vt220_s_cub, / 112: cuf / vt220_s_cuf, / 113: rin / ABSENT_STRING, / 114: cuu / vt220_s_cuu, / 115: pfkey / ABSENT_STRING, / 116: pfloc / ABSENT_STRING, / 117: pfx / ABSENT_STRING, / 118: mc0 / vt220_s_mc0, / 119: mc4 / vt220_s_mc4, / 120: mc5 / vt220_s_mc5, / 121: rep / ABSENT_STRING, / 122: rs1 / vt220_s_rs1, / 123: rs2 / ABSENT_STRING, / 124: rs3 / ABSENT_STRING, / 125: rf / ABSENT_STRING, / 126: rc / vt220_s_rc, / 127: vpa / ABSENT_STRING, / 128: sc / vt220_s_sc, / 129: ind / vt220_s_ind, / 130: ri / vt220_s_ri, / 131: sgr / vt220_s_sgr, / 132: hts / vt220_s_hts, / 133: wind / ABSENT_STRING, / 134: ht / vt220_s_ht, / 135: tsl / ABSENT_STRING, / 136: uc / ABSENT_STRING, / 137: hu / ABSENT_STRING, / 138: iprog / ABSENT_STRING, / 139: ka1 / ABSENT_STRING, / 140: ka3 / ABSENT_STRING, / 141: kb2 / ABSENT_STRING, / 142: kc1 / ABSENT_STRING, / 143: kc3 / ABSENT_STRING, / 144: mc5p / ABSENT_STRING, / 145: rmp / ABSENT_STRING, / 146: acsc / vt220_s_acsc, / 147: pln / ABSENT_STRING, / 148: kcbt / ABSENT_STRING, / 149: smxon / ABSENT_STRING, / 150: rmxon / ABSENT_STRING, / 151: smam / vt220_s_smam, / 152: rmam / vt220_s_rmam, / 153: xonc / ABSENT_STRING, / 154: xoffc / ABSENT_STRING, / 155: enacs / vt220_s_enacs, / 156: smln / ABSENT_STRING, / 157: rmln / ABSENT_STRING, / 158: kbeg / ABSENT_STRING, / 159: kcan / ABSENT_STRING, / 160: kclo / ABSENT_STRING, / 161: kcmd / ABSENT_STRING, / 162: kcpy / ABSENT_STRING, / 163: kcrt / ABSENT_STRING, / 164: kend / ABSENT_STRING, / 165: kent / ABSENT_STRING, / 166: kext / ABSENT_STRING, / 167: kfnd / vt220_s_kfnd, / 168: khlp / vt220_s_khlp, / 169: kmrk / ABSENT_STRING, / 170: kmsg / ABSENT_STRING, / 171: kmov / ABSENT_STRING, / 172: knxt / ABSENT_STRING, / 173: kopn / ABSENT_STRING, / 174: kopt / ABSENT_STRING, / 175: kprv / ABSENT_STRING, / 176: kprt / ABSENT_STRING, / 177: krdo / vt220_s_krdo, / 178: kref / ABSENT_STRING, / 179: krfr / ABSENT_STRING, / 180: krpl / ABSENT_STRING, / 181: krst / ABSENT_STRING, / 182: kres / ABSENT_STRING, / 183: ksav / ABSENT_STRING, / 184: kspd / ABSENT_STRING, / 185: kund / ABSENT_STRING, / 186: kBEG / ABSENT_STRING, / 187: kCAN / ABSENT_STRING, / 188: kCMD / ABSENT_STRING, / 189: kCPY / ABSENT_STRING, / 190: kCRT / ABSENT_STRING, / 191: kDC / ABSENT_STRING, / 192: kDL / ABSENT_STRING, / 193: kslt / vt220_s_kslt, / 194: kEND / ABSENT_STRING, / 195: kEOL / ABSENT_STRING, / 196: kEXT / ABSENT_STRING, / 197: kFND / ABSENT_STRING, / 198: kHLP / ABSENT_STRING, / 199: kHOM / ABSENT_STRING, / 200: kIC / ABSENT_STRING, / 201: kLFT / ABSENT_STRING, / 202: kMSG / ABSENT_STRING, / 203: kMOV / ABSENT_STRING, / 204: kNXT / ABSENT_STRING, / 205: kOPT / ABSENT_STRING, / 206: kPRV / ABSENT_STRING, / 207: kPRT / ABSENT_STRING, / 208: kRDO / ABSENT_STRING, / 209: kRPL / ABSENT_STRING, / 210: kRIT / ABSENT_STRING, / 211: kRES / ABSENT_STRING, / 212: kSAV / ABSENT_STRING, / 213: kSPD / ABSENT_STRING, / 214: kUND / ABSENT_STRING, / 215: rfi / ABSENT_STRING, / 216: kf11 / vt220_s_kf11, / 217: kf12 / vt220_s_kf12, / 218: kf13 / vt220_s_kf13, / 219: kf14 / vt220_s_kf14, / 220: kf15 / ABSENT_STRING, / 221: kf16 / ABSENT_STRING, / 222: kf17 / vt220_s_kf17, / 223: kf18 / vt220_s_kf18, / 224: kf19 / vt220_s_kf19, / 225: kf20 / vt220_s_kf20, / 226: kf21 / ABSENT_STRING, / 227: kf22 / ABSENT_STRING, / 228: kf23 / ABSENT_STRING, / 229: kf24 / ABSENT_STRING, / 230: kf25 / ABSENT_STRING, / 231: kf26 / ABSENT_STRING, / 232: kf27 / ABSENT_STRING, / 233: kf28 / ABSENT_STRING, / 234: kf29 / ABSENT_STRING, / 235: kf30 / ABSENT_STRING, / 236: kf31 / ABSENT_STRING, / 237: kf32 / ABSENT_STRING, / 238: kf33 / ABSENT_STRING, / 239: kf34 / ABSENT_STRING, / 240: kf35 / ABSENT_STRING, / 241: kf36 / ABSENT_STRING, / 242: kf37 / ABSENT_STRING, / 243: kf38 / ABSENT_STRING, / 244: kf39 / ABSENT_STRING, / 245: kf40 / ABSENT_STRING, / 246: kf41 / ABSENT_STRING, / 247: kf42 / ABSENT_STRING, / 248: kf43 / ABSENT_STRING, / 249: kf44 / ABSENT_STRING, / 250: kf45 / ABSENT_STRING, / 251: kf46 / ABSENT_STRING, / 252: kf47 / ABSENT_STRING, / 253: kf48 / ABSENT_STRING, / 254: kf49 / ABSENT_STRING, / 255: kf50 / ABSENT_STRING, / 256: kf51 / ABSENT_STRING, / 257: kf52 / ABSENT_STRING, / 258: kf53 / ABSENT_STRING, / 259: kf54 / ABSENT_STRING, / 260: kf55 / ABSENT_STRING, / 261: kf56 / ABSENT_STRING, / 262: kf57 / ABSENT_STRING, / 263: kf58 / ABSENT_STRING, / 264: kf59 / ABSENT_STRING, / 265: kf60 / ABSENT_STRING, / 266: kf61 / ABSENT_STRING, / 267: kf62 / ABSENT_STRING, / 268: kf63 / ABSENT_STRING, / 269: el1 / vt220_s_el1, / 270: mgc / ABSENT_STRING, / 271: smgl / ABSENT_STRING, / 272: smgr / ABSENT_STRING, / 273: fln / ABSENT_STRING, / 274: sclk / ABSENT_STRING, / 275: dclk / ABSENT_STRING, / 276: rmclk / ABSENT_STRING, / 277: cwin / ABSENT_STRING, / 278: wingo / ABSENT_STRING, / 279: hup / ABSENT_STRING, / 280: dial / ABSENT_STRING, / 281: qdial / ABSENT_STRING, / 282: tone / ABSENT_STRING, / 283: pulse / ABSENT_STRING, / 284: hook / ABSENT_STRING, / 285: pause / ABSENT_STRING, / 286: wait / ABSENT_STRING, / 287: u0 / ABSENT_STRING, / 288: u1 / ABSENT_STRING, / 289: u2 / ABSENT_STRING, / 290: u3 / ABSENT_STRING, / 291: u4 / ABSENT_STRING, / 292: u5 / ABSENT_STRING, / 293: u6 / ABSENT_STRING, / 294: u7 / ABSENT_STRING, / 295: u8 / ABSENT_STRING, / 296: u9 / ABSENT_STRING, / 297: op / ABSENT_STRING, / 298: oc / ABSENT_STRING, / 299: initc / ABSENT_STRING, / 300: initp / ABSENT_STRING, / 301: scp / ABSENT_STRING, / 302: setf / ABSENT_STRING, / 303: setb / ABSENT_STRING, / 304: cpi / ABSENT_STRING, / 305: lpi / ABSENT_STRING, / 306: chr / ABSENT_STRING, / 307: cvr / ABSENT_STRING, / 308: defc / ABSENT_STRING, / 309: swidm / ABSENT_STRING, / 310: sdrfq / ABSENT_STRING, / 311: sitm / ABSENT_STRING, / 312: slm / ABSENT_STRING, / 313: smicm / ABSENT_STRING, / 314: snlq / ABSENT_STRING, / 315: snrmq / ABSENT_STRING, / 316: sshm / ABSENT_STRING, / 317: ssubm / ABSENT_STRING, / 318: ssupm / ABSENT_STRING, / 319: sum / ABSENT_STRING, / 320: rwidm / ABSENT_STRING, / 321: ritm / ABSENT_STRING, / 322: rlm / ABSENT_STRING, / 323: rmicm / ABSENT_STRING, / 324: rshm / ABSENT_STRING, / 325: rsubm / ABSENT_STRING, / 326: rsupm / ABSENT_STRING, / 327: rum / ABSENT_STRING, / 328: mhpa / ABSENT_STRING, / 329: mcud1 / ABSENT_STRING, / 330: mcub1 / ABSENT_STRING, / 331: mcuf1 / ABSENT_STRING, / 332: mvpa / ABSENT_STRING, / 333: mcuu1 / ABSENT_STRING, / 334: porder / ABSENT_STRING, / 335: mcud / ABSENT_STRING, / 336: mcub / ABSENT_STRING, / 337: mcuf / ABSENT_STRING, / 338: mcuu / ABSENT_STRING, / 339: scs / ABSENT_STRING, / 340: smgb / ABSENT_STRING, / 341: smgbp / ABSENT_STRING, / 342: smglp / ABSENT_STRING, / 343: smgrp / ABSENT_STRING, / 344: smgt / ABSENT_STRING, / 345: smgtp / ABSENT_STRING, / 346: sbim / ABSENT_STRING, / 347: scsd / ABSENT_STRING, / 348: rbim / ABSENT_STRING, / 349: rcsd / ABSENT_STRING, / 350: subcs / ABSENT_STRING, / 351: supcs / ABSENT_STRING, / 352: docr / ABSENT_STRING, / 353: zerom / ABSENT_STRING, / 354: csnm / ABSENT_STRING, / 355: kmous / ABSENT_STRING, / 356: minfo / ABSENT_STRING, / 357: reqmp / ABSENT_STRING, / 358: getm / ABSENT_STRING, / 359: setaf / ABSENT_STRING, / 360: setab / ABSENT_STRING, / 361: pfxl / ABSENT_STRING, / 362: devt / ABSENT_STRING, / 363: csin / ABSENT_STRING, / 364: s0ds / ABSENT_STRING, / 365: s1ds / ABSENT_STRING, / 366: s2ds / ABSENT_STRING, / 367: s3ds / ABSENT_STRING, / 368: smglr / ABSENT_STRING, / 369: smgtb / ABSENT_STRING, / 370: birep / ABSENT_STRING, / 371: binel / ABSENT_STRING, / 372: bicr / ABSENT_STRING, / 373: colornm / ABSENT_STRING, / 374: defbi / ABSENT_STRING, / 375: endbi / ABSENT_STRING, / 376: setcolor / ABSENT_STRING, / 377: slines / ABSENT_STRING, / 378: dispc / ABSENT_STRING, / 379: smpch / ABSENT_STRING, / 380: rmpch / ABSENT_STRING, / 381: smsc / ABSENT_STRING, / 382: rmsc / ABSENT_STRING, / 383: pctrm / ABSENT_STRING, / 384: scesc / ABSENT_STRING, / 385: scesa / ABSENT_STRING, / 386: ehhlm / ABSENT_STRING, / 387: elhlm / ABSENT_STRING, / 388: elohlm / ABSENT_STRING, / 389: erhlm / ABSENT_STRING, / 390: ethlm / ABSENT_STRING, / 391: evhlm / ABSENT_STRING, / 392: sgr1 / ABSENT_STRING, / 393: slength / ABSENT_STRING, / 394: OTi2 / ABSENT_STRING, / 395: OTrs / ABSENT_STRING, / 396: OTnl / ABSENT_STRING, / 397: OTbc / ABSENT_STRING, / 398: OTko / ABSENT_STRING, / 399: OTma / ABSENT_STRING, / 400: OTG2 / ABSENT_STRING, / 401: OTG3 / ABSENT_STRING, / 402: OTG1 / ABSENT_STRING, / 403: OTG4 / ABSENT_STRING, / 404: OTGR / ABSENT_STRING, / 405: OTGL / ABSENT_STRING, / 406: OTGU / ABSENT_STRING, / 407: OTGD / ABSENT_STRING, / 408: OTGH / ABSENT_STRING, / 409: OTGV / ABSENT_STRING, / 410: OTGC / ABSENT_STRING, / 411: meml / ABSENT_STRING, / 412: memu / ABSENT_STRING, / 413: box1 */ ABSENT_STRING, };


$ infocmp -E vt100

static char vt100_alias_data[] = "vt100|vt100-am|dec vt100 (w/advanced video)";

static char vt100_s_bel [] = "\007"; static char vt100_s_cr [] = "\015"; static char vt100_s_csr [] = "\033[%i%p1%d;%p2%dr"; static char vt100_s_tbc [] = "\033[3g"; static char vt100_s_clear [] = "\033[H\033[J$<50>"; static char vt100_s_el [] = "\033[K$<3>"; static char vt100_s_ed [] = "\033[J$<50>"; static char vt100_s_cup [] = "\033[%i%p1%d;%p2%dH$<5>"; static char vt100_s_cud1 [] = "\012"; static char vt100_s_home [] = "\033[H"; static char vt100_s_cub1 [] = "\010"; static char vt100_s_cuf1 [] = "\033[C$<2>"; static char vt100_s_cuu1 [] = "\033[A$<2>"; static char vt100_s_smacs [] = "\016"; static char vt100_s_blink [] = "\033[5m$<2>"; static char vt100_s_bold [] = "\033[1m$<2>"; static char vt100_s_rev [] = "\033[7m$<2>"; static char vt100_s_smso [] = "\033[7m$<2>"; static char vt100_s_smul [] = "\033[4m$<2>"; static char vt100_s_rmacs [] = "\017"; static char vt100_s_sgr0 [] = "\033[m\017$<2>"; static char vt100_s_rmso [] = "\033[m$<2>"; static char vt100_s_rmul [] = "\033[m$<2>"; static char vt100_s_kbs [] = "\010"; static char vt100_s_kcud1 [] = "\033OB"; static char vt100_s_kf0 [] = "\033Oy"; static char vt100_s_kf1 [] = "\033OP"; static char vt100_s_kf10 [] = "\033Ox"; static char vt100_s_kf2 [] = "\033OQ"; static char vt100_s_kf3 [] = "\033OR"; static char vt100_s_kf4 [] = "\033OS"; static char vt100_s_kf5 [] = "\033Ot"; static char vt100_s_kf6 [] = "\033Ou"; static char vt100_s_kf7 [] = "\033Ov"; static char vt100_s_kf8 [] = "\033Ol"; static char vt100_s_kf9 [] = "\033Ow"; static char vt100_s_kcub1 [] = "\033OD"; static char vt100_s_kcuf1 [] = "\033OC"; static char vt100_s_kcuu1 [] = "\033OA"; static char vt100_s_rmkx [] = "\033[?1l\033>"; static char vt100_s_smkx [] = "\033[?1h\033="; static char vt100_s_lf1 [] = "pf1"; static char vt100_s_lf2 [] = "pf2"; static char vt100_s_lf3 [] = "pf3"; static char vt100_s_lf4 [] = "pf4"; static char vt100_s_cud [] = "\033[%p1%dB"; static char vt100_s_cub [] = "\033[%p1%dD"; static char vt100_s_cuf [] = "\033[%p1%dC"; static char vt100_s_cuu [] = "\033[%p1%dA"; static char vt100_s_mc0 [] = "\033[0i"; static char vt100_s_mc4 [] = "\033[4i"; static char vt100_s_mc5 [] = "\033[5i"; static char vt100_s_rs2 [] = "\033>\033[?3l\033[?4l\033[?5l\033[?7h\033[?8h"; static char vt100_s_rc [] = "\0338"; static char vt100_s_sc [] = "\0337"; static char vt100_s_ind [] = "\012"; static char vt100_s_ri [] = "\033M$<5>"; static char vt100_s_sgr [] = "\033[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>"; static char vt100_s_hts [] = "\033H"; static char vt100_s_ht [] = "\011"; static char vt100_s_ka1 [] = "\033Oq"; static char vt100_s_ka3 [] = "\033Os"; static char vt100_s_kb2 [] = "\033Or"; static char vt100_s_kc1 [] = "\033Op"; static char vt100_s_kc3 [] = "\033On"; static char vt100_s_acsc [] = "``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~"; static char vt100_s_smam [] = "\033[?7h"; static char vt100_s_rmam [] = "\033[?7l"; static char vt100_s_enacs [] = "\033(B\033)0"; static char vt100_s_kent [] = "\033OM"; static char vt100_s_el1 [] = "\033[1K$<3>";

static char vt100_bool_data[] = { /* 0: bw / FALSE, / 1: am / TRUE, / 2: xsb / FALSE, / 3: xhp / FALSE, / 4: xenl / TRUE, / 5: eo / FALSE, / 6: gn / FALSE, / 7: hc / FALSE, / 8: km / FALSE, / 9: hs / FALSE, / 10: in / FALSE, / 11: da / FALSE, / 12: db / FALSE, / 13: mir / FALSE, / 14: msgr / TRUE, / 15: os / FALSE, / 16: eslok / FALSE, / 17: xt / FALSE, / 18: hz / FALSE, / 19: ul / FALSE, / 20: xon / TRUE, / 21: nxon / FALSE, / 22: mc5i / TRUE, / 23: chts / FALSE, / 24: nrrmc / FALSE, / 25: npc / FALSE, / 26: ndscr / FALSE, / 27: ccc / FALSE, / 28: bce / FALSE, / 29: hls / FALSE, / 30: xhpa / FALSE, / 31: crxm / FALSE, / 32: daisy / FALSE, / 33: xvpa / FALSE, / 34: sam / FALSE, / 35: cpix / FALSE, / 36: lpix / FALSE, / 37: OTbs / TRUE, / 38: OTns / FALSE, / 39: OTnc / FALSE, / 40: OTMT / FALSE, / 41: OTNL / FALSE, / 42: OTpt / FALSE, / 43: OTxr / FALSE, }; static short vt100_number_data[] = { / 0: cols / 80, / 1: it / 8, / 2: lines / 24, / 3: lm / ABSENT_NUMERIC, / 4: xmc / ABSENT_NUMERIC, / 5: pb / ABSENT_NUMERIC, / 6: vt / 3, / 7: wsl / ABSENT_NUMERIC, / 8: nlab / ABSENT_NUMERIC, / 9: lh / ABSENT_NUMERIC, / 10: lw / ABSENT_NUMERIC, / 11: ma / ABSENT_NUMERIC, / 12: wnum / ABSENT_NUMERIC, / 13: colors / ABSENT_NUMERIC, / 14: pairs / ABSENT_NUMERIC, / 15: ncv / ABSENT_NUMERIC, / 16: bufsz / ABSENT_NUMERIC, / 17: spinv / ABSENT_NUMERIC, / 18: spinh / ABSENT_NUMERIC, / 19: maddr / ABSENT_NUMERIC, / 20: mjump / ABSENT_NUMERIC, / 21: mcs / ABSENT_NUMERIC, / 22: mls / ABSENT_NUMERIC, / 23: npins / ABSENT_NUMERIC, / 24: orc / ABSENT_NUMERIC, / 25: orl / ABSENT_NUMERIC, / 26: orhi / ABSENT_NUMERIC, / 27: orvi / ABSENT_NUMERIC, / 28: cps / ABSENT_NUMERIC, / 29: widcs / ABSENT_NUMERIC, / 30: btns / ABSENT_NUMERIC, / 31: bitwin / ABSENT_NUMERIC, / 32: bitype / ABSENT_NUMERIC, / 33: OTug / ABSENT_NUMERIC, / 34: OTdC / ABSENT_NUMERIC, / 35: OTdN / ABSENT_NUMERIC, / 36: OTdB / ABSENT_NUMERIC, / 37: OTdT / ABSENT_NUMERIC, / 38: OTkn / ABSENT_NUMERIC, }; static char * vt100_string_data[] = { / 0: cbt / ABSENT_STRING, / 1: bel / vt100_s_bel, / 2: cr / vt100_s_cr, / 3: csr / vt100_s_csr, / 4: tbc / vt100_s_tbc, / 5: clear / vt100_s_clear, / 6: el / vt100_s_el, / 7: ed / vt100_s_ed, / 8: hpa / ABSENT_STRING, / 9: cmdch / ABSENT_STRING, / 10: cup / vt100_s_cup, / 11: cud1 / vt100_s_cud1, / 12: home / vt100_s_home, / 13: civis / ABSENT_STRING, / 14: cub1 / vt100_s_cub1, / 15: mrcup / ABSENT_STRING, / 16: cnorm / ABSENT_STRING, / 17: cuf1 / vt100_s_cuf1, / 18: ll / ABSENT_STRING, / 19: cuu1 / vt100_s_cuu1, / 20: cvvis / ABSENT_STRING, / 21: dch1 / ABSENT_STRING, / 22: dl1 / ABSENT_STRING, / 23: dsl / ABSENT_STRING, / 24: hd / ABSENT_STRING, / 25: smacs / vt100_s_smacs, / 26: blink / vt100_s_blink, / 27: bold / vt100_s_bold, / 28: smcup / ABSENT_STRING, / 29: smdc / ABSENT_STRING, / 30: dim / ABSENT_STRING, / 31: smir / ABSENT_STRING, / 32: invis / ABSENT_STRING, / 33: prot / ABSENT_STRING, / 34: rev / vt100_s_rev, / 35: smso / vt100_s_smso, / 36: smul / vt100_s_smul, / 37: ech / ABSENT_STRING, / 38: rmacs / vt100_s_rmacs, / 39: sgr0 / vt100_s_sgr0, / 40: rmcup / ABSENT_STRING, / 41: rmdc / ABSENT_STRING, / 42: rmir / ABSENT_STRING, / 43: rmso / vt100_s_rmso, / 44: rmul / vt100_s_rmul, / 45: flash / ABSENT_STRING, / 46: ff / ABSENT_STRING, / 47: fsl / ABSENT_STRING, / 48: is1 / ABSENT_STRING, / 49: is2 / ABSENT_STRING, / 50: is3 / ABSENT_STRING, / 51: if / ABSENT_STRING, / 52: ich1 / ABSENT_STRING, / 53: il1 / ABSENT_STRING, / 54: ip / ABSENT_STRING, / 55: kbs / vt100_s_kbs, / 56: ktbc / ABSENT_STRING, / 57: kclr / ABSENT_STRING, / 58: kctab / ABSENT_STRING, / 59: kdch1 / ABSENT_STRING, / 60: kdl1 / ABSENT_STRING, / 61: kcud1 / vt100_s_kcud1, / 62: krmir / ABSENT_STRING, / 63: kel / ABSENT_STRING, / 64: ked / ABSENT_STRING, / 65: kf0 / vt100_s_kf0, / 66: kf1 / vt100_s_kf1, / 67: kf10 / vt100_s_kf10, / 68: kf2 / vt100_s_kf2, / 69: kf3 / vt100_s_kf3, / 70: kf4 / vt100_s_kf4, / 71: kf5 / vt100_s_kf5, / 72: kf6 / vt100_s_kf6, / 73: kf7 / vt100_s_kf7, / 74: kf8 / vt100_s_kf8, / 75: kf9 / vt100_s_kf9, / 76: khome / ABSENT_STRING, / 77: kich1 / ABSENT_STRING, / 78: kil1 / ABSENT_STRING, / 79: kcub1 / vt100_s_kcub1, / 80: kll / ABSENT_STRING, / 81: knp / ABSENT_STRING, / 82: kpp / ABSENT_STRING, / 83: kcuf1 / vt100_s_kcuf1, / 84: kind / ABSENT_STRING, / 85: kri / ABSENT_STRING, / 86: khts / ABSENT_STRING, / 87: kcuu1 / vt100_s_kcuu1, / 88: rmkx / vt100_s_rmkx, / 89: smkx / vt100_s_smkx, / 90: lf0 / ABSENT_STRING, / 91: lf1 / vt100_s_lf1, / 92: lf10 / ABSENT_STRING, / 93: lf2 / vt100_s_lf2, / 94: lf3 / vt100_s_lf3, / 95: lf4 / vt100_s_lf4, / 96: lf5 / ABSENT_STRING, / 97: lf6 / ABSENT_STRING, / 98: lf7 / ABSENT_STRING, / 99: lf8 / ABSENT_STRING, / 100: lf9 / ABSENT_STRING, / 101: rmm / ABSENT_STRING, / 102: smm / ABSENT_STRING, / 103: nel / ABSENT_STRING, / 104: pad / ABSENT_STRING, / 105: dch / ABSENT_STRING, / 106: dl / ABSENT_STRING, / 107: cud / vt100_s_cud, / 108: ich / ABSENT_STRING, / 109: indn / ABSENT_STRING, / 110: il / ABSENT_STRING, / 111: cub / vt100_s_cub, / 112: cuf / vt100_s_cuf, / 113: rin / ABSENT_STRING, / 114: cuu / vt100_s_cuu, / 115: pfkey / ABSENT_STRING, / 116: pfloc / ABSENT_STRING, / 117: pfx / ABSENT_STRING, / 118: mc0 / vt100_s_mc0, / 119: mc4 / vt100_s_mc4, / 120: mc5 / vt100_s_mc5, / 121: rep / ABSENT_STRING, / 122: rs1 / ABSENT_STRING, / 123: rs2 / vt100_s_rs2, / 124: rs3 / ABSENT_STRING, / 125: rf / ABSENT_STRING, / 126: rc / vt100_s_rc, / 127: vpa / ABSENT_STRING, / 128: sc / vt100_s_sc, / 129: ind / vt100_s_ind, / 130: ri / vt100_s_ri, / 131: sgr / vt100_s_sgr, / 132: hts / vt100_s_hts, / 133: wind / ABSENT_STRING, / 134: ht / vt100_s_ht, / 135: tsl / ABSENT_STRING, / 136: uc / ABSENT_STRING, / 137: hu / ABSENT_STRING, / 138: iprog / ABSENT_STRING, / 139: ka1 / vt100_s_ka1, / 140: ka3 / vt100_s_ka3, / 141: kb2 / vt100_s_kb2, / 142: kc1 / vt100_s_kc1, / 143: kc3 / vt100_s_kc3, / 144: mc5p / ABSENT_STRING, / 145: rmp / ABSENT_STRING, / 146: acsc / vt100_s_acsc, / 147: pln / ABSENT_STRING, / 148: kcbt / ABSENT_STRING, / 149: smxon / ABSENT_STRING, / 150: rmxon / ABSENT_STRING, / 151: smam / vt100_s_smam, / 152: rmam / vt100_s_rmam, / 153: xonc / ABSENT_STRING, / 154: xoffc / ABSENT_STRING, / 155: enacs / vt100_s_enacs, / 156: smln / ABSENT_STRING, / 157: rmln / ABSENT_STRING, / 158: kbeg / ABSENT_STRING, / 159: kcan / ABSENT_STRING, / 160: kclo / ABSENT_STRING, / 161: kcmd / ABSENT_STRING, / 162: kcpy / ABSENT_STRING, / 163: kcrt / ABSENT_STRING, / 164: kend / ABSENT_STRING, / 165: kent / vt100_s_kent, / 166: kext / ABSENT_STRING, / 167: kfnd / ABSENT_STRING, / 168: khlp / ABSENT_STRING, / 169: kmrk / ABSENT_STRING, / 170: kmsg / ABSENT_STRING, / 171: kmov / ABSENT_STRING, / 172: knxt / ABSENT_STRING, / 173: kopn / ABSENT_STRING, / 174: kopt / ABSENT_STRING, / 175: kprv / ABSENT_STRING, / 176: kprt / ABSENT_STRING, / 177: krdo / ABSENT_STRING, / 178: kref / ABSENT_STRING, / 179: krfr / ABSENT_STRING, / 180: krpl / ABSENT_STRING, / 181: krst / ABSENT_STRING, / 182: kres / ABSENT_STRING, / 183: ksav / ABSENT_STRING, / 184: kspd / ABSENT_STRING, / 185: kund / ABSENT_STRING, / 186: kBEG / ABSENT_STRING, / 187: kCAN / ABSENT_STRING, / 188: kCMD / ABSENT_STRING, / 189: kCPY / ABSENT_STRING, / 190: kCRT / ABSENT_STRING, / 191: kDC / ABSENT_STRING, / 192: kDL / ABSENT_STRING, / 193: kslt / ABSENT_STRING, / 194: kEND / ABSENT_STRING, / 195: kEOL / ABSENT_STRING, / 196: kEXT / ABSENT_STRING, / 197: kFND / ABSENT_STRING, / 198: kHLP / ABSENT_STRING, / 199: kHOM / ABSENT_STRING, / 200: kIC / ABSENT_STRING, / 201: kLFT / ABSENT_STRING, / 202: kMSG / ABSENT_STRING, / 203: kMOV / ABSENT_STRING, / 204: kNXT / ABSENT_STRING, / 205: kOPT / ABSENT_STRING, / 206: kPRV / ABSENT_STRING, / 207: kPRT / ABSENT_STRING, / 208: kRDO / ABSENT_STRING, / 209: kRPL / ABSENT_STRING, / 210: kRIT / ABSENT_STRING, / 211: kRES / ABSENT_STRING, / 212: kSAV / ABSENT_STRING, / 213: kSPD / ABSENT_STRING, / 214: kUND / ABSENT_STRING, / 215: rfi / ABSENT_STRING, / 216: kf11 / ABSENT_STRING, / 217: kf12 / ABSENT_STRING, / 218: kf13 / ABSENT_STRING, / 219: kf14 / ABSENT_STRING, / 220: kf15 / ABSENT_STRING, / 221: kf16 / ABSENT_STRING, / 222: kf17 / ABSENT_STRING, / 223: kf18 / ABSENT_STRING, / 224: kf19 / ABSENT_STRING, / 225: kf20 / ABSENT_STRING, / 226: kf21 / ABSENT_STRING, / 227: kf22 / ABSENT_STRING, / 228: kf23 / ABSENT_STRING, / 229: kf24 / ABSENT_STRING, / 230: kf25 / ABSENT_STRING, / 231: kf26 / ABSENT_STRING, / 232: kf27 / ABSENT_STRING, / 233: kf28 / ABSENT_STRING, / 234: kf29 / ABSENT_STRING, / 235: kf30 / ABSENT_STRING, / 236: kf31 / ABSENT_STRING, / 237: kf32 / ABSENT_STRING, / 238: kf33 / ABSENT_STRING, / 239: kf34 / ABSENT_STRING, / 240: kf35 / ABSENT_STRING, / 241: kf36 / ABSENT_STRING, / 242: kf37 / ABSENT_STRING, / 243: kf38 / ABSENT_STRING, / 244: kf39 / ABSENT_STRING, / 245: kf40 / ABSENT_STRING, / 246: kf41 / ABSENT_STRING, / 247: kf42 / ABSENT_STRING, / 248: kf43 / ABSENT_STRING, / 249: kf44 / ABSENT_STRING, / 250: kf45 / ABSENT_STRING, / 251: kf46 / ABSENT_STRING, / 252: kf47 / ABSENT_STRING, / 253: kf48 / ABSENT_STRING, / 254: kf49 / ABSENT_STRING, / 255: kf50 / ABSENT_STRING, / 256: kf51 / ABSENT_STRING, / 257: kf52 / ABSENT_STRING, / 258: kf53 / ABSENT_STRING, / 259: kf54 / ABSENT_STRING, / 260: kf55 / ABSENT_STRING, / 261: kf56 / ABSENT_STRING, / 262: kf57 / ABSENT_STRING, / 263: kf58 / ABSENT_STRING, / 264: kf59 / ABSENT_STRING, / 265: kf60 / ABSENT_STRING, / 266: kf61 / ABSENT_STRING, / 267: kf62 / ABSENT_STRING, / 268: kf63 / ABSENT_STRING, / 269: el1 / vt100_s_el1, / 270: mgc / ABSENT_STRING, / 271: smgl / ABSENT_STRING, / 272: smgr / ABSENT_STRING, / 273: fln / ABSENT_STRING, / 274: sclk / ABSENT_STRING, / 275: dclk / ABSENT_STRING, / 276: rmclk / ABSENT_STRING, / 277: cwin / ABSENT_STRING, / 278: wingo / ABSENT_STRING, / 279: hup / ABSENT_STRING, / 280: dial / ABSENT_STRING, / 281: qdial / ABSENT_STRING, / 282: tone / ABSENT_STRING, / 283: pulse / ABSENT_STRING, / 284: hook / ABSENT_STRING, / 285: pause / ABSENT_STRING, / 286: wait / ABSENT_STRING, / 287: u0 / ABSENT_STRING, / 288: u1 / ABSENT_STRING, / 289: u2 / ABSENT_STRING, / 290: u3 / ABSENT_STRING, / 291: u4 / ABSENT_STRING, / 292: u5 / ABSENT_STRING, / 293: u6 / ABSENT_STRING, / 294: u7 / ABSENT_STRING, / 295: u8 / ABSENT_STRING, / 296: u9 / ABSENT_STRING, / 297: op / ABSENT_STRING, / 298: oc / ABSENT_STRING, / 299: initc / ABSENT_STRING, / 300: initp / ABSENT_STRING, / 301: scp / ABSENT_STRING, / 302: setf / ABSENT_STRING, / 303: setb / ABSENT_STRING, / 304: cpi / ABSENT_STRING, / 305: lpi / ABSENT_STRING, / 306: chr / ABSENT_STRING, / 307: cvr / ABSENT_STRING, / 308: defc / ABSENT_STRING, / 309: swidm / ABSENT_STRING, / 310: sdrfq / ABSENT_STRING, / 311: sitm / ABSENT_STRING, / 312: slm / ABSENT_STRING, / 313: smicm / ABSENT_STRING, / 314: snlq / ABSENT_STRING, / 315: snrmq / ABSENT_STRING, / 316: sshm / ABSENT_STRING, / 317: ssubm / ABSENT_STRING, / 318: ssupm / ABSENT_STRING, / 319: sum / ABSENT_STRING, / 320: rwidm / ABSENT_STRING, / 321: ritm / ABSENT_STRING, / 322: rlm / ABSENT_STRING, / 323: rmicm / ABSENT_STRING, / 324: rshm / ABSENT_STRING, / 325: rsubm / ABSENT_STRING, / 326: rsupm / ABSENT_STRING, / 327: rum / ABSENT_STRING, / 328: mhpa / ABSENT_STRING, / 329: mcud1 / ABSENT_STRING, / 330: mcub1 / ABSENT_STRING, / 331: mcuf1 / ABSENT_STRING, / 332: mvpa / ABSENT_STRING, / 333: mcuu1 / ABSENT_STRING, / 334: porder / ABSENT_STRING, / 335: mcud / ABSENT_STRING, / 336: mcub / ABSENT_STRING, / 337: mcuf / ABSENT_STRING, / 338: mcuu / ABSENT_STRING, / 339: scs / ABSENT_STRING, / 340: smgb / ABSENT_STRING, / 341: smgbp / ABSENT_STRING, / 342: smglp / ABSENT_STRING, / 343: smgrp / ABSENT_STRING, / 344: smgt / ABSENT_STRING, / 345: smgtp / ABSENT_STRING, / 346: sbim / ABSENT_STRING, / 347: scsd / ABSENT_STRING, / 348: rbim / ABSENT_STRING, / 349: rcsd / ABSENT_STRING, / 350: subcs / ABSENT_STRING, / 351: supcs / ABSENT_STRING, / 352: docr / ABSENT_STRING, / 353: zerom / ABSENT_STRING, / 354: csnm / ABSENT_STRING, / 355: kmous / ABSENT_STRING, / 356: minfo / ABSENT_STRING, / 357: reqmp / ABSENT_STRING, / 358: getm / ABSENT_STRING, / 359: setaf / ABSENT_STRING, / 360: setab / ABSENT_STRING, / 361: pfxl / ABSENT_STRING, / 362: devt / ABSENT_STRING, / 363: csin / ABSENT_STRING, / 364: s0ds / ABSENT_STRING, / 365: s1ds / ABSENT_STRING, / 366: s2ds / ABSENT_STRING, / 367: s3ds / ABSENT_STRING, / 368: smglr / ABSENT_STRING, / 369: smgtb / ABSENT_STRING, / 370: birep / ABSENT_STRING, / 371: binel / ABSENT_STRING, / 372: bicr / ABSENT_STRING, / 373: colornm / ABSENT_STRING, / 374: defbi / ABSENT_STRING, / 375: endbi / ABSENT_STRING, / 376: setcolor / ABSENT_STRING, / 377: slines / ABSENT_STRING, / 378: dispc / ABSENT_STRING, / 379: smpch / ABSENT_STRING, / 380: rmpch / ABSENT_STRING, / 381: smsc / ABSENT_STRING, / 382: rmsc / ABSENT_STRING, / 383: pctrm / ABSENT_STRING, / 384: scesc / ABSENT_STRING, / 385: scesa / ABSENT_STRING, / 386: ehhlm / ABSENT_STRING, / 387: elhlm / ABSENT_STRING, / 388: elohlm / ABSENT_STRING, / 389: erhlm / ABSENT_STRING, / 390: ethlm / ABSENT_STRING, / 391: evhlm / ABSENT_STRING, / 392: sgr1 / ABSENT_STRING, / 393: slength / ABSENT_STRING, / 394: OTi2 / ABSENT_STRING, / 395: OTrs / ABSENT_STRING, / 396: OTnl / ABSENT_STRING, / 397: OTbc / ABSENT_STRING, / 398: OTko / ABSENT_STRING, / 399: OTma / ABSENT_STRING, / 400: OTG2 / ABSENT_STRING, / 401: OTG3 / ABSENT_STRING, / 402: OTG1 / ABSENT_STRING, / 403: OTG4 / ABSENT_STRING, / 404: OTGR / ABSENT_STRING, / 405: OTGL / ABSENT_STRING, / 406: OTGU / ABSENT_STRING, / 407: OTGD / ABSENT_STRING, / 408: OTGH / ABSENT_STRING, / 409: OTGV / ABSENT_STRING, / 410: OTGC / ABSENT_STRING, / 411: meml / ABSENT_STRING, / 412: memu / ABSENT_STRING, / 413: box1 */ ABSENT_STRING, }; $

$ infocmp -E

static char xterm_256color_alias_data[] = "xterm-256color|xterm with 256 colors";

static char xterm_256color_s_cbt[] = "\033[Z"; static char xterm_256color_s_bel[] = "\007"; static char xterm_256color_s_cr [] = "\015"; static char xterm_256color_s_csr[] = "\033[%i%p1%d;%p2%dr"; static char xterm_256color_s_tbc[] = "\033[3g"; static char xterm_256color_s_clear[] = "\033[H\033[2J"; static char xterm_256color_s_el [] = "\033[K"; static char xterm_256color_s_ed [] = "\033[J"; static char xterm_256color_s_hpa[] = "\033[%i%p1%dG"; static char xterm_256color_s_cup[] = "\033[%i%p1%d;%p2%dH"; static char xterm_256color_s_cud1[] = "\012"; static char xterm_256color_s_home[] = "\033[H"; static char xterm_256color_s_civis[] = "\033[?25l"; static char xterm_256color_s_cub1[] = "\010"; static char xterm_256color_s_cnorm[] = "\033[?12l\033[?25h"; static char xterm_256color_s_cuf1[] = "\033[C"; static char xterm_256color_s_cuu1[] = "\033[A"; static char xterm_256color_s_cvvis[] = "\033[?12;25h"; static char xterm_256color_s_dch1[] = "\033[P"; static char xterm_256color_s_dl1[] = "\033[M"; static char xterm_256color_s_smacs[] = "\033(0"; static char xterm_256color_s_blink[] = "\033[5m"; static char xterm_256color_s_bold[] = "\033[1m"; static char xterm_256color_s_smcup[] = "\033[?1049h"; static char xterm_256color_s_smir[] = "\033[4h"; static char xterm_256color_s_invis[] = "\033[8m"; static char xterm_256color_s_rev[] = "\033[7m"; static char xterm_256color_s_smso[] = "\033[7m"; static char xterm_256color_s_smul[] = "\033[4m"; static char xterm_256color_s_ech[] = "\033[%p1%dX"; static char xterm_256color_s_rmacs[] = "\033(B"; static char xterm_256color_s_sgr0[] = "\033(B\033[m"; static char xterm_256color_s_rmcup[] = "\033[?1049l"; static char xterm_256color_s_rmir[] = "\033[4l"; static char xterm_256color_s_rmso[] = "\033[27m"; static char xterm_256color_s_rmul[] = "\033[24m"; static char xterm_256color_s_flash[] = "\033[?5h$<100/>\033[?5l"; static char xterm_256color_s_is2[] = "\033[!p\033[?3;4l\033[4l\033>"; static char xterm_256color_s_il1[] = "\033[L"; static char xterm_256color_s_kbs[] = "\177"; static char xterm_256color_s_kdch1[] = "\033[3~"; static char xterm_256color_s_kcud1[] = "\033OB"; static char xterm_256color_s_kf1[] = "\033OP"; static char xterm_256color_s_kf10[] = "\033[21~"; static char xterm_256color_s_kf2[] = "\033OQ"; static char xterm_256color_s_kf3[] = "\033OR"; static char xterm_256color_s_kf4[] = "\033OS"; static char xterm_256color_s_kf5[] = "\033[15~"; static char xterm_256color_s_kf6[] = "\033[17~"; static char xterm_256color_s_kf7[] = "\033[18~"; static char xterm_256color_s_kf8[] = "\033[19~"; static char xterm_256color_s_kf9[] = "\033[20~"; static char xterm_256color_s_khome[] = "\033OH"; static char xterm_256color_s_kich1[] = "\033[2~"; static char xterm_256color_s_kcub1[] = "\033OD"; static char xterm_256color_s_knp[] = "\033[6~"; static char xterm_256color_s_kpp[] = "\033[5~"; static char xterm_256color_s_kcuf1[] = "\033OC"; static char xterm_256color_s_kind[] = "\033[1;2B"; static char xterm_256color_s_kri[] = "\033[1;2A"; static char xterm_256color_s_kcuu1[] = "\033OA"; static char xterm_256color_s_rmkx[] = "\033[?1l\033>"; static char xterm_256color_s_smkx[] = "\033[?1h\033="; static char xterm_256color_s_rmm[] = "\033[?1034l"; static char xterm_256color_s_smm[] = "\033[?1034h"; static char xterm_256color_s_dch[] = "\033[%p1%dP"; static char xterm_256color_s_dl [] = "\033[%p1%dM"; static char xterm_256color_s_cud[] = "\033[%p1%dB"; static char xterm_256color_s_ich[] = "\033[%p1%d@"; static char xterm_256color_s_indn[] = "\033[%p1%dS"; static char xterm_256color_s_il [] = "\033[%p1%dL"; static char xterm_256color_s_cub[] = "\033[%p1%dD"; static char xterm_256color_s_cuf[] = "\033[%p1%dC"; static char xterm_256color_s_rin[] = "\033[%p1%dT"; static char xterm_256color_s_cuu[] = "\033[%p1%dA"; static char xterm_256color_s_mc0[] = "\033[i"; static char xterm_256color_s_mc4[] = "\033[4i"; static char xterm_256color_s_mc5[] = "\033[5i"; static char xterm_256color_s_rs1[] = "\033c"; static char xterm_256color_s_rs2[] = "\033[!p\033[?3;4l\033[4l\033>"; static char xterm_256color_s_rc [] = "\0338"; static char xterm_256color_s_vpa[] = "\033[%i%p1%dd"; static char xterm_256color_s_sc [] = "\0337"; static char xterm_256color_s_ind[] = "\012"; static char xterm_256color_s_ri [] = "\033M"; static char xterm_256color_s_sgr[] = "%?%p9%t\033(0%e\033(B%;\033[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m"; static char xterm_256color_s_hts[] = "\033H"; static char xterm_256color_s_ht [] = "\011"; static char xterm_256color_s_kb2[] = "\033OE"; static char xterm_256color_s_acsc[] = "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~"; static char xterm_256color_s_kcbt[] = "\033[Z"; static char xterm_256color_s_smam[] = "\033[?7h"; static char xterm_256color_s_rmam[] = "\033[?7l"; static char xterm_256color_s_kend[] = "\033OF"; static char xterm_256color_s_kent[] = "\033OM"; static char xterm_256color_s_kDC[] = "\033[3;2~"; static char xterm_256color_s_kEND[] = "\033[1;2F"; static char xterm_256color_s_kHOM[] = "\033[1;2H"; static char xterm_256color_s_kIC[] = "\033[2;2~"; static char xterm_256color_s_kLFT[] = "\033[1;2D"; static char xterm_256color_s_kNXT[] = "\033[6;2~"; static char xterm_256color_s_kPRV[] = "\033[5;2~"; static char xterm_256color_s_kRIT[] = "\033[1;2C"; static char xterm_256color_s_kf11[] = "\033[23~"; static char xterm_256color_s_kf12[] = "\033[24~"; static char xterm_256color_s_kf13[] = "\033[1;2P"; static char xterm_256color_s_kf14[] = "\033[1;2Q"; static char xterm_256color_s_kf15[] = "\033[1;2R"; static char xterm_256color_s_kf16[] = "\033[1;2S"; static char xterm_256color_s_kf17[] = "\033[15;2~"; static char xterm_256color_s_kf18[] = "\033[17;2~"; static char xterm_256color_s_kf19[] = "\033[18;2~"; static char xterm_256color_s_kf20[] = "\033[19;2~"; static char xterm_256color_s_kf21[] = "\033[20;2~"; static char xterm_256color_s_kf22[] = "\033[21;2~"; static char xterm_256color_s_kf23[] = "\033[23;2~"; static char xterm_256color_s_kf24[] = "\033[24;2~"; static char xterm_256color_s_kf25[] = "\033[1;5P"; static char xterm_256color_s_kf26[] = "\033[1;5Q"; static char xterm_256color_s_kf27[] = "\033[1;5R"; static char xterm_256color_s_kf28[] = "\033[1;5S"; static char xterm_256color_s_kf29[] = "\033[15;5~"; static char xterm_256color_s_kf30[] = "\033[17;5~"; static char xterm_256color_s_kf31[] = "\033[18;5~"; static char xterm_256color_s_kf32[] = "\033[19;5~"; static char xterm_256color_s_kf33[] = "\033[20;5~"; static char xterm_256color_s_kf34[] = "\033[21;5~"; static char xterm_256color_s_kf35[] = "\033[23;5~"; static char xterm_256color_s_kf36[] = "\033[24;5~"; static char xterm_256color_s_kf37[] = "\033[1;6P"; static char xterm_256color_s_kf38[] = "\033[1;6Q"; static char xterm_256color_s_kf39[] = "\033[1;6R"; static char xterm_256color_s_kf40[] = "\033[1;6S"; static char xterm_256color_s_kf41[] = "\033[15;6~"; static char xterm_256color_s_kf42[] = "\033[17;6~"; static char xterm_256color_s_kf43[] = "\033[18;6~"; static char xterm_256color_s_kf44[] = "\033[19;6~"; static char xterm_256color_s_kf45[] = "\033[20;6~"; static char xterm_256color_s_kf46[] = "\033[21;6~"; static char xterm_256color_s_kf47[] = "\033[23;6~"; static char xterm_256color_s_kf48[] = "\033[24;6~"; static char xterm_256color_s_kf49[] = "\033[1;3P"; static char xterm_256color_s_kf50[] = "\033[1;3Q"; static char xterm_256color_s_kf51[] = "\033[1;3R"; static char xterm_256color_s_kf52[] = "\033[1;3S"; static char xterm_256color_s_kf53[] = "\033[15;3~"; static char xterm_256color_s_kf54[] = "\033[17;3~"; static char xterm_256color_s_kf55[] = "\033[18;3~"; static char xterm_256color_s_kf56[] = "\033[19;3~"; static char xterm_256color_s_kf57[] = "\033[20;3~"; static char xterm_256color_s_kf58[] = "\033[21;3~"; static char xterm_256color_s_kf59[] = "\033[23;3~"; static char xterm_256color_s_kf60[] = "\033[24;3~"; static char xterm_256color_s_kf61[] = "\033[1;4P"; static char xterm_256color_s_kf62[] = "\033[1;4Q"; static char xterm_256color_s_kf63[] = "\033[1;4R"; static char xterm_256color_s_el1[] = "\033[1K"; static char xterm_256color_s_u6 [] = "\033[%i%d;%dR"; static char xterm_256color_s_u7 [] = "\033[6n"; static char xterm_256color_s_u8 [] = "\033[?1;2c"; static char xterm_256color_s_u9 [] = "\033[c"; static char xterm_256color_s_op [] = "\033[39;49m"; static char xterm_256color_s_initc[] = "\033]4;%p1%d;rgb:%p2%{255}%%{1000}%/%2.2X/%p3%{255}%%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\033\134"; static char xterm_256color_s_kmous[] = "\033[M"; static char xterm_256color_s_setaf[] = "\033[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m"; static char xterm_256color_s_setab[] = "\033[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m"; static char xterm_256color_s_meml[] = "\033l"; static char xterm_256color_s_memu[] = "\033m";

static char xterm_256color_bool_data[] = { /* 0: bw / FALSE, / 1: am / TRUE, / 2: xsb / FALSE, / 3: xhp / FALSE, / 4: xenl / TRUE, / 5: eo / FALSE, / 6: gn / FALSE, / 7: hc / FALSE, / 8: km / TRUE, / 9: hs / FALSE, / 10: in / FALSE, / 11: da / FALSE, / 12: db / FALSE, / 13: mir / TRUE, / 14: msgr / TRUE, / 15: os / FALSE, / 16: eslok / FALSE, / 17: xt / FALSE, / 18: hz / FALSE, / 19: ul / FALSE, / 20: xon / FALSE, / 21: nxon / FALSE, / 22: mc5i / TRUE, / 23: chts / FALSE, / 24: nrrmc / FALSE, / 25: npc / TRUE, / 26: ndscr / FALSE, / 27: ccc / TRUE, / 28: bce / TRUE, / 29: hls / FALSE, / 30: xhpa / FALSE, / 31: crxm / FALSE, / 32: daisy / FALSE, / 33: xvpa / FALSE, / 34: sam / FALSE, / 35: cpix / FALSE, / 36: lpix / FALSE, / 37: OTbs / TRUE, / 38: OTns / FALSE, / 39: OTnc / FALSE, / 40: OTMT / FALSE, / 41: OTNL / FALSE, / 42: OTpt / FALSE, / 43: OTxr / FALSE, }; static short xterm_256color_number_data[] = { / 0: cols / 80, / 1: it / 8, / 2: lines / 24, / 3: lm / ABSENT_NUMERIC, / 4: xmc / ABSENT_NUMERIC, / 5: pb / ABSENT_NUMERIC, / 6: vt / ABSENT_NUMERIC, / 7: wsl / ABSENT_NUMERIC, / 8: nlab / ABSENT_NUMERIC, / 9: lh / ABSENT_NUMERIC, / 10: lw / ABSENT_NUMERIC, / 11: ma / ABSENT_NUMERIC, / 12: wnum / ABSENT_NUMERIC, / 13: colors / 256, / 14: pairs / 32767, / 15: ncv / ABSENT_NUMERIC, / 16: bufsz / ABSENT_NUMERIC, / 17: spinv / ABSENT_NUMERIC, / 18: spinh / ABSENT_NUMERIC, / 19: maddr / ABSENT_NUMERIC, / 20: mjump / ABSENT_NUMERIC, / 21: mcs / ABSENT_NUMERIC, / 22: mls / ABSENT_NUMERIC, / 23: npins / ABSENT_NUMERIC, / 24: orc / ABSENT_NUMERIC, / 25: orl / ABSENT_NUMERIC, / 26: orhi / ABSENT_NUMERIC, / 27: orvi / ABSENT_NUMERIC, / 28: cps / ABSENT_NUMERIC, / 29: widcs / ABSENT_NUMERIC, / 30: btns / ABSENT_NUMERIC, / 31: bitwin / ABSENT_NUMERIC, / 32: bitype / ABSENT_NUMERIC, / 33: OTug / ABSENT_NUMERIC, / 34: OTdC / ABSENT_NUMERIC, / 35: OTdN / ABSENT_NUMERIC, / 36: OTdB / ABSENT_NUMERIC, / 37: OTdT / ABSENT_NUMERIC, / 38: OTkn / ABSENT_NUMERIC, }; static char * xterm_256color_string_data[] = { / 0: cbt / xterm_256color_s_cbt, / 1: bel / xterm_256color_s_bel, / 2: cr / xterm_256color_s_cr, / 3: csr / xterm_256color_s_csr, / 4: tbc / xterm_256color_s_tbc, / 5: clear / xterm_256color_s_clear, / 6: el / xterm_256color_s_el, / 7: ed / xterm_256color_s_ed, / 8: hpa / xterm_256color_s_hpa, / 9: cmdch / ABSENT_STRING, / 10: cup / xterm_256color_s_cup, / 11: cud1 / xterm_256color_s_cud1, / 12: home / xterm_256color_s_home, / 13: civis / xterm_256color_s_civis, / 14: cub1 / xterm_256color_s_cub1, / 15: mrcup / ABSENT_STRING, / 16: cnorm / xterm_256color_s_cnorm, / 17: cuf1 / xterm_256color_s_cuf1, / 18: ll / ABSENT_STRING, / 19: cuu1 / xterm_256color_s_cuu1, / 20: cvvis / xterm_256color_s_cvvis, / 21: dch1 / xterm_256color_s_dch1, / 22: dl1 / xterm_256color_s_dl1, / 23: dsl / ABSENT_STRING, / 24: hd / ABSENT_STRING, / 25: smacs / xterm_256color_s_smacs, / 26: blink / xterm_256color_s_blink, / 27: bold / xterm_256color_s_bold, / 28: smcup / xterm_256color_s_smcup, / 29: smdc / ABSENT_STRING, / 30: dim / ABSENT_STRING, / 31: smir / xterm_256color_s_smir, / 32: invis / xterm_256color_s_invis, / 33: prot / ABSENT_STRING, / 34: rev / xterm_256color_s_rev, / 35: smso / xterm_256color_s_smso, / 36: smul / xterm_256color_s_smul, / 37: ech / xterm_256color_s_ech, / 38: rmacs / xterm_256color_s_rmacs, / 39: sgr0 / xterm_256color_s_sgr0, / 40: rmcup / xterm_256color_s_rmcup, / 41: rmdc / ABSENT_STRING, / 42: rmir / xterm_256color_s_rmir, / 43: rmso / xterm_256color_s_rmso, / 44: rmul / xterm_256color_s_rmul, / 45: flash / xterm_256color_s_flash, / 46: ff / ABSENT_STRING, / 47: fsl / ABSENT_STRING, / 48: is1 / ABSENT_STRING, / 49: is2 / xterm_256color_s_is2, / 50: is3 / ABSENT_STRING, / 51: if / ABSENT_STRING, / 52: ich1 / ABSENT_STRING, / 53: il1 / xterm_256color_s_il1, / 54: ip / ABSENT_STRING, / 55: kbs / xterm_256color_s_kbs, / 56: ktbc / ABSENT_STRING, / 57: kclr / ABSENT_STRING, / 58: kctab / ABSENT_STRING, / 59: kdch1 / xterm_256color_s_kdch1, / 60: kdl1 / ABSENT_STRING, / 61: kcud1 / xterm_256color_s_kcud1, / 62: krmir / ABSENT_STRING, / 63: kel / ABSENT_STRING, / 64: ked / ABSENT_STRING, / 65: kf0 / ABSENT_STRING, / 66: kf1 / xterm_256color_s_kf1, / 67: kf10 / xterm_256color_s_kf10, / 68: kf2 / xterm_256color_s_kf2, / 69: kf3 / xterm_256color_s_kf3, / 70: kf4 / xterm_256color_s_kf4, / 71: kf5 / xterm_256color_s_kf5, / 72: kf6 / xterm_256color_s_kf6, / 73: kf7 / xterm_256color_s_kf7, / 74: kf8 / xterm_256color_s_kf8, / 75: kf9 / xterm_256color_s_kf9, / 76: khome / xterm_256color_s_khome, / 77: kich1 / xterm_256color_s_kich1, / 78: kil1 / ABSENT_STRING, / 79: kcub1 / xterm_256color_s_kcub1, / 80: kll / ABSENT_STRING, / 81: knp / xterm_256color_s_knp, / 82: kpp / xterm_256color_s_kpp, / 83: kcuf1 / xterm_256color_s_kcuf1, / 84: kind / xterm_256color_s_kind, / 85: kri / xterm_256color_s_kri, / 86: khts / ABSENT_STRING, / 87: kcuu1 / xterm_256color_s_kcuu1, / 88: rmkx / xterm_256color_s_rmkx, / 89: smkx / xterm_256color_s_smkx, / 90: lf0 / ABSENT_STRING, / 91: lf1 / ABSENT_STRING, / 92: lf10 / ABSENT_STRING, / 93: lf2 / ABSENT_STRING, / 94: lf3 / ABSENT_STRING, / 95: lf4 / ABSENT_STRING, / 96: lf5 / ABSENT_STRING, / 97: lf6 / ABSENT_STRING, / 98: lf7 / ABSENT_STRING, / 99: lf8 / ABSENT_STRING, / 100: lf9 / ABSENT_STRING, / 101: rmm / xterm_256color_s_rmm, / 102: smm / xterm_256color_s_smm, / 103: nel / ABSENT_STRING, / 104: pad / ABSENT_STRING, / 105: dch / xterm_256color_s_dch, / 106: dl / xterm_256color_s_dl, / 107: cud / xterm_256color_s_cud, / 108: ich / xterm_256color_s_ich, / 109: indn / xterm_256color_s_indn, / 110: il / xterm_256color_s_il, / 111: cub / xterm_256color_s_cub, / 112: cuf / xterm_256color_s_cuf, / 113: rin / xterm_256color_s_rin, / 114: cuu / xterm_256color_s_cuu, / 115: pfkey / ABSENT_STRING, / 116: pfloc / ABSENT_STRING, / 117: pfx / ABSENT_STRING, / 118: mc0 / xterm_256color_s_mc0, / 119: mc4 / xterm_256color_s_mc4, / 120: mc5 / xterm_256color_s_mc5, / 121: rep / ABSENT_STRING, / 122: rs1 / xterm_256color_s_rs1, / 123: rs2 / xterm_256color_s_rs2, / 124: rs3 / ABSENT_STRING, / 125: rf / ABSENT_STRING, / 126: rc / xterm_256color_s_rc, / 127: vpa / xterm_256color_s_vpa, / 128: sc / xterm_256color_s_sc, / 129: ind / xterm_256color_s_ind, / 130: ri / xterm_256color_s_ri, / 131: sgr / xterm_256color_s_sgr, / 132: hts / xterm_256color_s_hts, / 133: wind / ABSENT_STRING, / 134: ht / xterm_256color_s_ht, / 135: tsl / ABSENT_STRING, / 136: uc / ABSENT_STRING, / 137: hu / ABSENT_STRING, / 138: iprog / ABSENT_STRING, / 139: ka1 / ABSENT_STRING, / 140: ka3 / ABSENT_STRING, / 141: kb2 / xterm_256color_s_kb2, / 142: kc1 / ABSENT_STRING, / 143: kc3 / ABSENT_STRING, / 144: mc5p / ABSENT_STRING, / 145: rmp / ABSENT_STRING, / 146: acsc / xterm_256color_s_acsc, / 147: pln / ABSENT_STRING, / 148: kcbt / xterm_256color_s_kcbt, / 149: smxon / ABSENT_STRING, / 150: rmxon / ABSENT_STRING, / 151: smam / xterm_256color_s_smam, / 152: rmam / xterm_256color_s_rmam, / 153: xonc / ABSENT_STRING, / 154: xoffc / ABSENT_STRING, / 155: enacs / ABSENT_STRING, / 156: smln / ABSENT_STRING, / 157: rmln / ABSENT_STRING, / 158: kbeg / ABSENT_STRING, / 159: kcan / ABSENT_STRING, / 160: kclo / ABSENT_STRING, / 161: kcmd / ABSENT_STRING, / 162: kcpy / ABSENT_STRING, / 163: kcrt / ABSENT_STRING, / 164: kend / xterm_256color_s_kend, / 165: kent / xterm_256color_s_kent, / 166: kext / ABSENT_STRING, / 167: kfnd / ABSENT_STRING, / 168: khlp / ABSENT_STRING, / 169: kmrk / ABSENT_STRING, / 170: kmsg / ABSENT_STRING, / 171: kmov / ABSENT_STRING, / 172: knxt / ABSENT_STRING, / 173: kopn / ABSENT_STRING, / 174: kopt / ABSENT_STRING, / 175: kprv / ABSENT_STRING, / 176: kprt / ABSENT_STRING, / 177: krdo / ABSENT_STRING, / 178: kref / ABSENT_STRING, / 179: krfr / ABSENT_STRING, / 180: krpl / ABSENT_STRING, / 181: krst / ABSENT_STRING, / 182: kres / ABSENT_STRING, / 183: ksav / ABSENT_STRING, / 184: kspd / ABSENT_STRING, / 185: kund / ABSENT_STRING, / 186: kBEG / ABSENT_STRING, / 187: kCAN / ABSENT_STRING, / 188: kCMD / ABSENT_STRING, / 189: kCPY / ABSENT_STRING, / 190: kCRT / ABSENT_STRING, / 191: kDC / xterm_256color_s_kDC, / 192: kDL / ABSENT_STRING, / 193: kslt / ABSENT_STRING, / 194: kEND / xterm_256color_s_kEND, / 195: kEOL / ABSENT_STRING, / 196: kEXT / ABSENT_STRING, / 197: kFND / ABSENT_STRING, / 198: kHLP / ABSENT_STRING, / 199: kHOM / xterm_256color_s_kHOM, / 200: kIC / xterm_256color_s_kIC, / 201: kLFT / xterm_256color_s_kLFT, / 202: kMSG / ABSENT_STRING, / 203: kMOV / ABSENT_STRING, / 204: kNXT / xterm_256color_s_kNXT, / 205: kOPT / ABSENT_STRING, / 206: kPRV / xterm_256color_s_kPRV, / 207: kPRT / ABSENT_STRING, / 208: kRDO / ABSENT_STRING, / 209: kRPL / ABSENT_STRING, / 210: kRIT / xterm_256color_s_kRIT, / 211: kRES / ABSENT_STRING, / 212: kSAV / ABSENT_STRING, / 213: kSPD / ABSENT_STRING, / 214: kUND / ABSENT_STRING, / 215: rfi / ABSENT_STRING, / 216: kf11 / xterm_256color_s_kf11, / 217: kf12 / xterm_256color_s_kf12, / 218: kf13 / xterm_256color_s_kf13, / 219: kf14 / xterm_256color_s_kf14, / 220: kf15 / xterm_256color_s_kf15, / 221: kf16 / xterm_256color_s_kf16, / 222: kf17 / xterm_256color_s_kf17, / 223: kf18 / xterm_256color_s_kf18, / 224: kf19 / xterm_256color_s_kf19, / 225: kf20 / xterm_256color_s_kf20, / 226: kf21 / xterm_256color_s_kf21, / 227: kf22 / xterm_256color_s_kf22, / 228: kf23 / xterm_256color_s_kf23, / 229: kf24 / xterm_256color_s_kf24, / 230: kf25 / xterm_256color_s_kf25, / 231: kf26 / xterm_256color_s_kf26, / 232: kf27 / xterm_256color_s_kf27, / 233: kf28 / xterm_256color_s_kf28, / 234: kf29 / xterm_256color_s_kf29, / 235: kf30 / xterm_256color_s_kf30, / 236: kf31 / xterm_256color_s_kf31, / 237: kf32 / xterm_256color_s_kf32, / 238: kf33 / xterm_256color_s_kf33, / 239: kf34 / xterm_256color_s_kf34, / 240: kf35 / xterm_256color_s_kf35, / 241: kf36 / xterm_256color_s_kf36, / 242: kf37 / xterm_256color_s_kf37, / 243: kf38 / xterm_256color_s_kf38, / 244: kf39 / xterm_256color_s_kf39, / 245: kf40 / xterm_256color_s_kf40, / 246: kf41 / xterm_256color_s_kf41, / 247: kf42 / xterm_256color_s_kf42, / 248: kf43 / xterm_256color_s_kf43, / 249: kf44 / xterm_256color_s_kf44, / 250: kf45 / xterm_256color_s_kf45, / 251: kf46 / xterm_256color_s_kf46, / 252: kf47 / xterm_256color_s_kf47, / 253: kf48 / xterm_256color_s_kf48, / 254: kf49 / xterm_256color_s_kf49, / 255: kf50 / xterm_256color_s_kf50, / 256: kf51 / xterm_256color_s_kf51, / 257: kf52 / xterm_256color_s_kf52, / 258: kf53 / xterm_256color_s_kf53, / 259: kf54 / xterm_256color_s_kf54, / 260: kf55 / xterm_256color_s_kf55, / 261: kf56 / xterm_256color_s_kf56, / 262: kf57 / xterm_256color_s_kf57, / 263: kf58 / xterm_256color_s_kf58, / 264: kf59 / xterm_256color_s_kf59, / 265: kf60 / xterm_256color_s_kf60, / 266: kf61 / xterm_256color_s_kf61, / 267: kf62 / xterm_256color_s_kf62, / 268: kf63 / xterm_256color_s_kf63, / 269: el1 / xterm_256color_s_el1, / 270: mgc / ABSENT_STRING, / 271: smgl / ABSENT_STRING, / 272: smgr / ABSENT_STRING, / 273: fln / ABSENT_STRING, / 274: sclk / ABSENT_STRING, / 275: dclk / ABSENT_STRING, / 276: rmclk / ABSENT_STRING, / 277: cwin / ABSENT_STRING, / 278: wingo / ABSENT_STRING, / 279: hup / ABSENT_STRING, / 280: dial / ABSENT_STRING, / 281: qdial / ABSENT_STRING, / 282: tone / ABSENT_STRING, / 283: pulse / ABSENT_STRING, / 284: hook / ABSENT_STRING, / 285: pause / ABSENT_STRING, / 286: wait / ABSENT_STRING, / 287: u0 / ABSENT_STRING, / 288: u1 / ABSENT_STRING, / 289: u2 / ABSENT_STRING, / 290: u3 / ABSENT_STRING, / 291: u4 / ABSENT_STRING, / 292: u5 / ABSENT_STRING, / 293: u6 / xterm_256color_s_u6, / 294: u7 / xterm_256color_s_u7, / 295: u8 / xterm_256color_s_u8, / 296: u9 / xterm_256color_s_u9, / 297: op / xterm_256color_s_op, / 298: oc / ABSENT_STRING, / 299: initc / xterm_256color_s_initc, / 300: initp / ABSENT_STRING, / 301: scp / ABSENT_STRING, / 302: setf / ABSENT_STRING, / 303: setb / ABSENT_STRING, / 304: cpi / ABSENT_STRING, / 305: lpi / ABSENT_STRING, / 306: chr / ABSENT_STRING, / 307: cvr / ABSENT_STRING, / 308: defc / ABSENT_STRING, / 309: swidm / ABSENT_STRING, / 310: sdrfq / ABSENT_STRING, / 311: sitm / ABSENT_STRING, / 312: slm / ABSENT_STRING, / 313: smicm / ABSENT_STRING, / 314: snlq / ABSENT_STRING, / 315: snrmq / ABSENT_STRING, / 316: sshm / ABSENT_STRING, / 317: ssubm / ABSENT_STRING, / 318: ssupm / ABSENT_STRING, / 319: sum / ABSENT_STRING, / 320: rwidm / ABSENT_STRING, / 321: ritm / ABSENT_STRING, / 322: rlm / ABSENT_STRING, / 323: rmicm / ABSENT_STRING, / 324: rshm / ABSENT_STRING, / 325: rsubm / ABSENT_STRING, / 326: rsupm / ABSENT_STRING, / 327: rum / ABSENT_STRING, / 328: mhpa / ABSENT_STRING, / 329: mcud1 / ABSENT_STRING, / 330: mcub1 / ABSENT_STRING, / 331: mcuf1 / ABSENT_STRING, / 332: mvpa / ABSENT_STRING, / 333: mcuu1 / ABSENT_STRING, / 334: porder / ABSENT_STRING, / 335: mcud / ABSENT_STRING, / 336: mcub / ABSENT_STRING, / 337: mcuf / ABSENT_STRING, / 338: mcuu / ABSENT_STRING, / 339: scs / ABSENT_STRING, / 340: smgb / ABSENT_STRING, / 341: smgbp / ABSENT_STRING, / 342: smglp / ABSENT_STRING, / 343: smgrp / ABSENT_STRING, / 344: smgt / ABSENT_STRING, / 345: smgtp / ABSENT_STRING, / 346: sbim / ABSENT_STRING, / 347: scsd / ABSENT_STRING, / 348: rbim / ABSENT_STRING, / 349: rcsd / ABSENT_STRING, / 350: subcs / ABSENT_STRING, / 351: supcs / ABSENT_STRING, / 352: docr / ABSENT_STRING, / 353: zerom / ABSENT_STRING, / 354: csnm / ABSENT_STRING, / 355: kmous / xterm_256color_s_kmous, / 356: minfo / ABSENT_STRING, / 357: reqmp / ABSENT_STRING, / 358: getm / ABSENT_STRING, / 359: setaf / xterm_256color_s_setaf, / 360: setab / xterm_256color_s_setab, / 361: pfxl / ABSENT_STRING, / 362: devt / ABSENT_STRING, / 363: csin / ABSENT_STRING, / 364: s0ds / ABSENT_STRING, / 365: s1ds / ABSENT_STRING, / 366: s2ds / ABSENT_STRING, / 367: s3ds / ABSENT_STRING, / 368: smglr / ABSENT_STRING, / 369: smgtb / ABSENT_STRING, / 370: birep / ABSENT_STRING, / 371: binel / ABSENT_STRING, / 372: bicr / ABSENT_STRING, / 373: colornm / ABSENT_STRING, / 374: defbi / ABSENT_STRING, / 375: endbi / ABSENT_STRING, / 376: setcolor / ABSENT_STRING, / 377: slines / ABSENT_STRING, / 378: dispc / ABSENT_STRING, / 379: smpch / ABSENT_STRING, / 380: rmpch / ABSENT_STRING, / 381: smsc / ABSENT_STRING, / 382: rmsc / ABSENT_STRING, / 383: pctrm / ABSENT_STRING, / 384: scesc / ABSENT_STRING, / 385: scesa / ABSENT_STRING, / 386: ehhlm / ABSENT_STRING, / 387: elhlm / ABSENT_STRING, / 388: elohlm / ABSENT_STRING, / 389: erhlm / ABSENT_STRING, / 390: ethlm / ABSENT_STRING, / 391: evhlm / ABSENT_STRING, / 392: sgr1 / ABSENT_STRING, / 393: slength / ABSENT_STRING, / 394: OTi2 / ABSENT_STRING, / 395: OTrs / ABSENT_STRING, / 396: OTnl / ABSENT_STRING, / 397: OTbc / ABSENT_STRING, / 398: OTko / ABSENT_STRING, / 399: OTma / ABSENT_STRING, / 400: OTG2 / ABSENT_STRING, / 401: OTG3 / ABSENT_STRING, / 402: OTG1 / ABSENT_STRING, / 403: OTG4 / ABSENT_STRING, / 404: OTGR / ABSENT_STRING, / 405: OTGL / ABSENT_STRING, / 406: OTGU / ABSENT_STRING, / 407: OTGD / ABSENT_STRING, / 408: OTGH / ABSENT_STRING, / 409: OTGV / ABSENT_STRING, / 410: OTGC / ABSENT_STRING, / 411: meml / xterm_256color_s_meml, / 412: memu / xterm_256color_s_memu, / 413: box1 */ ABSENT_STRING, };


sa413130.pdf -- Workstation configuration guide

Appendix E. Supported Keyboard Maps This appendix lists how AS/400 functions are mapped on the ASCII display station keyboards supported on the AS/400 system. Mapping Table Arrangements The tables are presented in the following format: � Each keyboard is identified by the type of the supported ASCII display station. � There is a separate section for each supported ASCII display station. These sections are arranged in alphabetical order by manufacturer and, when there is more than one type by a manufacturer, in numeric order by type number. Personal computers running on the AS/400 ASCII Work Station Controller require the use of an emulation program, and the mapping is the same as that provided for the ASCII display station being emulated. For more information, see the Client Access/400 for DOS Ext Memory User Guide.

Each section presents the following three tables for each keyboard: – AS/400 basic functions, such as Help, Backspace, and cursor movement keys. The table shows the AS/400 basic functions and the key or key sequences to press on the ASCII keyboard for the given AS/400 basic function. – AS/400 OfficeVision text editing functions, such as tab, word underline, and top of page. The table shows the AS/400 text functions and the key or key sequences to press on the ASCII keyboard for the given AS/400 text function. – Display station local functions, such as turning status indicators on or off. The local functions only affect the display station; they have no effect on the AS/400 system or on other users. The table shows the local functions and the key or key sequences to press on the ASCII keyboard for the given display station local function.

Mapping Table Notations Note the following when using the keyboard mapping tables or preparing your own keyboard template and reference chart from the provided keyboard mapping tables: � Alternative key sequences are listed if more than one ASCII key sequence can be used for a function. � The following format is used for ASCII key sequences: – Alphabetic characters shown in lowercase must be entered as lowercase. Alphabetic characters shown in uppercase may be entered either as uppercase or lowercase, unless uppercase only is specifically indicated. – If separate keys must be pressed and released for a given key sequence, those keys are separated by a space. For example, the key sequence ESC M is entered by first pressing and releasing the ESC key, and then pressing and releasing the key for the character M. – If one key must be held down at the same time that another key is pressed, those keys are separated by a slash (/). For example, the key sequence CTRL/D is entered by pressing and holding the CTRL key, and then pressing the key for the character D. – Some single ASCII keys in the table are described with more than one word. ASCII keys shown in the table in parentheses represent a single ASCII key rather than an ASCII key sequence. For example, (Up Arrow) is the single ASCII key with an upward arrow on it. See Appendix D, “IBM Keyboard Reference Chart,” for an example of a keyboard reference chart if one is needed for your keyboard. See the user’s manual for each display station if detailed information is required for the character codes of each listed ASCII key or key sequence.

Displaying Mapping Tables The work station customization function of the AS/400 system allows a user to display and customize the device mapping tables used for a particular ASCII display station. The table that maps ASCII keyboard functions into AS/400 keyboard functions is one of these tables. The RTVWSCST (Retrieve Work Station Customizing Object Source) command can be used to retrieve device mapping table data for a given type of ASCII display. The retrieved mapping table data is placed in a source file member. The mapping table information can then be viewed and changed using AS/400 source entry utility (SEU) which is an application development tool. This tool is used to create and change source members. The ASCII keyboard-to-AS/400 keyboard function mapping information is contained in the source file member as hexadecimal character codes. Refer to the Workstation Customization Programming book for complete information on the RTVWSCST command and the mapping table data


               Change Device Desc (Display) (CHGDEVDSP)                  

Type choices, press Enter.

Device description . . . . . . . Name
Port number . . . . . . . . . . 0-17, *SAME
Switch setting . . . . . . . . . 0-6, *SAME
Shared session number . . . . . *SAME, 0, 1, 2, 3
Local location address . . . . . 00-FE, *SAME
Online at IPL . . . . . . . . . *SAME, *YES, *NO
Keyboard language type . . . . . *SAME, *SYSVAL, *NONE, AGB.. Drop line at signoff . . . . . . *SAME, *YES, *NO
Character identifier:
Graphic character set . . . . 1-32767
Code page . . . . . . . . . . 1-32767
Allow blinking cursor . . . . . *SAME, *YES, *NO
Auxiliary device:
Auxiliary device type . . . . *SAME, *NONE, 6180, 6182... Auxiliary device address . . . 1-31
... SNA pass-through device desc . . *SAME Name, *NONE, *SAME
SNA pass-through group name . . *SAME Name, *NONE, *SAME
Host signon/logon command . . . *SAME
... Workstation customizing object *SAME Name, *NONE, *SAME
Library . . . . . . . . . . . Name, *LIBL, *CURLIB


Change Device Desc (Display) (CHGDEVDSP)

KBDTYPE: Keyboard language type (KBDTYPE) - Help
... USB United States/Canada - A, B, C
...


===> RTVWSCST DEVTYPE(V220) KBDTYPE(USB) SRCMBR(VT200) SRCFILE(KXK632/QTXTSRC) TEXT('vt200 src from RTVWSCST')


static char vt100_s_kf1 [] = "\033OP"; static char vt220_s_kf1 [] = "\033OP";

The first part of that is an octal. 033 oct = 1B hex.

https://www.w3resource.com/convert/number/octal-to-hex.php https://stackoverflow.com/questions/47503734/what-does-printf-033c-mean


Keyboard Mapping for the DEC VT 100 Display Station (Basic Functions) Error Reset CTRL/R or ESC R F10 ESC 0

Keyboard Mapping for the DEC VT 220 Display Station (Basic Functions) Figure E-17. Keyboard Mapping of Basic Functions for DEC VT 220 AS/400 Function ASCII Keys AS/400 Function ASCII Keys ATTN CTRL/A Test ESC T or CTRL T Backspace F12 HEX ESC (grave accent) Cursor Up (Up Arrow) Cursor Down (Down Arrow) F1 ESC 1 or PF1 Cursor Left (Left Arrow) F2 ESC 2 or PF2 Cursor Right (Right Arrow) F3 ESC 3 or PF3 Cursor Select CTRL/C F4 ESC 4 or PF4 Delete DEL F5 ESC 5 Duplicate CTRL/D F6 ESC 6 Enter Return or Enter F7 ESC 7 Erase EOF CTRL/E F8 ESC 8 Erase Input ESC I F9 ESC 9 Error Reset CTRL/R or ESC R F10 ESC 0 Field + ESC P F11 ESC − Field − ESC M F12 ESC = Field Exit F13 F13 ESC ! Field Mark CTRL/F F14 ESC @ Help ESC h or ESC ? F15 ESC # Home ESC H (uppercase only) F16 ESC $ Insert ESC DEL F17 ESC % New Line ESC F13 or ESC RETURN F18 ESC (circumflex accent) PA1 ESC F1 or ESC ESC 1 F19 ESC & PA2 ESC F2 or ESC ESC 2 F20 ESC * PA3 ESC F3 or ESC ESC 3 F21 ESC ( Print CTRL/P F22 ESC ) Page Up (Roll Down) ESC CTRL/D F23 ESC − Page Down (Roll Up) ESC CTRL/U F24 ESC + SYS REQ ESC S Field Advance TAB Field Backspace ESC TAB Clear ESC L or CTRL/L

Keyboard Mapping for the DEC VT 220 Display Station (Text Functions) Figure E-18. Keyboard Mapping of Text Functions for DEC VT 220 AS/400 Text Functions ASCII Keys AS/400 Text Functions ASCII Keys Required TAB ESC ESC TAB Center ESC ESC C Word Underline ESC ESC W Bold ESC ESC B 1/2 Index Up ESC ESC Y Next Stop Code ESC ESC N Begin Underline ESC ESC U Required Space ESC ESC Space Page End ESC ESC P Stop Code ESC ESC S Top of Page ESC ESC 1/2 Index Down ESC ESC H (Up Arrow) End ESC ESC J Bottom of Page ESC ESC Carrier Return ESC ESC F13 (Down Arrow) REQ Carrier RTRN See Field Exit Beginning of Line ESC ESC TAB See Field Advance (Left Arrow) Back TAB See Field Backspace End of Line ESC ESC Forward TAB ESC ESC ESC TAB (Right Arrow) Keyboard Mapping for the DEC VT 220 Display Station (Local Functions) Figure E-19. Keyboard Mapping of Local Functions for DEC VT 220 AS/400 Function ASCII Keys AS/400 Function ASCII Keys Refresh Screen ESC CTRL/A XOFF CTRL/S Turn Indicators On or Off ESC CTRL/W XON CTRL/Q Display Station Disconnect ESC CTRL/R

which tput
/QOpenSys/usr/bin/tput

tput -T vt100 colors
tput: 1375-204 The terminal "vt100" is not recognized


https://www.experts-exchange.com/questions/24569440/Bash-help-for-telneting-to-AS400.html

This how-to was found write after i posted my question. The TPUT command i got from google to place a F3 in the script was incorrect. Once I followed the following, the script worked fine. For anyone else having these issues:

  1. start od with the -c option
  2. press the function key
  3. press the return key
  4. press ^D

Here's what it looks like when I do that to find out what my F1 key generates:

% od -c
^[[11~
0000000 033   [   1   1   ~  \n
0000006
%

The string between the 0000000 and \n is what we want. You can translate that into a send command like this one:

send "\033\[11~"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment