termcap under single luser
olli at lurza.secnetix.de
Mon Aug 4 13:44:48 UTC 2008
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.
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.
More information about the freebsd-current