Home » Archimedes archive » Acorn User » AU 1995-05.adf » !Internet_StarterPak » !TCPIP/TCPIP_Doc/Notes/Switches

!TCPIP/TCPIP_Doc/Notes/Switches

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1995-05.adf » !Internet_StarterPak
Filename: !TCPIP/TCPIP_Doc/Notes/Switches
Read OK:
File size: 0C61 bytes
Load address: 0000
Exec address: 0000
File contents
Terminal Control Command Switches
=================================

FTP, TELNET, FINGER have had their command syntax extend to allow
terminal control options and expect/send strings to be appended to the
basic command. See the file "Chat for precise details of expect/send
pairs.

This change, makes no alteration to the basic use of the FTP, TELNET and
finger commands.


  \		This character must occure on it's own to mark the
  		end of command specific parameters and the start of
  		terminal options, or the end of terminal options and the
  		start of expect / send strings.
  	
  !		Prefixing any of the following options causes the
		reverse effect, "!E" disables local echo. In the case
		of "!X" and "!Y", the incidental effect is to restore
		default width or height.

  B		Opens the commands edit box at the top/bottom of the window

  BB		Opens the commands edit box at the bottom of the window

  BT		Opens the commands edit box at the top of the window

  W             Cursor wrap mode on

  R		Causes the window to be read only

  E		Enable local echo.
  
  N		Enable newline mode
  
  F		Causes window to follow the cursor
  
  I		Switches to Inverse video
  
  L		Enables line editing mode, rather than raw character
		mode.
  
  C<n>		Enables split screen chat mode, n is the line number of
		the split point.
  
  X<n>		Sets the terminal window total width in characters
  
  Y<n>  	Sets the terminal window total height in lines
  
  XV<n>		Sets the terminal window visible width in characters
  
  YV<n>  	Sets the terminal window visible height in lines
  
  ><name>	Starts spooling with escape code to named file
  >><name>	Start spooling without escape codes to named file
  
  @<name>	Attach the named macro menu to the command box


"*" may be used in place of <name> to cause spooling to a unique
temporary file which is auto-loaded into a text editor when either the
spool file is closed, or the session ends.

Each of these options must be separated by a space. There must be no
space between an option and it associated parameter.

All of these switches, except "R" have menu or dialogue box equivelents.

expect and send strings (case sensitive) follow the switches where
required.

The main purpose of these command extensions is to allow terminal
settings to be preset via user-defined hierarchicial menu based macro
commands that will be added in a later release. These menu will be
available from the menu button in the command editing box.

Currently the only option on this menu is "Clear" which clears the
contents of the command box.

For example, to connect to, and login to Demon's ftp server, with a 100
line terminal screen, spooling to a temporary file that will be loaded
into !edit when the session is closed:

ftp ftp.demon.co.uk \ Y100 >>* \ "name: " "anonymous\r\n" "word:" "adam@\r\n"

 Start of options --^          ^-- Start of expect and send strings.

The "\r\n" are needed as eol characters are NOT auto appended to send
strings, allowing send strings to be effectively single key presses.

Currently expect strings may be upto 16 characters. If anyone feels this
to be insufficient, I can easily extend it.

00000000  54 65 72 6d 69 6e 61 6c  20 43 6f 6e 74 72 6f 6c  |Terminal Control|
00000010  20 43 6f 6d 6d 61 6e 64  20 53 77 69 74 63 68 65  | Command Switche|
00000020  73 0a 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |s.==============|
00000030  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000040  3d 3d 3d 0a 0a 46 54 50  2c 20 54 45 4c 4e 45 54  |===..FTP, TELNET|
00000050  2c 20 46 49 4e 47 45 52  20 68 61 76 65 20 68 61  |, FINGER have ha|
00000060  64 20 74 68 65 69 72 20  63 6f 6d 6d 61 6e 64 20  |d their command |
00000070  73 79 6e 74 61 78 20 65  78 74 65 6e 64 20 74 6f  |syntax extend to|
00000080  20 61 6c 6c 6f 77 0a 74  65 72 6d 69 6e 61 6c 20  | allow.terminal |
00000090  63 6f 6e 74 72 6f 6c 20  6f 70 74 69 6f 6e 73 20  |control options |
000000a0  61 6e 64 20 65 78 70 65  63 74 2f 73 65 6e 64 20  |and expect/send |
000000b0  73 74 72 69 6e 67 73 20  74 6f 20 62 65 20 61 70  |strings to be ap|
000000c0  70 65 6e 64 65 64 20 74  6f 20 74 68 65 0a 62 61  |pended to the.ba|
000000d0  73 69 63 20 63 6f 6d 6d  61 6e 64 2e 20 53 65 65  |sic command. See|
000000e0  20 74 68 65 20 66 69 6c  65 20 22 43 68 61 74 20  | the file "Chat |
000000f0  66 6f 72 20 70 72 65 63  69 73 65 20 64 65 74 61  |for precise deta|
00000100  69 6c 73 20 6f 66 20 65  78 70 65 63 74 2f 73 65  |ils of expect/se|
00000110  6e 64 0a 70 61 69 72 73  2e 0a 0a 54 68 69 73 20  |nd.pairs...This |
00000120  63 68 61 6e 67 65 2c 20  6d 61 6b 65 73 20 6e 6f  |change, makes no|
00000130  20 61 6c 74 65 72 61 74  69 6f 6e 20 74 6f 20 74  | alteration to t|
00000140  68 65 20 62 61 73 69 63  20 75 73 65 20 6f 66 20  |he basic use of |
00000150  74 68 65 20 46 54 50 2c  20 54 45 4c 4e 45 54 20  |the FTP, TELNET |
00000160  61 6e 64 0a 66 69 6e 67  65 72 20 63 6f 6d 6d 61  |and.finger comma|
00000170  6e 64 73 2e 0a 0a 0a 20  20 5c 09 09 54 68 69 73  |nds....  \..This|
00000180  20 63 68 61 72 61 63 74  65 72 20 6d 75 73 74 20  | character must |
00000190  6f 63 63 75 72 65 20 6f  6e 20 69 74 27 73 20 6f  |occure on it's o|
000001a0  77 6e 20 74 6f 20 6d 61  72 6b 20 74 68 65 0a 20  |wn to mark the. |
000001b0  20 09 09 65 6e 64 20 6f  66 20 63 6f 6d 6d 61 6e  | ..end of comman|
000001c0  64 20 73 70 65 63 69 66  69 63 20 70 61 72 61 6d  |d specific param|
000001d0  65 74 65 72 73 20 61 6e  64 20 74 68 65 20 73 74  |eters and the st|
000001e0  61 72 74 20 6f 66 0a 20  20 09 09 74 65 72 6d 69  |art of.  ..termi|
000001f0  6e 61 6c 20 6f 70 74 69  6f 6e 73 2c 20 6f 72 20  |nal options, or |
00000200  74 68 65 20 65 6e 64 20  6f 66 20 74 65 72 6d 69  |the end of termi|
00000210  6e 61 6c 20 6f 70 74 69  6f 6e 73 20 61 6e 64 20  |nal options and |
00000220  74 68 65 0a 20 20 09 09  73 74 61 72 74 20 6f 66  |the.  ..start of|
00000230  20 65 78 70 65 63 74 20  2f 20 73 65 6e 64 20 73  | expect / send s|
00000240  74 72 69 6e 67 73 2e 0a  20 20 09 0a 20 20 21 09  |trings..  ..  !.|
00000250  09 50 72 65 66 69 78 69  6e 67 20 61 6e 79 20 6f  |.Prefixing any o|
00000260  66 20 74 68 65 20 66 6f  6c 6c 6f 77 69 6e 67 20  |f the following |
00000270  6f 70 74 69 6f 6e 73 20  63 61 75 73 65 73 20 74  |options causes t|
00000280  68 65 0a 09 09 72 65 76  65 72 73 65 20 65 66 66  |he...reverse eff|
00000290  65 63 74 2c 20 22 21 45  22 20 64 69 73 61 62 6c  |ect, "!E" disabl|
000002a0  65 73 20 6c 6f 63 61 6c  20 65 63 68 6f 2e 20 49  |es local echo. I|
000002b0  6e 20 74 68 65 20 63 61  73 65 0a 09 09 6f 66 20  |n the case...of |
000002c0  22 21 58 22 20 61 6e 64  20 22 21 59 22 2c 20 74  |"!X" and "!Y", t|
000002d0  68 65 20 69 6e 63 69 64  65 6e 74 61 6c 20 65 66  |he incidental ef|
000002e0  66 65 63 74 20 69 73 20  74 6f 20 72 65 73 74 6f  |fect is to resto|
000002f0  72 65 0a 09 09 64 65 66  61 75 6c 74 20 77 69 64  |re...default wid|
00000300  74 68 20 6f 72 20 68 65  69 67 68 74 2e 0a 0a 20  |th or height... |
00000310  20 42 09 09 4f 70 65 6e  73 20 74 68 65 20 63 6f  | B..Opens the co|
00000320  6d 6d 61 6e 64 73 20 65  64 69 74 20 62 6f 78 20  |mmands edit box |
00000330  61 74 20 74 68 65 20 74  6f 70 2f 62 6f 74 74 6f  |at the top/botto|
00000340  6d 20 6f 66 20 74 68 65  20 77 69 6e 64 6f 77 0a  |m of the window.|
00000350  0a 20 20 42 42 09 09 4f  70 65 6e 73 20 74 68 65  |.  BB..Opens the|
00000360  20 63 6f 6d 6d 61 6e 64  73 20 65 64 69 74 20 62  | commands edit b|
00000370  6f 78 20 61 74 20 74 68  65 20 62 6f 74 74 6f 6d  |ox at the bottom|
00000380  20 6f 66 20 74 68 65 20  77 69 6e 64 6f 77 0a 0a  | of the window..|
00000390  20 20 42 54 09 09 4f 70  65 6e 73 20 74 68 65 20  |  BT..Opens the |
000003a0  63 6f 6d 6d 61 6e 64 73  20 65 64 69 74 20 62 6f  |commands edit bo|
000003b0  78 20 61 74 20 74 68 65  20 74 6f 70 20 6f 66 20  |x at the top of |
000003c0  74 68 65 20 77 69 6e 64  6f 77 0a 0a 20 20 57 20  |the window..  W |
000003d0  20 20 20 20 20 20 20 20  20 20 20 20 43 75 72 73  |            Curs|
000003e0  6f 72 20 77 72 61 70 20  6d 6f 64 65 20 6f 6e 0a  |or wrap mode on.|
000003f0  0a 20 20 52 09 09 43 61  75 73 65 73 20 74 68 65  |.  R..Causes the|
00000400  20 77 69 6e 64 6f 77 20  74 6f 20 62 65 20 72 65  | window to be re|
00000410  61 64 20 6f 6e 6c 79 0a  0a 20 20 45 09 09 45 6e  |ad only..  E..En|
00000420  61 62 6c 65 20 6c 6f 63  61 6c 20 65 63 68 6f 2e  |able local echo.|
00000430  0a 20 20 0a 20 20 4e 09  09 45 6e 61 62 6c 65 20  |.  .  N..Enable |
00000440  6e 65 77 6c 69 6e 65 20  6d 6f 64 65 0a 20 20 0a  |newline mode.  .|
00000450  20 20 46 09 09 43 61 75  73 65 73 20 77 69 6e 64  |  F..Causes wind|
00000460  6f 77 20 74 6f 20 66 6f  6c 6c 6f 77 20 74 68 65  |ow to follow the|
00000470  20 63 75 72 73 6f 72 0a  20 20 0a 20 20 49 09 09  | cursor.  .  I..|
00000480  53 77 69 74 63 68 65 73  20 74 6f 20 49 6e 76 65  |Switches to Inve|
00000490  72 73 65 20 76 69 64 65  6f 0a 20 20 0a 20 20 4c  |rse video.  .  L|
000004a0  09 09 45 6e 61 62 6c 65  73 20 6c 69 6e 65 20 65  |..Enables line e|
000004b0  64 69 74 69 6e 67 20 6d  6f 64 65 2c 20 72 61 74  |diting mode, rat|
000004c0  68 65 72 20 74 68 61 6e  20 72 61 77 20 63 68 61  |her than raw cha|
000004d0  72 61 63 74 65 72 0a 09  09 6d 6f 64 65 2e 0a 20  |racter...mode.. |
000004e0  20 0a 20 20 43 3c 6e 3e  09 09 45 6e 61 62 6c 65  | .  C<n>..Enable|
000004f0  73 20 73 70 6c 69 74 20  73 63 72 65 65 6e 20 63  |s split screen c|
00000500  68 61 74 20 6d 6f 64 65  2c 20 6e 20 69 73 20 74  |hat mode, n is t|
00000510  68 65 20 6c 69 6e 65 20  6e 75 6d 62 65 72 20 6f  |he line number o|
00000520  66 0a 09 09 74 68 65 20  73 70 6c 69 74 20 70 6f  |f...the split po|
00000530  69 6e 74 2e 0a 20 20 0a  20 20 58 3c 6e 3e 09 09  |int..  .  X<n>..|
00000540  53 65 74 73 20 74 68 65  20 74 65 72 6d 69 6e 61  |Sets the termina|
00000550  6c 20 77 69 6e 64 6f 77  20 74 6f 74 61 6c 20 77  |l window total w|
00000560  69 64 74 68 20 69 6e 20  63 68 61 72 61 63 74 65  |idth in characte|
00000570  72 73 0a 20 20 0a 20 20  59 3c 6e 3e 20 20 09 53  |rs.  .  Y<n>  .S|
00000580  65 74 73 20 74 68 65 20  74 65 72 6d 69 6e 61 6c  |ets the terminal|
00000590  20 77 69 6e 64 6f 77 20  74 6f 74 61 6c 20 68 65  | window total he|
000005a0  69 67 68 74 20 69 6e 20  6c 69 6e 65 73 0a 20 20  |ight in lines.  |
000005b0  0a 20 20 58 56 3c 6e 3e  09 09 53 65 74 73 20 74  |.  XV<n>..Sets t|
000005c0  68 65 20 74 65 72 6d 69  6e 61 6c 20 77 69 6e 64  |he terminal wind|
000005d0  6f 77 20 76 69 73 69 62  6c 65 20 77 69 64 74 68  |ow visible width|
000005e0  20 69 6e 20 63 68 61 72  61 63 74 65 72 73 0a 20  | in characters. |
000005f0  20 0a 20 20 59 56 3c 6e  3e 20 20 09 53 65 74 73  | .  YV<n>  .Sets|
00000600  20 74 68 65 20 74 65 72  6d 69 6e 61 6c 20 77 69  | the terminal wi|
00000610  6e 64 6f 77 20 76 69 73  69 62 6c 65 20 68 65 69  |ndow visible hei|
00000620  67 68 74 20 69 6e 20 6c  69 6e 65 73 0a 20 20 0a  |ght in lines.  .|
00000630  20 20 3e 3c 6e 61 6d 65  3e 09 53 74 61 72 74 73  |  ><name>.Starts|
00000640  20 73 70 6f 6f 6c 69 6e  67 20 77 69 74 68 20 65  | spooling with e|
00000650  73 63 61 70 65 20 63 6f  64 65 20 74 6f 20 6e 61  |scape code to na|
00000660  6d 65 64 20 66 69 6c 65  0a 20 20 3e 3e 3c 6e 61  |med file.  >><na|
00000670  6d 65 3e 09 53 74 61 72  74 20 73 70 6f 6f 6c 69  |me>.Start spooli|
00000680  6e 67 20 77 69 74 68 6f  75 74 20 65 73 63 61 70  |ng without escap|
00000690  65 20 63 6f 64 65 73 20  74 6f 20 6e 61 6d 65 64  |e codes to named|
000006a0  20 66 69 6c 65 0a 20 20  0a 20 20 40 3c 6e 61 6d  | file.  .  @<nam|
000006b0  65 3e 09 41 74 74 61 63  68 20 74 68 65 20 6e 61  |e>.Attach the na|
000006c0  6d 65 64 20 6d 61 63 72  6f 20 6d 65 6e 75 20 74  |med macro menu t|
000006d0  6f 20 74 68 65 20 63 6f  6d 6d 61 6e 64 20 62 6f  |o the command bo|
000006e0  78 0a 0a 0a 22 2a 22 20  6d 61 79 20 62 65 20 75  |x..."*" may be u|
000006f0  73 65 64 20 69 6e 20 70  6c 61 63 65 20 6f 66 20  |sed in place of |
00000700  3c 6e 61 6d 65 3e 20 74  6f 20 63 61 75 73 65 20  |<name> to cause |
00000710  73 70 6f 6f 6c 69 6e 67  20 74 6f 20 61 20 75 6e  |spooling to a un|
00000720  69 71 75 65 0a 74 65 6d  70 6f 72 61 72 79 20 66  |ique.temporary f|
00000730  69 6c 65 20 77 68 69 63  68 20 69 73 20 61 75 74  |ile which is aut|
00000740  6f 2d 6c 6f 61 64 65 64  20 69 6e 74 6f 20 61 20  |o-loaded into a |
00000750  74 65 78 74 20 65 64 69  74 6f 72 20 77 68 65 6e  |text editor when|
00000760  20 65 69 74 68 65 72 20  74 68 65 0a 73 70 6f 6f  | either the.spoo|
00000770  6c 20 66 69 6c 65 20 69  73 20 63 6c 6f 73 65 64  |l file is closed|
00000780  2c 20 6f 72 20 74 68 65  20 73 65 73 73 69 6f 6e  |, or the session|
00000790  20 65 6e 64 73 2e 0a 0a  45 61 63 68 20 6f 66 20  | ends...Each of |
000007a0  74 68 65 73 65 20 6f 70  74 69 6f 6e 73 20 6d 75  |these options mu|
000007b0  73 74 20 62 65 20 73 65  70 61 72 61 74 65 64 20  |st be separated |
000007c0  62 79 20 61 20 73 70 61  63 65 2e 20 54 68 65 72  |by a space. Ther|
000007d0  65 20 6d 75 73 74 20 62  65 20 6e 6f 0a 73 70 61  |e must be no.spa|
000007e0  63 65 20 62 65 74 77 65  65 6e 20 61 6e 20 6f 70  |ce between an op|
000007f0  74 69 6f 6e 20 61 6e 64  20 69 74 20 61 73 73 6f  |tion and it asso|
00000800  63 69 61 74 65 64 20 70  61 72 61 6d 65 74 65 72  |ciated parameter|
00000810  2e 0a 0a 41 6c 6c 20 6f  66 20 74 68 65 73 65 20  |...All of these |
00000820  73 77 69 74 63 68 65 73  2c 20 65 78 63 65 70 74  |switches, except|
00000830  20 22 52 22 20 68 61 76  65 20 6d 65 6e 75 20 6f  | "R" have menu o|
00000840  72 20 64 69 61 6c 6f 67  75 65 20 62 6f 78 20 65  |r dialogue box e|
00000850  71 75 69 76 65 6c 65 6e  74 73 2e 0a 0a 65 78 70  |quivelents...exp|
00000860  65 63 74 20 61 6e 64 20  73 65 6e 64 20 73 74 72  |ect and send str|
00000870  69 6e 67 73 20 28 63 61  73 65 20 73 65 6e 73 69  |ings (case sensi|
00000880  74 69 76 65 29 20 66 6f  6c 6c 6f 77 20 74 68 65  |tive) follow the|
00000890  20 73 77 69 74 63 68 65  73 20 77 68 65 72 65 0a  | switches where.|
000008a0  72 65 71 75 69 72 65 64  2e 0a 0a 54 68 65 20 6d  |required...The m|
000008b0  61 69 6e 20 70 75 72 70  6f 73 65 20 6f 66 20 74  |ain purpose of t|
000008c0  68 65 73 65 20 63 6f 6d  6d 61 6e 64 20 65 78 74  |hese command ext|
000008d0  65 6e 73 69 6f 6e 73 20  69 73 20 74 6f 20 61 6c  |ensions is to al|
000008e0  6c 6f 77 20 74 65 72 6d  69 6e 61 6c 0a 73 65 74  |low terminal.set|
000008f0  74 69 6e 67 73 20 74 6f  20 62 65 20 70 72 65 73  |tings to be pres|
00000900  65 74 20 76 69 61 20 75  73 65 72 2d 64 65 66 69  |et via user-defi|
00000910  6e 65 64 20 68 69 65 72  61 72 63 68 69 63 69 61  |ned hierarchicia|
00000920  6c 20 6d 65 6e 75 20 62  61 73 65 64 20 6d 61 63  |l menu based mac|
00000930  72 6f 0a 63 6f 6d 6d 61  6e 64 73 20 74 68 61 74  |ro.commands that|
00000940  20 77 69 6c 6c 20 62 65  20 61 64 64 65 64 20 69  | will be added i|
00000950  6e 20 61 20 6c 61 74 65  72 20 72 65 6c 65 61 73  |n a later releas|
00000960  65 2e 20 54 68 65 73 65  20 6d 65 6e 75 20 77 69  |e. These menu wi|
00000970  6c 6c 20 62 65 0a 61 76  61 69 6c 61 62 6c 65 20  |ll be.available |
00000980  66 72 6f 6d 20 74 68 65  20 6d 65 6e 75 20 62 75  |from the menu bu|
00000990  74 74 6f 6e 20 69 6e 20  74 68 65 20 63 6f 6d 6d  |tton in the comm|
000009a0  61 6e 64 20 65 64 69 74  69 6e 67 20 62 6f 78 2e  |and editing box.|
000009b0  0a 0a 43 75 72 72 65 6e  74 6c 79 20 74 68 65 20  |..Currently the |
000009c0  6f 6e 6c 79 20 6f 70 74  69 6f 6e 20 6f 6e 20 74  |only option on t|
000009d0  68 69 73 20 6d 65 6e 75  20 69 73 20 22 43 6c 65  |his menu is "Cle|
000009e0  61 72 22 20 77 68 69 63  68 20 63 6c 65 61 72 73  |ar" which clears|
000009f0  20 74 68 65 0a 63 6f 6e  74 65 6e 74 73 20 6f 66  | the.contents of|
00000a00  20 74 68 65 20 63 6f 6d  6d 61 6e 64 20 62 6f 78  | the command box|
00000a10  2e 0a 0a 46 6f 72 20 65  78 61 6d 70 6c 65 2c 20  |...For example, |
00000a20  74 6f 20 63 6f 6e 6e 65  63 74 20 74 6f 2c 20 61  |to connect to, a|
00000a30  6e 64 20 6c 6f 67 69 6e  20 74 6f 20 44 65 6d 6f  |nd login to Demo|
00000a40  6e 27 73 20 66 74 70 20  73 65 72 76 65 72 2c 20  |n's ftp server, |
00000a50  77 69 74 68 20 61 20 31  30 30 0a 6c 69 6e 65 20  |with a 100.line |
00000a60  74 65 72 6d 69 6e 61 6c  20 73 63 72 65 65 6e 2c  |terminal screen,|
00000a70  20 73 70 6f 6f 6c 69 6e  67 20 74 6f 20 61 20 74  | spooling to a t|
00000a80  65 6d 70 6f 72 61 72 79  20 66 69 6c 65 20 74 68  |emporary file th|
00000a90  61 74 20 77 69 6c 6c 20  62 65 20 6c 6f 61 64 65  |at will be loade|
00000aa0  64 0a 69 6e 74 6f 20 21  65 64 69 74 20 77 68 65  |d.into !edit whe|
00000ab0  6e 20 74 68 65 20 73 65  73 73 69 6f 6e 20 69 73  |n the session is|
00000ac0  20 63 6c 6f 73 65 64 3a  0a 0a 66 74 70 20 66 74  | closed:..ftp ft|
00000ad0  70 2e 64 65 6d 6f 6e 2e  63 6f 2e 75 6b 20 5c 20  |p.demon.co.uk \ |
00000ae0  59 31 30 30 20 3e 3e 2a  20 5c 20 22 6e 61 6d 65  |Y100 >>* \ "name|
00000af0  3a 20 22 20 22 61 6e 6f  6e 79 6d 6f 75 73 5c 72  |: " "anonymous\r|
00000b00  5c 6e 22 20 22 77 6f 72  64 3a 22 20 22 61 64 61  |\n" "word:" "ada|
00000b10  6d 40 5c 72 5c 6e 22 0a  0a 20 53 74 61 72 74 20  |m@\r\n".. Start |
00000b20  6f 66 20 6f 70 74 69 6f  6e 73 20 2d 2d 5e 20 20  |of options --^  |
00000b30  20 20 20 20 20 20 20 20  5e 2d 2d 20 53 74 61 72  |        ^-- Star|
00000b40  74 20 6f 66 20 65 78 70  65 63 74 20 61 6e 64 20  |t of expect and |
00000b50  73 65 6e 64 20 73 74 72  69 6e 67 73 2e 0a 0a 54  |send strings...T|
00000b60  68 65 20 22 5c 72 5c 6e  22 20 61 72 65 20 6e 65  |he "\r\n" are ne|
00000b70  65 64 65 64 20 61 73 20  65 6f 6c 20 63 68 61 72  |eded as eol char|
00000b80  61 63 74 65 72 73 20 61  72 65 20 4e 4f 54 20 61  |acters are NOT a|
00000b90  75 74 6f 20 61 70 70 65  6e 64 65 64 20 74 6f 20  |uto appended to |
00000ba0  73 65 6e 64 0a 73 74 72  69 6e 67 73 2c 20 61 6c  |send.strings, al|
00000bb0  6c 6f 77 69 6e 67 20 73  65 6e 64 20 73 74 72 69  |lowing send stri|
00000bc0  6e 67 73 20 74 6f 20 62  65 20 65 66 66 65 63 74  |ngs to be effect|
00000bd0  69 76 65 6c 79 20 73 69  6e 67 6c 65 20 6b 65 79  |ively single key|
00000be0  20 70 72 65 73 73 65 73  2e 0a 0a 43 75 72 72 65  | presses...Curre|
00000bf0  6e 74 6c 79 20 65 78 70  65 63 74 20 73 74 72 69  |ntly expect stri|
00000c00  6e 67 73 20 6d 61 79 20  62 65 20 75 70 74 6f 20  |ngs may be upto |
00000c10  31 36 20 63 68 61 72 61  63 74 65 72 73 2e 20 49  |16 characters. I|
00000c20  66 20 61 6e 79 6f 6e 65  20 66 65 65 6c 73 20 74  |f anyone feels t|
00000c30  68 69 73 0a 74 6f 20 62  65 20 69 6e 73 75 66 66  |his.to be insuff|
00000c40  69 63 69 65 6e 74 2c 20  49 20 63 61 6e 20 65 61  |icient, I can ea|
00000c50  73 69 6c 79 20 65 78 74  65 6e 64 20 69 74 2e 0a  |sily extend it..|
00000c60  0a                                                |.|
00000c61