Lines Matching refs:history
50 * Editline and history functions (and glue).
69 History *hist; /* history cookie */
82 * Set history and editing status. Called whenever the status may
94 * turn history on
103 out2fmt_flush("sh: can't initialize history\n");
126 el_set(el, EL_HIST, history, hist);
178 history(hist, &he, H_SETSIZE, histsize);
179 history(hist, &he, H_SETUNIQUE, 1);
210 error("history not active");
213 error("missing history argument");
310 * to the history element in next (diskbased) release.
331 * Loop through selected history events. If listing or executing,
335 * The history interface needs rethinking, as the following
338 history(hist, &he, H_FIRST);
339 retval = history(hist, &he, H_NEXT_EVENT, first);
340 for (;retval != -1; retval = history(hist, &he, direction)) {
361 history(hist, &he, H_ENTER, s);
367 history(hist, &he,
439 retval = history(hist, &he, H_FIRST);
451 retval = history(hist, &he, H_NEXT);
454 retval = history(hist, &he, H_LAST);
456 retval = history(hist, &he, H_NEXT_EVENT, i);
460 * backwards to that of the history package
462 retval = history(hist, &he, last ? H_FIRST : H_LAST);
466 error("history number %s not found (internal error)",
472 retval = history(hist, &he, H_PREV_STR, str);
474 error("history pattern not found: %s", str);
516 error("not compiled with history support");