summaryrefslogtreecommitdiff
path: root/emulators/simh/patches/patch-ac
blob: 02ef9cec68dc1bf170f496633bc702466cae47dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ac,v 1.4 2004/12/22 21:07:01 skrll Exp $

--- sim_console.c.orig	2004-11-05 19:39:24.000000000 +0000
+++ sim_console.c
@@ -347,13 +347,13 @@ for (i = 0; i < sec; i++) {				/* loop *
 	if (tmxr_poll_conn (&sim_con_tmxr) >= 0) {	/* poll connect */
 	    sim_con_ldsc.rcve = 1;			/* rcv enabled */
 	    if (i) {					/* if delayed */
-		printf ("Running\n");			/* print transition */
+		printf ("Running\r\n");			/* print transition */
 		fflush (stdout);  }
 	    return SCPE_OK;  }				/* ready to proceed */
 	c = sim_os_poll_kbd ();				/* check for stop char */
 	if ((c == SCPE_STOP) || stop_cpu) return SCPE_STOP;
 	if ((i % 10) == 0) {				/* Status every 10 sec */
-	    printf ("Waiting for console Telnet connection\n");
+	    printf ("Waiting for console Telnet connection\r\n");
 	    fflush (stdout);  }
 	sim_os_sleep (1);				/* wait 1 second */
 	}