Source Code of "Programmer's Guide to NCurses" with improvements and fixes
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Source Code from ``Programmer's Guide to NCurses'' 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.


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
cd ncurses_guide

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:

./ clean


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 for more details)