Date: Sat, 23 Apr 2005 21:40:17 GMT From: Tim Kientzle <kientzle@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/80256: /rescue/vi doesn't work without terminal database in /usr Message-ID: <200504232140.j3NLeHA9015265@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/80256; it has been noted by GNATS. From: Tim Kientzle <kientzle@freebsd.org> To: "Simon L. Nielsen" <simon@freebsd.org> Cc: Brian Candler <B.Candler@pobox.com>, FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/80256: /rescue/vi doesn't work without terminal database in /usr Date: Sat, 23 Apr 2005 14:39:48 -0700 Simon L. Nielsen wrote: >On 2005.04.23 17:19:17 +0200, Brian Candler wrote: > > >> >>This suggests a very simple solution (untested): >> >>--- lib/libncurses/pathnames.h.orig Sat Apr 23 17:17:01 2005 >>+++ lib/libncurses/pathnames.h Sat Apr 23 17:17:13 2005 >>@@ -34,5 +34,5 @@ >> * $FreeBSD: src/lib/libncurses/pathnames.h,v 1.1 1999/08/30 07:57:50 peter Exp $ >> */ >> >>-#define _PATH_DEF ".termcap /usr/share/misc/termcap" >>+#define _PATH_DEF ".termcap /usr/share/misc/termcap /rescue/termcap" >> #define _PATH_DEF_SEC "/usr/share/misc/termcap" >> >> >> Looks good to me. Test it. If it works, let's commit it. I seem to recall that Warner (imp@) has a compact termcap file that he uses with embedded projects. That might be suitable here. Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504232140.j3NLeHA9015265>