Lines Matching defs:readbuffer
197 char readbuffer[128];
199 char readbuffer[KEYCODE_BUFFER_SIZE];
267 #define readbuffer (G.readbuffer )
542 k = read_key(STDIN_FILENO, readbuffer, /*timeout_ms:*/ 100);
650 if (!readbuffer[0] && mysleep(0) == 0) {
2227 c = read_key(STDIN_FILENO, readbuffer, /*timeout off:*/ -2);
3874 if (readbuffer[0] > 0)
3877 readbuffer[0] = 'X';
3880 memset(readbuffer, '\0', sizeof(readbuffer));
3912 readbuffer[rbi++] = cm; // put cmd into input buffer
3924 readbuffer[rbi++] = c; // add movement to input buffer
3931 readbuffer[rbi++] = c; // add movement to input buffer
3937 readbuffer[rbi++] = chars[((int) lrand48() % strlen(chars))];
3939 strcat(readbuffer, words[(int) lrand48() % 20]);
3940 strcat(readbuffer, " ");
3943 strcat(readbuffer, lines[(int) lrand48() % 20]);
3946 strcat(readbuffer, multilines[(int) lrand48() % 20]);
3950 strcat(readbuffer, "\033");
3952 readbuffer[0] = strlen(readbuffer + 1);