You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PDCursesMod/demos
Bill-Gray 98cd184b55 Added keystrokes to 'picsview' to mirror or flip the image 6 years ago
..
README.md All READMEs "converted" to markdown (only trivial changes). 10 years ago
firework.c 'demos' : MSVC gave some warnings, mostly about casts. Nothing serious, but it's nice to compile without spurious warnings. 6 years ago
nctests.mif Adopted wmcbrine's 'nctests.mif' (new file) 6 years ago
newtest.c 'newtest' : clicking to toggle blink/bold text didn't work in non-wide builds. 6 years ago
ozdemo.c Updated 'ozdemo' messages, added some info 6 years ago
picsview.c Added keystrokes to 'picsview' to mirror or flip the image 6 years ago
ptest.c Demos 'ptest.c', 'rain.c', 'worm.c', 'xmas.c' copied from wmcbrine. 6 years ago
rain.c 'demos' : MSVC gave some warnings, mostly about casts. Nothing serious, but it's nice to compile without spurious warnings. 6 years ago
speed.c 'speed' demo : converted DOS/Windows-style CR/LFs to LF-only. No actual change to code. 6 years ago
testcurs.c Shouldn't use delscreen( SP); except in PDCurses. 6 years ago
tui.c 'demos' : MSVC gave some warnings, mostly about casts. Nothing serious, but it's nice to compile without spurious warnings. 6 years ago
tui.h Id tags aren't useful with git. 11 years ago
tuidemo.c Copied wmcbrine 'tuidemo.c'. 6 years ago
version.c Switched to wmcbrine's version-checking code (mostly identical to what was there, but there were cosmetic differences). 6 years ago
worm.c 'worm.c' modified to ensure all memory is freed at exit 6 years ago
xmas.c Demos 'ptest.c', 'rain.c', 'worm.c', 'xmas.c' copied from wmcbrine. 6 years ago

README.md

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).