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 },
{ "ECHOF", &echof_cmd, 0 },
{ "SHOW", &show_cmd, 0 },
{ "DEBUG", &debug_cmd, 1 },
{ "NODEBUG", &debug_cmd, 0 },
{ "HELP", &x_help_cmd, 0 },
{ NULL, NULL }
};
@ -1398,6 +1400,7 @@ for (i=(was_active_command ? sim_rem_cmd_active_line : 0);
sim_is_running = 0;
sim_rem_collect_all_registers ();
sim_stop_timer_services ();
if (rem->act == NULL) {
for (j=0; j < sim_rem_con_tmxr.lines; j++) {
TMLN *lpj = &sim_rem_con_tmxr.ldsc[j];
if ((i == j) || (!lpj->conn))
@ -1407,6 +1410,7 @@ for (i=(was_active_command ? sim_rem_cmd_active_line : 0);
}
}
}
}
else {
if (((!rem->repeat_pending) && (rem->act == NULL)) || /* Repeat isn't pending AND no prior commands still active */
(rem->buf_ptr != 0) || /* OR Not at beginning of line */