10
SLang_init_tty(4, 0, 0);
12
buf = SLtt_tgetstr("ku");
14
printf("termcap entry not found for kl\n\r");
16
printf("termcap entry found for kl: %s", buf);
18
printf("0x%02x ", *buf++);
25
printf("Press a key: ");
28
SLang_input_pending(50);
31
printf("You pressed: ");
33
while (SLang_input_pending(1)) {