home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp / 14678 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.3 KB

  1. Xref: sparky comp.sys.hp:14678 comp.sys.sgi:18622
  2. Newsgroups: comp.sys.hp,comp.sys.sgi
  3. Path: sparky!uunet!gatech!rpi!usc!sdd.hp.com!col.hp.com!fc.hp.com!richard
  4. From: richard@fc.hp.com (Richard Artz)
  5. Subject: Re: why does hpux tset always prompt for term type and not irix???
  6. Sender: news@fc.hp.com (news daemon)
  7. Message-ID: <C0K4sM.E1M@fc.hp.com>
  8. Date: Fri, 8 Jan 1993 22:50:45 GMT
  9. References: <fish.726442697@news.gsfc.nasa.gov>
  10. Organization: Hewlett-Packard Fort Collins Site
  11. X-Newsreader: TIN [version 1.1.8 PL6]
  12. Lines: 17
  13.  
  14. fish@daacdev1.stx.com wrote:
  15. : isn't it supposed to be smart enough to go look in the termcap or
  16. : terminfo file to try to figure it out and then only ask if it has
  17. : a problem
  18. If you have the "ttytype" command found on 8.07 an 9.0, you might try
  19. something like this (from my ksh .profile):
  20.  
  21.    eval `ttytype -s -tANSI -thp`   # find terminal and set TERM and ERASE
  22.    eval `tset -Q -e ${ERASE:-^H} $TERM`
  23.  
  24.  Richard Artz / OSSD Learning Products / 303-229-2036 / richard@fc.hp.com
  25.  Hewlett-Packard / MS11 / 3404 E. Harmony Road / Fort Collins, CO 80525-9599 
  26. This response does not represent the official position of, or statement by, the
  27. Hewlett-Packard Company.  The above data is provided for informational purposes
  28. only. It is supplied without warranty of any kind.
  29.