ClearRight (screen, n) register TScreen *screen; int n;
ClearRight (register TScreen *screen, int n)
ClearRight (screen, n)register TScreen *screen;int n;{	int	len = (screen->max_col - screen->cur_col + 1);	if (n < 0)	/* the remainder of the line */		n = screen->max_col + 1;	if (n == 0)	/* default for 'ECH' */		n = 1;	if (len > n)		len = n;	(void) ClearInLine(screen, screen->cur_row, screen->cur_col, len);	/* with the right part cleared, we can't be wrapping */	ScrnClrWrapped(screen, screen->cur_row);}