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

Tim Kientzle kientzle at freebsd.org
Sat Apr 23 14:40:18 PDT 2005


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

From: Tim Kientzle <kientzle at freebsd.org>
To: "Simon L. Nielsen" <simon at freebsd.org>
Cc: Brian Candler <B.Candler at pobox.com>,
	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 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
 
 


More information about the freebsd-bugs mailing list