From ec4f0025318cfd0254405f44ec7aafbaec9a6b1b Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 28 Oct 2011 10:06:12 -0700 Subject: [PATCH] Standardized the simulatar transition messages which is needed on hosts with raw console tty I/O (From the OSX community) --- sim_console.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sim_console.c b/sim_console.c index 16e8cd76..03fc07e8 100644 --- a/sim_console.c +++ b/sim_console.c @@ -634,7 +634,7 @@ if (sim_con_ldsc.conn || sim_con_ldsc.txbfd) { /* connected or buffered tmxr_poll_rx (&sim_con_tmxr); /* poll (check disconn) */ if (sim_con_ldsc.conn || sim_con_ldsc.txbfd) { /* still connected? */ if (!sim_con_ldsc.conn) { - printf ("Running with Buffered Console\n"); /* print transition */ + printf ("Running with Buffered Console\r\n"); /* print transition */ fflush (stdout); if (sim_log) { /* log file? */ fprintf (sim_log, "Running with Buffered Console\n"); @@ -648,7 +648,7 @@ 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); if (sim_log) { /* log file? */ fprintf (sim_log, "Running\n"); @@ -661,7 +661,7 @@ for (i = 0; i < sec; i++) { /* loop */ 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); if (sim_log) { /* log file? */ fprintf (sim_log, "Waiting for console Telnet connection\n");