sim_rem_con_tmxr 356 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 411 src/simh/sim_console.c if (sim_rem_con_tmxr.lines > 1) sim_rem_con_tmxr 413 src/simh/sim_console.c (unsigned long)sim_rem_con_tmxr.lines); sim_rem_con_tmxr 417 src/simh/sim_console.c if (!sim_rem_con_tmxr.master) sim_rem_con_tmxr 422 src/simh/sim_console.c for (i=connections=0; i<sim_rem_con_tmxr.lines; i++) { sim_rem_con_tmxr 423 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[i]; sim_rem_con_tmxr 448 src/simh/sim_console.c c = tmxr_poll_conn (&sim_rem_con_tmxr); sim_rem_con_tmxr 450 src/simh/sim_console.c TMLN *lp = &sim_rem_con_tmxr.ldsc[c]; sim_rem_con_tmxr 662 src/simh/sim_console.c tmxr_poll_rx (&sim_rem_con_tmxr); /* poll input */ sim_rem_con_tmxr 664 src/simh/sim_console.c (i < sim_rem_con_tmxr.lines); sim_rem_con_tmxr 668 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[i]; sim_rem_con_tmxr 694 src/simh/sim_console.c for (j=0; j < sim_rem_con_tmxr.lines; j++) { sim_rem_con_tmxr 695 src/simh/sim_console.c TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; sim_rem_con_tmxr 701 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[i]; sim_rem_con_tmxr 717 src/simh/sim_console.c for (j=0; j < sim_rem_con_tmxr.lines; j++) { sim_rem_con_tmxr 718 src/simh/sim_console.c TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; sim_rem_con_tmxr 725 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[i]; sim_rem_con_tmxr 793 src/simh/sim_console.c tmxr_poll_rx (&sim_rem_con_tmxr); /* poll input */ sim_rem_con_tmxr 996 src/simh/sim_console.c for (j=0; j < sim_rem_con_tmxr.lines; j++) { sim_rem_con_tmxr 997 src/simh/sim_console.c TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; sim_rem_con_tmxr 1034 src/simh/sim_console.c !sim_rem_con_tmxr.ldsc[0].sock) /* Master Connection lost? */ sim_rem_con_tmxr 1045 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[0]; sim_rem_con_tmxr 1056 src/simh/sim_console.c if (sim_rem_con_tmxr.lines) { sim_rem_con_tmxr 1059 src/simh/sim_console.c for (i=0; i<sim_rem_con_tmxr.lines; i++) sim_rem_con_tmxr 1060 src/simh/sim_console.c if (sim_rem_con_tmxr.ldsc[i].conn) sim_rem_con_tmxr 1062 src/simh/sim_console.c if (i != sim_rem_con_tmxr.lines) sim_rem_con_tmxr 1076 src/simh/sim_console.c if (sim_rem_con_tmxr.master) /* already open? */ sim_rem_con_tmxr 1078 src/simh/sim_console.c if (sim_rem_con_tmxr.lines == 0) /* Ir no connection limit set */ sim_rem_con_tmxr 1080 src/simh/sim_console.c sim_rem_con_tmxr.buffered = 1400; /* Use big enough buffers */ sim_rem_con_tmxr 1082 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 1090 src/simh/sim_console.c if (sim_rem_con_tmxr.master) { sim_rem_con_tmxr 1093 src/simh/sim_console.c tmxr_detach (&sim_rem_con_tmxr, &sim_rem_con_unit[0]); sim_rem_con_tmxr 1094 src/simh/sim_console.c for (i=0; i<sim_rem_con_tmxr.lines; i++) { sim_rem_con_tmxr 1117 src/simh/sim_console.c if (sim_rem_con_tmxr.master) sim_rem_con_tmxr 1119 src/simh/sim_console.c for (i=0; i<sim_rem_con_tmxr.lines; i++) sim_rem_con_tmxr 1121 src/simh/sim_console.c sim_rem_con_tmxr.lines = lines; sim_rem_con_tmxr 1122 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 1123 src/simh/sim_console.c if (!sim_rem_con_tmxr.ldsc) sim_rem_con_tmxr 1135 src/simh/sim_console.c (void)memset (sim_rem_con_tmxr.ldsc, 0, sizeof(*sim_rem_con_tmxr.ldsc)*lines); sim_rem_con_tmxr 1744 src/simh/sim_console.c if (sim_rem_con_tmxr.ldsc[0].conn) sim_rem_con_tmxr 1754 src/simh/sim_console.c if ((sim_rem_con_tmxr.ldsc[0].conn) && sim_rem_con_tmxr 1758 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 1759 src/simh/sim_console.c tmxr_linemsgf (&sim_rem_con_tmxr.ldsc[0], "Goodbye\r\n"); sim_rem_con_tmxr 1760 src/simh/sim_console.c while (tmxr_send_buffered_data (&sim_rem_con_tmxr.ldsc[0])) sim_rem_con_tmxr 1763 src/simh/sim_console.c tmxr_reset_ln (&sim_rem_con_tmxr.ldsc[0]);