mirror of
https://github.com/simh/simh.git
synced 2026-01-26 12:02:14 +00:00
SCP: Fix reporting of console's buffering status. Fix parsing of MUX settings which were simply interpreted by matching a single token. Reported by Mark Bensen.
This commit is contained in:
@@ -1289,10 +1289,10 @@ t_stat sim_show_cons_buff (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag,
|
||||
{
|
||||
if (cptr && (*cptr != 0))
|
||||
return SCPE_2MARG;
|
||||
if (!sim_con_tmxr.buffered)
|
||||
if (!sim_con_tmxr.ldsc->txbfd)
|
||||
fprintf (st, "Unbuffered\n");
|
||||
else
|
||||
fprintf (st, "Buffer Size = %d\n", sim_con_tmxr.buffered);
|
||||
fprintf (st, "Buffer Size = %d\n", sim_con_tmxr.ldsc->txbsz);
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user