HomeSort by: relevance | last modified time | path
    Searched refs:HISTORY (Results 1 - 9 of 9) sorted by relevancy

  /src/bin/ksh/
conf-end.h 15 /* Editing implies history */
16 #if defined(EDIT) && !defined(HISTORY)
17 # define HISTORY
20 #if defined(HISTORY) && (!defined(COMPLEX_HISTORY) || !defined(HAVE_FLOCK))
22 # define EASY_HISTORY /* sjg's trivial history file */
config.h 91 /* Include any history? */
92 #define HISTORY 1
94 /* Include complex history? */
lex.h 127 #ifdef HISTORY
128 # define HISTORYSIZE 128 /* size of saved history */
131 EXTERN char **histptr; /* last history item */
132 EXTERN int histsize; /* history size */
133 #endif /* HISTORY */
proto.h 85 /* history.c */
90 #ifdef HISTORY
101 #endif /* HISTORY */
var.c 104 #ifdef HISTORY
107 #endif /* HISTORY */
972 #ifdef HISTORY
978 #endif /* HISTORY */
1033 #ifdef HISTORY
1042 #endif /* HISTORY */
main.c 66 # ifdef HISTORY
67 "history=fc -l",
68 # endif /* HISTORY */
c_ksh.c 226 #define PO_HIST BIT(3) /* print to history instead of stdout */
1446 #ifdef HISTORY
1448 #endif /* HISTORY */
lex.c 1076 #ifdef HISTORY
1092 #endif /* HISTORY */
history.c 1 /* $NetBSD: history.c,v 1.20 2024/09/08 17:28:36 rillig Exp $ */
4 * command history
6 * only implements in-memory history.
11 * a) the original in-memory history mechanism
12 * b) a simple file saving history mechanism done by sjg@zen
22 __RCSID("$NetBSD: history.c,v 1.20 2024/09/08 17:28:36 rillig Exp $");
29 #ifdef HISTORY
71 static char **current; /* current position in history[] */
72 static int curpos; /* current index in history[] */
73 static char *hname; /* current name of history file *
    [all...]

Completed in 44 milliseconds