Is curses module thread-safe?

2013-11-18 Thread Grant Edwards
I'm working on a program that uses the curses module, and I'd like to use multiple threads (using the threading module). Is the curses module in the standard library usable from multile threads? I found a discussion from about 15 years ago that indicated it wasn't at that tim

Re: The curses module and licensing

2012-12-06 Thread Chris Angelico
On Fri, Dec 7, 2012 at 9:37 AM, Benjamin Schnitzler wrote: > By the way: Sorry for posting the statement of Chris Angelico to > the list, it wasn't meant to be on it. Apology accepted :) It was off-list mainly because it strayed off-topic, not because there was anything particularly private in it

The curses module and licensing

2012-12-06 Thread Benjamin Schnitzler
On 19:28 Thu 06 Dec , Alister wrote: > If I understand things correctly this means if you distribute the python > package (alone or as part of your application) then you need to include > the detailed section. > > if you provide just your own python code & require the user to install > pyth

Re: The curses module and licensing

2012-12-06 Thread Alister
promised to use the above > distribution terms only for 5 years, which was in 1998, so it might not > be relevant at all. Well ok. I guess I can just leave my files, as they > are, > since they are no real extensions of the library. But I am not > completely sure. If anyone has a better idea:

Re: The curses module and licensing

2012-12-06 Thread benjamin schnitzler
jamin Schnitzler < benjaminschnitz...@googlemail.com> wrote: > Hello everyone, > > I am new to this list. > I have a question concerning the curses module (I am using > python2.7). Which license does this module have? Is it bases > completely on the curses library? In the do

The curses module and licensing

2012-12-06 Thread Benjamin Schnitzler
Hello everyone, I am new to this list. I have a question concerning the curses module (I am using python2.7). Which license does this module have? Is it bases completely on the curses library? In the documentation the following is stated: "The curses module provides an interface to the c

Re: Problem building Python 2.5.2 curses module on HP/UX 11.11

2009-01-07 Thread Martin v. Löwis
> So, given that there are no actual errors during the compile, and the > warnings are probably benign, does anyone know what would cause the > resulting compiled module to NOT have the init function? Can you do nm(1) on the module? It's now called _curses_failed.sl Regards, Martin -- http://mail

Problem building Python 2.5.2 curses module on HP/UX 11.11

2009-01-06 Thread Mike Kent
I'm having a problem building the Python 2.5.2 curses module on HP/UX 11.11 using gcc 3.3.6, and was hoping someone had a solution. Compiling Modules/_cursesmodule.c is giving several warnings, but no errors. The relevant compile/link output is below. The key output line is: *** WA

Re: curses module

2007-04-02 Thread Martin v. Löwis
Kenneth McDonald schrieb: > I know that the curses module has a long-standing bug wherein cursor > visibility can't be set. > > This isn't criticism, I just know that the curses module is the sort of > thing that probably isn't being maintained consistently, and

curses module

2007-04-02 Thread Kenneth McDonald
I know that the curses module has a long-standing bug wherein cursor visibility can't be set. I'm looking at using the module for certain uses, and this isn't a problems (as long as I hide the cursor offscreen) as I would control visuals to provide a simulated cursor anyway.

Re: doubt in curses module

2006-12-12 Thread Gabriel Genellina
Please keep posting on the list. At Tuesday 12/12/2006 02:02, pradeep kumar wrote: i want to use function keys to continue or pause or quit in my program so i searched how to use function keys then i found curses module I think you may want this portable getch function: <h

Re: doubt in curses module

2006-12-11 Thread Gabriel Genellina
At Monday 11/12/2006 05:17, pradeep kumar wrote: iam new to python. i want to use function keys in my program, so i went through the curses module, but in that module it shows a different window object and after pressing the our desired function key in it, that will return the ascii value of

doubt in curses module

2006-12-11 Thread pradeep kumar
hii, iam new to python. i want to use function keys in my program, so i went through the curses module, but in that module it shows a different window object and after pressing the our desired function key in it, that will return the ascii value of that key to the command prompt. so, i want to

Re: no ptyhon curses module on solaris?

2006-11-07 Thread Shea Martin
Shea Martin wrote: > I just installed active python, and I get this error: > > % python > ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on > Python 2.4.3 (#1, Apr 3 2006, 18:34:02) [C] on sunos5 > Type "help", "copyright", "credits" or "license" for more information. > >>> import

no ptyhon curses module on solaris?

2006-11-07 Thread Shea Martin
I just installed active python, and I get this error: % python ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on Python 2.4.3 (#1, Apr 3 2006, 18:34:02) [C] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> import curses Traceback (most recent ca

Re: curses module bug in windows python?

2006-06-14 Thread Tim Daneliuk
Erik Max Francis wrote: > Tim Daneliuk wrote: > >> Nope - this module is not supported under Windows ... > > There's at least one Python curses module for Windows: > > http://adamv.com/dev/python/curses/ > Sorry, I should have been more specific: AFAIK, cu

Re: curses module bug in windows python?

2006-06-14 Thread Erik Max Francis
Tim Daneliuk wrote: > Nope - this module is not supported under Windows ... There's at least one Python curses module for Windows: http://adamv.com/dev/python/curses/ -- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA &a

Re: curses module bug in windows python?

2006-06-14 Thread Tim Daneliuk
kernel1983 wrote: > when I type command below in windows python: > import curses > > it gives the error msg! It can't find _curses.pyd > > Is this a bug? > Nope - this module is not supported under Windows ... -- Tim

curses module bug in windows python?

2006-06-13 Thread kernel1983
when I type command below in windows python: import curses it gives the error msg! It can't find _curses.pyd Is this a bug? -- http://mail.python.org/mailman/listinfo/python-list

Re: Need pixie dust for building Python 2.4 curses module on Solaris 8

2006-06-07 Thread Thomas Dickey
[EMAIL PROTECTED] wrote: > I'm having no success building the curses module on Solaris 8 (yes, I know > it's ancient - advancing the state-of-the-art is not yet an option) for > Python 2.4. Sun provides an apparently ancient version of curses in > /usr/lib, so I downloaded

Re: Need pixie dust for building Python 2.4 curses module on Solaris 8

2006-06-07 Thread skip
John> Was libncurses.a compiled with -fpic (or -fPIC, if necessary)? John> http://mail.python.org/pipermail/python-dev/2001-March/013510.html When built shared the source was compiled with -fPIC. -fPIC is not used when not built shared. I forced that in a non-shared build. It still ga

Re: Need pixie dust for building Python 2.4 curses module on Solaris 8

2006-06-06 Thread John J. Lee
[EMAIL PROTECTED] writes: > I'm having no success building the curses module on Solaris 8 (yes, I know > it's ancient - advancing the state-of-the-art is not yet an option) for > Python 2.4. Sun provides an apparently ancient version of curses in > /usr/lib, so I downloaded

Need pixie dust for building Python 2.4 curses module on Solaris 8

2006-06-06 Thread skip
I'm having no success building the curses module on Solaris 8 (yes, I know it's ancient - advancing the state-of-the-art is not yet an option) for Python 2.4. Sun provides an apparently ancient version of curses in /usr/lib, so I downloaded and installed ncurses 5.5, both using defaul