From 061bdbae513ff9052a4e3031c3dd58c80d88f21a Mon Sep 17 00:00:00 2001 From: minima Date: Sun, 2 Sep 2001 21:28:34 +0000 Subject: [PATCH] try to make the expect / send explanation even better --- html/connect.html | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/html/connect.html b/html/connect.html index 1d7c154e..4a4eaa3c 100644 --- a/html/connect.html +++ b/html/connect.html @@ -213,17 +213,16 @@ Last modified: Sun Sep 2 22:02:36 BST 2001 the first is the ip address or hostname of the computer you wish to connect to and the second is the port number you want to use (this can be left out if it is a normal telnet - session). + session).

In the case of an ax25 session then this would normally be a call to /usr/sbin/ax25_call or /usr/sbin/netrom_call as in the example above. It is your responsibility to get your node and other ax25 parameters to - work before going down this route! + work before going down this route!

For agw connections you will need a port number (starting - from 1) and the callsign of the first "hop" along the way. -

+ from 1) and the callsign of the first "hop" along the way.

  • ' is the delimiting character for a word or phrase of an expect/When the left hand string has found what it is expecting (if + it is) then the right hand string is sent to the connection.

    -

    When the left hand string has found what it is expecting (if - it is) then the right hand string is sent to the connection. +

    If the left hand + string is empty then it doesn't read or wait for anything, it + simply sends whatever is on the right hand side.

    -

    If the right hand string is empty ('') then nothing is sent, the +

    All comparisons are done ignoring case.

    + +

    If the right hand string is empty ('') then nothing is sent, the script simply moves onto the next line.

    -

    This process is repeated for every line of chat script. -

    +

    This process is repeated for every line of chat script.

  • client starts the connection, put the arguments you would want here if you were starting the client program -- 2.43.0