zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: Re: Bug#454414: zsh-beta: missing terminfo module
Date: Thu, 6 Dec 2007 19:08:04 -0500	[thread overview]
Message-ID: <20071207000804.GA25341@scowler.net> (raw)
In-Reply-To: <20071205145257.GA22893@scowler.net>

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


  reply	other threads:[~2007-12-07  0:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20071205085856.7844.56170.reportbug@localhost>
2007-12-05 14:52 ` Clint Adams
2007-12-07  0:08   ` Clint Adams [this message]
2007-12-07  2:45     ` Clint Adams
2007-12-07  3:07       ` Clint Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071207000804.GA25341@scowler.net \
    --to=clint@zsh.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).