Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!kent From: kent@swrinde.nde.swri.edu (Kent D. Polk) Newsgroups: comp.sys.amiga.datacomm Subject: Re: Please re-post the Amiga termcap Message-ID: <2038@swrinde.nde.swri.edu> Date: 25 Mar 91 19:17:03 GMT References: <354@uqcspe.cs.uq.oz.au> Sender: news@swrinde.nde.swri.edu Organization: Southwest Research Institute, San Antonio, Texas Lines: 136 In article <354@uqcspe.cs.uq.oz.au> angst@cs.uq.oz.au writes: >Subject line says it all. Please email any discrepancies/problems you find with this, otherwise I can't improve it. (Does everything I need it to do.) :^) Kent Polk: Southwest Research Institute (512) 522-2882 Internet : kent@swrinde.nde.swri.edu UUCP : $ {cs.utexas.edu, gatech!petro, sun!texsun}!swrinde!kent --------------------------------------------- #!/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: # ATermcap.doc # amiga # This archive created: Tue Sep 11 13:17:23 1990 export PATH; PATH=/bin:$PATH echo shar: extracting "'ATermcap.doc'" '(2919 characters)' if test -f 'ATermcap.doc' then echo shar: over-writing existing file "'ATermcap.doc'" fi sed 's/^X//' << \SHAR_EOF > 'ATermcap.doc' X X Amiga Ansi Termcap v 1.3 X ------------------------ X XHere is the latest version of my Amiga termcap file. X XThanks to Ross Bogue, Chris Metcalf, John Kunze and a couple of others Xfor inspiration. If you want to try this termcap entry without putting Xit in /etc/termcap, or automatically invoking it, you can probably use Xthe following alias: X Xalias amiga "setenv TERMCAP path/amiga; set term = amiga" X Xwhere path/amiga is the path name to the file 'amiga' which is the following Xtermcap entry file. Then type 'amiga' in the csh in which you wish to use Xthis termcap. X XGood Luck, X XKent Polk XSouthwest Research Institute Xkent@swrinde.nde.swri.edu X X05/90 - 1.3 changes: (Thanks to Chris Metcalf) X-------------------- XAdded the "IC" capability. XConverted the bl capability to a vb. XAdded kn#10. XRemoved the .nl "capability" (was a typo Chris caught). X X07/89 - 1.2 changes: X-------------------- X XConverted caret-type control sequence (^x) entries to '\0xx' entries Xsince a couple of people mentioned loosing the '^x' sequences when sent Xvia mail. X XChanged the following: X X :k0=\E9~: map F10 to k0 - could have F0-9 -> k0-9, but F10 was 'k;' X Apparently vi only knows up to k9 X X F1-FA : removed F11 through F20. Who uses them? X Also removed a couple of 'sent by xx key' commands. Couldn't find anything X which used them either. X X03/89 - 1.1 changes: X-------------------- XAdded a few more entries: X as, ae : Support for alternate character sets. Handy with termcap X version of tput() for recovering your default character set. X X :ve=\E[\040p:vi=\E[\060\040p cursor visible/invisible. X X :nl=\E[B: Old versions of Jove and vi need this. X X :xn: vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept) X This one appears to fix a problem I always had with a line ending X at 'width+1' (I think) followed by a blank line in vi. The blank X line tended to disappear and reappear depending on how the screen X was refreshed. Note that this is probably needed only if you use X something like a Dnet Fterm with the window sized to some peculiar X dimension larger than 80 columns. X X-------------------------------------------------------------------- X It has also been brought to my attention that only the following X commands are typically used by such as vi, so a more compact Amiga X termcap could be made for those who so wish. X X AL DL DO LE RI UP X al am bc bs bt cd ce cl cm co cr cs da db dc dl dm do ed ei eo hc ho hz X ic im in ip k0 k1 k2 k3 k4 k5 k6 k7 k8 k9 kd ke kh kl kr ks ku li ll mi X nc nd nl ns os pc rc sc se sf so sr ta te ti ul up vb ve vs xb xn xt xx X X Also, Ross mentioned that you might want to add the following items to use X hard tabs with vt100 tabsettings (8 spcs). Actually I don't see any X difference as tabs are currently expanded to 8 spaces on the Amiga, but ... X :pt:if=/usr/lib/tabset/vt100: SHAR_EOF if test 2919 -ne "`wc -c 'ATermcap.doc'`" then echo shar: error transmitting "'ATermcap.doc'" '(should have been 2919 characters)' fi chmod +x 'ATermcap.doc' echo shar: extracting "'amiga'" '(674 characters)' if test -f 'amiga' then echo shar: over-writing existing file "'amiga'" fi sed 's/^X//' << \SHAR_EOF > 'amiga' X# Amiga termcap version 1.3 by Kent Polk XAA|amiga|Amiga ANSI:\ X :co#80:li#24:am:bs:bw:\ X :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:\ X :LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:IC=\E[%d@:\ 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[20l:\ X :k1=\E0~:k2=\E1~:k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~:k9=\E8~:\ X :k0=\E9~:kn#10: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:\ 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 :vb=\007:ve=\E[\040p:vi=\E[\060\040p:xn: SHAR_EOF if test 674 -ne "`wc -c 'amiga'`" then echo shar: error transmitting "'amiga'" '(should have been 674 characters)' fi chmod +x 'amiga' # End of shell archive exit 0