Allowed SET CONSOLE TELNET=nnn to be issued multiple times, with an automatic SET CONSOLE NOTELNET done as needed.
This commit is contained in:
parent
2753c4a3dc
commit
3ae8a42dae
1 changed files with 2 additions and 1 deletions
|
@ -424,7 +424,8 @@ while (*cptr != 0) { /* do all mods */
|
||||||
*cvptr++ = 0;
|
*cvptr++ = 0;
|
||||||
get_glyph (gbuf, gbuf, 0); /* modifier to UC */
|
get_glyph (gbuf, gbuf, 0); /* modifier to UC */
|
||||||
if (isdigit (*gbuf)) {
|
if (isdigit (*gbuf)) {
|
||||||
if (sim_con_tmxr.master) return SCPE_ALATT; /* already open? */
|
if (sim_con_tmxr.master) /* already open? */
|
||||||
|
sim_set_notelnet (0, NULL); /* close first */
|
||||||
return tmxr_open_master (&sim_con_tmxr, gbuf); /* open master socket */
|
return tmxr_open_master (&sim_con_tmxr, gbuf); /* open master socket */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue