bin/80256: /rescue/vi doesn't work without terminal database in /usr

Simon L. Nielsen simon at FreeBSD.org
Sat Apr 23 07:10:22 PDT 2005


The following reply was made to PR bin/80256; it has been noted by GNATS.

From: "Simon L. Nielsen" <simon at FreeBSD.org>
To: Brian Candler <B.Candler at pobox.com>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: bin/80256: /rescue/vi doesn't work without terminal database in /usr
Date: Sat, 23 Apr 2005 16:04:59 +0200

 --17pEHd4RhPHOinZp
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2005.04.22 18:44:02 +0200, Brian Candler wrote:
 >=20
 > The usefulness of /rescue/vi is severely curtailed by the fact that it ne=
 eds
 > to have /usr mounted before it functions. In that case, you might as well
 > just use /usr/bin/vi.
 
 This has been known from when rescue was introduced, see the rescue(7)
 manual page:
 
 BUGS
      Most of the rescue tools work even in a fairly crippled system.  The m=
 ost
      egregious exception is the rescue version of vi(1), which currently
      requires that /usr be mounted so that it can access the termcap(5) fil=
 es.
      Hopefully, a failsafe termcap(3) entry will eventually be added into t=
 he
      ncurses(3) library, so that /rescue/vi can be used even in a system wh=
 ere
      /usr cannot immediately be mounted.  In the meantime, the rescue versi=
 on
      of the ed(1) editor can be used from /rescue/ed if you need to edit
      files, but cannot mount /usr.
 
 --=20
 Simon L. Nielsen
 
 --17pEHd4RhPHOinZp
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCalYKh9pcDSc1mlERAnnrAJwPP17zZ8GiQiskmTYIV8HtNJ3/mgCgpwJQ
 /2AWO4YzSJ1z8KVALRGkvWU=
 =M9u0
 -----END PGP SIGNATURE-----
 
 --17pEHd4RhPHOinZp--


More information about the freebsd-bugs mailing list