From owner-freebsd-questions Fri Jul 21 1:31: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc2.mi.home.com (ha1.rdc2.mi.home.com [24.2.68.68]) by hub.freebsd.org (Postfix) with ESMTP id CB64037B5DB for ; Fri, 21 Jul 2000 01:30:56 -0700 (PDT) (envelope-from sneak@datavibe.net) Received: from [192.168.0.5] ([24.2.251.107]) by mail.rdc2.mi.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20000721083056.DBYT6159.mail.rdc2.mi.home.com@[192.168.0.5]> for ; Fri, 21 Jul 2000 01:30:56 -0700 Mime-Version: 1.0 Message-Id: Date: Fri, 21 Jul 2000 04:30:51 -0400 To: freebsd-questions@FreeBSD.ORG From: Jeffrey Paul Subject: termcap question (rather stupid and newbieish) Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have made additions to my /etc/termcap file, and wish to incorporate those changes into the database used by vi/ee/[n]curses/clear/etc, but 'tic' doesn't seem to work, even though it creates the entries in /usr/local/share/misc/terminfo/?/*. I've added the entries to the /etc/termcap and /usr/share/misc/termcap files both, and i've tried using cap_mkdb(1) to create the .db file (and it re-creates the file, but still fails to work, as seen below): chrome:/usr/share/misc# rm termcap.db chrome:/usr/share/misc# cap_mkdb -v termcap cap_mkdb: 652 capability records chrome:/usr/share/misc# ls -tla termcap.db -rw-r--r-- 1 root wheel 1253376 Jul 19 19:57 termcap.db chrome:/usr/share/misc# export TERM="color_mac" chrome:/usr/share/misc# clear tput: tgetent failure: No such file or directory chrome:/usr/share/misc# vi /tmp/test vi: No terminal database found chrome:/usr/share/misc# cd chrome:/usr/share/misc# export TERM="vt100" chrome:/usr/share/misc# vi /tmp/test I'm totally at a loss that something this seemingly simple can turn out to be such a pain. Anyone know the correct procedure here? -- -------------------------------------------------- sneak@datavibe.net - 0xCD91A427 9907 3747 3CE9 11C5 2B1C F141 D09F 488C CD91 A427 Note: key id 0x299450B6 is lost and inactive. -------------------------------------------------- Copyright 2000 Jeffrey Paul. The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Thank you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message