summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2009-06-22 15:00:15 +0000
committerrafan <rafan@FreeBSD.org>2009-06-22 15:00:15 +0000
commitce1f4c0ee481496675b4ae8cf80af2a542e64392 (patch)
tree896fd502f3bbb5c429832a791db003b7e6456bb3 /lib
parentc2d859a8353bbcd0227ab8fd2a513983e9d6e290 (diff)
downloadFreeBSD-src-ce1f4c0ee481496675b4ae8cf80af2a542e64392.zip
FreeBSD-src-ce1f4c0ee481496675b4ae8cf80af2a542e64392.tar.gz
- 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 <B.Candler at pobox.com>, Alex Kozlov <spam at rm-rf.kiev.ua> MFC after: 1 month
Diffstat (limited to 'lib')
-rw-r--r--lib/ncurses/ncurses/pathnames.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ncurses/ncurses/pathnames.h b/lib/ncurses/ncurses/pathnames.h
index a0875ae..dde6cc9 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"
OpenPOWER on IntegriCloud