[New-bugs-announce] [issue2889] curses for windows (alternative patch)

anatoly techtonik report at bugs.python.org
Fri May 16 08:38:27 CEST 2008


New submission from anatoly techtonik <techtonik at gmail.com>:

Make curses available on Windows by using PDCurses library. Alternative
patch for issue 1005895 using current trunk.

Attached .bat file is used to compile it under MinGW, but I'd be glad to
know how to integrate the patch into Python build system.

PDCurses includes support for mouse functions compatible with ncurses,
but to turn it on if requires to define NCURSES_MOUSE_VERSION to 2
before <curses.h> is included. I am not familiar with configure.* stuff,
so I've just pasted required definitions into _cursesmodule.c
With attached .bat file it works by external definition.

Some functions, such as initterm are not available on Windows platform
and were defined out.

I hope that curses module will be included in next Python 2.6

----------
components: Extension Modules
files: curses_win_port.patch.txt
messages: 66920
nosy: techtonik
severity: normal
status: open
title: curses for windows (alternative patch)
versions: Python 2.6
Added file: http://bugs.python.org/file10339/curses_win_port.patch.txt

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2889>
__________________________________


More information about the New-bugs-announce mailing list