Date: Wed, 13 May 2009 10:34:01 +0200 From: Jose Garcia Juanino <jjuanino@gmail.com> To: manish jain <invalid.pointer@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: How to move vi to /bin Message-ID: <20090513083400.GA4963@banach> In-Reply-To: <cb0fa7b70905130021t390bb560r4a1dd64ab3b2e79@mail.gmail.com> References: <cb0fa7b70905130021t390bb560r4a1dd64ab3b2e79@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] El miércoles 13 de mayo a las 09:21:46 CEST, manish jain escribió: > Hi, > > I want to move vi to /bin so that I have an editor available in > single-user mode. This sounds simple (and should be if all you have is > a single partition), but there are problems. For starters, terminfo > can't locate its database in single-user mode. > > Could anyone please tell me how to go about this on a 7.x system ? I > am also curious to know why FreeBSD doesn't place vi under /bin in the > first place. Try /rescue/vi in single user mode. Before that, you must copy /usr/share/misc/termcap.db to /root/.termcap.db (/root is the HOME of user root). Best regards. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkoKhfgACgkQFOo0zaS9RnJmEACfe+/NXplxCsDcHXiekP0eDmqD nsQAnAycN2GrO9uABpaM3lC4YCp0QkvU =76FB -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090513083400.GA4963>
