1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

REMOTE_CONSOLE: Avoid rate limiting output to remote console sessions

As discussed in #865
This commit is contained in:
Mark Pizzolato
2020-06-02 12:06:18 -07:00
parent 52c1b5416f
commit e1a6a997eb
3 changed files with 10 additions and 1 deletions

View File

@@ -2007,6 +2007,13 @@ sprintf(cmdbuf, "BUFFERED=%d", bufsize);
return tmxr_open_master (&sim_rem_con_tmxr, cmdbuf); /* open master socket */
}
t_bool sim_is_remote_console_master_line (void *lp)
{
return sim_rem_master_mode && /* master mode */
(((TMLN *)lp) >= sim_rem_con_tmxr.ldsc) && /* And it is one of the Remote Console Lines */
(((TMLN *)lp) < sim_rem_con_tmxr.ldsc + sim_rem_con_tmxr.lines);
}
/* Enable or disable Remote Console master mode */
/* In master mode, commands are subsequently processed from the