freebsd-skq/contrib/ncurses/test/keynames.c
peter bacd15cb1f Import unmodified (but trimmed) ncurses 5.0 prerelease 990821.
This contains the full eti (panel, form, menu) extensions.
bmake glue to follow.

Obtained from:	ftp://ftp.clark.net/pub/dickey/ncurses
1999-08-24 01:06:48 +00:00

15 lines
253 B
C

/*
* $Id: keynames.c,v 1.2 1998/06/06 22:45:13 tom Exp $
*/
#include <test.priv.h>
int main(int argc GCC_UNUSED, char *argv[] GCC_UNUSED)
{
int n;
for (n = -1; n < 512; n++) {
printf("%d(%5o):%s\n", n, n, keyname(n));
}
return EXIT_SUCCESS;
}