ncurses_guide icon indicating copy to clipboard operation
ncurses_guide copied to clipboard

NCurses Examples from the book "Programmer's Guide to NCurses" with improvements and fixes

NCurses Examples from "Programmer's Guide to NCurses" book by Dan Gookin

Build Status

Even though I've never read Gookin's book, I've noticed that his website tarball with C sources is quite useful, as it contains small self-contained programs. To the sources I've added a makefile to make build automated and I've fixed programs which weren't compiling.

Dependencies

For MacOSX: TBD (either nothing, or whatever brew installed as a dependency for the apps)

For Ubuntu:

apt-get install libncurses5-dev libncurses5

How to build?

Fetch the source, enter its folder and type make:

git clone https://github.com/wkoszek/ncurses_guide.git
cd ncurses_guide
./build.sh

The result of this will be in book/ and book-ref/ directories with ``.prog'' programs, each one corresponding to its .c file.

To clean-up, run:

./build.sh clean

Copyright

Dan mentioned sources in book/ and book-ref are copyrighted by the publisher. The rest of the files are licensed under BSD 2-clause license (see COPYRIGHT.md for more details)

Author