Lines Matching refs:history
48 * Editline and history functions (and glue).
67 History *hist; /* history cookie */
77 * Set history and editing status. Called whenever the status may
89 * turn history on
98 out2fmt_flush("sh: can't initialize history\n");
123 el_set(el, EL_HIST, history, hist);
175 history(hist, &he, H_SETSIZE, histsize);
176 history(hist, &he, H_SETUNIQUE, 1);
207 error("history not active");
210 error("missing history argument");
307 * to the history element in next (diskbased) release.
328 * Loop through selected history events. If listing or executing,
332 * The history interface needs rethinking, as the following
335 history(hist, &he, H_FIRST);
336 retval = history(hist, &he, H_NEXT_EVENT, first);
337 for (;retval != -1; retval = history(hist, &he, direction)) {
358 history(hist, &he, H_ENTER, s);
364 history(hist, &he,
436 retval = history(hist, &he, H_FIRST);
448 retval = history(hist, &he, H_NEXT);
451 retval = history(hist, &he, H_LAST);
453 retval = history(hist, &he, H_NEXT_EVENT, i);
457 * backwards to that of the history package
459 retval = history(hist, &he, last ? H_FIRST : H_LAST);
463 error("history number %s not found (internal error)",
469 retval = history(hist, &he, H_PREV_STR, str);
471 error("history pattern not found: %s", str);
513 error("not compiled with history support");