history_get
if (!(rl_he = history_get(num)))
HIST_ENTRY *history_get(int);
if ((he = history_get(history_base + idx)) == NULL)