From owner-freebsd-current@FreeBSD.ORG Mon Aug 4 13:44:47 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E141C106564A for ; Mon, 4 Aug 2008 13:44:47 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [212.17.241.230]) by mx1.freebsd.org (Postfix) with ESMTP id 61AA48FC29 for ; Mon, 4 Aug 2008 13:44:47 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id m74DUsad075684; Mon, 4 Aug 2008 15:31:05 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id m74DUsg9075683; Mon, 4 Aug 2008 15:30:54 +0200 (CEST) (envelope-from olli) Date: Mon, 4 Aug 2008 15:30:54 +0200 (CEST) Message-Id: <200808041330.m74DUsg9075683@lurza.secnetix.de> From: Oliver Fromme To: freebsd-current@FreeBSD.ORG, randy@psg.com, dimitry@andric.com In-Reply-To: <4896CFA6.7060403@psg.com> X-Newsgroups: list.freebsd-current User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.2-STABLE-20070808 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 04 Aug 2008 15:31:07 +0200 (CEST) Cc: Subject: Re: termcap under single luser X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@FreeBSD.ORG, randy@psg.com, dimitry@andric.com 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:44:48 -0000 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. This seems to be a problem with nvi. AFAIR the original BSD vi would run fine without a termcap. It would enter open-mode automatically in that case. Among the various vi clones, elvis implements open-mode, but nvi does not. Anyway, I vote for moving termcap to /etc. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd Python is executable pseudocode. Perl is executable line noise.