home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / hp / 10074 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  2.0 KB

  1. Path: sparky!uunet!gatech!darwin.sura.net!jvnc.net!yale.edu!spool.mu.edu!olivea!sgigate!odin!fido!shankar
  2. From: shankar@sgi.com (Shankar Unni)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: Tcsh/term wierdness during login from Sun
  5. Keywords: tcsh 6.01.00 hpux termcap sun
  6. Message-ID: <pek0fuo@fido.asd.sgi.com>
  7. Date: 4 Sep 92 21:48:14 GMT
  8. References: <1992Sep3.165210.3154@tamsun.tamu.edu> <1992Sep4.163150.18743@rz.uni-karlsruhe.de>
  9. Sender: news@fido.asd.sgi.com (Usenet News Admin)
  10. Organization: Silicon Graphics, Inc.
  11. Lines: 42
  12.  
  13. In article <1992Sep4.163150.18743@rz.uni-karlsruhe.de> finger@rz.uni-karlsruhe.de writes:
  14.  
  15. >You may have a look at the first lines of /etc/termcap:
  16. >
  17. ># @(#) $Revision: 37.1 $
  18. >
  19. ># Important:
  20. >#       This file is here only for compatibility purposes.
  21. >#       It is not referenced by the curses(3X) library routines,
  22. >#       the termcap(3X) emulation routines, or the terminfo routines.
  23. >#       Instead of /etc/termcap these routines use the terminfo(5)
  24. >#       terminal data base under /usr/lib/terminfo.
  25. >
  26. >Try putting a file named sun-cmd in /usr/lib/terminfo/s.
  27.  
  28.  
  29. Not so simple...
  30.  
  31. Create a local file with the sun-cmd terminfo entries (with field
  32. names in terminfo format rather than termcap format - see the
  33. terminfo(5) man page for the corresponding mappings).
  34.  
  35. Then, run:
  36.  
  37.   tic local-file
  38.  
  39. This will "compile" the file and install it in the correct directory
  40. under /usr/lib/terminfo.
  41.  
  42. If you don't want to (or can't) modify system entries, you can set up
  43. env. var called TERMINFO, which points to a private directory, and
  44. then run tic. In this case, the file will be put in $TERMINFO/s/sun-cmd.
  45.  
  46. Then, be sure to set TERMINFO before setting your TERM to sun-cmd
  47. (it's OK for your TERMINFO directory not to be complete - if an entry
  48. is not found there, curses(3X) will then search in /usr/lib/terminfo).
  49. So you can safely do a "setenv TERMINFO ~/Terminfo" or something like
  50. that in your .login or .profile.
  51.  
  52. --
  53. Shankar Unni                E-Mail:    shankar@sgi.com
  54. Silicon Graphics Inc.            Phone:    +1-415-390-2072
  55.