1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/contrib/ncurses/test/keynames.c
Peter Wemm 0e3d540892 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;
}