Searched refs:history_lines (Results 1 – 1 of 1) sorted by relevance
399 static char *history_lines[MAX_LINE_BUF]; variable408 history_lines[num_lines++] = STRDUP(line); in add_line_to_history()410 FREE(history_lines[0]); in add_line_to_history()412 history_lines[i] = history_lines[i + 1]; in add_line_to_history()413 history_lines[MAX_LINE_BUF - 1] = STRDUP(line); in add_line_to_history()636 p = history_lines[cur_line]; in read_line()639 strcpy(buf, history_lines[cur_line]); in read_line()659 p = history_lines[cur_line]; in read_line()715 do_emit_str(env, history_lines[i], in read_line()716 strlen(history_lines[i])); in read_line()