vgetline
unsigned char *vgetline();
(void)vgetline(0, genbuf + 1, &waste, c);
gcursor = vgetline(repcnt, gcursor, &escape, ch);