Lines Matching refs:ichar
201 static void cread_add_char(char ichar, int insert, unsigned long *num, in cread_add_char() argument
220 buf[*num] = ichar; in cread_add_char()
228 buf[*num] = ichar; in cread_add_char()
250 char ichar; in cread_line() local
274 ichar = getcmd_getch(); in cread_line()
276 if ((ichar == '\n') || (ichar == '\r')) { in cread_line()
288 if (ichar == '[' || ichar == 'O') in cread_line()
291 switch (ichar) { in cread_line()
293 ichar = CTL_CH('b'); in cread_line()
297 ichar = CTL_CH('f'); in cread_line()
301 ichar = CTL_CH('a'); in cread_line()
305 ichar = CTL_CH('e'); in cread_line()
309 ichar = CTL_CH('p'); in cread_line()
313 ichar = CTL_CH('n'); in cread_line()
328 if (ichar == '~') { in cread_line()
331 ichar = CTL_CH('d'); in cread_line()
336 ichar = CTL_CH('a'); in cread_line()
341 ichar = CTL_CH('e'); in cread_line()
350 esc_save[esc_len++] = ichar; in cread_line()
353 esc_save[esc_len++] = ichar; in cread_line()
364 switch (ichar) { in cread_line()
367 esc_save[esc_len] = ichar; in cread_line()
445 if (ichar == CTL_CH('p')) in cread_line()
490 cread_add_char(ichar, insert, &num, &eol_num, buf, in cread_line()