SCP: Silence noise traffic going to remote console secondary sessions
This commit is contained in:
parent
2cd2f8c1d3
commit
3eda8f909c
1 changed files with 10 additions and 6 deletions
|
@ -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,6 +1400,7 @@ 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 ();
|
||||||
|
if (rem->act == NULL) {
|
||||||
for (j=0; j < sim_rem_con_tmxr.lines; j++) {
|
for (j=0; j < sim_rem_con_tmxr.lines; j++) {
|
||||||
TMLN *lpj = &sim_rem_con_tmxr.ldsc[j];
|
TMLN *lpj = &sim_rem_con_tmxr.ldsc[j];
|
||||||
if ((i == j) || (!lpj->conn))
|
if ((i == j) || (!lpj->conn))
|
||||||
|
@ -1407,6 +1410,7 @@ for (i=(was_active_command ? sim_rem_cmd_active_line : 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
if (((!rem->repeat_pending) && (rem->act == NULL)) || /* Repeat isn't pending AND no prior commands still active */
|
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 */
|
(rem->buf_ptr != 0) || /* OR Not at beginning of line */
|
||||||
|
|
Loading…
Add table
Reference in a new issue