zsh-workers
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.org>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: configure should have --with-ncurses and --with-ncursesw
Date: Mon, 25 Dec 2006 02:23:04 +0100	[thread overview]
Message-ID: <20061225012304.GC31010@ay.vinc17.org> (raw)
In-Reply-To: <200612191622.kBJGMcXb005284@news01.csr.com>

On 2006-12-19 16:22:38 +0000, Peter Stephenson wrote:
> DervishD wrote:
> >     Hi Peter :)
> > 
> >  * Peter Stephenson <pws@csr.com> dixit:
> > > Vincent Lefevre <vincent@vinc17.org> wrote:
> > > > No-one commented on this.
> > > 
> > > That's probably because this is MAC-specific and nobody knew what it
> > > meant.
> > 
> >     Not at all, AFAIK. The ncursesw library can be used in any Linux,
> > for example.
> 
> Indeed, I've got it here.  The problem seems to be that in the case in
> question it's getting in the way for some reason and if we knew the whys
> and wherefores we could presumably avoid it.

The problem is that zsh uses the curses API by default, so that
currently, the only way to use the ncurses library is to install
curses compatibility link (ncurses doesn't install them, but
Linux distributions and Mac OS X do). The problem occurs when
the user wants to install a newer version of ncurses (from
upstream) in /usr/local, /opt/local or whatever. As zsh uses
curses by default, it uses the old ncurses library (which, in
the case of Mac OS X, is buggy).

To be able to use ncurses by default, I had to change the configure
script:

-  termcap_curses_order="tinfo curses ncurses termcap"
+  termcap_curses_order="ncurses tinfo curses termcap"

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


  reply	other threads:[~2006-12-25  1:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-18 14:38 Vincent Lefevre
2006-12-18 15:46 ` Peter Stephenson
2006-12-19 16:12   ` DervishD
2006-12-19 16:22     ` Peter Stephenson
2006-12-25  1:23       ` Vincent Lefevre [this message]
2007-01-04 11:19         ` Peter Stephenson
2007-01-05 13:51           ` Peter Stephenson

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=20061225012304.GC31010@ay.vinc17.org \
    --to=vincent@vinc17.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).