escape sequences for AT386
Greg A. Woods
woods at eci386.uucp
Sat Jan 12 10:24:06 AEST 1991
In article <1991Jan9.174613.10175 at news.larc.nasa.gov> jka at radar0.larc.nasa.gov (J. Keith Alston) writes:
> Hello,
> I am attempting to modify the AT386 termcap (and/or terminfo) file
> to include:
You mention ISC-2.2, so this may not work, but it'll give you some
clues. Also, the console driver man pages give the details (i.e.
keyboard(7), display(7), etc.). This terminfo is for the AT386
console as implemented on ISC's 386/ix 1.0.6.
Set TERMINFO to a test directory, export it, and tic -v the following:
---------------- cut here ----------------
#
# Description for console emulated by 386/ix Virtual Terminal driver
#
#ident: %W% %E% %U% %Q%
#
# woods at eci386.uucp - Sat Jan 14 10:32:09 EST 1989
# - cobbled together from various old versions, driver headers,
# man pages, and lots of experimentation.
#
# woods at eci386 - Fri Jun 8 18:05:05 EST 1990
# - added support for C-Scape
#
AT386|at386|at/386 console (ISC 386/ix 1.0.6),
# flags
am, xon, bw, eo, xt,
cols#80, lines#25,
# strings
is2=\E[0;10;38m,
bel=^G, cr=\r, ht=\t, cbt=\E[Z,
clear=\Ec, home=\E[H,
ed=\E[J, el=\E[K,
vpa=\E[%p1%{1}%+%dd, hpa=\E[%p1%{1}%+%dG,
cub=\E[%p1%dD, cub1=\b,
cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
dl=\E[%p1%dM, dl1=\E[M,
il=\E[%p1%dL, il1=\E[L,
dch=\E[%p1%dP, dch1=\E[P,
ich=\E[%p1%d@, ich1=\E[@,
ind=\E[S, indn=\E[%p1%dS,
ri=\E[T, rin=\E[%p1%dT,
hts=\EH, tbc=\E[2g,
# doesn't work
# rep=%p1%c\E[%p2%{1}%-%db,
# keys
kbs=\b, kcmd=\EN`,
kcbt=^],
# GreyPlus & Grey Minus
kopn=\E[T, kclo=\E[S,
kcuf1=\E[C, kcub1=\E[D, kcud1=\E[B, kcuu1=\E[A,
# Shifted keys work only on the cursor pad
kRIT=\E[c, kLFT=\E[d, ked=\E[b, kbeg=\E[a,
knp=\E[U, kpp=\E[V,
# NOTE: shifted PgUp and PgDn defined as scroll keys
kind=\E[u, kri=\E[v,
khome=\E[H, kend=\E[Y,
kHOM=\E[h, kEND=\E[y,
kich1=\E[@, kdch1=\E[P, kprt=\E[L,
kIC=\E[2, kDC=\E[p, kPRT=\E[l,
ka1=\E[H, ka3=\E[V, kb2=\E[G, kc1=\E[Y, kc3=\E[U,
kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU,
kf7=\EOV, kf8=\EOW, kf9=\EOX, kf10=\EOY, kf11=\EOZ, kf12=\EOA,
# NOTE: not the normal labels
kf13=\EOp, kf14=\EOq, kf15=\EOr, kf16=\EOs, kf17=\EOt, kf18=\EOu,
kf19=\EOv, kf20=\EOw, kf21=\EOx, kf22=\EOy, kf23=\EOz, kf24=\EOa,
# misc. ALT keys
kcpy=\ENc, kext=\ENe, kfnd=\ENf, khlp=\ENh, kil1=\ENi, kmrk=\ENm,
kCPY=\ENC, kEXT=\ENE, kFND=\ENF, kHLP=\ENH,
knxt=\ENn, kprv=\ENp, krpl=\ENr, kref=\ENs,
kNXT=\ENN, kPRV=\ENP, kRPL=\ENR, ksav=\ENS,
# attributes
rev=\E[7m, blink=\E[5m, bold=\E[1m,
rmul=\E[0m, smul=\E[4m,
rmso=\E[0m, smso=\E[7m,
smacs=\E[12m, rmacs=\E[10m,
# sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m,
sgr0=\E[0;10m,
# cursor
# civis=\E[8m, cvvis=, cnorm=,
# Alt Char set
acsc=0[I'a2fxgqh0jYk?lZm at nEqDtCu4vAwBx3~y,
--
Greg A. Woods
woods@{eci386,gate,robohack,ontmoh,tmsoft}.UUCP ECI and UniForum Canada
+1-416-443-1734 [h] +1-416-595-5425 [w] VE3TCP Toronto, Ontario CANADA
Political speech and writing are largely the defense of the indefensible-ORWELL
More information about the Comp.unix.sysv386
mailing list