sim_con_ldsc 179 src/simh/sim_console.c TMLN sim_con_ldsc = { 0 }; /* line descr */ sim_con_ldsc 180 src/simh/sim_console.c TMXR sim_con_tmxr = { 1, 0, 0, &sim_con_ldsc, NULL, &sim_con_telnet }; /* line mux */ sim_con_ldsc 192 src/simh/sim_console.c (sim_con_ldsc.serport == 0) && sim_con_ldsc 197 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 202 src/simh/sim_console.c if (sim_con_ldsc.conn) sim_con_ldsc 203 src/simh/sim_console.c tmxr_send_buffered_data (&sim_con_ldsc); /* try to flush any buffered data */ sim_con_ldsc 476 src/simh/sim_console.c if (sim_con_ldsc.conn) sim_con_ldsc 477 src/simh/sim_console.c tmxr_send_buffered_data (&sim_con_ldsc); /* try to flush any buffered data */ sim_con_ldsc 1295 src/simh/sim_console.c return tmxr_set_line_speed (&sim_con_ldsc, cptr); sim_con_ldsc 1300 src/simh/sim_console.c if (sim_con_ldsc.rxbps) { sim_con_ldsc 1301 src/simh/sim_console.c fprintf (st, "Speed = %ld", (long)sim_con_ldsc.rxbps); sim_con_ldsc 1302 src/simh/sim_console.c if (sim_con_ldsc.rxbpsfactor != TMXR_RX_BPS_UNIT_SCALE) sim_con_ldsc 1303 src/simh/sim_console.c fprintf (st, "*%.0f", sim_con_ldsc.rxbpsfactor/TMXR_RX_BPS_UNIT_SCALE); sim_con_ldsc 1549 src/simh/sim_console.c (sim_con_ldsc.serport == 0)) sim_con_ldsc 1552 src/simh/sim_console.c if (sim_con_ldsc.serport) { sim_con_ldsc 1554 src/simh/sim_console.c tmxr_fconns (st, &sim_con_ldsc, -1); sim_con_ldsc 1557 src/simh/sim_console.c if (sim_con_ldsc.sock == 0) sim_con_ldsc 1561 src/simh/sim_console.c sim_con_tmxr.port, sim_con_ldsc.ipad); sim_con_ldsc 1562 src/simh/sim_console.c tmxr_fconns (st, &sim_con_ldsc, -1); sim_con_ldsc 1564 src/simh/sim_console.c tmxr_fstats (st, &sim_con_ldsc, -1); sim_con_ldsc 1756 src/simh/sim_console.c (!sim_con_ldsc.serport) && sim_con_ldsc 1772 src/simh/sim_console.c if (sim_con_ldsc.serport) sim_con_ldsc 1774 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 1776 src/simh/sim_console.c (sim_con_ldsc.serport)) sim_con_ldsc 1778 src/simh/sim_console.c if (sim_con_ldsc.conn || sim_con_ldsc.txbfd) { /* connected or buffered ? */ sim_con_ldsc 1780 src/simh/sim_console.c if (sim_con_ldsc.conn || sim_con_ldsc.txbfd) { /* still connected? */ sim_con_ldsc 1781 src/simh/sim_console.c if (!sim_con_ldsc.conn) { sim_con_ldsc 1792 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 1848 src/simh/sim_console.c if ((sim_con_ldsc.rxbps) && /* rate limiting && */ sim_con_ldsc 1849 src/simh/sim_console.c (sim_gtime () < sim_con_ldsc.rxnexttime)) /* too soon? */ sim_con_ldsc 1857 src/simh/sim_console.c (sim_con_ldsc.serport == 0)) { /* and not serial? */ sim_con_ldsc 1858 src/simh/sim_console.c if (c && sim_con_ldsc.rxbps) /* got something && rate limiting? */ sim_con_ldsc 1859 src/simh/sim_console.c sim_con_ldsc.rxnexttime = /* compute next input time */ sim_con_ldsc 1860 src/simh/sim_console.c floor (sim_gtime () + ((sim_con_ldsc.rxdelta * sim_timer_inst_per_sec ())/sim_con_ldsc.rxbpsfactor)); sim_con_ldsc 1863 src/simh/sim_console.c if (!sim_con_ldsc.conn) { /* no telnet or serial connection? */ sim_con_ldsc 1864 src/simh/sim_console.c if (!sim_con_ldsc.txbfd) /* unbuffered? */ sim_con_ldsc 1867 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 1873 src/simh/sim_console.c if ((c = (t_stat)tmxr_getc_ln (&sim_con_ldsc))) /* any char? */ sim_con_ldsc 1884 src/simh/sim_console.c (sim_con_ldsc.serport == 0)) { /* and not serial port */ sim_con_ldsc 1889 src/simh/sim_console.c if (!sim_con_ldsc.conn) { /* no Telnet or serial connection? */ sim_con_ldsc 1890 src/simh/sim_console.c if (!sim_con_ldsc.txbfd) /* unbuffered? */ sim_con_ldsc 1893 src/simh/sim_console.c sim_con_ldsc.rcve = 1; /* rcv enabled */ sim_con_ldsc 1895 src/simh/sim_console.c tmxr_putc_ln (&sim_con_ldsc, c); /* output char */