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