$OpenBSD: patch-scp_c,v 1.7 2003/02/02 20:19:56 fgsch Exp $
--- scp.c.orig	Mon Jan 13 20:24:36 2003
+++ scp.c	Sun Feb  2 16:35:36 2003
@@ -570,7 +570,10 @@ while (stat != SCPE_EXIT) {				/* in cas
 	if (sim_vm_read != NULL)			/* sim routine? */
 	    cptr = (*sim_vm_read) (cbuf, CBUFSIZE, stdin);
 	else cptr = read_line (cbuf, CBUFSIZE, stdin);	/* read command line */
-	if (cptr == NULL) continue;			/* ignore EOF */
+	if (cptr == NULL) {
+		putchar('\n');
+		continue;				/* ignore EOF */
+	}
 	if (*cptr == 0) continue;			/* ignore blank */
 	if (sim_log) fprintf (sim_log, "sim> %s\n", cbuf); /* log cmd */
 	cptr = get_glyph (cptr, gbuf, 0);		/* get command glyph */
