[Python-Dev] test_curses (original) (raw)

Michael Hudson mwh@python.net
31 Jan 2002 11🔞30 +0000


Michael Hudson <mwh@python.net> writes:

Neal Norwitz <neal@metaslash.com> writes:

> BTW, I testcurses fails: > test testcurses crashed -- curses.error: cursset() returned ERR Hmm, yes I get that too (I'd commented it out, because I thought it had something to do with the crashes, but it didn't AFAICT). It's very strange. I tried wrestling with gdb to find out how it was failing, but didn't get very far. It's hard to see how cursset can fail. Maybe I need to build ncurses from source and link to that.

Heh, well I worked that one out. The terminfo database didn't contain entries for cursor visibility for the $TERM I had (xterm-color, for some forgotten reason). Setting it to xterm made test_curses.py pass for me.

much-python-dev-noise-not-much-content-from-me-ly y'rs M.

-- That's why the smartest companies use Common Lisp, but lie about it so all their competitors think Lisp is slow and C++ is fast. (This rumor has, however, gotten a little out of hand. :) -- Erik Naggum, comp.lang.lisp