I am trying to get a simple curses script to run using Python (with PyCharm 2.0).
This is my script:
import curses
stdscr = curses.initscr()
curses.n
You must set enviroment variables TERM and TERMINFO, like this:
export TERM=linux
export TERMINFO=/etc/terminfo
And, if you device have no this dir (/etc/terminfo), make it, and copy terminfo database.
For "linux", and "pcansi" terminals you can download database: