sim_rem_con_tmxr 357 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 412 src/simh/sim_console.c if (sim_rem_con_tmxr.lines > 1) sim_rem_con_tmxr 414 src/simh/sim_console.c (unsigned long)sim_rem_con_tmxr.lines); sim_rem_con_tmxr 418 src/simh/sim_console.c if (!sim_rem_con_tmxr.master) sim_rem_con_tmxr 423 src/simh/sim_console.c for (i=connections=0; i<sim_rem_con_tmxr.lines; i++) { sim_rem_con_tmxr 424 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[i]; sim_rem_con_tmxr 449 src/simh/sim_console.c c = tmxr_poll_conn (&sim_rem_con_tmxr); sim_rem_con_tmxr 451 src/simh/sim_console.c TMLN *lp = &sim_rem_con_tmxr.ldsc[c]; sim_rem_con_tmxr 663 src/simh/sim_console.c tmxr_poll_rx (&sim_rem_con_tmxr); /* poll input */ sim_rem_con_tmxr 665 src/simh/sim_console.c (i < sim_rem_con_tmxr.lines); sim_rem_con_tmxr 669 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[i]; sim_rem_con_tmxr 695 src/simh/sim_console.c for (j=0; j < sim_rem_con_tmxr.lines; j++) { sim_rem_con_tmxr 696 src/simh/sim_console.c TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; sim_rem_con_tmxr 702 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[i]; sim_rem_con_tmxr 718 src/simh/sim_console.c for (j=0; j < sim_rem_con_tmxr.lines; j++) { sim_rem_con_tmxr 719 src/simh/sim_console.c TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; sim_rem_con_tmxr 726 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[i]; sim_rem_con_tmxr 794 src/simh/sim_console.c tmxr_poll_rx (&sim_rem_con_tmxr); /* poll input */ sim_rem_con_tmxr 997 src/simh/sim_console.c for (j=0; j < sim_rem_con_tmxr.lines; j++) { sim_rem_con_tmxr 998 src/simh/sim_console.c TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; sim_rem_con_tmxr 1035 src/simh/sim_console.c !sim_rem_con_tmxr.ldsc[0].sock) /* Master Connection lost? */ sim_rem_con_tmxr 1046 src/simh/sim_console.c lp = &sim_rem_con_tmxr.ldsc[0]; sim_rem_con_tmxr 1057 src/simh/sim_console.c if (sim_rem_con_tmxr.lines) { sim_rem_con_tmxr 1060 src/simh/sim_console.c for (i=0; i<sim_rem_con_tmxr.lines; i++) sim_rem_con_tmxr 1061 src/simh/sim_console.c if (sim_rem_con_tmxr.ldsc[i].conn) sim_rem_con_tmxr 1063 src/simh/sim_console.c if (i != sim_rem_con_tmxr.lines) sim_rem_con_tmxr 1077 src/simh/sim_console.c if (sim_rem_con_tmxr.master) /* already open? */ sim_rem_con_tmxr 1079 src/simh/sim_console.c if (sim_rem_con_tmxr.lines == 0) /* Ir no connection limit set */ sim_rem_con_tmxr 1081 src/simh/sim_console.c sim_rem_con_tmxr.buffered = 1400; /* Use big enough buffers */ sim_rem_con_tmxr 1083 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 1091 src/simh/sim_console.c if (sim_rem_con_tmxr.master) { sim_rem_con_tmxr 1094 src/simh/sim_console.c tmxr_detach (&sim_rem_con_tmxr, &sim_rem_con_unit[0]); sim_rem_con_tmxr 1095 src/simh/sim_console.c for (i=0; i<sim_rem_con_tmxr.lines; i++) { sim_rem_con_tmxr 1118 src/simh/sim_console.c if (sim_rem_con_tmxr.master) sim_rem_con_tmxr 1120 src/simh/sim_console.c for (i=0; i<sim_rem_con_tmxr.lines; i++) sim_rem_con_tmxr 1122 src/simh/sim_console.c sim_rem_con_tmxr.lines = lines; sim_rem_con_tmxr 1123 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 1124 src/simh/sim_console.c if (!sim_rem_con_tmxr.ldsc) sim_rem_con_tmxr 1136 src/simh/sim_console.c (void)memset (sim_rem_con_tmxr.ldsc, 0, sizeof(*sim_rem_con_tmxr.ldsc)*lines); sim_rem_con_tmxr 1745 src/simh/sim_console.c if (sim_rem_con_tmxr.ldsc[0].conn) sim_rem_con_tmxr 1755 src/simh/sim_console.c if ((sim_rem_con_tmxr.ldsc[0].conn) && sim_rem_con_tmxr 1759 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 1760 src/simh/sim_console.c tmxr_linemsgf (&sim_rem_con_tmxr.ldsc[0], "Goodbye\r\n"); sim_rem_con_tmxr 1761 src/simh/sim_console.c while (tmxr_send_buffered_data (&sim_rem_con_tmxr.ldsc[0])) sim_rem_con_tmxr 1764 src/simh/sim_console.c tmxr_reset_ln (&sim_rem_con_tmxr.ldsc[0]);