9
SLang_init_tty(4, 0, 0);
11
buf = SLtt_tgetstr("ku");
13
printf("termcap entry not found for kl\n\r");
15
printf("termcap entry found for kl: %s", buf);
17
printf("0x%02x ", *buf++);
24
printf("Press a key: ");
27
SLang_input_pending(50);
30
printf("You pressed: ");
32
while (SLang_input_pending(1)) {