From e52ac6d57fcf90f0f113e55a89c36f1a0fab0b53 Mon Sep 17 00:00:00 2001
From: Mark Pizzolato <mark@infocomm.com>
Date: Thu, 29 Dec 2016 13:52:06 -0800
Subject: [PATCH] SCP: Add help for NOEXPECT and spelling cleanups

---
 PDP11/pdp11_dc.c |  2 +-
 PDP11/pdp11_dl.c |  2 +-
 PDP11/pdp11_dz.c |  2 +-
 PDP8/pdp8_ttx.c  | 10 +++++-----
 scp.c            |  6 ++++--
 5 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/PDP11/pdp11_dc.c b/PDP11/pdp11_dc.c
index 150dfc64..b74d75cd 100644
--- a/PDP11/pdp11_dc.c
+++ b/PDP11/pdp11_dc.c
@@ -290,7 +290,7 @@ switch ((PA >> 1) & 03) {                               /* decode PA<2:1> */
     case 01:                                            /* dci buf */
         dci_clr_int (ln);
         *data = dci_buf[ln];
-        /* Rechedule the next poll preceisely so that 
+        /* Reschedule the next poll preceisely so that the 
            the programmed input speed is observed. */
         sim_clock_coschedule_abs (&dci_unit, tmxr_poll);
         return SCPE_OK;
diff --git a/PDP11/pdp11_dl.c b/PDP11/pdp11_dl.c
index 2a07e486..11670af9 100644
--- a/PDP11/pdp11_dl.c
+++ b/PDP11/pdp11_dl.c
@@ -273,7 +273,7 @@ switch ((PA >> 1) & 03) {                               /* decode PA<2:1> */
         *data = dli_buf[ln] & DLIBUF_RD;
         dli_csr[ln] &= ~CSR_DONE;                       /* clr rcv done */
         dli_clr_int (ln, DLI_RCI);                      /* clr rcv int req */
-        /* Rechedule the next poll preceisely so that 
+        /* Reschedule the next poll preceisely so that 
            the programmed input speed is observed. */
         sim_clock_coschedule_abs (&dli_unit, tmxr_poll);
         break;
diff --git a/PDP11/pdp11_dz.c b/PDP11/pdp11_dz.c
index 93a7d32e..602526d3 100644
--- a/PDP11/pdp11_dz.c
+++ b/PDP11/pdp11_dz.c
@@ -398,7 +398,7 @@ switch ((PA >> 1) & 03) {                               /* case on PA<2:1> */
             tmxr_poll_rx (&dz_desc);                    /* poll input */
             dz_update_rcvi ();                          /* update rx intr */
             if (dz_rbuf[dz]) {
-                /* Rechedule the next poll preceisely so that 
+                /* Reschedule the next poll preceisely so that the 
                    the programmed input speed is observed. */
                 sim_clock_coschedule_abs (dz_unit, tmxr_poll);
                 }
diff --git a/PDP8/pdp8_ttx.c b/PDP8/pdp8_ttx.c
index 34c7b3ab..1219acc1 100644
--- a/PDP8/pdp8_ttx.c
+++ b/PDP8/pdp8_ttx.c
@@ -162,11 +162,11 @@ MTAB ttix_mod[] = {
 #define DBG_TRC  TMXR_DBG_TRC                           /* display trace routine calls */
 
 DEBTAB ttx_debug[] = {
-  {"XMT",    DBG_XMT},
-  {"RCV",    DBG_RCV},
-  {"RET",    DBG_RET},
-  {"CON",    DBG_CON},
-  {"TRC",    DBG_TRC},
+  {"XMT",    DBG_XMT, "Transmitted Data"},
+  {"RCV",    DBG_RCV, "Received Data"},
+  {"RET",    DBG_RET, "Returned Received Data"},
+  {"CON",    DBG_CON, "connection activities"},
+  {"TRC",    DBG_TRC, "trace routine calls"},
   {0}
 };
 
diff --git a/scp.c b/scp.c
index 2fbb5d59..6d4c5aa1 100644
--- a/scp.c
+++ b/scp.c
@@ -1549,8 +1549,9 @@ ASSERT      failure have several different actions:
        /***************** 80 character line width template *************************/
       "3Reacting To Console Output\n"
       " The EXPECT command provides a way to stop execution and take actions\n"
-      " when specific output has been generated by the simulated system.\n"
+      " when specific output has been generated by the simulated system.\n\n"
       "++EXPECT {dev:line} {[count]} {HALTAFTER=n,}\"<string>\" {actioncommand {; actioncommand}...}\n\n"
+      "++NOEXPECT {dev:line} \"<string>\"\n\n"
       " The string argument must be delimited by quote characters.  Quotes may\n"
       " be either single or double but the opening and closing quote characters\n"
       " must match.  Data in the string may contain escaped character strings.\n"
@@ -1567,7 +1568,8 @@ ASSERT      failure have several different actions:
       " Once data has matched any expect rule, that data is no longer eligible\n"
       " to match other expect rules which may already be defined.\n"
       " Data which is output prior to the definition of an expect rule is not\n"
-      " eligible to be matched against.\n"
+      " eligible to be matched against.\n\n"
+      " The NOEXPECT command removes a previously defined EXPECT command.\n"
        /***************** 80 character line width template *************************/
       "4Switches\n"
       " Switches can be used to influence the behavior of EXPECT rules\n\n"