home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / protocol / tcpip / 5894 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  1.6 KB

  1. Xref: sparky comp.protocols.tcp-ip:5894 comp.protocols.tcp-ip.ibmpc:7318
  2. Newsgroups: comp.protocols.tcp-ip,comp.protocols.tcp-ip.ibmpc
  3. Path: sparky!uunet!eco.twg.com!twg.com!nntp-server.twg.com!frank
  4. From: frank@twg.com (Frank McConnell)
  5. Subject: Re: TELNET terminal types
  6. In-Reply-To: jcmorris@mwunix.mitre.org's message of Sat, 9 Jan 1993 18:10:02 GMT
  7. Message-ID: <FRANK.93Jan9155902@sundance.twg.com>
  8. Sender: news@twg.com (USENET News System)
  9. Organization: The Wollongong Group, Palo Alto, CA (USA)
  10. References: <jcmorris.726603002@mwunix>
  11. Date: Sat, 9 Jan 1993 23:59:02 GMT
  12. Lines: 23
  13.  
  14. I find the following workaround helpful in dealing with mismatches
  15. between the terminal types listed in the Assigned Numbers RFC and
  16. those that appear in termcap or terminfo databases:
  17.  
  18.     eval `tset -s -m 'dec-vt100:vt100' -m 'network:?vt100'`
  19.  
  20. This appears in my .login on most of the Suns that I work with.
  21.  
  22. The "-m 'dec-vt100:vt100'" instructs tset to map a terminal type of
  23. "dec-vt100" to "vt100", and the "-s" instructs tset to issue commands
  24. to reset the terminal type in the environment.  (The later 
  25. "-m 'network:?vt100'" instructs tset to prompt for a terminal type if the
  26. terminal type is initially set to "network", but to assume a default
  27. value of "vt100".  This covers cases where the TELNET client I'm using
  28. at the time isn't reporting a terminal type; in some of those cases,
  29. I'm TELNET-ing in from an HP terminal that is not like a VT100 and so
  30. want to be able to specify a type of "hp".)
  31.  
  32. Hope this helps!  If you need additional help with this, feel free to
  33. e-mail me.
  34.  
  35. -Frank McConnell, Product Engineering, The Wollongong Group
  36.  <frank@twg.com>
  37.