[comp.sys.amiga] Amiga Termcap

11TSTARK@GALLUA.BITNET (Timothy Stark) (02/13/89)

Hello,

    I found termcap for amiga in Fish Disk #14. I decided to ftp 128.174.5.54
and cd to amiga/fish/ff014. Also, I was surprised because termcap.zoo is
missing in ff014 directory. Can you send me Amiga Termcap package? Thanks!

-- Tim Stark

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Timothy Stark          |   Bitnet:      11tstark@gallua.bitnet           VMS
Gallaudet University   |   Internet:    11tstark@gallux.gallaudet.edu    UNIX
P.O. Box 1453          |   GEnie:       T.STARK1
Washington, DC 20002   |   People/Link: OCS130
U.S.A.                 |   QuantumLink: TimS18
Earth                  |   "Gallaudet University is the only university for
Solar System           |    the deaf in the world."
Milky Way              |
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

kent@swrinde.nde.swri.edu (Kent D. Polk) (04/18/89)

Here is the latest version of my Amiga termcap file.

I decided to go ahead & post since I can't seem to mail it to several
people who have requested it, or have had problems with a previous one.
Is update posting of this termcap entry acceptable, or does anyone have
a better idea?

Thanks to Ross Bogue and a couple of others for a few inspirations.

Added a few more entries, converted caret-type control sequence (^x) entries
to '\0xx' entries since a couple of people mentioned loosing the '^x'
sequences en route (?#!).

  as, ae : Support for alternate character sets. (Don't know why, just figured
           i'd put them in).

  :ve=\E[\040p:vi=\E[\060\040p  cursor visible/invisible.

  :nl=\E[B:  Old versions of Jove and vi need this.

  :xn:  vt100 kludginess at column 80.
     This one appears to fix a problem I always had with a line ending at
     'width+1' (I think) followed by a blank line in vi. The blank line
     tended to disappear and reappear depending on how the screen was
     refreshed.

  :k0=\E9~: map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
            Apparently vi only knows up to k9 :-(

  Also, Ross mentioned that you might want to add the following items to use
  hard tabs with vt100 tabsettings (8 spcs). Actually I don't see any
  difference as tabs are currently expanded to 8 spaces by the Amiga, but ...
  :pt:if=/usr/lib/tabset/vt100:

If you want to try this termcap entry without putting it in /etc/termcap,
you can use the following alias:

alias amiga "setenv TERMCAP path/amiga; set term = amiga"

where path/amiga is the path name to the file 'amiga' which is the following
termcap entry file.

Good Luck,

=======================================================
       Kent Polk - Southwest Research Institute
 {cs.utexas.edu, gatech!petro sun!texsun}!swrinde!kent
              kent@swrinde.nde.swri.edu
=======================================================

#--------------------- cut here ------------------
#!/bin/sh
# This is a shell archive, meaning:
# 1. Remove everything above the #!/bin/sh line.
# 2. Save the resulting text in a file.
# 3. Execute the file with /bin/sh (not csh) to create the files:
#	amiga
# This archive created: Mon Apr 17 08:38:08 1989
export PATH; PATH=/bin:$PATH
echo shar: extracting "'amiga'" '(764 characters)'
if test -f 'amiga'
then
	echo shar: over-writing existing file "'amiga'"
fi
sed 's/^X//' << \SHAR_EOF > 'amiga'
X# Amiga termcap by Kent Polk
XAA|amiga|Amiga ANSI:\
X   :co#80:li#24:am:bs:bw:\
X   :%1=\E?~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\
X   :F1=\E10~:F2=\E11~:F3=\E12~:F4=\E13~:F5=\E14~:F6=\E15~:F7=\E16~:F8=\E17~:\
X   :F9=\E18~:FA=\E19~:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:\
X   :ae=\017:al=\E[L:as=\016:bl=\007:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
X   :cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:ic=\E[@:is=\E[20]:\
X   :k1=\E0~:k2=\E1~:k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~:k9=\E8~:\
X   :k0=\E9~:kD=^?:kF=\E[T:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\E[D:\
X   :mb=\E[7;2m:md=\E[1m:me=\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nl=\E[B:\
X   :rs=\Ec:se=\E[0m:sf=\E[S:so=\E[7m:sr=\E[T:ue=\E[0m:up=\E[A:us=\E[4m:\
X   :ve=\E[\040p:vi=\E[\060\040p:xn:
SHAR_EOF
if test 764 -ne "`wc -c 'amiga'`"
then
	echo shar: error transmitting "'amiga'" '(should have been 764 characters)'
fi
#	End of shell archive
exit 0