From owner-freebsd-current@FreeBSD.ORG Mon Aug 4 13:15:32 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E88D1065678 for ; Mon, 4 Aug 2008 13:15:32 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id EBE4F8FC19 for ; Mon, 4 Aug 2008 13:15:31 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl19-159.kln.forthnet.gr [77.49.146.159]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m74CuNgj001647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 4 Aug 2008 15:56:30 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m74CuNTD013435; Mon, 4 Aug 2008 15:56:23 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m74CuLjR013434; Mon, 4 Aug 2008 15:56:21 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Randy Bush References: <4896818D.5040904@psg.com> <4896C372.5050109@andric.com> <4896C3FF.50104@psg.com> <4896C8B4.3050106@andric.com> <4896CFA6.7060403@psg.com> Date: Mon, 04 Aug 2008 15:56:21 +0300 In-Reply-To: <4896CFA6.7060403@psg.com> (Randy Bush's message of "Mon, 04 Aug 2008 18:45:10 +0900") Message-ID: <87hca1lz0q.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m74CuNgj001647 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.812, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.59, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: Dimitry Andric , FreeBSD Current Subject: Re: termcap under single luser X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 13:15:32 -0000 On Mon, 04 Aug 2008 18:45:10 +0900, Randy Bush wrote: >> As far as I can see, /rescue/vi reads the following termcap files: >> >> $HOME/.termcap >> $HOME/.termcap.db >> /usr/share/misc/termcap.db >> >> So copying /usr/share/misc/termcap.db to /root/.termcap.db works, at >> least for single user. Note the termcap files do reference some other >> stuff under /usr/share/tabset, but it doesn't seem to matter much. > > reasonable looking hack. and i may put in as a bridge, as i have a post > world script. thanks. > > but des took my hint. i suspect that is the long-term path. or, if > space saving rules, remove vi and ex from /rescue. That last bit seems like a step backwards. I'd prefer a working termcap in the root filesystem, or at least something like a 'minimal termcap' with "cons25*", "vt100", "vt220" and a few other important terminal types. The bikeshed of which terminal types are "important" can be colored deep navy blue, as long as we keep at least "cons25" and "vt220".