[comp.sys.att] New TERMCAP/TERMINFO for UNIXpc

jbm@uncle.UUCP (John B. Milton) (12/19/87)

While reading ESCAPE (7) in the User's Manual Volume I, I found some escape
sequences which were documented, but not in termcap/terminfo! I whipped up
a new termcap and terminfo entry to support these. I have already mailed it
to mark@ucbvax. These haven't been tested exhaustively, so if you find
errors, please e-mail them to me, I will forward to mark.

termcap:
---
# NEW (19-Dec-87 by jbm@uncle) unix pc console definitions
s4|7300|unixpc|pc7300|PC7300|unix_pc|3b1|AT&T UNIX PC Model 7300:\
	:am:mi:ms:xo:bs:\
	:co#80:it#8:li#24:kn#3:\
	:AL=\E[%dL:BO=\E[1m:CI=\E[=1C:CV=\E[=C:DC=\E[%dP:DL=\E[%dM:\
	:DO=\E[%dB:DS=\E[2m:EE=\E[m:IC=\E[%d@:LE=\E[%dD:\
	:KM=/usr/lib/ua/kmap.s4:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:\
	:UP=\E[%dA:XS=\E[9m:\
	:ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cb=\E[1K:cd=\E[J:\
	:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=\r:dc=\E[P:\
	:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:is=\E[H\E[2J\E[;10m:\
	:k1=\EOc:k2=\EOd:k3=\EOe:k4=\EOf:k5=\EOg:k6=\EOh:\
	:k7=\EOi:k8=\EOj:kb=\b:kd=\E[B:kl=\E[D:kr=\E[C:\
	:ku=\E[A:le=\b:md=\E[1m:me=\E[;10m:mh=\E[2m:mr=\E[7m:\
	:nd=\E[C:nw=\EE:se=\E[m:sf=\n:so=\E[1m:sr=\EM:ue=\E[m:\
	:up=\E[A:us=\E[4m:ve=\E[=C:vi=\E[=1C:vs=\E[=C:nl=\E[B:\
	:ko=do,nd,up:
---

terminfo:
---
s4|7300|unixpc|pc7300|PC7300|unix_pc|3b1|AT&T UNIX PC Model 7300,
	am, mir, msgr, xon,
	cols#80, it#8, lines#24,
	bel=^G, bold=\E[1m, civis=\E[=1C, clear=\E[H\E[2J,
	cnorm=\E[=C, cr=\r, cub=\E[%p1%dD, cub1=\b,
	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
	cvvis=\E[=C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
	home=\E[H, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
	il1=\E[L, ind=\n, indn=\E[%p1%dS,
	is2=\E[H\E[2J\E[;10m, kbs=\b, kcub1=\E[D, kcud1=\E[B,
	kcuf1=\E[C, kcuu1=\E[A, kf1=\EOc, kf2=\EOd, kf3=\EOe,
	kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj,
	nel=\EE, rev=\E[7m, ri=\EM, rin=\E[%p1%dT,
	rmacs=\E[10m, rmso=\E[m, rmul=\E[m, sgr0=\E[;10m,
	smacs=\E[11m, smso=\E[1m, smul=\E[4m,
---
-- 
John Bly Milton IV, jbm@uncle.UUCP, {ihnp4|cbosgd}!n8emr!uncle!jbm
home: (614) 294-4823, work: (614) 459-7644, FLAME via email :)

jbm@uncle.UUCP (John B. Milton) (12/20/87)

I Was afraid this would happen, but IT'S NOT MY FAULT.
My excuse: I ran across the command infocmp (1M) and decided to use it to
format the results of my new terminfo. This turned out to be a mistake,
because it goofed! It used terminfo "cud1" to make termcap "nl". Someone
goofed. This goof did not affect the terminfo I posted, but does affect the
termcap. The thing that blew up from this was the ":set all" in vi. It wrapped
half a screen of stuff around on the bottom line.

Please change:

:nl=\E[B:

to

:nl=\n:
-- 
John Bly Milton IV, jbm@uncle.UUCP, {ihnp4|cbosgd}!n8emr!uncle!jbm
home: (614) 294-4823, work: (614) 459-7644, FLAME via email :)