Need termcap for vt100 and vt220

Greg A. Woods woods at eci386.uucp
Fri Jun 8 02:10:28 AEST 1990


In article <1990Jun6.010609.5797 at gtisqr.uucp> roger at gtisqr.UUCP (Roger Droz) writes:
> What is the "standard" termcap/terminfo description for a vt100 number
> pad in "application mode"?  

There isn't one?  Actually, I'd suspect the best "standard" could be
gleaned by studying several DEC applications (i.e. from VMS or RSTS or
RT-11, etc.).  Perhaps the TECO layout would suite?  :-)

I've found the following entry (decompiled with infocmp from the AT&T
version supplied with 386/ix) to be quite complete.  As you can see,
it defines the application mode keypad as more function keys, although
the A1,A3,B2,C1,C3 keys are also defined.  The terminal I'm on right
now is an HDS-2000, and it also works well with the definition below,
though it has lots of function keys, and a cursor pad, so I use a
different entry most of the time.

A quick guess says the extra function keys aren't very useful at all.

My only vt100 is used as contty for the machine at home, and as such
doesn't get used for any applications, and in general I'm not much of
a fan of function keys anyway, especially on terminals without
programmable label displays (like the AT&T{6,7}05).

As for the vt220, It's got lots of function keys too, so what are you
worried about?  :-)

vt100|vt100-am|dec vt100 (w/advanced video),
	am, mir, msgr, xenl, xon,
	cols#80, it#8, lines#24, vt#3,
	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
	clear=\E[H\E[J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr,
	cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>,
	el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=\t,
	hts=\EH, ind=\n, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=\b,
	kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
	kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP,
	kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
	kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
	rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmkx=\E[?1l\E>,
	rmso=\E[m$<2>, rmul=\E[m$<2>,
	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
	sgr0=\E[m^O$<2>, smacs=^N, smkx=\E[?1h\E=,
	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
-- 
						Greg A. Woods

woods@{eci386,gate,robohack,ontmoh,tmsoft}.UUCP
+1-416-443-1734 [h]  +1-416-595-5425 [w]    VE3-TCP	Toronto, Ontario CANADA



More information about the Comp.unix.questions mailing list