history_index     136 src/simh/linehistory.c   int    history_index;  /* The history index we are currently editing.      */
history_index    1061 src/simh/linehistory.c     FREE(history[history_len - 1 - l->history_index]);
history_index    1062 src/simh/linehistory.c     history[history_len - 1 - l->history_index] = strdup(l->buf);
history_index    1063 src/simh/linehistory.c     if (!history[history_len - 1 - l->history_index])
history_index    1076 src/simh/linehistory.c     l->history_index += ( dir == LINENOISE_HISTORY_PREV ) ? 1 : -1;
history_index    1077 src/simh/linehistory.c     if (l->history_index < 0)
history_index    1079 src/simh/linehistory.c       l->history_index = 0;
history_index    1082 src/simh/linehistory.c     else if (l->history_index >= history_len)
history_index    1084 src/simh/linehistory.c       l->history_index = history_len - 1;
history_index    1088 src/simh/linehistory.c     strncpy(l->buf, history[history_len - 1 - l->history_index], l->buflen);
history_index    1112 src/simh/linehistory.c     FREE(history[history_len - 1 - l->history_index]);
history_index    1113 src/simh/linehistory.c     history[history_len - 1 - l->history_index] = strdup(l->buf);
history_index    1114 src/simh/linehistory.c     if (!history[history_len - 1 - l->history_index])
history_index    1131 src/simh/linehistory.c       cnt = history_len - 2 - l->history_index;
history_index    1151 src/simh/linehistory.c           l->history_index = history_len - 1 - cnt;
history_index    1159 src/simh/linehistory.c       cnt = history_len - l->history_index;
history_index    1179 src/simh/linehistory.c           l->history_index = history_len - 1 - cnt;
history_index    1295 src/simh/linehistory.c   l.history_index = 0;