home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
infomt16.zip
/
infomtch.doc
< prev
next >
Wrap
Text File
|
1995-09-24
|
10KB
|
213 lines
Infomatch Internet OS/2 Warp SLIP Connect Script
Written by Graham TerMarsch (gtermars@infomatch.com)
Version 1.6: September 24, 1995
----------------------------------------------------
This is the documentation file for the Infomatch Internet OS/2 Warp SLIP
Connection Script (hereafter referred to as, "the script"). Please refer to
the README file for more information regarding distribution and restrictions
of usage for this script and the accompanying files. Portions of this script
are written by Harold Roussel (roussel@physics.mcgill.ca).
In this file you'll find information on how to get the script up and running
for yourself with the OS/2 Warp IAK. If you have problems getting this script
to run, please feel free to contact me; send e-mail to gtermars@infomatch.com
containing a subject line of "Infomatch connect script".
Please note that the script is a customization (ok, SERIOUS customization) of
the ANNEX.CMD script that is distributed with the OS/2 Warp IAK. Portions of
the script have been written by Harold Roussel (roussel@physics.mcgill.ca).
-------------------------------------------------------------------------------
Features:
- Redial capability
- Audible notification of successful connection or failure to connect to host
- Ability to start other applications upon successful connection
- Command line arguments to turn on/off features as well as set username,
password, etc.
NOTE: To properly use the redial capability of this script, you must have
updated your SLIP dialer to a recent version. Use your 'Retrieve
Software Updates' icon in the IAK folder to update your version if
you are unsure of it's level.
-------------------------------------------------------------------------------
DISCLAIMER:
You were waiting for this, weren't you? Well, it's a standard disclaimer; I've
managed to get this working on my machine and have thus provided it to others.
By use of this script you acknowledge that I am not responsible for any damages
that may be incurred through it's use, either directly or indirectly. Yes, I
am available to answer your questions if you have a problem, but I take no
responsibility for your actions. You downloaded it, and if you use it you take
full responsibility into your own hands. If you do not agree with this then
simply discontinue use of this script.
-------------------------------------------------------------------------------
COMMAND LINE ARGUMENTS:
There are several command line arguments that can be used to help customize the
script for your own usage. Arguments are not case sensitive.
-ATTEMPTS xx
Sets the maximum number of attempts that will be used for dialing to
'xx'. A value of 0 signifies that the script should continue to dial
until a connection is made. The default value is zero.
-NAME xxx
Sets the username to log into Infomatch Internet with to 'xxx'. If no
username is given, the script will ask for one before dialing.
-PASSWORD xxx
Sets the password to log into Infomatch Internet with to 'xxx'. If no
password is given, the script will ask for one before dialing.
-BEEP xxx
Sets whether or not the script should beep when either a successful
connection has been made or the script has failed to connect. Valid
values are 'ON' and 'OFF'. The default value is 'ON'.
-AUTOSTART xxx
Sets whether or not the script should automatically start a REXX script
file called LOGGEDIN.CMD which is assumed to be somewhere on your path.
Valid values are 'ON' and 'OFF'. The default value is 'ON'.
-ADDRESS xxx.xxx.xxx.xxx
Sets your IP address. This is the address that Infomatch Internet has
given to your for your connections. Enter the address in dotted
decimal notation (ie. 199.60.99.1). If no address is given, the script
will ask for one before dialing.
-------------------------------------------------------------------------------
HOW TO SETUP YOUR DIALER WITH THIS SCRIPT:
Following, find the necessary options that need to be set in the Dial Other
Internet Provider application in order to get the best usage out of this
script. Have your IP address and username handy. If you find that there are
entries in your entry that do not appear here it is because they do not affect
the usage of this script (however, they should still be set as needed).
Login Info:
Login ID: (leave blank)
Password: (leave blank)
Required: (uncheck this checkbox)
Phone Number: (leave blank)
Login Sequence: infomtch.cmd [arguments]
Example: infomtch.cmd -address 199.60.99.13 -name slip123
-password xxx -beep on -autostart off -attempts 0
This sets up the script to log you in as user 'slip123' with password
'xxx', audible notification on, infinite dialing attempts, and an IP
address of 199.60.99.13 for your computer.
Connection Type: SLIP
Connect Info:
MTU Size: 1500
VJ Compression: Enabled
Domain Nameserver: 199.60.99.1
Your Domain Name: infomatch.com
Server Info:
News server: news.infomatch.com
WWW server: www.infomatch.com
POP mail server: pop3.infomatch.com
Reply domain: infomatch.com
Reply ID: (your username)
POP login ID: (your username)
POP password: (your password)
Modem Info:
Set up this page as is necessary for your particular modem. If you find that
there are several items that are unavailable for you to enter data into,
don't worry.
-------------------------------------------------------------------------------
HOW TO USE THE AUTOSTART FEATURE:
Upon successful connection, the script will attempt to start a REXX script file
called LOGGEDIN.CMD. This script file should contain the commands required to
start any applications that you wish to have running upon each and every login.
It is assumed that the LOGGEDIN.CMD file is somewhere on your path. I've
placed mine in the \TCPIP\BIN directory.
Note that the LOGGEDIN.CMD file must contain all of the commands needed to set
up the application into it's working directory and start the application; some
applications need to be in a specified working directory when they are started.
When starting your applications, it is preferable to use the 'DETACH' command
instead of the 'START' command; START causes an entire command shell to be
started while DETACH only starts the requested application. The last line of
your LOGGEDIN.CMD script file MUST be 'EXIT'; otherwise you will have one
extra open command line shell.
Sample LOGGEDIN.CMD file:
REM **********************************************************************
REM *** Mail reader. PMMail requires that you be in the working directory
REM *** when the application is started.
REM **********************************************************************
D:
CD \PMMail
DETACH PMMail.Exe
REM **********************************************************************
REM *** Finished, exit this command shell.
REM **********************************************************************
EXIT
-------------------------------------------------------------------------------
REVISION HISTORY:
1.6, September 24, 1995
Script no longer needs a patched dialer program; this script will now
work properly using any version of the SLIPPM dialer program. As a
result, the SLIPPTCH patching program is no longer included in this
archive. As well, output shown in the dialer's status window is
different than in previous versions; I decided to only output relevant
information instead of the entire login sequence.
1.5, September 17, 1995
Added the ability to turn on/off any of the features as well as
customize the behaviour of the script. This has significant changes
regarding the command line arguments.
1.4, September 7, 1995
Added functionality to automatically start a REXX script file called
LOGGEDIN.CMD upon a successful connection. This script file must be
somewhere upon your path.
1.3, August 10, 1995
Altered the behaviour so that the dialing is no longer heard, and
added an audible notification to the user for both a successful
connection as well as failure to connect.
1.2, July 26, 1995
Internal code alteration. Modified to make easier to read as well as
changed the way that the redialing is handled.
1.1, July 14, 1995
Added Harold Roussel's waitfor2 and waitfor3 routines to make the
script more robust regarding busy signals and bad connections
1.0, ???
Initial release. Featured redial capability.
-------------------------------------------------------------------------------
CONTACTING THE AUTHOR:
I can be reached by e-mail at gtermars@infomatch.com. If you do not have
e-mail access, I can be reached by snail mail at:
Graham TerMarsch
#701-1555 Harwood St.
Vancouver, B.C.
Canada V6G 1X8
Note that I have no connection with Infomatch Internet other than that I am a
user of their service. I am not employed by Infomatch Internet, and receive no
payment for this script. However, if you do find this script useful, any $$$
or spare computer parts that you can send along would be greatly appreciated.
:-)