Message-ID: <285@mb2c.UUCP>
Date: Wed, 24-Oct-84 15:21:51 EDT
Article-I.D.: mb2c.285
Posted: Wed Oct 24 15:21:51 1984
Date-Received: Thu, 25-Oct-84 04:08:02 EDT
Lines: 52
# # --------------------------------
# @(#)apple.ti 1.1 (MBT LOCAL)
#
# apple: Apple Computer Corporation
#
# The majority of this entry is stolen from the dec.ti released entry
# (v1.2). These entries assume that the 'Auto Wraparound' is enabled as
# this seems to be the only sane way to use UNIX on these machines.
# Xon-Xoff flow control should also be enabled.
#
# The correct way to handle xenl is when
# you output the char in column 80, immediately output CR LF
# and then assume you are in column 1 of the next line. Xenl must be on
# since, am is on.
#
# The vt100 uses rs2 and rf rather than is2/tbc/hts because the tab settings
# are in non-volatile memory and don't need to be reset upon login.
# Also setting the number of columns glitches the screen annoyingly.
# You can type "reset" to get them set.
#
# Since LisaTerm is dumber than MacTerminal, it comes first
lisa|lisaterm|Apple Lisa or Lisa/2 running LisaTerm,
cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24, it#8,
clear=\E[H\E[2J, cub1=^H, am, cup=\E[%i%p1%d;%p2%dH,
cuf1=\E[C, cuu1=\E[A, el=\E[K, ed=\E[J,
cud=\E[%p1%dB, cuu=\E[%p1%dA, cub=\E[%p1%dD, cuf=\E[%p1%dC,
smso=\E[7m, rmso=\E[m, smul=\E[4m, rmul=\E[m,
bold=\E[1m, rev=\E[7m, blink=\E[5m, sgr0=\E[m,
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,
vt#3, xenl, xon, sc=\E7, rc=\E8, csr=\E[%i%p1%d;%p2%dr,
# Lisaterm in 132 column ("wide") mode.
lisa-w|lisaterm-w|Apple Lisa with Lisaterm in 132 column mode,
cols#132, rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=lisa,
#
# Apple Macintosh
#
# Although MacTerminal has insert/delete line, it is not mentioned here
# since it is much faster and cleaner to use the "lock scrolling region"
# method of inserting and deleting lines due to the MacTerminal implementation.
# Also, the "Insert/delete ch" strings have an extra character appended to them
# due to a bug in MacTerminal V1.1. Blink is disabled since it is not
# supported by MacTerminal.
#
mac|macintosh|Apple Macintosh running MacTerminal,
blink@, dch1=\E[P\200, ich1=\E[@\200, use=lisa,
# Lisaterm in 132 column ("wide") mode.
mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode,
cols#132, rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=mac,