[Python-checkins] commit of r41907 - python/trunk/Makefile.pre.in

"Martin v. Löwis" martin at v.loewis.de
Fri Jan 6 02:26:15 CET 2006


Martin v. Löwis wrote:
> So we would rather need an ncurses guru, then, to find out why
> this happens and how it could be avoided.

I just checked ncurses and POSIX, and both say that initscr
writes an error message and exits if the terminal cannot be
initialized.

It is (according to POSIX) equivalent to (if it succeeds)

newterm(getenv("TERM"), stdout, stdin);
return stdscr;

so applications should use newterm directly if they don't
wish curses to terminate them.

Regards,
Martin


More information about the Python-checkins mailing list