From owner-freebsd-current Sun Apr 27 19:04:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA12347 for current-outgoing; Sun, 27 Apr 1997 19:04: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 TAA12341 for ; Sun, 27 Apr 1997 19:04:06 -0700 (PDT) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.4/8.8.4) id TAA08249; Sun, 27 Apr 1997 19:03:56 -0700 (PDT) Message-ID: <19970427190355.65240@hydrogen.nike.efn.org> Date: Sun, 27 Apr 1997 19:03:55 -0700 From: John-Mark Gurney To: Vincent Poy Cc: current@FreeBSD.ORG Subject: Re: termcap question References: <19970427170402.50307@hydrogen.nike.efn.org> 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 05:11:32PM -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 Sun, 27 Apr 1997, John-Mark Gurney wrote: > > > Vincent Poy scribbled this message on Apr 27: > > > On the older FreeBSD versions, I can add a entry in /etc/termcap > > > and it would update the termcap database but in the recent -current, it > > > seems that termcap.db doesn't update. What am I doing wrong? > > > > cap_mkdb /usr/share/misc/termcap > > > > the location has reciently changed to /usr/share/misc so that you don't > > have to have the symlink in /etc any more... the cap_mkdb is neccessary > > to rebuild the database that makes looking up termcap entries faster... > > I just figured this part out... However, something weird is > happening, the termcap entries I manually put in no longer works anymore. > > linux|linux console:\ [...] > :vi=\E[?25l:tc=klone+sgr:tc=klone+color:tc=klone+acs: my closest guess is that tc=klone+sgr and tc=klone+color are not last as termcap(5) says it's suppose to be... but other than that, I don't know... > linux-m|Linux console no color:\ > :Co@:pa@:\ > :AB@:AF@:Sb@:Sf@:tc=linux: > > When I did: > > root@earth [5:10pm][/usr/share/misc] >> cap_mkdb /usr/share/misc/termcap > cap_mkdb: Record not tc expanded: linux|linux console > cap_mkdb: Record not tc expanded: linux-m|Linux console no color and then this one (linux-m) isn't expanded because there is now linux... > Any ideas? hope the above it true... but I'm not sure... ttyl.. -- John-Mark Cu Networking Modem/FAX: +1 541 683 6954 Live in Peace, destroy Micro$oft, support free software, run FreeBSD