NSRCH
for (cip = 0; cip < NSRCH; cip++)
if (++cip >= NSRCH)
if (ctp >= NSRCH)
cip = NSRCH - 1;
static struct srchcom cmds[NSRCH];