🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.terminals
Article #980

Re: looking for VT300/320 termcap entry

#980
From: Adam Thompson
Date: Sun, 04 Oct 1992 23:08
159 lines
8642 bytes
In <1992Oct04.215656.8106@eng.umd.edu> dskim@eng.umd.edu (Daeshik Kim) writes:
>	I'm looking for vt320 or vt300 termcap entry; or
>	ftp sites for termcap.

Once again, here's my termcap entry for VT320 terminals:
(note that this includes support for VT320, VT320/132col mode, and
 an emulator I use called Z340.  I just changed the co# and li# field 
 because I can't always use 'resize(1)' -Adam)
(also note that the terminal _must_ be in 7bit mode... the key 
 definitions are ESC [ xyz, not CSI xyz.)
(ALSO note that a SysV terminfo entry follows the termcap entry --
 the termcap entry is the source file, I used captoinfo...)

-Adam Thompson
 thompsn@ccu.umanitoba.ca

#normal
v3|vt320|vt300|dec-vt320|dec-vt300|dec vt320 7 bit terminal:\
	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:K1=\EOw:K2=\EOu:\
	:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:NR:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:\
	:UP=\E[%dA:XF=^S:XN=^Q:ae=^O:al=\E[L:as=^N:bl=^G:cb=\E[1K:cd=\E[J:\
	:ce=\E[0K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80:cs=\E[%i%d;%dr:ct=\E[3g:\
	:dc=\E[P:dl=\E[M:do=\E[B:ds=\E[0$~:eA=\E)0:ei=\E[4l:es:fs=\E[$}:\
	:ho=\E[H:hs:im=\E[4h:is=\E[>\E[?1h\E[?4l\E[3g:k1=\EOP:\
	:k2=\EOQ:k3=\EOR:k4=\EOS:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
	:k;=\E[21~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:ke=\E>:kl=\E[D:kr=\E[C:\
	:ks=\E=:ku=\E[A:l1=PF1:l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?5i:ps=\E[i:pt:rc=\E8:ri=\E[C:\
	:rs=\E\\\E[?3h:\
	:sc=\E7:se=\E[27m:sf=\ED:so=\E[7m:sr=\EM:st=\EH:ta=\t:\
	:ts=\E[2$~\E[1$}\E[;%dH:ue=\E[24m:up=\E[A:us=\E[4m:\
	:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:vs=\E[?25h:ws#132:xo:

================================================================================
====================Here's the SysV terminfo entry, too=========================
================================================================================
#normal
vt320|vt300|dec-vt320|dec-vt300|dec vt320 7 bit terminal,
	eslok, hs, mir, msgr, nrrmc, xon,
	cols#80, lines#24, lm#0, wsl#80,
	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
	clear=\E[H\E[2J, cnorm=\E[?25h, cr=\r,
	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
	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[?25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m,
	dl=\E[%p1%dM, dl1=\E[M, dsl=\E[0$~, ed=\E[J, el=\E[0K,
	el1=\E[1K, enacs=\E)0, flash=\E[?5h\E[?5l, fsl=\E[$},
	home=\E[H, ht=\t, hts=\EH, il=\E[%p1%dL, il1=\E[L,
	ind=\ED, invis=\E[8m, is2=\E[>\E[?1h\E[?4h\E[3g,
	ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^?, kc1=\EOq,
	kc3=\EOs, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
	kcuu1=\E[A, kf1=\EOP, kf10=\E[21~, kf2=\EOQ, kf3=\EOR,
	kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
	kf9=\E[20~, knp=\E[6~, kpp=\E[5~, lf1=PF1, lf2=PF2,
	lf3=PF3, lf4=PF4, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i,
	nel=\EE, prot=\EV, rc=\E8, rev=\E[7m, ri=\EM,
	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
	rmso=\E[27m, rmul=\E[24m, rs2=\E\\\E[?3l, sc=\E7,
	sgr0=\E[0m, smacs=^N, smam=\E[?7h, smir=\E[4h,
	smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
	tsl=\E[2$~\E[1$}\E[;%p1%dH, xoffc=^S, xonc=^Q,

#wide...
vt320-w|vt300-w|dec-vt320-w|dec-vt300-w|dec vt320 wide 7 bit terminal,
	eslok, hs, mir, msgr, nrrmc, xon,
	cols#132, lines#24, lm#0, wsl#132,
	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
	clear=\E[H\E[2J, cnorm=\E[?25h, cr=\r,
	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
	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[?25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m,
	dl=\E[%p1%dM, dl1=\E[M, dsl=\E[0$~, ed=\E[J, el=\E[0K,
	el1=\E[1K, enacs=\E)0, flash=\E[?5h\E[?5l, fsl=\E[$},
	home=\E[H, ht=\t, hts=\EH, il=\E[%p1%dL, il1=\E[L,
	ind=\ED, invis=\E[8m, is2=\E[>\E[?1h\E[?4h\E[3g,
	ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^?, kc1=\EOq,
	kc3=\EOs, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
	kcuu1=\E[A, kf1=\EOP, kf10=\E[21~, kf2=\EOQ, kf3=\EOR,
	kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
	kf9=\E[20~, knp=\E[6~, kpp=\E[5~, lf1=PF1, lf2=PF2,
	lf3=PF3, lf4=PF4, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i,
	nel=\EE, prot=\EV, rc=\E8, rev=\E[7m, ri=\EM,
	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
	rmso=\E[27m, rmul=\E[24m, rs2=\E\\\E[?3h, sc=\E7,
	sgr0=\E[0m, smacs=^N, smam=\E[?7h, smir=\E[4h,
	smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
	tsl=\E[2$~\E[1$}\E[;%p1%dH, xoffc=^S, xonc=^Q,

z340|z320|zstem340|zstem-340|zstem vt340 terminal emulator 132col 42line,
	eslok, hs, mir, msgr, nrrmc, xon,
	cols#132, lines#42, lm#0, wsl#132,
	bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
	clear=\E[H\E[2J, cnorm=\E[?25h, cr=\r,
	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
	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[?25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m,
	dl=\E[%p1%dM, dl1=\E[M, dsl=\E[0$~, ed=\E[J, el=\E[0K,
	el1=\E[1K, enacs=\E)0, flash=\E[?5h\E[?5l, fsl=\E[$},
	home=\E[H, ht=\t, hts=\EH, il=\E[%p1%dL, il1=\E[L,
	ind=\ED, invis=\E[8m, is2=\E[>\E[?1h\E[?4h\E[3g,
	ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^?, kc1=\EOq,
	kc3=\EOs, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
	kcuu1=\E[A, kf1=\EOP, kf10=\E[21~, kf2=\EOQ, kf3=\EOR,
	kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
	kf9=\E[20~, knp=\E[6~, kpp=\E[5~, lf1=PF1, lf2=PF2,
	lf3=PF3, lf4=PF4, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i,
	nel=\EE, prot=\EV, rc=\E8, rev=\E[7m, ri=\EM,
	rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>,
	rmso=\E[27m, rmul=\E[24m, rs2=\E\\\E[?3h, sc=\E7,
	sgr0=\E[0m, smacs=^N, smam=\E[?7h, smir=\E[4h,
	smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
	tsl=\E[2$~\E[1$}\E[;%p1%dH, xoffc=^S, xonc=^Q,
-- 
+----------------------------------------------------------------------+
| Adam Thompson        University of Manitoba        Computer Services |
| thompsn@ccu.umanitoba.ca                        OLC maintenance team |
|     UNIX Programmer they call me... so how come I never program?     |
Technical Details
Message-ID: <1992Oct4.230831.4086@ccu.umanitoba.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!olivea!decwrl!access.usask.ca!ccu.umanitoba.ca!thompsn
References: <1992Oct04.215656.8106@eng.umd.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!olivea!decwrl!access.usask.ca!ccu.umanitoba.ca!thompsn
From: thompsn@ccu.umanitoba.ca (Adam Thompson)
Newsgroups: comp.terminals
Subject: Re: looking for VT300/320 termcap entry
Message-ID: <1992Oct4.230831.4086@ccu.umanitoba.ca>
Date: 4 Oct 92 23:08:31 GMT
References: <1992Oct04.215656.8106@eng.umd.edu>
Sender: news@ccu.umanitoba.ca
Organization: University of Manitoba, Winnipeg, Canada
Lines: 159
Nntp-Posting-Host: ccu.umanitoba.ca