X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=html%2Fconnect.html;h=902af164c73dfd518065a624c1f1d12341768e0d;hb=refs%2Ftags%2FR_1_21;hp=cb349e6ccefaabd04e77b04fe2b50a823d34f1c7;hpb=69c8aeb338cc485103e289fbab7ec4e7e056ed20;p=spider.git
diff --git a/html/connect.html b/html/connect.html
index cb349e6c..902af164 100644
--- a/html/connect.html
+++ b/html/connect.html
@@ -19,7 +19,7 @@
-Last modified: Thu Dec 17 00:06:40 GMT 1998
+Last modified: Sun Dec 20 17:04:05 GMT 1998
At the moment, anybody can connect inwards at any time from outside, either by ax25 or by
telnet (assuming you have followed the instructions in installation
@@ -90,31 +90,59 @@ Last modified: Thu Dec 17 00:06:40 GMT 1998
etc
-
The connect scripts consist of lines which start with the following keywords or symbols:-
+
The connect scripts consist of lines which start with the
+ following keywords or symbols:-
+
- - # All lines starting with a # are ignored, as are wholly blank lines.
-
- timeout followed by a number is the number of seconds to wait for a command
- to complete. If there is no timeout specified in the script then the default is 60 seconds.
-
- abort is a regular expression containing one or more strings to look for to abort a
- connection. This is a perl regular expression and is executed ignoring case.
-
- connect followed by ax25 or telnet and some type dependent information. In
- the case of a telnet connection, there can be up to two parameters, 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).
-
In the case of an ax25 session then this would normally be a call to ax25_call
- or 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!
-
- ' or " are the delimiting characters for a chat type script. They normally
- come in pairs, either can be empty. Each line reads input from the connection until it sees the string
- (or perl regular expression) contained in the left hand string. If the left hand string is empty then
- it doesn't read or wait for anything. The comparison is done ignoring case.
-
When the left hand string has found what it is looking (if it is) then the right hand string is
- sent to the connection.
+
+
- # All lines starting with a # are
+ ignored, as are wholly blank lines.
+
+
- timeout followed by a number is the number of
+ seconds to wait for a command to complete. If there is no
+ timeout specified in the script then the default is 60
+ seconds.
+
+
- abort is a regular expression containing one or
+ more strings to look for to abort a connection. This is a perl
+ regular expression and is executed ignoring case.
+
+
- connect followed by ax25 or telnet
+ and some type dependent information. In the case of a
+ telnet connection, there can be up to two parameters,
+ 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).
+
+
In the case of an ax25 session then this would
+ normally be a call to ax25_call or
+ 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!
+
+
- ' is the delimiting character for a word or
+ phrase of an expect/send line in a chat type
+ script. The words/phrases normally come in pairs, either can
+ be empty. Each line reads input from the connection until it
+ sees the string (or perl regular expression) contained in the
+ left hand string. If the left hand string is empty then it
+ doesn't read or wait for anything. The comparison is done
+ ignoring case.
+
+
When the left hand string has found what it is looking (if
+ it is) then the right hand string is sent to the connection.
+
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 manually. You only need this if the script has a different name to
- the callsign you are trying to connect to (i.e. you have a script called other which actually
- connects to GB7DJK-1 [instead of a script called gb7djk-1]).
+
+
- client starts the connection, put the arguments
+ you would want here if you were starting the client program
+ manually. You only need this if the script has a different
+ name to the callsign you are trying to connect to (i.e. you
+ have a script called other which actually connects to
+ GB7DJK-1 [instead of a script called
+ gb7djk-1]).
+