From 0fca58a6da13d83bab6e835c1f36f272a38eab93 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Tue, 18 Feb 2020 13:31:20 -0800 Subject: [PATCH] TMXR: Add documentation for the -U switch when attaching to a listen port As mentioned in #782 --- sim_tmxr.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sim_tmxr.c b/sim_tmxr.c index efb79067..0ebebf6b 100644 --- a/sim_tmxr.c +++ b/sim_tmxr.c @@ -4405,6 +4405,9 @@ if (single_line) { /* Single Line Multiplexer */ } fprintf (st, "A Telnet listening port can be configured with:\n\n"); fprintf (st, " sim> ATTACH %s {interface:}port\n\n", dptr->name); + fprintf (st, "The -U switch can be specified on the attach command that specifies\n"); + fprintf (st, "a listening port. This will allow a listening port to be reused if\n"); + fprintf (st, "some prior connections haven't completely shutdown.\n\n"); fprintf (st, "Line buffering can be enabled for the %s device with:\n\n", dptr->name); fprintf (st, " sim> ATTACH %s Buffer{=bufsize}\n\n", dptr->name); fprintf (st, "Line buffering can be disabled for the %s device with:\n\n", dptr->name); @@ -4431,6 +4434,9 @@ else { fprintf (st, " sim> ATTACH %s Line=n,NoModem\n\n", dptr->name); fprintf (st, "A Telnet listening port can be configured with:\n\n"); fprintf (st, " sim> ATTACH %s {interface:}port\n\n", dptr->name); + fprintf (st, "The -U switch can be specified on the attach command that specifies\n"); + fprintf (st, "a listening port. This will allow a listening port to be reused if\n"); + fprintf (st, "some prior connections haven't completely shutdown.\n\n"); if (mux) fprintf (st, "Line buffering for all %d lines on the %s device can be configured with:\n\n", mux->lines, dptr->name); else