Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
configure should have --with-ncurses and --with-ncursesw
- X-seq: zsh-workers 23064
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: configure should have --with-ncurses and --with-ncursesw
- Date: Mon, 18 Dec 2006 15:38:02 +0100
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Hi,
No-one commented on this. Zsh currently relies on curses compatibility
links. I think it should provide --with-ncurses and --with-ncursesw
configure options and be able to use the ncurses(w) API.
----- Forwarded message from Vincent Lefevre <vincent@xxxxxxxxxx> -----
Date: Tue, 24 Oct 2006 02:52:04 +0200
From: Vincent Lefevre <vincent@xxxxxxxxxx>
To: zsh-workers@xxxxxxxxxx
Subject: configure should have --with-ncurses (was: zsh outputs "4m" lines
in eterm-color)
On 2006-10-24 02:38:51 +0200, Vincent Lefevre wrote:
> I wonder if this is due to the fact that zsh is linked to the ncurses
> in /usr/lib instead of /opt/local/lib (the problem cannot be reproduced
> with /opt/local/bin/tput); "otool -L =zsh" gives:
>
> /opt/local/bin/zsh:
> /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.7)
> /usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
I now understand the problem. The library flags given in the zsh
configuration are -ltermcap or -lcurses (if --with-curses-terminfo
is used). And I have:
prunille:~> locate libcurses
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libcurses.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libcurses.dylib
/usr/lib/libcurses.dylib
prunille:~> locate libtermcap
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libtermcap.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libtermcap.dylib
/usr/lib/libtermcap.dylib
Both are a symbolic link to /usr/lib/libncurses.5.4.dylib.
I think that zsh should have --with-ncurses and --with-ncursesw
configure options, to be able to use the corresponding libraries.
(Alternatively, the ncurses and ncursesw MacPorts ports could add
compatibility symlinks, but I don't think that zsh should rely on
that.)
----- End forwarded message -----
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - 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)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author