Date: Sun, 13 Apr 2008 12:29:10 +0800 From: Rong-En Fan <rafan@freebsd.org> To: Cheng-Lung Sung <clsung@tw.freebsd.org> Cc: Rong-En Fan <rafan@freebsd.org>, freebsd-python@freebsd.org Subject: Re: option to enable ncursesw in lang/python25 Message-ID: <20080413042910.GP16394@svm.csie.ntu.edu.tw> In-Reply-To: <20080413031914.GA92655@FreeBSD.csie.nctu.edu.tw> References: <20080411095624.GM16394@svm.csie.ntu.edu.tw> <20080413031914.GA92655@FreeBSD.csie.nctu.edu.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
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@
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080413042910.GP16394>