termcap - (nf)
grunwald at uiuccsb.UUCP
grunwald at uiuccsb.UUCP
Fri Apr 6 13:34:22 AEST 1984
#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.
More information about the Comp.unix
mailing list