do_erase_line(screen, param, mode) register TScreen *screen; int param; int mode;
do_erase_line( register TScreen *screen, int param, int mode)
do_erase_line(screen, param, mode)	register TScreen *screen;	int param;	int mode;{	int saved_mode = screen->protected_mode;	if (saved_mode == DEC_PROTECT	 && saved_mode != mode)	 	screen->protected_mode = OFF_PROTECT;	switch (param) {	case -1:	/* DEFAULT */	case 0:		ClearRight(screen, -1);		break;	case 1:		ClearLeft(screen);		break;	case 2:		ClearLine(screen);		break;	}	screen->protected_mode = saved_mode;}