Would you please post this to <a href="http://bugs.python.org">bugs.python.org</a> so that it doesn&#39;t get lost?  thanks!<div><br></div><div>-gps<br><br><div class="gmail_quote">On Mon, Mar 14, 2011 at 8:51 PM, Bill Green <span dir="ltr">&lt;<a href="mailto:bill@supposedly.org">bill@supposedly.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>
<br>
I ran across this issue several months ago and filed a bug report (#9667).  It just came up again, and it doesn&#39;t look like anything&#39;s been done with the bug report, so I thought I&#39;d post here.<br>
<br>
In _cursesmodule.c there are a lot of preprocesser conditionals that test if the system is NetBSD. In my case, the issue was that the module built lacked the KEY_UP / _DOWN / etc. constants, but there are other changes as well.  This is the case even if you&#39;re compiling against ncurses instead of the system curses.  Áttached below is a patch against 2.7.1 that negates the NetBSD conditionals if ncurses is present.  It seems to work as expected, although I haven&#39;t done any real testing.  I assumed this was done because NetBSD curses was missing something, but I looked at the headers and it seems to have most of the constants that the compilation directives are leaving out (A_INVIS, the aforementioned KEY_* constants, at least), so I&#39;m not sure why that code isn&#39;t compiled in anyway.  Please let me know if I&#39;m misunderstanding this.<br>


<br>
Thanks,<br><font color="#888888">
Bill<br>
</font><br>_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/greg%40krypto.org" target="_blank">http://mail.python.org/mailman/options/python-dev/greg%40krypto.org</a><br>
<br></blockquote></div><br></div>