MAXKEYS
u_int16_t ibuf[MAXKEYS]; /* chars events */
u_char cbuf[MAXKEYS * 2];
u_int16_t sc_pollchars[MAXKEYS];
for (i = 0; i < MAXKEYS; i++) {