For completeness here is qansi:
qansi
qansi|QNX ansi with console writes,
am, hs, eslok, xon, xhpa, daisy,
cols#80, it#8, lines#25, wsl#80, colors#8, pairs#64, ncv#19,
cbt=\E[Z, bel=^g, cr=\r, csr=\E[%i%p1%d;%p2%dr, tbc=\E[2g,
clear=\E[2J\E[H, el=\E[K, ed=\E[J, hpa=\E[%i%p1%dG,
cup=\E[%i%p1%d;%p2%dH$<5>, cud1=\E[B, home=\E[H,
civis=\E[?25l, cub1=\E[D, cnorm=\E[?25h\E[?12l, cuf1=\E[C,
ll=\E[99H, cuu1=\E[A, dch1=\E[P, dl1=\E[1M, dsl=\E[r,
smacs=\E[12m, blink=\E[5m, bold=\E[1m, dim=\E[2m,
invis=\E[9m, rev=\E[7m, smso=\E[7m, smul=\E[4m,
ech=\E[%p1%dX, rmacs=\E[10m, sgr0=\E[m, rmso=\E[27m,
rmul=\E[24m, flash=\E[?5h$<200>\E[?5l, fsl=\E[?6h\E8,
is2=\E>\E[?1l\E[?7h\E[0;10;39;49m, is3=\E(B\E)0, ich1=\E[1@,
il1=\E[1L, kbs=\b, ktbc=\ENd, kclr=\ENa, kctab=\E[z,
kdch1=\E[P, kdl1=\E[p, kcud1=\E[B, kf1=\EOP, kf10=\EOY,
kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV,
kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@, kil1=\E[`,
kcub1=\E[D, knp=\E[U, kpp=\E[V, kcuf1=\E[C, kind=\E[a,
kri=\E[b, khts=\ENb, kcuu1=\E[A, nel=\EE, dch=\E[%p1%dP,
dl=\E[%p1%dM, cud=\E[%p1%dB, ich=\E[%p1%d@, indn=\E[%p1%dS,
il=\E[%p1%dL, cub=\E[%p1%dD, cuf=\E[%p1%dC, rin=\E[%p1%dT,
cuu=\E[%p1%dA, rep=%p1%c\E[%p2%{1}%-%db,
rs1=^o\E[?7h\E[0;39;49m$<2>\E>\E[?1l,
rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, ind=\E[S, ri=\E[T,
sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\E[12m%e\E[10m%;,
hts=\EH, ht=\t, tsl=\E7\E1;24r\E[?6l\E[25;%i%p1%dH,
acsc=a1fxgqh0jYk?lZm@nEo_p_qDr\s\tCu4vAwBx3yszr{c}^|~zIhO[,
kcbt=\E[Z, smam=\E[?7h, rmam=\E[?7l, kcan=\E[S, kclo=\ENc,
kcmd=\E[G, kcpy=\E[g, kend=\E[Y, kext=\E[y, kfnd=\ENf,
khlp=\ENh, kmrk=\ENm, kmsg=\ENe, kmov=\ENi, kopn=\ENo,
kopt=\ENk, kref=\ENl, krfr=\ENg, krpl=\ENr, krst=\ENj,
kres=\ENp, ksav=\ENq, kund=\ENu, kBEG=\ENn, kCAN=\E[s,
kCMD=\E[t, kCPY=\ENs, kCRT=\ENt, kDL=\ENv, kslt=\E[T,
kEXT=\ENw, kFND=\ENx, kHLP=\ENy, kHOM=\E[h, kLFT=\E[d,
kNXT=\E[u, kOPT=\ENz, kPRV=\E[v, kRIT=\E[c, kf11=\EOZ,
kf12=\EOA, kf13=\EOp, kf14=\EOq, kf15=\EOr, kf16=\EOs,
kf17=\EOt, kf18=\EOu, kf19=\EOv, kf20=\EOw, kf21=\EOx,
kf22=\EOy, kf23=\EOz, kf24=\EOa, kf25=\E[1~, kf26=\E[2~,
kf27=\E[3~, kf28=\E[4~, kf29=\E[5~, kf30=\E[6~, kf31=\E[7~,
kf32=\E[8~, kf33=\E[9~, kf34=\E[10~, kf35=\E[11~,
kf36=\E[12~, kf37=\E[17~, kf38=\E[18~, kf39=\E[19~,
kf40=\E[20~, kf41=\E[21~, kf42=\E[22~, kf43=\E[23~,
kf44=\E[24~, kf45=\E[25~, kf46=\E[26~, kf47=\E[27~,
kf48=\E[28~, el1=\E[1K\E[X, op=\E[39;49m,
setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
Thomas Dickey wrote:
Ken Recchia <> rectech@nctimes.net> > wrote:
To add a side comment to this thread…
I was only able to get correct keyboard input and character output by using
‘qansi’ as a terminal type. in sysinit.x: ‘Dev.ansi -A’ and ‘TERM=qansi’.
Straight qnx or ansi never worked properly for me.
I have a copy of the qnx terminfo from before ncurses 4.2 which does
have those (qansi, etc) entries, but they weren’t part of the 4.2 port
for some reason. qansi does have rmacs/smacs entries - which would
apply to the character set mapping. (I didn’t check on the other
differences such as function keys).
–
Thomas E. Dickey <> dickey@radix.net> > <> dickey@herndon4.his.com
http://dickey.his.com
ftp://dickey.his.com