[comp.terminals] vt220 termcap / terminfo

lyndon@ncc.UUCP (Lyndon Nerenberg) (06/25/87)

I tried this through comp.sources.misc with no luck...
It seems like a number of people still don't have any
entries for the vt220. Following are the entries we
have been using for the last year or so.

----

vt220|wy85|Wyse 85|Digital VT220-7 bit,
    cols#80, it#8, lines#24, am, eslok, mir, msgr, xenl,
    rmacs=^O, il1=\E[L, smacs=\En, bel=^G, ed=\E[J, el=\E[K,
    clear=\E[H\E[2J, cup=\E[%i%p1%d;%p2%dH, cr=^M,
    csr=\E[%i%p1%d;%p2%dr, dch1=\E[P, dl1=\E[M, cud1=^J,
    home=\E[H, ich1=\E[@, kbs=\b, kcud1=\E[B, khome=\E[26~,
    kcub1=\E[D, kcuf1=\E[C, kcuu1=\E[A, knp=\E[6~, kpp=\E[5~,
    cub1=\E[D, ll=\E[24H, blink=\E[5m, bold=\E[1m, sgr0=\E[m^O,
    dim=\E[2m, invis=\E[8m, rev=\E[7m, cuf1=\E[C, rc=\E8,
    sc=\E7, rmso=\E[27m, ind=^J, smso=\E[7m, ri=\EM, hts=\EH,
    smcup=\E*0, rmul=\E[24m, cuu1=\E[A, smul=\E[4m,
    cnorm=\E[?25h, civis=\E[?25l, il=\E[%p1%dL, dch=\E[%p1%dP,
    dl=\E[%p1%dM, cud=\E[%p1%dB, cub=\E[%p1%dD, cuf=\E[%p1%dC,
    cuu=\E[%p1%dA


# Programs f11=Escape, f12=Backspace, f13=Linefeed
# Makes line drawing set (Special Graphics) be G2
d6|vt220|vt220 7-bit mode:\
	:is=\E*0\EP1;1|43/1B;44/08;45/0A\E\\:tc=vt100-am:
# programs <X] key to be backspace/DEL
w8|wy85|Wyse 85 VT220 7-bit mode:\
	:is=\E*0\EP1;1|43/1B;44/08;45/0A\E\\\E[36h:tc=vt220:

latzko@elbereth.rutgers.edu (Alex Latzko) (12/29/88)

In response to the last three people who asked.  These have been
tested against: dev vt240, wyse 85 and FTP Incs tnvt.  If anyone
spots a bug please tell me so I can fix it. 

cheers
/S*

latzko@rutgers.edu
{backbone}!rutgers!latzko

******************** cut here for vt220 termcap ********************

# vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
# the problem with real vt220 terminals is they don't send escapes when in
# in vt220 mode.  This can be gotten around two ways.  1> don't send 
# escapes or 2> put the vt220 into vt100 mode and use all the nifty 
# features of vt100 advanced video which it then has.  
#
# This entry takes the view of putting a vt220 into vt100 mode so 
# you can use the escape key in emacs and everything else which needs it
#
vt200|vt220|vt200-js|vt220-js|dec-vt220|dec vt200 series with jump scroll:\
	:al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:co#80:\
	:cs=\E[%i%d;%dr:dc=\E[P:dl=\E[M:dm=:do=^J:ed=:ei=\E[4l:ho=\E[H:\
	:im=\E[4h:\
        :is=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m:\
	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:\
	:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:\
	:li#24:mb=\E[5m:md=\E[1m:me=\E[m:mi:mr=\E[7m:nd=\E[C:pt:\
	:rf=/usr/lib/tabset/vt100:\
	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
	:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:ue=\E[24m:up=\E[A:us=\E[4m:


******************** cut here for vt220 terminfo ********************


# this is a mechanical translation by captoinfo 12/28/88 abl
#
# vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
# the problem with real vt220 terminals is they don't send escapes when in
# in vt220 mode.  This can be gotten around two ways.  1> don't send 
# escapes or 2> put the vt220 into vt100 mode and use all the nifty 
# features of vt100 advanced video which it then has.  
#
# This entry takes the view of putting a vt220 into vt100 mode so 
# you can use the escape key in emacs and everything else which needs it
#
vt200|vt220|vt200-js|vt220-js|dec-vt220|dec vt200 series with jump scroll,
	am, mir, xon,
	cols#80, lines#24,
	bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J,
	cr=\r, csr=\E[%i%p1%d;%p2%dr, cub1=\b, cud1=\n,
	cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A,
	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
	ht=\t, il1=\E[L, ind=\ED,
	is2=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m,
	kbs=\b, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC,
	kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
	rev=\E[7m, rf=/usr/lib/tabset/vt100, ri=\EM,
	rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m,
	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m,
	smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m,