sim_con_ldsc 176 src/simh/sim_console.c TMLN sim_con_ldsc = { 0 }; /* line descr */ sim_con_ldsc 177 src/simh/sim_console.c TMXR sim_con_tmxr = { 1, 0, 0, &sim_con_ldsc, NULL, &sim_con_telnet }; /* line mux */ sim_con_ldsc 189 src/simh/sim_console.c (sim_con_ldsc.serport == 0) && sim_con_ldsc 194 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 199 src/simh/sim_console.c if (sim_con_ldsc.conn) sim_con_ldsc 200 src/simh/sim_console.c tmxr_send_buffered_data (&sim_con_ldsc); /* try to flush any buffered data */ sim_con_ldsc 467 src/simh/sim_console.c if (sim_con_ldsc.conn) sim_con_ldsc 468 src/simh/sim_console.c tmxr_send_buffered_data (&sim_con_ldsc); /* try to flush any buffered data */ sim_con_ldsc 1276 src/simh/sim_console.c return tmxr_set_line_speed (&sim_con_ldsc, cptr); sim_con_ldsc 1281 src/simh/sim_console.c if (sim_con_ldsc.rxbps) { sim_con_ldsc 1282 src/simh/sim_console.c fprintf (st, "Speed = %ld", (long)sim_con_ldsc.rxbps); sim_con_ldsc 1283 src/simh/sim_console.c if (sim_con_ldsc.rxbpsfactor != TMXR_RX_BPS_UNIT_SCALE) sim_con_ldsc 1284 src/simh/sim_console.c fprintf (st, "*%.0f", sim_con_ldsc.rxbpsfactor/TMXR_RX_BPS_UNIT_SCALE); sim_con_ldsc 1524 src/simh/sim_console.c (sim_con_ldsc.serport == 0)) sim_con_ldsc 1527 src/simh/sim_console.c if (sim_con_ldsc.serport) { sim_con_ldsc 1529 src/simh/sim_console.c tmxr_fconns (st, &sim_con_ldsc, -1); sim_con_ldsc 1532 src/simh/sim_console.c if (sim_con_ldsc.sock == 0) sim_con_ldsc 1536 src/simh/sim_console.c sim_con_tmxr.port, sim_con_ldsc.ipad); sim_con_ldsc 1537 src/simh/sim_console.c tmxr_fconns (st, &sim_con_ldsc, -1); sim_con_ldsc 1539 src/simh/sim_console.c tmxr_fstats (st, &sim_con_ldsc, -1); sim_con_ldsc 1729 src/simh/sim_console.c (!sim_con_ldsc.serport) && sim_con_ldsc 1745 src/simh/sim_console.c if (sim_con_ldsc.serport) sim_con_ldsc 1747 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 1749 src/simh/sim_console.c (sim_con_ldsc.serport)) sim_con_ldsc 1751 src/simh/sim_console.c if (sim_con_ldsc.conn || sim_con_ldsc.txbfd) { /* connected or buffered ? */ sim_con_ldsc 1753 src/simh/sim_console.c if (sim_con_ldsc.conn || sim_con_ldsc.txbfd) { /* still connected? */ sim_con_ldsc 1754 src/simh/sim_console.c if (!sim_con_ldsc.conn) { sim_con_ldsc 1765 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 1821 src/simh/sim_console.c if ((sim_con_ldsc.rxbps) && /* rate limiting && */ sim_con_ldsc 1822 src/simh/sim_console.c (sim_gtime () < sim_con_ldsc.rxnexttime)) /* too soon? */ sim_con_ldsc 1830 src/simh/sim_console.c (sim_con_ldsc.serport == 0)) { /* and not serial? */ sim_con_ldsc 1831 src/simh/sim_console.c if (c && sim_con_ldsc.rxbps) /* got something && rate limiting? */ sim_con_ldsc 1832 src/simh/sim_console.c sim_con_ldsc.rxnexttime = /* compute next input time */ sim_con_ldsc 1833 src/simh/sim_console.c floor (sim_gtime () + ((sim_con_ldsc.rxdelta * sim_timer_inst_per_sec ())/sim_con_ldsc.rxbpsfactor)); sim_con_ldsc 1836 src/simh/sim_console.c if (!sim_con_ldsc.conn) { /* no telnet or serial connection? */ sim_con_ldsc 1837 src/simh/sim_console.c if (!sim_con_ldsc.txbfd) /* unbuffered? */ sim_con_ldsc 1840 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 1846 src/simh/sim_console.c if ((c = (t_stat)tmxr_getc_ln (&sim_con_ldsc))) /* any char? */ sim_con_ldsc 1857 src/simh/sim_console.c (sim_con_ldsc.serport == 0)) { /* and not serial port */ sim_con_ldsc 1862 src/simh/sim_console.c if (!sim_con_ldsc.conn) { /* no Telnet or serial connection? */ sim_con_ldsc 1863 src/simh/sim_console.c if (!sim_con_ldsc.txbfd) /* unbuffered? */ sim_con_ldsc 1866 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 1868 src/simh/sim_console.c tmxr_putc_ln (&sim_con_ldsc, c); /* output char */