The Debian version of libncurses.so does not contain
the debugging trace routines.
After commenting out
extern char *_nc_tracebits(void);
extern char *_tracechar(const unsigned char);
extern void trace(const unsigned int);
in "ncurses/_curses.i" and changing
mcprint, has_key, _nc_tracebits, _tracechar, \
trace, _nc_visbuf
to
mcprint, has_key, _nc_visbuf
in "ncurses/curses.py" the examples seem to work fine
(except for
menu_example.py which seems to have the same problems
as mentioned by Tom Newman in
"http://www.geocrawler.com/archives/3/2143/2000/5/0/3689787/".)
Rebuilding the Debian-packet from source did not work,
because "debian/rules" needed the missing files
"compile.sh" and "install.sh". So I had to re-debianize
pyncurses.