about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-09-20 14:45:07 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-09-20 14:45:07 +0000
commitb27659c6b38285247ca9d5ad93a7718feed7563e (patch)
tree258f06bc77d5ee1cf7722220f05e587c09945b23
parent92c0432f9cbd71401077832bed71c8fa85ab7021 (diff)
downloadzsh-b27659c6b38285247ca9d5ad93a7718feed7563e.tar.gz
zsh-b27659c6b38285247ca9d5ad93a7718feed7563e.tar.xz
zsh-b27659c6b38285247ca9d5ad93a7718feed7563e.zip
Fix misleading error message.
-rw-r--r--ChangeLog8
-rw-r--r--Src/init.c2
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 57ef5d203..331551bab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
+2001-09-20  Bart Schaefer  <schaefer@zsh.org>
+
+	* 15847: Src/init.c: Avoid using the word "termcap" in an error
+	message when it may in fact have been curses or terminfo that
+	failed.
+
 2001-09-19  Peter Stephenson  <pws@csr.com>
 
-	* 15846: aczsh.m4: attempt to restore LDFLAGS from non-existent
+	* 15846: aczsh.m4: Fix attempt to restore LDFLAGS from non-existent
 	saved value when testing RTLD_GLOBAL.
 
 2001-09-18  Wayne Davison  <wayned@users.sourceforge.net>
diff --git a/Src/init.c b/Src/init.c
index 5a86800d1..f343f3025 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -541,7 +541,7 @@ init_term(void)
 #endif
 
 	if (isset(INTERACTIVE))
-	    zerr("can't find termcap info for %s", term, 0);
+	    zerr("can't find terminal definition for %s", term, 0);
 	errflag = 0;
 	termflags |= TERM_BAD;
 	return 0;