http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.genprogc/doc/genprogc/understanding_terminals_wcurses.htm
http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/
http://en.wikipedia.org/wiki/Curses_%28programming_library%29
某人的pdf 不错
http://heather.cs.ucdavis.edu/~matloff/UnixAndC/CLanguage/Curses.pdf
Structure of a Curses Program
In general, a curses program has the following progression:
- Start curses.
- Check for color support (optional).
- Start color (optional).
- Create one or more windows.
- Manipulate windows.
- Destroy one or more windows.
- Stop curses.
Some steps are optional, so your program does not have to follow this progression exactly.