• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/libedit/

Lines Matching refs:history

1 /*	$NetBSD: history.c,v 1.63 2019/10/08 19:17:57 christos Exp $	*/
38 static char sccsid[] = "@(#)history.c 8.1 (Berkeley) 6/4/93";
40 __RCSID("$NetBSD: history.c,v 1.63 2019/10/08 19:17:57 christos Exp $");
99 struct TYPE(history) {
100 void *h_ref; /* Argument for history fcns */
101 int h_ent; /* Last entry point for history */
109 history_vfun_t h_clear; /* Clear the history list */
155 * Builtin- history implementation
219 STR("can't read history from file"),
220 STR("can't write history"),
222 STR("history size negative"),
223 STR("function not allowed with other history-functions-set the default"),
245 * Default function to return the first event in the history.
265 * Default function to return the last event in the history.
285 * Default function to return the next event in the history.
310 * Default function to return the previous event in the history.
336 * Default function to return the current event in the history.
356 * Default function to set the current event in the history to the
383 * Default function to set the current event in the history to the
444 /* magic value to skip delete (just set to n-th history) */
531 * Default function to enter an item in the history
557 * Default history initialization function
583 * Default history cleanup function
606 FUN(history,init)(void)
634 * clean up history;
637 FUN(history,end)(TYPE(History) *h)
650 * Set history number of events
670 * Get number of events currently in history
689 * Set if adjacent equal events should not be entered in history.
705 * Get if adjacent equal events should not be entered in history.
720 * Set history functions
991 /* history():
992 * User interface to history functions.
995 FUNW(history)(TYPE(History) *h, TYPE(HistEvent) *ev, int fun, ...)
1138 FUN(history,end)(h);