# @(#)termcap	5.2 91/05/05
# PRIVATE TERMCAP FILE FOR VI.IV
# 	General comments are put at the end of the file.
# Visual terminal
v0|vi100|vt-100|visual 100|vt100 w/o delays, no Hebrew:\
	:bs:pt:li#24:co#80:sr=5\EM:\
	:cl=\E[H\E[2J:cd=\E[J:ce=\E[K:\
	:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
	:md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
	:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:\
	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kn#4:\
	:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:\
	:ho=2\E[H:nd=\E[C:up=\E[A:cm=\E[%i%d;%dH:\
	:ti=\E>\E[?7l:te=\E[?7h:rf=/usr/lib/tabset/vt100:\
	:is=\E>\E[?4;5l\E[?7;8h:\E[r:\E24H:
# vi.iv version of the vi100 termcap entry
vH|vi100iv|vi100iv-24|vi100, with hebrew capabilities for vi.iv:\
	:eg=\E[?34l:he=\E[?34h:hf=\E[?35h:hn=\E[?35l:tc=vi100:
v4|vi100iv-40|vi100iv, with 40 lines:\
	:li#40:tc=vi100iv:
v5|vi100iv-50|vi100iv, with 50 lines:\
	:li#50:tc=vi100iv:
#
# DEC vt terminals.
# The following was modified for vi.iv from the L0 entry in CS's
# /etc/termcap  (Haim Roman 07/02/90)
dh|vt100iv|vt100iv-24|vt100-am-nd|dec vt100 with automatic margins and w/o delays (vi.iv):\
	:cm=\E[%i%d;%dH:le=^H:do=^J:nd=\E[C:up=\E[A:sc=\E7:rc=\E8:\
	:am:xn:bs:ms:pt:co#80:li#24:\
	:is=\E[1;24r\E[24;1H:ks=\E[?1h\E=:ke=\E[?1l\E>:\
	:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
	:cm=\E[%i%d;%dH:le=^H:do=^J:nd=\E[C:up=\E[A:sc=\E7:rc=\E8:\
	:cs=\E[%i%d;%dr:sr=\EM:hs:\
	:kn#4:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
	:l1=PF1:l2=PF2:l3=PF3:l4=PF4:\
	:kb=^H:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
	:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:us=\E[4m:ue=\E[m:so=\E[7m:se=\E[m:\
	:qu=\E[c:id=\E[?1;2c:\
	:rf=/usr/lib/tabset/vt100:rs=\E>\E[?3;5;6l\E[?4;7;8h\E(B\E)B:\
	:eg=\E[?34l:he=\E[?34h:hf=\E[?35h:hn=\E[?35l:
d0|vt100|same as vt100iv:\
	:tc=vt100iv:
d4|vt100iv-40|vt100iv, with 40 lines:\
	:li#40:tc=vt100iv:
d5|vt100iv-50|vt100iv, with 50 lines:\
	:li#50:tc=vt100iv:
#
# For SUn screens (via SunView or X)
Sh|suniv|suniv-24|for using vi.iv on a Sun screen via vthtool:\
	:hn=\E(A:hf=\E(1:eg=\E)B:he=\E)1:\
	:tc=vt100iv:
S4|suniv-40|suniv, with 40 lines:\
	:li#40:tc=suniv:
S5|suniv-50|suniv, with 50 lines:\
	:li#50:tc=suniv:
# Note on the above 'suniv' entry -- the termcap field for switching to
# Hebrew characters is set to the character sequence that vthtool thinks
# is for switching to English characters!  The field for switching to
# English characters is also reversed!  Vthtool was modified for vih, &
# for vi.iv to work with it, we must switch these fields.
#==============================================================
# The general comments are put at the end of the file for efficiency
# reasons:  the termcap system reads this file sequentially until it
# finds an entry with the correct name.
#==============================================================
# EDIT HISTORY:
#
# 05/05/91	HAIM ROMAN, COMPUTER SCIENCE DEPARTMENT, TECHNION
# (1) Added entries for terminals with 40 & 50 lines.  This addition
# was put in after vtem (called by vthtool [SunView] & hvt100 [X]) was
# changed to allow the user to specify how many lines the window will
# have.
# (2) Changed the 2-letter names for each entry, so that now there is
# a pattern to the naming.
#
# 07/02/90	HAIM ROMAN, COMPUTER SCIENCE DEPARTMENT, TECHNION
# (1) added entries vt100iv, suniv.
#
# 01/01/90	HAIM ROMAN, COMPUTER SCIENCE DEPARTMENT, TECHNION
# (1) Deleted all the entries not used by vi.iv.
#
# ??/??/88	URI HABUSHA, COMPUTER SCIENCE DEPARTMENT, TECHNION
# (1) modified for vi.iv.
#==============================================================
# Listed below are the names of the fields used by different programs
# for Hebrew capability.  Note that the same names are used for
# different purposes by different programs.  Unless otherwise specified,
# all the fields are strings sent to the terminal to control the
# terminal's actions.
# 
# VI.IV: 
#	eg (English) = LR cursor motion
#	he (Hebrew)  = RL   "      "
#	hn (Hebrew on)  = Hebrew  characters
#	hf (Hebrew off) = English     "
#
# VIH: 
#	eg (English) = English characters
#	he (Hebrew)  = Hebrew      "
#	lr (Left-Right) = left-to-right cursor motion
#	rl (Right-Left) = right-to-left   "      "
#	ee (English, English) = English characters + left-to-right motion
#	hh (Hebrew,  Hebrew)  = Hebrew      "      + right-to-left   "
#	em (English mirror)   = English     "      + left-to-right   "
#	hm (Hebrew  mirror)   = Hebrew      "      + left-to-right   "
#	
#
# LISTED IN SUN'S TERMCAP MANUAL PAGE:
#	as = start alternate character set
#	ae = end       "         "      "
#=====================================================================
