From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8258 invoked from network); 18 Dec 2006 14:38:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Dec 2006 14:38:18 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 18220 invoked from network); 18 Dec 2006 14:38:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Dec 2006 14:38:11 -0000 Received: (qmail 2442 invoked by alias); 18 Dec 2006 14:38:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23064 Received: (qmail 2433 invoked from network); 18 Dec 2006 14:38:07 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 18 Dec 2006 14:38:07 -0000 Received: (qmail 17905 invoked from network); 18 Dec 2006 14:38:07 -0000 Received: from vinc17.net8.nerim.net (HELO prunille.vinc17.org) (62.212.121.106) by a.mx.sunsite.dk with SMTP; 18 Dec 2006 14:38:04 -0000 Received: by prunille.vinc17.org (Postfix, from userid 501) id 30690F78CF5; Mon, 18 Dec 2006 15:38:02 +0100 (CET) Date: Mon, 18 Dec 2006 15:38:02 +0100 From: Vincent Lefevre To: zsh-workers@sunsite.dk Subject: configure should have --with-ncurses and --with-ncursesw Message-ID: <20061218143802.GX11091@prunille.vinc17.org> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.13-vl-r14963 (2006-11-28) 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 ----- Date: Tue, 24 Oct 2006 02:52:04 +0200 From: Vincent Lefevre To: zsh-workers@sunsite.dk 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 - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)