ScrnClearLines (screen, sb, where, n, size)  TScreen *screen; ScrnBuf sb; int where, n, size;
ScrnClearLines (TScreen *screen, ScrnBuf sb, int where, int n, int size)
ScrnClearLines (screen, sb, where, n, size)/* * Saves pointers to the n lines beginning at sb + where, and clears the lines */TScreen *screen;ScrnBuf sb;int where, n, size;{	register int i, j;	size_t len = ScrnPointers(screen, n);	int last = (n * MAX_PTRS);	/* save n lines at where */	memcpy ( (char *) screen->save_ptr,		 (char *) &sb[MAX_PTRS * where],		 len);	/* clear contents of old rows */	if (TERM_COLOR_FLAGS) {		int flags = TERM_COLOR_FLAGS;		for (i = 0; i < last; i += MAX_PTRS) {			screen->save_ptr[i] = 0;			bzero( screen->save_ptr[i+ OFF_CHARS], size);			memset(screen->save_ptr[i+ OFF_ATTRS], flags, size);			memset(screen->save_ptr[i+ OFF_COLOR], xtermColorPair(), size);		}	} else {		for (i = 0; i < last; i += MAX_PTRS) {			for (j = 0; j < BUF_HEAD; j++)				screen->save_ptr[i+j] = 0;			for (j = BUF_HEAD; j < MAX_PTRS; j++)				bzero (screen->save_ptr[i+j], size);		}	}}