[comp.unix.questions] personal terminfo database

rwelch@diana.cair.du.edu (RANDY S WELCH) (07/27/90)

In article <1230@umriscc.isc.umr.edu> fredc@umrisca.isc.umr.edu (Fred Clauss) writes:


   Is there a way to redirect terminfo requests to another location so that
   personal terminfo stuff can be used?  I am from the BSD world, and am quite
   familiar with termcap, and I regularly use a personal termcap file on all of
   the different systems that I work on by using a "setenv TERMCAP" (csh) command.
   Is there an analogous method for redirecting terminfo requests?

Same way just use:

setenv TERMINFO /path (csh)

works on my csh on my SysV.2 box.
-- 
Randy Welch   Mail to :  ...!ncar!scicom!bldr!randy or rwelch@du.edu
Boulder, CO   VOICE   :  303-442-6717
"Unfortunately, life contains an unavoidable element of unpredictability"
-David Lynch "The Angriest Dog in the World"

marz@cbnewsm.att.com (martin.zam) (07/28/90)

Try setting the environment variable TERMINFO.  You will need to
export it as well.  The TERMINFO variable should be set with the
directory which you wish to specify in place or /usr/lib/terminfo.
This means, that for a VT100 terminal, instead of looking in
/usr/lib/terminfo/v/vt100, the terminfo file should be found in
$TERMINFO/v/vt100.  Notice that you must create the "v" directory
under your ${TERMINFO} directory, and place the terminfo file in it.

					Martin Zam