3b77b723ca
PDCurses provides an alternative implementation of the curses library standard in addition to tinycurses. Where tinycurses is really tiny, PDCurses is more complete and provides virtually unlimited windows and the full API. The PDCurses code is brought in "vanilla", with all local changes residing in curses/pdcurses-backend/ In addition to a curses library, this change also provides libpanel (as part of the PDCurses code), and libform and libmenu which were derived from ncurses-5.9. As they rely on ncurses internals (and PDCurses is not ncurses), more changes were required for these libraries to work. The build system is extended to install the right set of header files depending on the selected curses implementation. Change-Id: I9e5b920f94b6510da01da2f656196a993170d1c5 Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/106 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com> |
||
---|---|---|
.. | ||
README | ||
firework.c | ||
newdemo.c | ||
ptest.c | ||
rain.c | ||
testcurs.c | ||
tui.c | ||
tui.h | ||
tuidemo.c | ||
worm.c | ||
xmas.c |
README
PDCurses Demos ============== This directory contains demonstration programs to show and test the capabilities of curses libraries. Some of them predate PDCurses, PCcurses or even pcurses/ncurses. Although some PDCurses-specific code has been added, all programs remain portable to other implementations (at a minimum, to ncurses). Building -------- The demos are built by the platform-specific makefiles, in the platform directories. Alternatively, you can build them manually, individually, and link with any curses library; e.g., "cc -lcurses -orain rain.c". There are no dependencies besides curses and the standard C library, and no configuration is needed. Distribution Status ------------------- Public Domain, except for rain.c and worm.c, which are under the ncurses license (MIT-like).