Amiga-Request@cs.odu.edu (Amiga Sources/Binaries Moderator) (02/01/90)
Submitted-by: kent@swrinde.nde.swri.edu (Kent D. Polk) Posting-number: Volume 90, Issue 040 Archive-name: unix/amiga.tc-1.2 The following is a termcap entry for the Amiga - particularily for use with Dnet Fterms. It has been mailed all over the place with no adverse feedback since version 1.2, so I assume it works ok (does for me). #!/bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh <file", e.g.. If this archive is complete, you # will see the following message at the end: # "End of archive 1 (of 1)." # Contents: ATermcap.doc amiga # Wrapped by tadguy@xanth on Wed Jan 31 22:43:40 1990 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'ATermcap.doc' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'ATermcap.doc'\" else echo shar: Extracting \"'ATermcap.doc'\" \(2713 characters\) sed "s/^X//" >'ATermcap.doc' <<'END_OF_FILE' X X Amiga Ansi Termcap v 1.2 X ------------------------ X XHere is the latest version of my Amiga termcap file (Actually pretty old). X XThanks to Ross Bogue and a couple of others for inspiration. X XIf you want to try this termcap entry without putting it in /etc/termcap, Xor automatically invoking it, you can probably use the 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 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: END_OF_FILE if test 2713 -ne `wc -c <'ATermcap.doc'`; then echo shar: \"'ATermcap.doc'\" unpacked with wrong size! fi # end of 'ATermcap.doc' fi if test -f 'amiga' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'amiga'\" else echo shar: Extracting \"'amiga'\" \(646 characters\) sed "s/^X//" >'amiga' <<'END_OF_FILE' X# Amiga termcap 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:\ 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~: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: END_OF_FILE if test 646 -ne `wc -c <'amiga'`; then echo shar: \"'amiga'\" unpacked with wrong size! fi # end of 'amiga' fi echo shar: End of archive 1 \(of 1\). cp /dev/null ark1isdone MISSING="" for I in 1 ; do if test ! -f ark${I}isdone ; then MISSING="${MISSING} ${I}" fi done if test "${MISSING}" = "" ; then echo You have the archive. rm -f ark[1-9]isdone else echo You still need to unpack the following archives: echo " " ${MISSING} fi ## End of shell archive. exit 0 -- Submissions to comp.sources.amiga and comp.binaries.amiga should be sent to: amiga@cs.odu.edu or amiga@xanth.cs.odu.edu ( obsolescent mailers may need this address ) or ...!uunet!xanth!amiga ( very obsolescent mailers need this address ) Comments, questions, and suggestions s should be addressed to ``amiga-request'' (only use ``amiga'' for submissions) at the above addresses.