#include "ded.h" #include "ter.h" /************************************************************************ * * * copyright Richard Bornat 1981 * * * ************************************************************************/ /* the basic insertion function */ insc0(srow, scol, c1, c2, n) int srow, scol; register char c1, c2; register int n; { char tail[ENOUGH]; copyrow(srow, scol, tail); while (n-- > 0) { /* show the new character */ redisplay(srow, scol, c1); scol++; c1 = c2; } /* now put the rest of the line in place */ redraw(srow, scol, tail); }