This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author techtonik
Recipients techtonik
Date 2008-05-16.06:38:15
SpamBayes Score 0.15069313
Marked as misclassified No
Message-id <1210919907.42.0.842256015219.issue2889@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2008-05-16 06:38:28techtoniksetspambayes_score: 0.150693 -> 0.15069313
recipients: + techtonik
2008-05-16 06:38:27techtoniksetspambayes_score: 0.150693 -> 0.150693
messageid: <1210919907.42.0.842256015219.issue2889@psf.upfronthosting.co.za>
2008-05-16 06:38:26techtoniklinkissue2889 messages
2008-05-16 06:38:25techtonikcreate