Curses - Win/dos
gh at ghaering.de
Tue Mar 11 23:55:32 CET 2003
Grant Edwards wrote:
> In article <m3llzlk09m.fsf at telia.com>, Andrew Markebo wrote:
>>| I was trying to play around with curses .. and the docs say to import
>>| curses (ofcourse) and run a few methods to setup the screen and such..
>> curses is not included in the standard pure windows build of python,
>> main reason is that there are not much curses libraries out there for
>> pure windows (haven't found when looking around, a while ago though).
> There's an implimentation called pdcurses that's available for
> Win32. I've never used it, and have no idea if it's compatible
> with the Python curses package.
It isn't. I and somebody else on c.l.py tried last year and failed.
It's not that it couldn't be made to work, but it doesn't work OOTB.
> AFAIK, there isn't a Win32 port of ncurses [the curses packages used
> by Linux].
There isn't, but it could be done by writing termcap entries for
win32. At least I recall such a statement from the ncurses maintainer
on the ncurses list.
If you don't want to do a lot of work yourself, Cygwin is currently
the only option. Alternatively, make a win32 implementation *and* a
Unix implementation of the GUI. The win32 implementation could use
/F's  console module, for example .
 Hope he'll rejoin python-dev and/or python-list some day.
mail: gh at ghaering.de
More information about the Python-list