Standardized the simulatar transition messages which is needed on hosts with raw console tty I/O (From the OSX community)

This commit is contained in:
Mark Pizzolato 2011-10-28 10:06:12 -07:00
parent 0c4b62fe82
commit ec4f002531

View file

@ -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) */ 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 || sim_con_ldsc.txbfd) { /* still connected? */
if (!sim_con_ldsc.conn) { if (!sim_con_ldsc.conn) {
printf ("Running with Buffered Console\n"); /* print transition */ printf ("Running with Buffered Console\r\n"); /* print transition */
fflush (stdout); fflush (stdout);
if (sim_log) { /* log file? */ if (sim_log) { /* log file? */
fprintf (sim_log, "Running with Buffered Console\n"); 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 */ if (tmxr_poll_conn (&sim_con_tmxr) >= 0) { /* poll connect */
sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc.rcve = 1; /* rcv enabled */
if (i) { /* if delayed */ if (i) { /* if delayed */
printf ("Running\n"); /* print transition */ printf ("Running\r\n"); /* print transition */
fflush (stdout); fflush (stdout);
if (sim_log) { /* log file? */ if (sim_log) { /* log file? */
fprintf (sim_log, "Running\n"); fprintf (sim_log, "Running\n");
@ -661,7 +661,7 @@ for (i = 0; i < sec; i++) { /* loop */
if ((c == SCPE_STOP) || stop_cpu) if ((c == SCPE_STOP) || stop_cpu)
return SCPE_STOP; return SCPE_STOP;
if ((i % 10) == 0) { /* Status every 10 sec */ 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); fflush (stdout);
if (sim_log) { /* log file? */ if (sim_log) { /* log file? */
fprintf (sim_log, "Waiting for console Telnet connection\n"); fprintf (sim_log, "Waiting for console Telnet connection\n");