Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: can't find termcap info under Solaris



On Sep 19,  9:49am, Clint Adams wrote:
} Subject: Re: can't find termcap info under Solaris
}
} > I get the "can't find termcap info" error under Solaris, though
} > I've recompiled zsh with ncurses 5.2.
} 
} The error is somewhat misleading.  zsh is using the ncurses
} termcap compatibility interface to terminfo

Let's fix that error message, shall we?

Index: Src/init.c
===================================================================
RCS file: /extra/cvsroot/zsh/zsh-4.0/Src/init.c,v
retrieving revision 1.5
diff -c -r1.5 init.c
--- Src/init.c	2001/09/05 15:22:33	1.5
+++ Src/init.c	2001/09/19 15:37:02
@@ -541,7 +541,7 @@
 #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;


-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author