SCP: Silence noise traffic going to remote console secondary sessions

This commit is contained in:
Mark Pizzolato 2018-01-10 08:59:30 -08:00
parent 2cd2f8c1d3
commit 3eda8f909c

View file

@ -798,6 +798,8 @@ static CTAB allowed_single_remote_cmds[] = {
{ "ECHO", &echo_cmd, 0 }, { "ECHO", &echo_cmd, 0 },
{ "ECHOF", &echof_cmd, 0 }, { "ECHOF", &echof_cmd, 0 },
{ "SHOW", &show_cmd, 0 }, { "SHOW", &show_cmd, 0 },
{ "DEBUG", &debug_cmd, 1 },
{ "NODEBUG", &debug_cmd, 0 },
{ "HELP", &x_help_cmd, 0 }, { "HELP", &x_help_cmd, 0 },
{ NULL, NULL } { NULL, NULL }
}; };
@ -1398,12 +1400,14 @@ for (i=(was_active_command ? sim_rem_cmd_active_line : 0);
sim_is_running = 0; sim_is_running = 0;
sim_rem_collect_all_registers (); sim_rem_collect_all_registers ();
sim_stop_timer_services (); sim_stop_timer_services ();
for (j=0; j < sim_rem_con_tmxr.lines; j++) { if (rem->act == NULL) {
TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; for (j=0; j < sim_rem_con_tmxr.lines; j++) {
if ((i == j) || (!lpj->conn)) TMLN *lpj = &sim_rem_con_tmxr.ldsc[j];
continue; if ((i == j) || (!lpj->conn))
tmxr_linemsgf (lpj, "\nRemote Master Console(%s) Entering Commands\n", lp->ipad); continue;
tmxr_send_buffered_data (lpj); /* flush any buffered data */ tmxr_linemsgf (lpj, "\nRemote Master Console(%s) Entering Commands\n", lp->ipad);
tmxr_send_buffered_data (lpj); /* flush any buffered data */
}
} }
} }
} }