From owner-freebsd-python@FreeBSD.ORG Sun Apr 13 04:29:12 2008 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5200106564A; Sun, 13 Apr 2008 04:29:12 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.freebsd.org (Postfix) with ESMTP id 4A6BF8FC1B; Sun, 13 Apr 2008 04:29:11 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.14.2/8.14.2) with ESMTP id m3D4TAxO081540; Sun, 13 Apr 2008 12:29:10 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.14.2/8.14.2/Submit) id m3D4TAxp018758; Sun, 13 Apr 2008 12:29:10 +0800 (CST) (envelope-from rafan) Date: Sun, 13 Apr 2008 12:29:10 +0800 From: Rong-En Fan To: Cheng-Lung Sung Message-ID: <20080413042910.GP16394@svm.csie.ntu.edu.tw> References: <20080411095624.GM16394@svm.csie.ntu.edu.tw> <20080413031914.GA92655@FreeBSD.csie.nctu.edu.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080413031914.GA92655@FreeBSD.csie.nctu.edu.tw> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Rong-En Fan , freebsd-python@freebsd.org Subject: Re: option to enable ncursesw in lang/python25 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2008 04:29:12 -0000 On Sun, Apr 13, 2008 at 11:19:14AM +0800, Cheng-Lung Sung wrote: > Hi, > If user enable the ncursesw opt, how many py- ports will be broken? Not sure, but I think it will few very few. net-im/pebrot is an IM written in python and it uses ncurses. It works well. Let me try to figure out how many py- ports actually uses ncurses or readline, and see if they are broken or not. But as I stated below, other distribution does the same thing so I suspect there are few issues. Regards, Rong-En Fan > > On Fri, Apr 11, 2008 at 05:56:24PM +0800, Rong-En Fan wrote: > > Currently, due to readline module links against libreadline.so > > which links libncurses.so. If python is compiled to use ncursesw, > > when importing readline module, it brings *both* ncurses and > > ncursesw. This may cause problems, so that why we disable linking > > against ncursesw in files/patch-setup.py. > > > > However, this disables the ability to use ncursesw in some python > > scripts. Also, it seems that other distributions, like Debian, > > actually links to ncursesw and I'm not aware of any issues with > > that. > > > > So, bottom line is we add an option to lang/python25, so that > > for users want to use ncursesw, they can enable. In the future, > > if we solve the readline issue, we should make this as default. > > > > Any suggestions? > > > > > -- > Alan Cheng-Lung Sung - clsung@