$NetBSD: patch-ab,v 1.1 2001/04/18 12:20:38 simonb Exp $ --- main.c.orig Sat Jun 26 23:48:39 1999 +++ main.c Wed Apr 18 22:11:45 2001 @@ -212,21 +212,11 @@ #ifndef _putchar extern int _putchar(); #endif - extern char *CE; mvcur(0, COLS - 1, LINES - 1, 0); -#ifndef SYSV - if (CE) { /* try to clear to end of line */ - _puts(CE); - endwin(); - } - else { /* otherwise move done a line */ -#endif - endwin(); - putchar('\n'); -#ifndef SYSV - } -#endif + clrtoeol(); + endwin(); + putchar('\n'); exit(0); /* NOTREACHED */ }