From owner-freebsd-current Sun Apr 27 20:00:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA15280 for current-outgoing; Sun, 27 Apr 1997 20:00:13 -0700 (PDT) Received: from hydrogen.nike.efn.org (metriclient-8.uoregon.edu [128.223.172.8]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA15268 for ; Sun, 27 Apr 1997 20:00:08 -0700 (PDT) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.4/8.8.4) id TAA08379; Sun, 27 Apr 1997 19:59:56 -0700 (PDT) Message-ID: <19970427195956.37887@hydrogen.nike.efn.org> Date: Sun, 27 Apr 1997 19:59:56 -0700 From: John-Mark Gurney To: Vincent Poy Cc: current@FreeBSD.ORG Subject: Re: termcap question References: <199704280204.MAA04379@labs.usn.blaze.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: ; from Vincent Poy on Sun, Apr 27, 1997 at 07:13:49PM -0700 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2-960801-SNAP i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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