sim_con_ldsc 178 src/simh/sim_console.c TMLN sim_con_ldsc = { 0 }; /* line descr */ sim_con_ldsc 179 src/simh/sim_console.c TMXR sim_con_tmxr = { 1, 0, 0, &sim_con_ldsc, NULL, &sim_con_telnet }; /* line mux */ sim_con_ldsc 191 src/simh/sim_console.c (sim_con_ldsc.serport == 0) && sim_con_ldsc 196 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 201 src/simh/sim_console.c if (sim_con_ldsc.conn) sim_con_ldsc 202 src/simh/sim_console.c tmxr_send_buffered_data (&sim_con_ldsc); /* try to flush any buffered data */ sim_con_ldsc 475 src/simh/sim_console.c if (sim_con_ldsc.conn) sim_con_ldsc 476 src/simh/sim_console.c tmxr_send_buffered_data (&sim_con_ldsc); /* try to flush any buffered data */ sim_con_ldsc 1294 src/simh/sim_console.c return tmxr_set_line_speed (&sim_con_ldsc, cptr); sim_con_ldsc 1299 src/simh/sim_console.c if (sim_con_ldsc.rxbps) { sim_con_ldsc 1300 src/simh/sim_console.c fprintf (st, "Speed = %ld", (long)sim_con_ldsc.rxbps); sim_con_ldsc 1301 src/simh/sim_console.c if (sim_con_ldsc.rxbpsfactor != TMXR_RX_BPS_UNIT_SCALE) sim_con_ldsc 1302 src/simh/sim_console.c fprintf (st, "*%.0f", sim_con_ldsc.rxbpsfactor/TMXR_RX_BPS_UNIT_SCALE); sim_con_ldsc 1548 src/simh/sim_console.c (sim_con_ldsc.serport == 0)) sim_con_ldsc 1551 src/simh/sim_console.c if (sim_con_ldsc.serport) { sim_con_ldsc 1553 src/simh/sim_console.c tmxr_fconns (st, &sim_con_ldsc, -1); sim_con_ldsc 1556 src/simh/sim_console.c if (sim_con_ldsc.sock == 0) sim_con_ldsc 1560 src/simh/sim_console.c sim_con_tmxr.port, sim_con_ldsc.ipad); sim_con_ldsc 1561 src/simh/sim_console.c tmxr_fconns (st, &sim_con_ldsc, -1); sim_con_ldsc 1563 src/simh/sim_console.c tmxr_fstats (st, &sim_con_ldsc, -1); sim_con_ldsc 1755 src/simh/sim_console.c (!sim_con_ldsc.serport) && sim_con_ldsc 1771 src/simh/sim_console.c if (sim_con_ldsc.serport) sim_con_ldsc 1773 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 1775 src/simh/sim_console.c (sim_con_ldsc.serport)) sim_con_ldsc 1777 src/simh/sim_console.c if (sim_con_ldsc.conn || sim_con_ldsc.txbfd) { /* connected or buffered ? */ sim_con_ldsc 1779 src/simh/sim_console.c if (sim_con_ldsc.conn || sim_con_ldsc.txbfd) { /* still connected? */ sim_con_ldsc 1780 src/simh/sim_console.c if (!sim_con_ldsc.conn) { sim_con_ldsc 1791 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 1847 src/simh/sim_console.c if ((sim_con_ldsc.rxbps) && /* rate limiting && */ sim_con_ldsc 1848 src/simh/sim_console.c (sim_gtime () < sim_con_ldsc.rxnexttime)) /* too soon? */ sim_con_ldsc 1856 src/simh/sim_console.c (sim_con_ldsc.serport == 0)) { /* and not serial? */ sim_con_ldsc 1857 src/simh/sim_console.c if (c && sim_con_ldsc.rxbps) /* got something && rate limiting? */ sim_con_ldsc 1858 src/simh/sim_console.c sim_con_ldsc.rxnexttime = /* compute next input time */ sim_con_ldsc 1859 src/simh/sim_console.c floor (sim_gtime () + ((sim_con_ldsc.rxdelta * sim_timer_inst_per_sec ())/sim_con_ldsc.rxbpsfactor)); 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 1872 src/simh/sim_console.c if ((c = (t_stat)tmxr_getc_ln (&sim_con_ldsc))) /* any char? */ sim_con_ldsc 1883 src/simh/sim_console.c (sim_con_ldsc.serport == 0)) { /* and not serial port */ sim_con_ldsc 1888 src/simh/sim_console.c if (!sim_con_ldsc.conn) { /* no Telnet or serial connection? */ sim_con_ldsc 1889 src/simh/sim_console.c if (!sim_con_ldsc.txbfd) /* unbuffered? */ sim_con_ldsc 1892 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 1894 src/simh/sim_console.c tmxr_putc_ln (&sim_con_ldsc, c); /* output char */