aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2009-06-22 15:00:15 +0000
committerRong-En Fan <rafan@FreeBSD.org>2009-06-22 15:00:15 +0000
commitbe5888e34cdeb4ce3f40f405a5273381fe00da9e (patch)
tree896fd502f3bbb5c429832a791db003b7e6456bb3 /lib/ncurses
parent571e8e20da7969c14d304855b7e6754e8f2babd8 (diff)
downloadsrc-be5888e34cdeb4ce3f40f405a5273381fe00da9e.tar.gz
src-be5888e34cdeb4ce3f40f405a5273381fe00da9e.zip
- 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
Notes
Notes: svn path=/head/; revision=194628
Diffstat (limited to 'lib/ncurses')
-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 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"