Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2008 15:30:54 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-current@FreeBSD.ORG, randy@psg.com, dimitry@andric.com
Subject:   Re: termcap under single luser
Message-ID:  <200808041330.m74DUsg9075683@lurza.secnetix.de>
In-Reply-To: <4896CFA6.7060403@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808041330.m74DUsg9075683>