Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!harpo!ihnp4!inuxc!pur-ee!uiucdcs!uiuccsb!grunwald From: grunwald@uiuccsb.UUCP Newsgroups: net.unix Subject: Re: termcap - (nf) Message-ID: <6617@uiucdcs.UUCP> Date: Thu, 5-Apr-84 22:34:22 EST Article-I.D.: uiucdcs.6617 Posted: Thu Apr 5 22:34:22 1984 Date-Received: Sat, 7-Apr-84 06:31:52 EST Lines: 16 #R:uiucdcs:39300002:uiuccsb:19300009:000:543 uiuccsb!grunwald Apr 5 08:54:00 1984 You can set the shell variable "TERMCAP" to the string you want to use. Programs using the TERMCAP routines check this variable before accessing /etc/termcap. For a specific terminal type, you can retrieve your termcap information by doing "tset -S". This will print your termcap entry to stdout. Thus, in the CSH, to set your TERMCAP variable (and thus cut down on a file access every time you do a "more" or "vi"), do the following: setenv TERMCAP "`tset -SQ`" See TERMCAP in section (5) of the UNIX programmers manual for more info.