ncurses python2.2.1
Sean Richards
somebody at nowhere.com
Mon May 27 18:03:15 EDT 2002
On Mon, 27 May 2002 11:43:42 GMT, Michael Hudson wrote:
> Sean Richards <somebody at nowhere.com> writes:
>
>> Hi,
>>
>> Having a few problems compiling python2.2.1 with the curses module. Running
>> Slackware 8.0. Uncommented the appropriate line in Modules/Setup and ran
>> ./configure, make etc. However when I test the curses module it gives
>> the following error:
>>
>> sean:~/packages/Python-2.2.1$./python ./Lib/test/test_curses.py
>> Traceback (most recent call last):
>> File "./Lib/test/test_curses.py", line 204, in ?
>> curses.wrapper(main)
>> File "/home/sean/packages/Python-2.2.1/Lib/curses/wrapper.py", line
>> 44, in wrapper
>> res = apply(func, (stdscr,) + rest)
>> File "./Lib/test/test_curses.py", line 198, in main
>> module_funcs(stdscr)
>> File "./Lib/test/test_curses.py", line 143, in module_funcs
>> curses.curs_set(1)
>> _curses.error: curs_set() returned ERR
>>
>> Been googling for a few hours now but have not really found any obvious
>> solution. Any help on this would be great.
>
> Does this post:
>
> http://mail.python.org/pipermail/python-dev/2002-January/019724.html
>
> help?
>
> Cheers,
> M.
>
Thanks that put me on the right track. I had TERM=xterm-color for some
long forgotton reason. Once I set to TERM=rxvt then that sorted the
problem.
Thanks a lot,
Sean
More information about the Python-list
mailing list