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