From ce1f4c0ee481496675b4ae8cf80af2a542e64392 Mon Sep 17 00:00:00 2001 From: rafan Date: Mon, 22 Jun 2009 15:00:15 +0000 Subject: [PATCH] - Fall-back to /etc/termcap.small if there is no /usr/share/misc/termcap (i.e. /etc/termcap). This can be useful when using /rescue/vi while /usr is not (or unable to be) mounted. The termcap.small can be found in src/etc/termcap.small. PR: bin/80256 (audit-trail) Submitted by: Brian Candler , Alex Kozlov MFC after: 1 month --- lib/ncurses/ncurses/pathnames.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ncurses/ncurses/pathnames.h b/lib/ncurses/ncurses/pathnames.h index a0875ae39913..dde6cc9d8543 100644 --- a/lib/ncurses/ncurses/pathnames.h +++ b/lib/ncurses/ncurses/pathnames.h @@ -30,5 +30,5 @@ * $FreeBSD$ */ -#define _PATH_DEF ".termcap /usr/share/misc/termcap" +#define _PATH_DEF ".termcap /usr/share/misc/termcap /etc/termcap.small" #define _PATH_DEF_SEC "/usr/share/misc/termcap"