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

  1. Xref: sparky comp.sys.hp:14618 comp.sys.sgi:18574
  2. Newsgroups: comp.sys.hp,comp.sys.sgi
  3. Path: sparky!uunet!think.com!ames!nsisrv!news.gsfc.nasa.gov!fish
  4. From: fish@daacdev1.stx.com
  5. Subject: why does hpux tset always prompt for term type and not irix???
  6. Message-ID: <fish.726442697@news.gsfc.nasa.gov>
  7. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  8. Nntp-Posting-Host: daacdev1.stx.com
  9. Organization: NASA Goddard Space Flight Center - Greenbelt, MD USA
  10. Date: Thu, 7 Jan 1993 21:38:17 GMT
  11. Lines: 25
  12.  
  13.  
  14. the default .profile for [k]sh users has the following line:
  15.     eval ` tset -s -Q -m ':?hp' `
  16.  
  17. which always asks me "TERM = (hp)" (even if i'm on the console
  18. or at an (obvious) true VT terminal)
  19.  
  20. isn't it supposed to be smart enough to go look in the termcap or
  21. terminfo file to try to figure it out and then only ask if it has
  22. a problem
  23.  
  24. under irix 4.0.1 the standard .profile has this:
  25. eval `tset -s -Q`
  26.  
  27. and it always seems to figure out who you are
  28.  
  29. its not as simple as removing the -m option
  30.  
  31.         thanx,
  32.             fish
  33. --
  34. John R. Vanderpool     INTERNET: fish@eosdata.gsfc.nasa.gov
  35. NASA/GSFC/HSTX         VOX: 301-513-1683                
  36. "Does God look down on the boys in the barroom,
  37.  mainly foresaken, but surely not judged."       -robert hunter
  38.