Lines Matching refs:history
141 hist = history_init(); /* Init the builtin history */
143 history(hist, &ev, H_SETSIZE, 100);
154 /* Tell editline to use this history interface */
155 el_set(el, EL_HIST, history, hist);
165 * of previous and next history.
215 * moved around in history.
217 if (history(hist, &ev, H_SET, lastevent) == -1)
219 history(hist, &ev, H_ADD , buf);
221 history(hist, &ev, H_ENTER, buf);
226 history(hist, &ev, continuation ? H_APPEND : H_ENTER, buf);
244 if (strcmp(av[0], "history") == 0) {
249 for (rv = history(hist, &ev, H_LAST); rv != -1;
250 rv = history(hist, &ev, H_PREV))
257 history(hist, &ev, H_CLEAR);
264 history(hist, &ev, H_LOAD, av[2]);
266 history(hist, &ev, H_SAVE, av[2]);
272 "Bad history arguments\n");