New submission from anatoly techtonik <[EMAIL PROTECTED]>: 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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue2889> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com