home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sgi:12941 comp.sys.sun.admin:5866
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!sgi!fido!agomoda!williams
- From: williams@agomoda.asd.sgi.com (Eric Williams)
- Newsgroups: comp.sys.sgi,comp.sys.sun.admin
- Subject: Re: iris-ansi termcap/terminfo Entries for Sun?
- Message-ID: <p2nrcpo@fido.asd.sgi.com>
- Date: 26 Aug 92 21:32:08 GMT
- References: <1992Aug25.222000.21308@ncar.ucar.edu>
- Sender: news@fido.asd.sgi.com (Usenet News Admin)
- Distribution: usa
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 36
-
- In <1992Aug25.222000.21308@ncar.ucar.edu> tres@roke.rap.ucar.edu (Tres Hofmeister) writes:
-
- > How do I go about acquiring termcap entries and terminfo
- >files for the terminal types iris-ansi and iris-ansi-net for use on a
- >Sun? These are the terminal types for SGI's "winterm," and as Sun
- >doesn't understand them, remote logins from the SGI's are painful.
-
- On the SGI machine, try using 'infocmp -C' to make a termcap entry. The
- program captoinfo(1M) does the reverse (takes termcap descriptions and makes
- terminfo descriptions).
-
- Here's what I get:
-
- % infocmp -C
- iris-ansi|IRIS emulating 40 line ANSI terminal (almost VT100):\
- :am:pt:\
- :co#80:li#40:kn#4:\
- :AL=\E[%dL:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:\
- :UP=\E[%dA:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
- :cm=\E[%i%d;%dH:ct=\E[3g:dl=\E[M:ho=\E[H:\
- :is=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8:k1=\E[001q:\
- :k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
- :k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\EOP:kb=\b:\
- :kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nd=\E[C:\
- :rc=\E8:sc=\E7:se=\E[m:so=\E[1;7m:sr=\EM:st=\EH:\
- :ue=\E[m:up=\E[A:us=\E[4m:ve=\E[9/y\E[12/y\E[=6l:\
- :vs=\E[10/y\E[=1h\E[=2l\E[=6h:bc=\E[D:ko=le,nd,up,ho:
-
-
- To handle remote logins you'll also want to add something like:
-
- iris-ansi-net|IRIS connected to a remote host:tc=iris-ansi:
-
-
- Good luck,
- Eric Williams
-