home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 12941 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  2.0 KB

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