sim_rem_con_tmxr 354 src/simh/sim_console.c static TMXR sim_rem_con_tmxr = { 0, 0, 0, NULL, NULL, &sim_remote_console };/* remote console line mux */ sim_rem_con_tmxr 408 src/simh/sim_console.c if (sim_rem_con_tmxr.lines > 1) sim_rem_con_tmxr 409 src/simh/sim_console.c fprintf (st, "Remote Console Input Connections from %lu sources are supported concurrently\n", (unsigned long)sim_rem_con_tmxr.lines); sim_rem_con_tmxr 412 src/simh/sim_console.c if (!sim_rem_con_tmxr.master) sim_rem_con_tmxr 416 src/simh/sim_console.c for (i=connections=0; i<sim_rem_con_tmxr.lines; i++) { sim_rem_con_tmxr 417 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[i]; sim_rem_con_tmxr 440 src/simh/sim_console.c c = tmxr_poll_conn (&sim_rem_con_tmxr); sim_rem_con_tmxr 442 src/simh/sim_console.c TMLN *lp = &sim_rem_con_tmxr.ldsc[c]; sim_rem_con_tmxr 651 src/simh/sim_console.c tmxr_poll_rx (&sim_rem_con_tmxr); /* poll input */ sim_rem_con_tmxr 653 src/simh/sim_console.c (i < sim_rem_con_tmxr.lines); sim_rem_con_tmxr 657 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[i]; sim_rem_con_tmxr 683 src/simh/sim_console.c for (j=0; j < sim_rem_con_tmxr.lines; j++) { sim_rem_con_tmxr 684 src/simh/sim_console.c TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; sim_rem_con_tmxr 690 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[i]; sim_rem_con_tmxr 706 src/simh/sim_console.c for (j=0; j < sim_rem_con_tmxr.lines; j++) { sim_rem_con_tmxr 707 src/simh/sim_console.c TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; sim_rem_con_tmxr 713 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[i]; sim_rem_con_tmxr 780 src/simh/sim_console.c tmxr_poll_rx (&sim_rem_con_tmxr); /* poll input */ sim_rem_con_tmxr 978 src/simh/sim_console.c for (j=0; j < sim_rem_con_tmxr.lines; j++) { sim_rem_con_tmxr 979 src/simh/sim_console.c TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; sim_rem_con_tmxr 1016 src/simh/sim_console.c !sim_rem_con_tmxr.ldsc[0].sock) /* Master Connection lost? */ sim_rem_con_tmxr 1027 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[0]; sim_rem_con_tmxr 1038 src/simh/sim_console.c if (sim_rem_con_tmxr.lines) { sim_rem_con_tmxr 1041 src/simh/sim_console.c for (i=0; i<sim_rem_con_tmxr.lines; i++) sim_rem_con_tmxr 1042 src/simh/sim_console.c if (sim_rem_con_tmxr.ldsc[i].conn) sim_rem_con_tmxr 1044 src/simh/sim_console.c if (i != sim_rem_con_tmxr.lines) sim_rem_con_tmxr 1058 src/simh/sim_console.c if (sim_rem_con_tmxr.master) /* already open? */ sim_rem_con_tmxr 1060 src/simh/sim_console.c if (sim_rem_con_tmxr.lines == 0) /* Ir no connection limit set */ sim_rem_con_tmxr 1062 src/simh/sim_console.c sim_rem_con_tmxr.buffered = 1400; /* Use big enough buffers */ sim_rem_con_tmxr 1064 src/simh/sim_console.c r = tmxr_attach (&sim_rem_con_tmxr, &sim_rem_con_unit[0], cptr);/* open master socket */ sim_rem_con_tmxr 1072 src/simh/sim_console.c if (sim_rem_con_tmxr.master) { sim_rem_con_tmxr 1075 src/simh/sim_console.c tmxr_detach (&sim_rem_con_tmxr, &sim_rem_con_unit[0]); sim_rem_con_tmxr 1076 src/simh/sim_console.c for (i=0; i<sim_rem_con_tmxr.lines; i++) { sim_rem_con_tmxr 1099 src/simh/sim_console.c if (sim_rem_con_tmxr.master) sim_rem_con_tmxr 1101 src/simh/sim_console.c for (i=0; i<sim_rem_con_tmxr.lines; i++) sim_rem_con_tmxr 1103 src/simh/sim_console.c sim_rem_con_tmxr.lines = lines; sim_rem_con_tmxr 1104 src/simh/sim_console.c sim_rem_con_tmxr.ldsc = (TMLN *)realloc (sim_rem_con_tmxr.ldsc, sizeof(*sim_rem_con_tmxr.ldsc)*lines); sim_rem_con_tmxr 1105 src/simh/sim_console.c if (!sim_rem_con_tmxr.ldsc) sim_rem_con_tmxr 1117 src/simh/sim_console.c memset (sim_rem_con_tmxr.ldsc, 0, sizeof(*sim_rem_con_tmxr.ldsc)*lines); sim_rem_con_tmxr 1718 src/simh/sim_console.c if (sim_rem_con_tmxr.ldsc[0].conn) sim_rem_con_tmxr 1728 src/simh/sim_console.c if ((sim_rem_con_tmxr.ldsc[0].conn) && sim_rem_con_tmxr 1732 src/simh/sim_console.c tmxr_linemsgf (&sim_rem_con_tmxr.ldsc[0], "\r\nConsole port must be Telnet or Serial with Master Remote Console\r\n"); sim_rem_con_tmxr 1733 src/simh/sim_console.c tmxr_linemsgf (&sim_rem_con_tmxr.ldsc[0], "Goodbye\r\n"); sim_rem_con_tmxr 1734 src/simh/sim_console.c while (tmxr_send_buffered_data (&sim_rem_con_tmxr.ldsc[0])) sim_rem_con_tmxr 1737 src/simh/sim_console.c tmxr_reset_ln (&sim_rem_con_tmxr.ldsc[0]);