#include <stdio.h>
#include <termios.h>
#include <signal.h>
+#include <string.h>
#define META 0x80
#define ESC 0x1b
// Ship the raw control blts
(void) tcsetattr(0, TCSANOW, &raw);
- (void) printf("Type any key to see the sequence it sends, ^C to quit.\n");
+ (void) printf("Type any key to see the sequence it sends.\n");
+ (void) printf("Terminate with your shell interrupt character.\n");
signalled = 0;
while (!signalled)
{