Termcap for IBM PC xtalk terminal program
John Nelson
john at genrad.UUCP
Wed Oct 24 03:11:44 AEST 1984
From: ihnp4!sftig!rbt
Here is the xtalk termcap. I mostly use the terminfo (curses) version myself
since I am working at BTL where they have a certain bias. I am sending the
terminfo version too, so that you can compare them if there are any
undiscovered glitches in the termcap version due to insufficient testing.
First the termcap version --
d0|vt100|vt100-am|vt100|dec vt100:\
:cr=^M:do=^J:nl=^J:bl=^G:co#80:li#24:cl=50\E[;H\E[2J:\
:le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
:ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\
:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
:rf=/usr/lib/tabset/vt100:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:sr=5\EM:vt#3:xn:\
:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
d1|xtalk|IBM PC with xtalk:\
:sc@:rc@:cs@:am@:xn@:al=99\E[L:dl=99\E[M:tc=vt100-am:
This is the shell script that I execute from my profile when I login
from xtalk --
# set auto margins
echo '\033[?7h\c'
#set up tab stops
stty -tabs
echo '\033[3g'
for i in 1 2 3 4 5 6 7 8 9
do
echo ' \033H\c'
done
stty tabs
echo
Now the terminfo version (This is the input to the 'tic' compiler) --
# Vanilla vt100 definitions.
vt100|vt100-am|dec vt100,
cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24, it#8,
clear=\E[H\E[2J$<50>, cub1=^H, am, cup=\E[%i%p1%d;%p2%dH$<5>,
cuf1=\E[C$<2>, cuu1=\E[A$<2>, el=\E[K$<3>, ed=\E[J$<50>,
cud=\E[%p1%dB, cuu=\E[%p1%dA, cub=\E[%p1%dD, cuf=\E[%p1%dC,
smso=\E[7m$<2>, rmso=\E[m$<2>, smul=\E[4m$<2>, rmul=\E[m$<2>,
bold=\E[1m$<2>, rev=\E[7m$<2>, blink=\E[5m$<2>, sgr0=\E[m$<2>,
sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smkx=\E[?1h\E=, rmkx=\E[?1l\E>,
tbc=\E[3g, hts=\EH, home=\E[H,
kcuu1=\EOA, kcud1=\EOB, kcuf1=\EOC, kcub1=\EOD, kbs=^H,
kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, ht=^I, ri=\EM$<5>,
vt#3, xenl, xon, sc=\E7, rc=\E8, csr=\E[%i%p1%d;%p2%dr,
# ibm xtalk terminal simulator -- similar to but dumber than vanilla vt100
xtalk|IBM PC with xtalk communication program,
xenl@, sgr@, smso=\E[7m , rmso=\E[m , xmc#1, sc@, rc@, csr@,
il1=\E[L$<99>, dl1=\E[M$<99>,
smul@, rmul@, bold@, rev@, blink@, sgr0@, use=vt100,
Enjoy!
Rick Thomas
ihnp4!btlunix!rbt
(201)-522-6062
PS -- I just got word that there is a new revision of xtalk (3.5 I think they
said) that is supposed to fix the vt100 emulation problems.
rbt
More information about the Mod.sources
mailing list