Source Code from ``Programmer's Guide to NCurses'' by Dan Gookin
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)
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:
Dan mentioned sources in
book-ref are copyrighted by the publisher.
The rest of the files are licensed under BSD 2-clause license (see
for more details)