Date: Sun, 27 Apr 1997 19:59:56 -0700 From: John-Mark Gurney <jmg@hydrogen.nike.efn.org> To: Vincent Poy <vince@mail.MCESTATE.COM> Cc: current@FreeBSD.ORG Subject: Re: termcap question Message-ID: <19970427195956.37887@hydrogen.nike.efn.org> In-Reply-To: <Pine.BSF.3.95.970427191252.6643O-100000@mail.MCESTATE.COM>; from Vincent Poy on Sun, Apr 27, 1997 at 07:13:49PM -0700 References: <199704280204.MAA04379@labs.usn.blaze.net.au> <Pine.BSF.3.95.970427191252.6643O-100000@mail.MCESTATE.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
Vincent Poy scribbled this message on Apr 27:
> On Mon, 28 Apr 1997, David Nugent wrote:
>
> > > > Well, cap_mkdb tells you want the problem is. There are no termcap
> > > > records for "klone+*" that the tc= references refer to.
> > >
> > > Hmmm, now where would I get the termcap records for "klone+*"
> > > though since it worked fine before there was cap_mkdb.
> >
> > If it worked, it was probably more by accident that design.
> > Try removing the tc= references and see what breaks. If something
> > does, then you may have to borrow those entries from some linux
> > termcap, assuming they exist there.
>
> Hmmm, it did work before, atleast for the last 9-10 months. How
> does one add a termcap entry if it wasn't a supplied terminal type?
termcap(5) says:
To easily test a new terminal description you are working on you can put
it in your home directory in a file called .termcap and programs will
look there before looking in /usr/share/misc/termcap. You can also set
the environment variable TERMPATH to a list of absolute file pathnames
(separated by spaces or colons), one of which contains the description
you are working on, and programs will search them in the order listed,
and nowhere else. See termcap(3). The TERMCAP environment variable is
another way is to go to the machine do:
echo $TERMCAP > somefile
transfer file to some machine...
either add it to /usr/share/misc/termcap, or do something like:
export TERMCAP=`cat somefile`
export TERM=`awk -F| '{print $1 }' somefile`
and because TERM matches TERMCAP it won't reload TERMCAP with the entry
from /usr/share/misc/termcap...
ttyl..
--
John-Mark
Cu Networking Modem/FAX: +1 541 683 6954
Live in Peace, destroy Micro$oft, support free software, run FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970427195956.37887>
