Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#454414: zsh-beta: missing terminfo module
- X-seq: zsh-workers 24171
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#454414: zsh-beta: missing terminfo module
- Date: Thu, 6 Dec 2007 19:08:04 -0500
- In-reply-to: <20071205145257.GA22893@xxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20071205085856.7844.56170.reportbug@localhost> <20071205145257.GA22893@xxxxxxxxxxx>
On Wed, Dec 05, 2007 at 09:52:57AM -0500, Clint Adams wrote:
> +# ifdef HAVE_CURSES_H
> +# include <curses.h>
> +# endif
> +#else
> +# ifdef HAVE_NCURSESW_NCURSES_H
> +# include <ncursesw/ncurses.h>
> +# else
> +# ifdef HAVE_NCURSES_NCURSES_H
Oops.
/etc/zsh-beta/zshrc:12: module `zsh/terminfo' has no such feature: `b:echoti': autoload cancelled
/etc/zsh-beta/zshrc:12: module `zsh/terminfo' has no such feature: `p:terminfo': autoload cancelled
/etc/zsh-beta/zshrc:12: unknown parameter: terminfo
Index: Src/Modules/terminfo.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/terminfo.c,v
retrieving revision 1.31
diff -u -r1.31 terminfo.c
--- Src/Modules/terminfo.c 5 Dec 2007 15:21:23 -0000 1.31
+++ Src/Modules/terminfo.c 7 Dec 2007 00:05:31 -0000
@@ -30,7 +30,7 @@
#define USES_TERM_H 1
#include "terminfo.mdh"
-#if defined(HAVE_TIGETFLAG) && defined(HAVE_CURSES_H)
+#if defined(HAVE_TIGETFLAG) && (defined(HAVE_CURSES_H) || defined(HAVE_NCURSES_H) || defined(HAVE_NCURSES_NCURSES_H) || defined(NCURSESW_NCURSES_H))
# define USE_TERMINFO_MODULE 1
#else
# undef USE_TERMINFO_MODULE
Messages sorted by:
Reverse Date,
Date,
Thread,
Author