svn commit: r194628 - head/lib/ncurses/ncurses
Rong-En Fan
rafan at FreeBSD.org
Mon Jun 22 15:00:17 UTC 2009
Author: rafan
Date: Mon Jun 22 15:00:15 2009
New Revision: 194628
URL: http://svn.freebsd.org/changeset/base/194628
Log:
- 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
Modified:
head/lib/ncurses/ncurses/pathnames.h
Modified: head/lib/ncurses/ncurses/pathnames.h
==============================================================================
--- head/lib/ncurses/ncurses/pathnames.h Mon Jun 22 14:43:48 2009 (r194627)
+++ head/lib/ncurses/ncurses/pathnames.h Mon Jun 22 15:00:15 2009 (r194628)
@@ -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"
More information about the svn-src-head
mailing list