SCP: Updated documentation and help text

This commit is contained in:
Mark Pizzolato 2014-10-31 05:13:55 -07:00
parent 34d87ab521
commit 94486c1286
2 changed files with 30 additions and 30 deletions

Binary file not shown.

60
scp.c
View file

@ -1383,7 +1383,7 @@ ASSERT failure have several different actions:
" Specifies a positive integer representing a minimal instruction delay\n"
" between characters being sent. The value specified in a delay\n"
" argument persists across SEND commands to the same device (console or\n"
" serial device). The delay parameter can be set by itself with\n\n"
" serial device). The delay parameter can be set by itself with:\n\n"
"++SEND DELAY=n\n\n"
" The default value of the delay parameter is 1000.\n"
/***************** 80 character line width template *************************/
@ -1398,21 +1398,21 @@ ASSERT failure have several different actions:
" the delay parameter.\n"
"4Escaping String Data\n"
" The following character escapes are explicitly supported:\n"
" ++\\r Sends the ASCII Carriage Return character (Decimal value 13)\n"
" ++\\n Sends the ASCII Linefeed character (Decimal value 10)\n"
" ++\\f Sends the ASCII Formfeed character (Decimal value 12)\n"
" ++\\t Sends the ASCII Horizontal Tab character (Decimal value 9)\n"
" ++\\v Sends the ASCII Vertical Tab character (Decimal value 11)\n"
" ++\\b Sends the ASCII Backspace character (Decimal value 8)\n"
" ++\\\\ Sends the ASCII Backslash character (Decimal value 92)\n"
" ++\\' Sends the ASCII Single Quote character (Decimal value 39)\n"
" ++\\\" Sends the ASCII Double Quote character (Decimal value 34)\n"
" ++\\? Sends the ASCII Question Mark character (Decimal value 63)\n"
" ++\\e Sends the ASCII Escape character (Decimal value 27)\n"
"++\\r Sends the ASCII Carriage Return character (Decimal value 13)\n"
"++\\n Sends the ASCII Linefeed character (Decimal value 10)\n"
"++\\f Sends the ASCII Formfeed character (Decimal value 12)\n"
"++\\t Sends the ASCII Horizontal Tab character (Decimal value 9)\n"
"++\\v Sends the ASCII Vertical Tab character (Decimal value 11)\n"
"++\\b Sends the ASCII Backspace character (Decimal value 8)\n"
"++\\\\ Sends the ASCII Backslash character (Decimal value 92)\n"
"++\\' Sends the ASCII Single Quote character (Decimal value 39)\n"
"++\\\" Sends the ASCII Double Quote character (Decimal value 34)\n"
"++\\? Sends the ASCII Question Mark character (Decimal value 63)\n"
"++\\e Sends the ASCII Escape character (Decimal value 27)\n"
" as well as octal character values of the form:\n"
" ++\\n{n{n}} where each n is an octal digit (0-7)\n"
"++\\n{n{n}} where each n is an octal digit (0-7)\n"
" and hext character values of the form:\n"
" ++\\xh{h} where each h is a hex digit (0-9A-Fa-f)\n"
"++\\xh{h} where each h is a hex digit (0-9A-Fa-f)\n"
/***************** 80 character line width template *************************/
#define HLP_EXPECT "*Commands Executing_Command_Files Reacting_To_Console_Output"
/***************** 80 character line width template *************************/
@ -1425,7 +1425,7 @@ ASSERT failure have several different actions:
" must match. Data in the string may contain escaped character strings.\n\n"
" When expect rules are defined, they are evaluated agains recently\n"
" produced output as each character is output to the device. Since this\n"
" evaluation processing is done on each output character, rules matching\n"
" evaluation processing is done on each output character, rule matching\n"
" is not specifically line oriented. If line oriented matching is desired\n"
" then rules should be defined which contain the simulated system's line\n"
" ending character sequence (i.e. \"\\r\\n\").\n"
@ -1481,21 +1481,21 @@ ASSERT failure have several different actions:
"4Escaping String Data\n"
" The following character escapes are explicitly supported when NOT using\n"
" regular expression match patterns:\n"
" ++\\r Expect the ASCII Carriage Return character (Decimal value 13)\n"
" ++\\n Expect the ASCII Linefeed character (Decimal value 10)\n"
" ++\\f Expect the ASCII Formfeed character (Decimal value 12)\n"
" ++\\t Expect the ASCII Horizontal Tab character (Decimal value 9)\n"
" ++\\v Expect the ASCII Vertical Tab character (Decimal value 11)\n"
" ++\\b Expect the ASCII Backspace character (Decimal value 8)\n"
" ++\\\\ Expect the ASCII Backslash character (Decimal value 92)\n"
" ++\\' Expect the ASCII Single Quote character (Decimal value 39)\n"
" ++\\\" Expect the ASCII Double Quote character (Decimal value 34)\n"
" ++\\? Expect the ASCII Question Mark character (Decimal value 63)\n"
" ++\\e Expect the ASCII Escape character (Decimal value 27)\n"
"++\\r Expect the ASCII Carriage Return character (Decimal value 13)\n"
"++\\n Expect the ASCII Linefeed character (Decimal value 10)\n"
"++\\f Expect the ASCII Formfeed character (Decimal value 12)\n"
"++\\t Expect the ASCII Horizontal Tab character (Decimal value 9)\n"
"++\\v Expect the ASCII Vertical Tab character (Decimal value 11)\n"
"++\\b Expect the ASCII Backspace character (Decimal value 8)\n"
"++\\\\ Expect the ASCII Backslash character (Decimal value 92)\n"
"++\\' Expect the ASCII Single Quote character (Decimal value 39)\n"
"++\\\" Expect the ASCII Double Quote character (Decimal value 34)\n"
"++\\? Expect the ASCII Question Mark character (Decimal value 63)\n"
"++\\e Expect the ASCII Escape character (Decimal value 27)\n"
" as well as octal character values of the form:\n"
" ++\\n{n{n}} where each n is an octal digit (0-7)\n"
"++\\n{n{n}} where each n is an octal digit (0-7)\n"
" and hext character values of the form:\n"
" ++\\xh{h} where each h is a hex digit (0-9A-Fa-f)\n"
"++\\xh{h} where each h is a hex digit (0-9A-Fa-f)\n"
"4HaltAfter\n"
" Specifies the number of instructions which should be executed before\n"
" simulator instruction execution should stop. The default is to stop\n"
@ -1588,10 +1588,10 @@ ASSERT failure have several different actions:
"5String Comparison Expressions\n"
" String Values can be compared with:\n"
"++{-i} {NOT} \"<string1>\" <compare-op> \"<string2>\"\n\n"
" The -i switch, if present, causes comparisons to be case insensitive\n"
" The -i switch, if present, causes comparisons to be case insensitive.\n"
" <string1> and <string2> are quoted string values which may have\n"
" environment variables substituted as desired.\n"
" compare-op may be one of:\n\n"
" <compare-op> may be one of:\n\n"
"++== - equal\n"
"++EQU - equal\n"
"++!= - not equal\n"