coreboot-kgpe-d16/payloads/libpayload/curses/PDCurses-3.4/sdl1
Patrick Georgi 3b77b723ca libpayload: Add PDCurses and ncurses' libform/libmenu
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>
2011-08-04 08:10:41 +02:00
..
Makefile libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
Makefile.mng libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
README libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
deffont.h libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
deficon.h libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
pdcclip.c libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
pdcdisp.c libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
pdcgetsc.c libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
pdckbd.c libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
pdcscrn.c libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
pdcsdl.h libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
pdcsetsc.c libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
pdcutil.c libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
sdltest.c libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00

README

PDCurses for SDL
================

This is a port of PDCurses for SDL.


Building
--------

. On *nix (including Linux and Mac OS X), run "make" in the sdl1
  directory. There is no configure script (yet?) for this port. This
  assumes a working sdl-config, and GNU make. It builds the library 
  libpdcurses.a (dynamic lib not implemented).

  With MinGW, run "make -f Makefile.mng". This assumes SDL is installed
  in the standard directories. The MinGW makefile accepts the optional
  parameters "DLL=Y" and "DEBUG=Y", as with the console version. (Wide-
  character support is not yet implemented for SDL.) Both makefiles
  recognize the optional PDCURSES_SRCDIR environment variable, as with
  the console ports. Makefile.mng builds libpdcurses.a, along with 
  pdcurses.dll, if specified.


Distribution Status
-------------------

The files in this directory are released to the Public Domain.


Acknowledgements
----------------

SDL port was provided by William McBrine <wmcbrine@users.sf.net>