Newbie question (anyone programming with curses?)

Gerhard Häring gerhard.haering at gmx.de
Sun Jun 23 12:54:29 EDT 2002


* hellboy <rkr1410 at poczta.onet.pl> [2002-06-23 18:32 +0200]:
> Emile van Sebille <emile at fenx.com> wrote:
> 
> > No one has made a Windows port of the curses module. On a Windows
> > platform, try the Console module
> 
> 8<--cut--8<
> 
> So there is no way to get fast console input/output + colors in text mode
> and code portability?
> 
> btw. there actually is a windows implemetation of curses
> (http://pdcurses.sourceforge.net), but it is written in c (of course) and I
> am too inexperienced to say if there is some way of incorporating it into
> python, and how to do it....

I and somebody else failed at making the Python curses module compile
against pdcurses. The proper solution is to build ncurses on win32, then
just compile Python against it. ncurses currently works on Cygwin, and
AFAIR MS-DOS, too. A mingw32 port should thus be doable, too.

If you want curses on Windows now, you can just use the Cygwin port of
Python (install Cygwin, then just choose Python as a package during
installation).

Gerhard
-- 
This sig powered by Python!
Außentemperatur in München: 31.3 °C      Wind: 1.2 m/s





More information about the Python-list mailing list