Home » Archimedes archive » Acorn User » AU 1995-07.adf » !Internet_StarterPak » Docs/FAQs/ScriptHelp

Docs/FAQs/ScriptHelp

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-07.adf » !Internet_StarterPak
Filename: Docs/FAQs/ScriptHelp
Read OK:
File size: 521D bytes
Load address: 0000
Exec address: 0000
File contents
ScriptHelp
==========

This help file applies to R.Orwin/A.P. Fitch slipdial script.
Script file Revision 950218

Contents
--------

1.0 Introduction

2.0 Using the script

3.0 Script Requirements
 3.1 Modem Driver
 3.2 Setting up your modem to transmit status messages
 3.3 Making sure that TTFN etc have been "seen".

4.0 Customizing the script
 4.1 To change the default dialler to Mercury.
  4.1.1 To remove your Mercury PIN from a local number.
 4.2 To Alter the Dialler Menu.
 4.3 To Alter the List of Numbers
 4.4 To Alter the Number of Retries.
 4.5 To Add a New Telephone Number.
 4.6 To Change the Local Dialler Icon Number. 
 
5.0 Some Frequently Asked Questions.
 
6.0 Conclusions and Acknowledgements. 
 
1.0 Introduction
================

This script was originally written by Rob Orwin.  I initially modified 
to make it more readable, and also to learn the script language
myself. Recently it has been customised to work with TTFN/Newsbase,
and included in Dr. Alan Hassey's Internet Starter Pack for Acorn 
Computers.

This version of the script incorporates an extra icon bar icon which
can attached to your normal (local) number.  

2.0 Using the script
====================

The script is placed in the !SlipDial.scripts directory.  You can either
load it by dragging it and dropping it on the SlipDial icon bar icon, or
you can set SlipDial up to run the script automatically.  You should read the
SlipDial documentation file !SlipDial.!Help to understand this.

For the default setup with the starter pack, the scriptfile should be named

demon

When the script is run for the first time, it asks for setup information
and stores it in a configuration file.

There are a number of requirements for getting the script to work in
the best way.  In particular, you need to

1) make sure you are using the correct modem driver file
2) set up your modem to return certain messages
3) make sure that TTFN, NewsBase, and TCPIP have been "seen" by the filer

There are also a number of ways you can customise the script.  The
simplest ones are 

1)  to change the default dialler to Mercury
2)  to alter the entries that appear on the menu for dialling
3)  to alter the default entries when dialling a list of phone numbers
4)  to alter the number of times SlipDial retries each number if the
line is busy 
5)  to change the local number 

Slightly more complicated is...

6)  to add a new telephone number

Note that to make changes to the script, you simply have to edit it in 
a normal text editor, e.g. Edit.

With !SlipDial, there is a file called !SlipDial.scripts.DemonSpr,
which  contains sprite definitions.  You must make sure you have the
most up-to-date version of these sprites. If the file contains three
sprites, you are ok - if it only contains 2, you should update it to
the latest one by download it from demon ftp.

3.0 Script Requirements
=======================

3.1 Modem Driver
----------------

The modem drivers are stored in the directory !SlipDial.Drivers. 
There are examples for US Robotics and Hayes modems.  To select the
driver,  look in the script file for the string "driver".  You should
find part of the script like this

#-----------------------------------------------------------
# Subroutine: setserial
# Set Serial Port/Driver Parameters
#-----------------------------------------------------------
:setserial
driver USR
port %wport %prtnum
speed %speed
set protocol slip
return 1
        
To use the Hayes driver, change the line 

driver USR

to 

driver Hayes

3.2 Setting up your modem to transmit status messages
-----------------------------------------------------

If you run the script, and it appears to hangup after the call has got
through but before TCPIP has started; or it doesn't recognise that the
line is busy; then you need to make sure that the modem is returning
messages indicating its (the modem's) status.  These messages are text
strings, and their meaning is defined in the  driver file.  For
instance, with the US Robotics Sportster modem, you need to send the
setup string "X4" to enable all messages.

This means that when the modem detects the line is busy, it will
return the string "BUSY".  You can tell the script to expect the
string "BUSY" to indicate engaged by putting it in the modem driver
file and assigning it to the script variable $busy. When dialling the
modem looks for the string to see if it is equal to the contents of
$busy and uses this to detect engaged lines.

The various possible strings, and their setups for a USR modem are
shown in the example driver file below

set $init "ATB0&M4&H1&R2&I0&K3 AT&B1&N0&S0&Y1&D2&C1 ATV1Q0X4&A2E1F1M1"
set $busy "BUSY"
set $conn "CONNECT"
set $nocarr "NO CARRIER"
set $nodial "NO DIAL TONE"

The $init string is sent to the modem to set it up.  You will notice that
the example above has X4 enabled.     

If you have a modem which returns different strings, you would have to 
create your own modem driver.  For instance, if your modem returned
"ENGAGED", you would have to modify the driver file to contain

set $busy "ENGAGED"

3.3 Making sure that TTFN etc have been "seen".
-----------------------------------------------

The script runs TTFN, Newsbase, and TCPIP automatically.  To do this,
it needs to know where they are.  It can find them if you have opened
a filer window with these programmes visible.  The  simplest way to
ensure that they have been seen is to put all the internet related
programmes in one directory.  Then when you open the directory in
order to double-click SlipDial, you  know that all the other
programmes have been seen.

4.0 Customizing the Script
==========================
                                 
4.1 To change the default dialler to mercury.
---------------------------------------------

Edit the script, and search for the subroutine call

call mercury_off

(it's quite near the top of the script).

Change the line to read

call mercury_on

4.1.1 To remove your Mercury PIN from a local number.
-----------------------------------------------------

If you have a Mercury PIN which is only required for long distance
calls, you will have to remove the PIN from your local number.  By
default the script is set up to use the Isle of Wight as the local
number.
 
To change this, you must modify the makeNumbers subroutine.  The steps
are as follows

a) search for the string :makeNumbers to find the subroutine
b) look through the subroutine for your local number
c) delete the string
   
       %mercury_pin\

   from the front of the number
d) put the above string in front of the old local number (which would
have  been the Isle of Wight in the default case).

As an example - to change your local number from Isle of Wight to
Edinburgh :-


Original (default Isle of Wight) makeNumbers subroutine...

#-----------------------------------------------------------
# Subroutine: makeNumbers
# Make a set of variables to hold the phone numbers.
# By default, this is set up for Mercury users near the Isle
# of Wight. You should of course edit this if you are local
# to somewhere else.
#-----------------------------------------------------------
:makeNumbers
set Birmingham %mercury_pin\01212754848
set Bradford   %mercury_pin\01274755066
set Bristol    %mercury_pin\01179814848
set Cambridge  %mercury_pin\01223576010
set Cardiff    %mercury_pin\01222274848
set Coventry   %mercury_pin\01203284848
set Edinburgh  %mercury_pin\01315528883
set Gloucester %mercury_pin\01452354848
set Hull       %mercury_pin\01482495580
# local number - don't prefix with mercury_pin
set IsleOfWight 01983523306
set Leeds      %mercury_pin\01132984848
set Leicester  %mercury_pin\01162904848
set Liverpool  %mercury_pin\01512104848
set London     %mercury_pin\01813384848
set Luton      %mercury_pin\01582644848
set Manchester %mercury_pin\01613854848
set Newcastle  %mercury_pin\01912474848
set Nottingham %mercury_pin\01159544848
set Preston    %mercury_pin\01772484848
set Reading    %mercury_pin\01734284848
set Saffron    %mercury_pin\01799506010
set Sheffield  %mercury_pin\01142384848
set Sunderland %mercury_pin\01915225005
set Wolverhampton %mercury_pin\01902464848       

Modified (Edinburgh) makeNumbers subroutine...


# local number - don't prefix with mercury_pin
set Edinburgh 01315528883
set Gloucester %mercury_pin\01452354848
set Hull       %mercury_pin\01482495580
set IsleOfWight %mercury_pin\01983523306


4.2 To Alter the Dialler Menu.
------------------------------

The dialler menu has a selection of 'phone numbers from the available
numbers at the time the script was written.  Unfortunately, this leads
to a very long menu!  Also, your particular number may not be on
there, so you may want to modify the menu by searching for the
subroutine

:makemenus

The default subroutine looks like this

#-----------------------------------------------------------
# Subroutine: makemenus
# Defines the menus for dialling etc.  Note menus must be
# less than 255 characters, hence the squashed names.  Also
# this menu does not contain all possible Pops, again due
# to length restrictions.
#-----------------------------------------------------------
:makemenus
menu "Bir:call Bi" "Bri:call Bri" "Car:call Car" "Edin:call Ed" "IoW:call Iw" "Leed:call Le" "Liv:call Liv" "Lond:call Lon" "Lut:call Lu" "Man:call Ma" "New:call Ne" "Not:call No" "Read:call Re" "Shef:call Sh" "Wol:call Wo" "List:call Lis"
menu /icon="Mercury" "Mercury On:call mercury_on" "Mercury Off:call mercury_off"
menu /icon="Local"   "Local call:call Iw" 
return 1

If you wanted to use only Sheffield, Leeds, London, and the list of 
numbers, you could change it to 

:makemenus
menu "Sheffield:call Sh" "London:call lo" "Leeds:call Le" "Shef:call Sh" "List:call Lis"
menu /icon="Mercury" "Mercury On:call mercury_on" "Mercury Off:call mercury_off"
menu /icon="Local"   "Local call:call Sh" 
return 1
                          
Note that the total menu string for any one menu must be less than 255
characters.  Because you have shortened the total menu length, it is
possible to use longer menu entry names (i.e. "Sheffield" instead of
"Shef").

But you must not alter the subroutine names (e.g. don't change
"Shef:call Sh" to "Shef:call Sheffield", because there isn't a
subroutine named Sheffield, only one called Sh).

Note also in the example above, the Local icon bar icon has been
altered to setup Sheffield as the local number (see below).

4.3 To Alter the List of Numbers
--------------------------------

The script has a dialler menu option "List" which dials a sequence
of phone numbers.  For instance, if you normally dial Reading, but
after a number of tries want to try London instead, you can edit
the List menu definition.

To change the List, look for the subroutine makeNumbers.  This is
quite close to the bottom of the file.

The default setup is 

#
#Edit the following line to customise the list of numbers which
# slipdial dials in sequence.  Note that the list is made up
# names defined above, preceded by a '%'.  Note that the spaces
# between the names in the List must be included.
#
# Example - to call hull, bradford, saffron walden in that order
# you would use
#
# set List "%Hull %Bradford %Saffron"
#
# Note that the number of retries made at each number is
# set in the subroutine :Lis
#
set List "%IsleOfWight %London %Reading"
return

Suppose that you want to dial Sheffield first, Leeds second, and
London third.  Then you would modify the second from last line
from

set List "%IsleOfWight %London %Reading"

to

set List "%Sheffield %Leeds %London"

You must include the "%", and also the spaces.


4.4 To Alter the Number of Retries.
-----------------------------------

For each phone number, there is a subroutine.  For instance, for
Bradford, there is a subroutine called Br.  To find this, search
for the string ":Br".

The subroutine looks like this

#-----------------------------------------------------------
# Subroutine: Br
# calls Bradford demon phone number
#-----------------------------------------------------------
:Br
set nRetries 50
set phonenum %Bradford
goto dodial

If you want to alter the number of retries (i.e. how many times 
SlipDial will attempt to dial a number and finding it is engaged
before giving up), change the line

set nRetries 50

For instance, suppose you want to retry 100 times.  Change this line
to 

set nRetries 100

Note: there is a separate number of retries for each phone number in 
the script, and also for the "List" list of numbers.  To change
the number of retries for the List, search for ":Lis".

Note that in the case of the list, the number of retries defined will
be the same for each number in the list.  So if you dial Sheffield, 
Leeds, and London in the list, and set nRetries to 5 in the :Lis
subroutine, SlipDial will

a) dial Sheffield 5 times maximum
b) if Sheffield was engaged, dial Leeds 5 times maximum
c) if Leeds was engaged, dial London 5 times maximum.
d) give up in disgust

The default setup is that all menu items are tried up to 50 times,
except for the list where each number is tried 5 times.  The idea
behind this is that you would only use the List if you were trying
to get through quickly.


4.5 To Add a New Telephone Number
---------------------------------

This is the most tricky one, as you would have to edit the script.  If
you are doing this, you could either

a) copy exactly how one of the other numbers is set up, just change
the number and the subroutine names

b) contact me
       alan@cycle.demon.co.uk
       
and ask me to update the script.   

If you want to do it yourself, remember

1) don't exceed 255 characters in the menu definitions
2) don't use a variable or subroutine name that's already in use
3) remember that the subroutine names are case-sensitive
   
For instance, if Demon opened a line at Lowestoft, you can't use

:Lo 

for the subroutine name, as it has already been used for London.

4) Don't forget to add the new phonenumber to the 

    makeNumbers 
    
subroutine.

4.6 To Change the Local Dialler Icon Number.
--------------------------------------------

This version of the script allow your favourite number to be attached
to an icon on the icon bar. This allows you to dial that number
without having to use the menu item.  However to be useful you must

a) make sure you have the correct version of the file
!SlipDial.scripts.DemonSpr

b) edit the makeMenus subroutine so that clicking on the icon calls
your number, and not the default (which is the Isle of Wight)

c) edit the initMain subroutine to make sure clicking on the icon 
dials the number you want.

For a), you should be ok if you download the up-to-date version of the
script file, as contained in the Acorn Starter-Pack.  If you have a
demonspr file with only two sprites in it, you have got the wrong
version - you can overcome this temporarily by creating a dummy sprite
in the DemonSpr file called loc (short for local).

For b) you need to find the makeMenus subroutine - search for
:makeMenus.  It looks like this by default 

:makemenus
menu "Bir:call Bi" "Bri:call Bri" "Car:call Car" "Edin:call Ed" "IoW:call Iw" "Leed:call Le" "Liv:call Liv" "Lond:call Lon" "Lut:call Lu" "Man:call Ma" "New:call Ne" "Not:call No" "Read:call Re" "Shef:call Sh" "Wol:call Wo" "List:call Lis"
menu /icon="Mercury" "Mercury On:call mercury_on" "Mercury Off:call mercury_off"
menu /icon="Local"   "Local call:call Iw" 
return 1

This sets up three menus.  The last one is attached to the local icon
on the icon bar.  To make Edinburgh your local number, change the line

menu /icon="Local"   "Local call:call Iw" 

to 

menu /icon="Local"   "Local call:call Ed" 

For c), the action on clicking the icon, search for :initMain.  Then
change the line

icon /id="Local" /action="call Iw" loc

to 

icon /id="Local" /action="call Ed" loc

again using Edinburgh as the example.

5.0 Some Frequently Asked Questions
===================================
 
1) When I log on, SlipDial appears to miss the "l" off "login" - is
this a bug?

No - it is recommended by Demon that during login, diallers should
wait for the strings  "ogin:", "otocol:" etc.  See the section "The
Login Sequence" in the file 

         ftp.demon.co.uk:/pub/doc/Demon.txt
         
2) When I start up SlipDial it exits immediately with an error.  What
can I do?

Firstly, this is most likely to be due to the DemonSpr file.  You need
the latest version of this which contains three sprites.  See below
(how to get DemonSpr when !SlipDial isn't working).

However it might be some other problem. The best way of finding out is
to enable the script log.  To do this, edit the script file, and
search for the line

#trace "SlipDial:logoutput"

and change it to 

trace "SlipDial:logoutput"

i.e. delete the #.  This will cause SlipDial to write debugging
information to the file !SlipDial.Scripts.logoutput

You can use the information obtained to try and find out what is going
on.

3) SlipDial starts up, dials, my modem gets through, but then the
call finishes immediately?  

The SlipDial script is set up to watch the DCD (data carrier detect)
line from your modem. If this line remains low, SlipDial will think
the call has finished straight away.  You should check

a) your modem setup
b) your cable
c) your serial interface driver

Be especially careful to match lead and serial driver. The lead can be
either Archimedes wiring or PC wiring - they are not compatible!  Also
the BlockDriver must be set to match the interface port and the cable
wiring.  The BlockDriver loaded by the SlipDial script is defined in
the file !SlipDial.Scripts.demonconfg, which is initialised the first
time your run the script.  Here are some examples

You have a PC wired cable, with an internal port - first two lines of
demonconfg are

InternalPC
0

You have an Arc cable, with an internal port - should lead to 

Internal
0

You have a Serial port Dual interface card, you have connected the
cable to port 1, you have a PC wired lead - should lead to 

SP_DualPC
1

4) I've updated the script, and now it doesn't work because I haven't
got the latest DemonSpr file - how can I log on if the script doesn't
work?

Good question. The simplest answer is to use Paint to create an extra
sprite in the DemonSpr file.  For instance, copy one of the existing
sprites (such as hgon) and rename the copy to loc.  It might be a good
idea to change its colour so that you don't mix it up with hgon.  Then
log on to demon, and download the latest version of DemonSpr.

You can of course create your own sprite, representative of local
traditions and/or landmarks.

5) Last time I logged into Demon I changed my password, and now
SlipDial doesn't work - what should I do?

You have to edit the file !SlipDial.scripts.demonconfg.  The last line
of this should be changed to your new password (which is case sensitive
I believe).

6) I've modified the script, and nothing seems to have changed.

You must make sure the new script has been loaded in.  Quit SlipDial
and  load it again to ensure this.

7) The script never calculates the newsrate - why?

The SlipDial script computes the newsrate by looking at the timestamp
on the downloaded news batch.  If you run Newsbase while you are on
line (for instance so that you can edit and send new mail while logged
in), Newsbase will remove the batch of news before the script can get
at it to measure the timestamp. Hence SlipDial is not able to compute
the newsrate.  

The only way round this is not to have Newsbase running at the same
time as you are on line. 

8) The news rate reported by Newsbase when debatching is not the same
as SlipDial - why?

The newsrate reported by SlipDial is computed by looking at
timestamps, and is an estimate of the speed of downloading news.

The debatching rate measured by Newsbase is simply a measure of the
speed of Newsbase - it has no relation at all to the speed of
downloading.

9) Even though I get good download rates for ftp, and everyone says
Demon is running fast, I can't get good rates from newsrate - why?

The newsrate computed by SlipDial is simply a measure of the
timestamps on the two files DemNG and DemNews.  If you are downloading
other information (for instance mail, or an ftp session), the average
newsrate will be low even if everything is operating at maximum speed,
simply because the available line capacity is being shared by ftp,
mail, and news.

To get a true measure of newsrate, you must have nothing else running
at the same time.

With a 14400 baud modem with mnp5/v42bis you should get 2500cps on a
good day.

6.0 Conclusion and Acknowledgements.
====================================

I hope this helps if you want to modify the script.

I should like to acknowledge Robert Orwin for writing the original
script, and of course thank Graham Allen for writing SlipDial in  the
first place.  Also thanks to Mike James for improving the support for
Mercury numbers. and introducing the Local icon.

Alan Fitch  18th February 1995
alan@cycle.demon.co.uk


00000000  53 63 72 69 70 74 48 65  6c 70 0a 3d 3d 3d 3d 3d  |ScriptHelp.=====|
00000010  3d 3d 3d 3d 3d 0a 0a 54  68 69 73 20 68 65 6c 70  |=====..This help|
00000020  20 66 69 6c 65 20 61 70  70 6c 69 65 73 20 74 6f  | file applies to|
00000030  20 52 2e 4f 72 77 69 6e  2f 41 2e 50 2e 20 46 69  | R.Orwin/A.P. Fi|
00000040  74 63 68 20 73 6c 69 70  64 69 61 6c 20 73 63 72  |tch slipdial scr|
00000050  69 70 74 2e 0a 53 63 72  69 70 74 20 66 69 6c 65  |ipt..Script file|
00000060  20 52 65 76 69 73 69 6f  6e 20 39 35 30 32 31 38  | Revision 950218|
00000070  0a 0a 43 6f 6e 74 65 6e  74 73 0a 2d 2d 2d 2d 2d  |..Contents.-----|
00000080  2d 2d 2d 0a 0a 31 2e 30  20 49 6e 74 72 6f 64 75  |---..1.0 Introdu|
00000090  63 74 69 6f 6e 0a 0a 32  2e 30 20 55 73 69 6e 67  |ction..2.0 Using|
000000a0  20 74 68 65 20 73 63 72  69 70 74 0a 0a 33 2e 30  | the script..3.0|
000000b0  20 53 63 72 69 70 74 20  52 65 71 75 69 72 65 6d  | Script Requirem|
000000c0  65 6e 74 73 0a 20 33 2e  31 20 4d 6f 64 65 6d 20  |ents. 3.1 Modem |
000000d0  44 72 69 76 65 72 0a 20  33 2e 32 20 53 65 74 74  |Driver. 3.2 Sett|
000000e0  69 6e 67 20 75 70 20 79  6f 75 72 20 6d 6f 64 65  |ing up your mode|
000000f0  6d 20 74 6f 20 74 72 61  6e 73 6d 69 74 20 73 74  |m to transmit st|
00000100  61 74 75 73 20 6d 65 73  73 61 67 65 73 0a 20 33  |atus messages. 3|
00000110  2e 33 20 4d 61 6b 69 6e  67 20 73 75 72 65 20 74  |.3 Making sure t|
00000120  68 61 74 20 54 54 46 4e  20 65 74 63 20 68 61 76  |hat TTFN etc hav|
00000130  65 20 62 65 65 6e 20 22  73 65 65 6e 22 2e 0a 0a  |e been "seen"...|
00000140  34 2e 30 20 43 75 73 74  6f 6d 69 7a 69 6e 67 20  |4.0 Customizing |
00000150  74 68 65 20 73 63 72 69  70 74 0a 20 34 2e 31 20  |the script. 4.1 |
00000160  54 6f 20 63 68 61 6e 67  65 20 74 68 65 20 64 65  |To change the de|
00000170  66 61 75 6c 74 20 64 69  61 6c 6c 65 72 20 74 6f  |fault dialler to|
00000180  20 4d 65 72 63 75 72 79  2e 0a 20 20 34 2e 31 2e  | Mercury..  4.1.|
00000190  31 20 54 6f 20 72 65 6d  6f 76 65 20 79 6f 75 72  |1 To remove your|
000001a0  20 4d 65 72 63 75 72 79  20 50 49 4e 20 66 72 6f  | Mercury PIN fro|
000001b0  6d 20 61 20 6c 6f 63 61  6c 20 6e 75 6d 62 65 72  |m a local number|
000001c0  2e 0a 20 34 2e 32 20 54  6f 20 41 6c 74 65 72 20  |.. 4.2 To Alter |
000001d0  74 68 65 20 44 69 61 6c  6c 65 72 20 4d 65 6e 75  |the Dialler Menu|
000001e0  2e 0a 20 34 2e 33 20 54  6f 20 41 6c 74 65 72 20  |.. 4.3 To Alter |
000001f0  74 68 65 20 4c 69 73 74  20 6f 66 20 4e 75 6d 62  |the List of Numb|
00000200  65 72 73 0a 20 34 2e 34  20 54 6f 20 41 6c 74 65  |ers. 4.4 To Alte|
00000210  72 20 74 68 65 20 4e 75  6d 62 65 72 20 6f 66 20  |r the Number of |
00000220  52 65 74 72 69 65 73 2e  0a 20 34 2e 35 20 54 6f  |Retries.. 4.5 To|
00000230  20 41 64 64 20 61 20 4e  65 77 20 54 65 6c 65 70  | Add a New Telep|
00000240  68 6f 6e 65 20 4e 75 6d  62 65 72 2e 0a 20 34 2e  |hone Number.. 4.|
00000250  36 20 54 6f 20 43 68 61  6e 67 65 20 74 68 65 20  |6 To Change the |
00000260  4c 6f 63 61 6c 20 44 69  61 6c 6c 65 72 20 49 63  |Local Dialler Ic|
00000270  6f 6e 20 4e 75 6d 62 65  72 2e 20 0a 20 0a 35 2e  |on Number. . .5.|
00000280  30 20 53 6f 6d 65 20 46  72 65 71 75 65 6e 74 6c  |0 Some Frequentl|
00000290  79 20 41 73 6b 65 64 20  51 75 65 73 74 69 6f 6e  |y Asked Question|
000002a0  73 2e 0a 20 0a 36 2e 30  20 43 6f 6e 63 6c 75 73  |s.. .6.0 Conclus|
000002b0  69 6f 6e 73 20 61 6e 64  20 41 63 6b 6e 6f 77 6c  |ions and Acknowl|
000002c0  65 64 67 65 6d 65 6e 74  73 2e 20 0a 20 0a 31 2e  |edgements. . .1.|
000002d0  30 20 49 6e 74 72 6f 64  75 63 74 69 6f 6e 0a 3d  |0 Introduction.=|
000002e0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 0a  |===============.|
000002f0  0a 54 68 69 73 20 73 63  72 69 70 74 20 77 61 73  |.This script was|
00000300  20 6f 72 69 67 69 6e 61  6c 6c 79 20 77 72 69 74  | originally writ|
00000310  74 65 6e 20 62 79 20 52  6f 62 20 4f 72 77 69 6e  |ten by Rob Orwin|
00000320  2e 20 20 49 20 69 6e 69  74 69 61 6c 6c 79 20 6d  |.  I initially m|
00000330  6f 64 69 66 69 65 64 20  0a 74 6f 20 6d 61 6b 65  |odified .to make|
00000340  20 69 74 20 6d 6f 72 65  20 72 65 61 64 61 62 6c  | it more readabl|
00000350  65 2c 20 61 6e 64 20 61  6c 73 6f 20 74 6f 20 6c  |e, and also to l|
00000360  65 61 72 6e 20 74 68 65  20 73 63 72 69 70 74 20  |earn the script |
00000370  6c 61 6e 67 75 61 67 65  0a 6d 79 73 65 6c 66 2e  |language.myself.|
00000380  20 52 65 63 65 6e 74 6c  79 20 69 74 20 68 61 73  | Recently it has|
00000390  20 62 65 65 6e 20 63 75  73 74 6f 6d 69 73 65 64  | been customised|
000003a0  20 74 6f 20 77 6f 72 6b  20 77 69 74 68 20 54 54  | to work with TT|
000003b0  46 4e 2f 4e 65 77 73 62  61 73 65 2c 0a 61 6e 64  |FN/Newsbase,.and|
000003c0  20 69 6e 63 6c 75 64 65  64 20 69 6e 20 44 72 2e  | included in Dr.|
000003d0  20 41 6c 61 6e 20 48 61  73 73 65 79 27 73 20 49  | Alan Hassey's I|
000003e0  6e 74 65 72 6e 65 74 20  53 74 61 72 74 65 72 20  |nternet Starter |
000003f0  50 61 63 6b 20 66 6f 72  20 41 63 6f 72 6e 20 0a  |Pack for Acorn .|
00000400  43 6f 6d 70 75 74 65 72  73 2e 0a 0a 54 68 69 73  |Computers...This|
00000410  20 76 65 72 73 69 6f 6e  20 6f 66 20 74 68 65 20  | version of the |
00000420  73 63 72 69 70 74 20 69  6e 63 6f 72 70 6f 72 61  |script incorpora|
00000430  74 65 73 20 61 6e 20 65  78 74 72 61 20 69 63 6f  |tes an extra ico|
00000440  6e 20 62 61 72 20 69 63  6f 6e 20 77 68 69 63 68  |n bar icon which|
00000450  0a 63 61 6e 20 61 74 74  61 63 68 65 64 20 74 6f  |.can attached to|
00000460  20 79 6f 75 72 20 6e 6f  72 6d 61 6c 20 28 6c 6f  | your normal (lo|
00000470  63 61 6c 29 20 6e 75 6d  62 65 72 2e 20 20 0a 0a  |cal) number.  ..|
00000480  32 2e 30 20 55 73 69 6e  67 20 74 68 65 20 73 63  |2.0 Using the sc|
00000490  72 69 70 74 0a 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |ript.===========|
000004a0  3d 3d 3d 3d 3d 3d 3d 3d  3d 0a 0a 54 68 65 20 73  |=========..The s|
000004b0  63 72 69 70 74 20 69 73  20 70 6c 61 63 65 64 20  |cript is placed |
000004c0  69 6e 20 74 68 65 20 21  53 6c 69 70 44 69 61 6c  |in the !SlipDial|
000004d0  2e 73 63 72 69 70 74 73  20 64 69 72 65 63 74 6f  |.scripts directo|
000004e0  72 79 2e 20 20 59 6f 75  20 63 61 6e 20 65 69 74  |ry.  You can eit|
000004f0  68 65 72 0a 6c 6f 61 64  20 69 74 20 62 79 20 64  |her.load it by d|
00000500  72 61 67 67 69 6e 67 20  69 74 20 61 6e 64 20 64  |ragging it and d|
00000510  72 6f 70 70 69 6e 67 20  69 74 20 6f 6e 20 74 68  |ropping it on th|
00000520  65 20 53 6c 69 70 44 69  61 6c 20 69 63 6f 6e 20  |e SlipDial icon |
00000530  62 61 72 20 69 63 6f 6e  2c 20 6f 72 0a 79 6f 75  |bar icon, or.you|
00000540  20 63 61 6e 20 73 65 74  20 53 6c 69 70 44 69 61  | can set SlipDia|
00000550  6c 20 75 70 20 74 6f 20  72 75 6e 20 74 68 65 20  |l up to run the |
00000560  73 63 72 69 70 74 20 61  75 74 6f 6d 61 74 69 63  |script automatic|
00000570  61 6c 6c 79 2e 20 20 59  6f 75 20 73 68 6f 75 6c  |ally.  You shoul|
00000580  64 20 72 65 61 64 20 74  68 65 0a 53 6c 69 70 44  |d read the.SlipD|
00000590  69 61 6c 20 64 6f 63 75  6d 65 6e 74 61 74 69 6f  |ial documentatio|
000005a0  6e 20 66 69 6c 65 20 21  53 6c 69 70 44 69 61 6c  |n file !SlipDial|
000005b0  2e 21 48 65 6c 70 20 74  6f 20 75 6e 64 65 72 73  |.!Help to unders|
000005c0  74 61 6e 64 20 74 68 69  73 2e 0a 0a 46 6f 72 20  |tand this...For |
000005d0  74 68 65 20 64 65 66 61  75 6c 74 20 73 65 74 75  |the default setu|
000005e0  70 20 77 69 74 68 20 74  68 65 20 73 74 61 72 74  |p with the start|
000005f0  65 72 20 70 61 63 6b 2c  20 74 68 65 20 73 63 72  |er pack, the scr|
00000600  69 70 74 66 69 6c 65 20  73 68 6f 75 6c 64 20 62  |iptfile should b|
00000610  65 20 6e 61 6d 65 64 0a  0a 64 65 6d 6f 6e 0a 0a  |e named..demon..|
00000620  57 68 65 6e 20 74 68 65  20 73 63 72 69 70 74 20  |When the script |
00000630  69 73 20 72 75 6e 20 66  6f 72 20 74 68 65 20 66  |is run for the f|
00000640  69 72 73 74 20 74 69 6d  65 2c 20 69 74 20 61 73  |irst time, it as|
00000650  6b 73 20 66 6f 72 20 73  65 74 75 70 20 69 6e 66  |ks for setup inf|
00000660  6f 72 6d 61 74 69 6f 6e  0a 61 6e 64 20 73 74 6f  |ormation.and sto|
00000670  72 65 73 20 69 74 20 69  6e 20 61 20 63 6f 6e 66  |res it in a conf|
00000680  69 67 75 72 61 74 69 6f  6e 20 66 69 6c 65 2e 0a  |iguration file..|
00000690  0a 54 68 65 72 65 20 61  72 65 20 61 20 6e 75 6d  |.There are a num|
000006a0  62 65 72 20 6f 66 20 72  65 71 75 69 72 65 6d 65  |ber of requireme|
000006b0  6e 74 73 20 66 6f 72 20  67 65 74 74 69 6e 67 20  |nts for getting |
000006c0  74 68 65 20 73 63 72 69  70 74 20 74 6f 20 77 6f  |the script to wo|
000006d0  72 6b 20 69 6e 0a 74 68  65 20 62 65 73 74 20 77  |rk in.the best w|
000006e0  61 79 2e 20 20 49 6e 20  70 61 72 74 69 63 75 6c  |ay.  In particul|
000006f0  61 72 2c 20 79 6f 75 20  6e 65 65 64 20 74 6f 0a  |ar, you need to.|
00000700  0a 31 29 20 6d 61 6b 65  20 73 75 72 65 20 79 6f  |.1) make sure yo|
00000710  75 20 61 72 65 20 75 73  69 6e 67 20 74 68 65 20  |u are using the |
00000720  63 6f 72 72 65 63 74 20  6d 6f 64 65 6d 20 64 72  |correct modem dr|
00000730  69 76 65 72 20 66 69 6c  65 0a 32 29 20 73 65 74  |iver file.2) set|
00000740  20 75 70 20 79 6f 75 72  20 6d 6f 64 65 6d 20 74  | up your modem t|
00000750  6f 20 72 65 74 75 72 6e  20 63 65 72 74 61 69 6e  |o return certain|
00000760  20 6d 65 73 73 61 67 65  73 0a 33 29 20 6d 61 6b  | messages.3) mak|
00000770  65 20 73 75 72 65 20 74  68 61 74 20 54 54 46 4e  |e sure that TTFN|
00000780  2c 20 4e 65 77 73 42 61  73 65 2c 20 61 6e 64 20  |, NewsBase, and |
00000790  54 43 50 49 50 20 68 61  76 65 20 62 65 65 6e 20  |TCPIP have been |
000007a0  22 73 65 65 6e 22 20 62  79 20 74 68 65 20 66 69  |"seen" by the fi|
000007b0  6c 65 72 0a 0a 54 68 65  72 65 20 61 72 65 20 61  |ler..There are a|
000007c0  6c 73 6f 20 61 20 6e 75  6d 62 65 72 20 6f 66 20  |lso a number of |
000007d0  77 61 79 73 20 79 6f 75  20 63 61 6e 20 63 75 73  |ways you can cus|
000007e0  74 6f 6d 69 73 65 20 74  68 65 20 73 63 72 69 70  |tomise the scrip|
000007f0  74 2e 20 20 54 68 65 0a  73 69 6d 70 6c 65 73 74  |t.  The.simplest|
00000800  20 6f 6e 65 73 20 61 72  65 20 0a 0a 31 29 20 20  | ones are ..1)  |
00000810  74 6f 20 63 68 61 6e 67  65 20 74 68 65 20 64 65  |to change the de|
00000820  66 61 75 6c 74 20 64 69  61 6c 6c 65 72 20 74 6f  |fault dialler to|
00000830  20 4d 65 72 63 75 72 79  0a 32 29 20 20 74 6f 20  | Mercury.2)  to |
00000840  61 6c 74 65 72 20 74 68  65 20 65 6e 74 72 69 65  |alter the entrie|
00000850  73 20 74 68 61 74 20 61  70 70 65 61 72 20 6f 6e  |s that appear on|
00000860  20 74 68 65 20 6d 65 6e  75 20 66 6f 72 20 64 69  | the menu for di|
00000870  61 6c 6c 69 6e 67 0a 33  29 20 20 74 6f 20 61 6c  |alling.3)  to al|
00000880  74 65 72 20 74 68 65 20  64 65 66 61 75 6c 74 20  |ter the default |
00000890  65 6e 74 72 69 65 73 20  77 68 65 6e 20 64 69 61  |entries when dia|
000008a0  6c 6c 69 6e 67 20 61 20  6c 69 73 74 20 6f 66 20  |lling a list of |
000008b0  70 68 6f 6e 65 20 6e 75  6d 62 65 72 73 0a 34 29  |phone numbers.4)|
000008c0  20 20 74 6f 20 61 6c 74  65 72 20 74 68 65 20 6e  |  to alter the n|
000008d0  75 6d 62 65 72 20 6f 66  20 74 69 6d 65 73 20 53  |umber of times S|
000008e0  6c 69 70 44 69 61 6c 20  72 65 74 72 69 65 73 20  |lipDial retries |
000008f0  65 61 63 68 20 6e 75 6d  62 65 72 20 69 66 20 74  |each number if t|
00000900  68 65 0a 6c 69 6e 65 20  69 73 20 62 75 73 79 20  |he.line is busy |
00000910  0a 35 29 20 20 74 6f 20  63 68 61 6e 67 65 20 74  |.5)  to change t|
00000920  68 65 20 6c 6f 63 61 6c  20 6e 75 6d 62 65 72 20  |he local number |
00000930  0a 0a 53 6c 69 67 68 74  6c 79 20 6d 6f 72 65 20  |..Slightly more |
00000940  63 6f 6d 70 6c 69 63 61  74 65 64 20 69 73 2e 2e  |complicated is..|
00000950  2e 0a 0a 36 29 20 20 74  6f 20 61 64 64 20 61 20  |...6)  to add a |
00000960  6e 65 77 20 74 65 6c 65  70 68 6f 6e 65 20 6e 75  |new telephone nu|
00000970  6d 62 65 72 0a 0a 4e 6f  74 65 20 74 68 61 74 20  |mber..Note that |
00000980  74 6f 20 6d 61 6b 65 20  63 68 61 6e 67 65 73 20  |to make changes |
00000990  74 6f 20 74 68 65 20 73  63 72 69 70 74 2c 20 79  |to the script, y|
000009a0  6f 75 20 73 69 6d 70 6c  79 20 68 61 76 65 20 74  |ou simply have t|
000009b0  6f 20 65 64 69 74 20 69  74 20 69 6e 20 0a 61 20  |o edit it in .a |
000009c0  6e 6f 72 6d 61 6c 20 74  65 78 74 20 65 64 69 74  |normal text edit|
000009d0  6f 72 2c 20 65 2e 67 2e  20 45 64 69 74 2e 0a 0a  |or, e.g. Edit...|
000009e0  57 69 74 68 20 21 53 6c  69 70 44 69 61 6c 2c 20  |With !SlipDial, |
000009f0  74 68 65 72 65 20 69 73  20 61 20 66 69 6c 65 20  |there is a file |
00000a00  63 61 6c 6c 65 64 20 21  53 6c 69 70 44 69 61 6c  |called !SlipDial|
00000a10  2e 73 63 72 69 70 74 73  2e 44 65 6d 6f 6e 53 70  |.scripts.DemonSp|
00000a20  72 2c 0a 77 68 69 63 68  20 20 63 6f 6e 74 61 69  |r,.which  contai|
00000a30  6e 73 20 73 70 72 69 74  65 20 64 65 66 69 6e 69  |ns sprite defini|
00000a40  74 69 6f 6e 73 2e 20 20  59 6f 75 20 6d 75 73 74  |tions.  You must|
00000a50  20 6d 61 6b 65 20 73 75  72 65 20 79 6f 75 20 68  | make sure you h|
00000a60  61 76 65 20 74 68 65 0a  6d 6f 73 74 20 75 70 2d  |ave the.most up-|
00000a70  74 6f 2d 64 61 74 65 20  76 65 72 73 69 6f 6e 20  |to-date version |
00000a80  6f 66 20 74 68 65 73 65  20 73 70 72 69 74 65 73  |of these sprites|
00000a90  2e 20 49 66 20 74 68 65  20 66 69 6c 65 20 63 6f  |. If the file co|
00000aa0  6e 74 61 69 6e 73 20 74  68 72 65 65 0a 73 70 72  |ntains three.spr|
00000ab0  69 74 65 73 2c 20 79 6f  75 20 61 72 65 20 6f 6b  |ites, you are ok|
00000ac0  20 2d 20 69 66 20 69 74  20 6f 6e 6c 79 20 63 6f  | - if it only co|
00000ad0  6e 74 61 69 6e 73 20 32  2c 20 79 6f 75 20 73 68  |ntains 2, you sh|
00000ae0  6f 75 6c 64 20 75 70 64  61 74 65 20 69 74 20 74  |ould update it t|
00000af0  6f 0a 74 68 65 20 6c 61  74 65 73 74 20 6f 6e 65  |o.the latest one|
00000b00  20 62 79 20 64 6f 77 6e  6c 6f 61 64 20 69 74 20  | by download it |
00000b10  66 72 6f 6d 20 64 65 6d  6f 6e 20 66 74 70 2e 0a  |from demon ftp..|
00000b20  0a 33 2e 30 20 53 63 72  69 70 74 20 52 65 71 75  |.3.0 Script Requ|
00000b30  69 72 65 6d 65 6e 74 73  0a 3d 3d 3d 3d 3d 3d 3d  |irements.=======|
00000b40  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000b50  0a 0a 33 2e 31 20 4d 6f  64 65 6d 20 44 72 69 76  |..3.1 Modem Driv|
00000b60  65 72 0a 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |er.-------------|
00000b70  2d 2d 2d 0a 0a 54 68 65  20 6d 6f 64 65 6d 20 64  |---..The modem d|
00000b80  72 69 76 65 72 73 20 61  72 65 20 73 74 6f 72 65  |rivers are store|
00000b90  64 20 69 6e 20 74 68 65  20 64 69 72 65 63 74 6f  |d in the directo|
00000ba0  72 79 20 21 53 6c 69 70  44 69 61 6c 2e 44 72 69  |ry !SlipDial.Dri|
00000bb0  76 65 72 73 2e 20 0a 54  68 65 72 65 20 61 72 65  |vers. .There are|
00000bc0  20 65 78 61 6d 70 6c 65  73 20 66 6f 72 20 55 53  | examples for US|
00000bd0  20 52 6f 62 6f 74 69 63  73 20 61 6e 64 20 48 61  | Robotics and Ha|
00000be0  79 65 73 20 6d 6f 64 65  6d 73 2e 20 20 54 6f 20  |yes modems.  To |
00000bf0  73 65 6c 65 63 74 20 74  68 65 0a 64 72 69 76 65  |select the.drive|
00000c00  72 2c 20 20 6c 6f 6f 6b  20 69 6e 20 74 68 65 20  |r,  look in the |
00000c10  73 63 72 69 70 74 20 66  69 6c 65 20 66 6f 72 20  |script file for |
00000c20  74 68 65 20 73 74 72 69  6e 67 20 22 64 72 69 76  |the string "driv|
00000c30  65 72 22 2e 20 20 59 6f  75 20 73 68 6f 75 6c 64  |er".  You should|
00000c40  0a 66 69 6e 64 20 70 61  72 74 20 6f 66 20 74 68  |.find part of th|
00000c50  65 20 73 63 72 69 70 74  20 6c 69 6b 65 20 74 68  |e script like th|
00000c60  69 73 0a 0a 23 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |is..#-----------|
00000c70  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000ca0  0a 23 20 53 75 62 72 6f  75 74 69 6e 65 3a 20 73  |.# Subroutine: s|
00000cb0  65 74 73 65 72 69 61 6c  0a 23 20 53 65 74 20 53  |etserial.# Set S|
00000cc0  65 72 69 61 6c 20 50 6f  72 74 2f 44 72 69 76 65  |erial Port/Drive|
00000cd0  72 20 50 61 72 61 6d 65  74 65 72 73 0a 23 2d 2d  |r Parameters.#--|
00000ce0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000d10  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 3a 73 65 74 73 65  |---------.:setse|
00000d20  72 69 61 6c 0a 64 72 69  76 65 72 20 55 53 52 0a  |rial.driver USR.|
00000d30  70 6f 72 74 20 25 77 70  6f 72 74 20 25 70 72 74  |port %wport %prt|
00000d40  6e 75 6d 0a 73 70 65 65  64 20 25 73 70 65 65 64  |num.speed %speed|
00000d50  0a 73 65 74 20 70 72 6f  74 6f 63 6f 6c 20 73 6c  |.set protocol sl|
00000d60  69 70 0a 72 65 74 75 72  6e 20 31 0a 20 20 20 20  |ip.return 1.    |
00000d70  20 20 20 20 0a 54 6f 20  75 73 65 20 74 68 65 20  |    .To use the |
00000d80  48 61 79 65 73 20 64 72  69 76 65 72 2c 20 63 68  |Hayes driver, ch|
00000d90  61 6e 67 65 20 74 68 65  20 6c 69 6e 65 20 0a 0a  |ange the line ..|
00000da0  64 72 69 76 65 72 20 55  53 52 0a 0a 74 6f 20 0a  |driver USR..to .|
00000db0  0a 64 72 69 76 65 72 20  48 61 79 65 73 0a 0a 33  |.driver Hayes..3|
00000dc0  2e 32 20 53 65 74 74 69  6e 67 20 75 70 20 79 6f  |.2 Setting up yo|
00000dd0  75 72 20 6d 6f 64 65 6d  20 74 6f 20 74 72 61 6e  |ur modem to tran|
00000de0  73 6d 69 74 20 73 74 61  74 75 73 20 6d 65 73 73  |smit status mess|
00000df0  61 67 65 73 0a 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |ages.-----------|
00000e00  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000e20  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 0a 49 66 20 79  |----------..If y|
00000e30  6f 75 20 72 75 6e 20 74  68 65 20 73 63 72 69 70  |ou run the scrip|
00000e40  74 2c 20 61 6e 64 20 69  74 20 61 70 70 65 61 72  |t, and it appear|
00000e50  73 20 74 6f 20 68 61 6e  67 75 70 20 61 66 74 65  |s to hangup afte|
00000e60  72 20 74 68 65 20 63 61  6c 6c 20 68 61 73 20 67  |r the call has g|
00000e70  6f 74 0a 74 68 72 6f 75  67 68 20 62 75 74 20 62  |ot.through but b|
00000e80  65 66 6f 72 65 20 54 43  50 49 50 20 68 61 73 20  |efore TCPIP has |
00000e90  73 74 61 72 74 65 64 3b  20 6f 72 20 69 74 20 64  |started; or it d|
00000ea0  6f 65 73 6e 27 74 20 72  65 63 6f 67 6e 69 73 65  |oesn't recognise|
00000eb0  20 74 68 61 74 20 74 68  65 0a 6c 69 6e 65 20 69  | that the.line i|
00000ec0  73 20 62 75 73 79 3b 20  74 68 65 6e 20 79 6f 75  |s busy; then you|
00000ed0  20 6e 65 65 64 20 74 6f  20 6d 61 6b 65 20 73 75  | need to make su|
00000ee0  72 65 20 74 68 61 74 20  74 68 65 20 6d 6f 64 65  |re that the mode|
00000ef0  6d 20 69 73 20 72 65 74  75 72 6e 69 6e 67 0a 6d  |m is returning.m|
00000f00  65 73 73 61 67 65 73 20  69 6e 64 69 63 61 74 69  |essages indicati|
00000f10  6e 67 20 69 74 73 20 28  74 68 65 20 6d 6f 64 65  |ng its (the mode|
00000f20  6d 27 73 29 20 73 74 61  74 75 73 2e 20 20 54 68  |m's) status.  Th|
00000f30  65 73 65 20 6d 65 73 73  61 67 65 73 20 61 72 65  |ese messages are|
00000f40  20 74 65 78 74 0a 73 74  72 69 6e 67 73 2c 20 61  | text.strings, a|
00000f50  6e 64 20 74 68 65 69 72  20 6d 65 61 6e 69 6e 67  |nd their meaning|
00000f60  20 69 73 20 64 65 66 69  6e 65 64 20 69 6e 20 74  | is defined in t|
00000f70  68 65 20 20 64 72 69 76  65 72 20 66 69 6c 65 2e  |he  driver file.|
00000f80  20 20 46 6f 72 0a 69 6e  73 74 61 6e 63 65 2c 20  |  For.instance, |
00000f90  77 69 74 68 20 74 68 65  20 55 53 20 52 6f 62 6f  |with the US Robo|
00000fa0  74 69 63 73 20 53 70 6f  72 74 73 74 65 72 20 6d  |tics Sportster m|
00000fb0  6f 64 65 6d 2c 20 79 6f  75 20 6e 65 65 64 20 74  |odem, you need t|
00000fc0  6f 20 73 65 6e 64 20 74  68 65 0a 73 65 74 75 70  |o send the.setup|
00000fd0  20 73 74 72 69 6e 67 20  22 58 34 22 20 74 6f 20  | string "X4" to |
00000fe0  65 6e 61 62 6c 65 20 61  6c 6c 20 6d 65 73 73 61  |enable all messa|
00000ff0  67 65 73 2e 0a 0a 54 68  69 73 20 6d 65 61 6e 73  |ges...This means|
00001000  20 74 68 61 74 20 77 68  65 6e 20 74 68 65 20 6d  | that when the m|
00001010  6f 64 65 6d 20 64 65 74  65 63 74 73 20 74 68 65  |odem detects the|
00001020  20 6c 69 6e 65 20 69 73  20 62 75 73 79 2c 20 69  | line is busy, i|
00001030  74 20 77 69 6c 6c 0a 72  65 74 75 72 6e 20 74 68  |t will.return th|
00001040  65 20 73 74 72 69 6e 67  20 22 42 55 53 59 22 2e  |e string "BUSY".|
00001050  20 20 59 6f 75 20 63 61  6e 20 74 65 6c 6c 20 74  |  You can tell t|
00001060  68 65 20 73 63 72 69 70  74 20 74 6f 20 65 78 70  |he script to exp|
00001070  65 63 74 20 74 68 65 0a  73 74 72 69 6e 67 20 22  |ect the.string "|
00001080  42 55 53 59 22 20 74 6f  20 69 6e 64 69 63 61 74  |BUSY" to indicat|
00001090  65 20 65 6e 67 61 67 65  64 20 62 79 20 70 75 74  |e engaged by put|
000010a0  74 69 6e 67 20 69 74 20  69 6e 20 74 68 65 20 6d  |ting it in the m|
000010b0  6f 64 65 6d 20 64 72 69  76 65 72 0a 66 69 6c 65  |odem driver.file|
000010c0  20 61 6e 64 20 61 73 73  69 67 6e 69 6e 67 20 69  | and assigning i|
000010d0  74 20 74 6f 20 74 68 65  20 73 63 72 69 70 74 20  |t to the script |
000010e0  76 61 72 69 61 62 6c 65  20 24 62 75 73 79 2e 20  |variable $busy. |
000010f0  57 68 65 6e 20 64 69 61  6c 6c 69 6e 67 20 74 68  |When dialling th|
00001100  65 0a 6d 6f 64 65 6d 20  6c 6f 6f 6b 73 20 66 6f  |e.modem looks fo|
00001110  72 20 74 68 65 20 73 74  72 69 6e 67 20 74 6f 20  |r the string to |
00001120  73 65 65 20 69 66 20 69  74 20 69 73 20 65 71 75  |see if it is equ|
00001130  61 6c 20 74 6f 20 74 68  65 20 63 6f 6e 74 65 6e  |al to the conten|
00001140  74 73 20 6f 66 0a 24 62  75 73 79 20 61 6e 64 20  |ts of.$busy and |
00001150  75 73 65 73 20 74 68 69  73 20 74 6f 20 64 65 74  |uses this to det|
00001160  65 63 74 20 65 6e 67 61  67 65 64 20 6c 69 6e 65  |ect engaged line|
00001170  73 2e 0a 0a 54 68 65 20  76 61 72 69 6f 75 73 20  |s...The various |
00001180  70 6f 73 73 69 62 6c 65  20 73 74 72 69 6e 67 73  |possible strings|
00001190  2c 20 61 6e 64 20 74 68  65 69 72 20 73 65 74 75  |, and their setu|
000011a0  70 73 20 66 6f 72 20 61  20 55 53 52 20 6d 6f 64  |ps for a USR mod|
000011b0  65 6d 20 61 72 65 0a 73  68 6f 77 6e 20 69 6e 20  |em are.shown in |
000011c0  74 68 65 20 65 78 61 6d  70 6c 65 20 64 72 69 76  |the example driv|
000011d0  65 72 20 66 69 6c 65 20  62 65 6c 6f 77 0a 0a 73  |er file below..s|
000011e0  65 74 20 24 69 6e 69 74  20 22 41 54 42 30 26 4d  |et $init "ATB0&M|
000011f0  34 26 48 31 26 52 32 26  49 30 26 4b 33 20 41 54  |4&H1&R2&I0&K3 AT|
00001200  26 42 31 26 4e 30 26 53  30 26 59 31 26 44 32 26  |&B1&N0&S0&Y1&D2&|
00001210  43 31 20 41 54 56 31 51  30 58 34 26 41 32 45 31  |C1 ATV1Q0X4&A2E1|
00001220  46 31 4d 31 22 0a 73 65  74 20 24 62 75 73 79 20  |F1M1".set $busy |
00001230  22 42 55 53 59 22 0a 73  65 74 20 24 63 6f 6e 6e  |"BUSY".set $conn|
00001240  20 22 43 4f 4e 4e 45 43  54 22 0a 73 65 74 20 24  | "CONNECT".set $|
00001250  6e 6f 63 61 72 72 20 22  4e 4f 20 43 41 52 52 49  |nocarr "NO CARRI|
00001260  45 52 22 0a 73 65 74 20  24 6e 6f 64 69 61 6c 20  |ER".set $nodial |
00001270  22 4e 4f 20 44 49 41 4c  20 54 4f 4e 45 22 0a 0a  |"NO DIAL TONE"..|
00001280  54 68 65 20 24 69 6e 69  74 20 73 74 72 69 6e 67  |The $init string|
00001290  20 69 73 20 73 65 6e 74  20 74 6f 20 74 68 65 20  | is sent to the |
000012a0  6d 6f 64 65 6d 20 74 6f  20 73 65 74 20 69 74 20  |modem to set it |
000012b0  75 70 2e 20 20 59 6f 75  20 77 69 6c 6c 20 6e 6f  |up.  You will no|
000012c0  74 69 63 65 20 74 68 61  74 0a 74 68 65 20 65 78  |tice that.the ex|
000012d0  61 6d 70 6c 65 20 61 62  6f 76 65 20 68 61 73 20  |ample above has |
000012e0  58 34 20 65 6e 61 62 6c  65 64 2e 20 20 20 20 20  |X4 enabled.     |
000012f0  0a 0a 49 66 20 79 6f 75  20 68 61 76 65 20 61 20  |..If you have a |
00001300  6d 6f 64 65 6d 20 77 68  69 63 68 20 72 65 74 75  |modem which retu|
00001310  72 6e 73 20 64 69 66 66  65 72 65 6e 74 20 73 74  |rns different st|
00001320  72 69 6e 67 73 2c 20 79  6f 75 20 77 6f 75 6c 64  |rings, you would|
00001330  20 68 61 76 65 20 74 6f  20 0a 63 72 65 61 74 65  | have to .create|
00001340  20 79 6f 75 72 20 6f 77  6e 20 6d 6f 64 65 6d 20  | your own modem |
00001350  64 72 69 76 65 72 2e 20  20 46 6f 72 20 69 6e 73  |driver.  For ins|
00001360  74 61 6e 63 65 2c 20 69  66 20 79 6f 75 72 20 6d  |tance, if your m|
00001370  6f 64 65 6d 20 72 65 74  75 72 6e 65 64 0a 22 45  |odem returned."E|
00001380  4e 47 41 47 45 44 22 2c  20 79 6f 75 20 77 6f 75  |NGAGED", you wou|
00001390  6c 64 20 68 61 76 65 20  74 6f 20 6d 6f 64 69 66  |ld have to modif|
000013a0  79 20 74 68 65 20 64 72  69 76 65 72 20 66 69 6c  |y the driver fil|
000013b0  65 20 74 6f 20 63 6f 6e  74 61 69 6e 0a 0a 73 65  |e to contain..se|
000013c0  74 20 24 62 75 73 79 20  22 45 4e 47 41 47 45 44  |t $busy "ENGAGED|
000013d0  22 0a 0a 33 2e 33 20 4d  61 6b 69 6e 67 20 73 75  |"..3.3 Making su|
000013e0  72 65 20 74 68 61 74 20  54 54 46 4e 20 65 74 63  |re that TTFN etc|
000013f0  20 68 61 76 65 20 62 65  65 6e 20 22 73 65 65 6e  | have been "seen|
00001400  22 2e 0a 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |"..-------------|
00001410  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00001430  2d 2d 0a 0a 54 68 65 20  73 63 72 69 70 74 20 72  |--..The script r|
00001440  75 6e 73 20 54 54 46 4e  2c 20 4e 65 77 73 62 61  |uns TTFN, Newsba|
00001450  73 65 2c 20 61 6e 64 20  54 43 50 49 50 20 61 75  |se, and TCPIP au|
00001460  74 6f 6d 61 74 69 63 61  6c 6c 79 2e 20 20 54 6f  |tomatically.  To|
00001470  20 64 6f 20 74 68 69 73  2c 0a 69 74 20 6e 65 65  | do this,.it nee|
00001480  64 73 20 74 6f 20 6b 6e  6f 77 20 77 68 65 72 65  |ds to know where|
00001490  20 74 68 65 79 20 61 72  65 2e 20 20 49 74 20 63  | they are.  It c|
000014a0  61 6e 20 66 69 6e 64 20  74 68 65 6d 20 69 66 20  |an find them if |
000014b0  79 6f 75 20 68 61 76 65  20 6f 70 65 6e 65 64 0a  |you have opened.|
000014c0  61 20 66 69 6c 65 72 20  77 69 6e 64 6f 77 20 77  |a filer window w|
000014d0  69 74 68 20 74 68 65 73  65 20 70 72 6f 67 72 61  |ith these progra|
000014e0  6d 6d 65 73 20 76 69 73  69 62 6c 65 2e 20 20 54  |mmes visible.  T|
000014f0  68 65 20 20 73 69 6d 70  6c 65 73 74 20 77 61 79  |he  simplest way|
00001500  20 74 6f 0a 65 6e 73 75  72 65 20 74 68 61 74 20  | to.ensure that |
00001510  74 68 65 79 20 68 61 76  65 20 62 65 65 6e 20 73  |they have been s|
00001520  65 65 6e 20 69 73 20 74  6f 20 70 75 74 20 61 6c  |een is to put al|
00001530  6c 20 74 68 65 20 69 6e  74 65 72 6e 65 74 20 72  |l the internet r|
00001540  65 6c 61 74 65 64 0a 70  72 6f 67 72 61 6d 6d 65  |elated.programme|
00001550  73 20 69 6e 20 6f 6e 65  20 64 69 72 65 63 74 6f  |s in one directo|
00001560  72 79 2e 20 20 54 68 65  6e 20 77 68 65 6e 20 79  |ry.  Then when y|
00001570  6f 75 20 6f 70 65 6e 20  74 68 65 20 64 69 72 65  |ou open the dire|
00001580  63 74 6f 72 79 20 69 6e  0a 6f 72 64 65 72 20 74  |ctory in.order t|
00001590  6f 20 64 6f 75 62 6c 65  2d 63 6c 69 63 6b 20 53  |o double-click S|
000015a0  6c 69 70 44 69 61 6c 2c  20 79 6f 75 20 20 6b 6e  |lipDial, you  kn|
000015b0  6f 77 20 74 68 61 74 20  61 6c 6c 20 74 68 65 20  |ow that all the |
000015c0  6f 74 68 65 72 0a 70 72  6f 67 72 61 6d 6d 65 73  |other.programmes|
000015d0  20 68 61 76 65 20 62 65  65 6e 20 73 65 65 6e 2e  | have been seen.|
000015e0  0a 0a 34 2e 30 20 43 75  73 74 6f 6d 69 7a 69 6e  |..4.0 Customizin|
000015f0  67 20 74 68 65 20 53 63  72 69 70 74 0a 3d 3d 3d  |g the Script.===|
00001600  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00001610  3d 3d 3d 3d 3d 3d 3d 0a  20 20 20 20 20 20 20 20  |=======.        |
00001620  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001630  20 20 20 20 20 20 20 20  20 0a 34 2e 31 20 54 6f  |         .4.1 To|
00001640  20 63 68 61 6e 67 65 20  74 68 65 20 64 65 66 61  | change the defa|
00001650  75 6c 74 20 64 69 61 6c  6c 65 72 20 74 6f 20 6d  |ult dialler to m|
00001660  65 72 63 75 72 79 2e 0a  2d 2d 2d 2d 2d 2d 2d 2d  |ercury..--------|
00001670  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00001690  2d 2d 2d 2d 2d 0a 0a 45  64 69 74 20 74 68 65 20  |-----..Edit the |
000016a0  73 63 72 69 70 74 2c 20  61 6e 64 20 73 65 61 72  |script, and sear|
000016b0  63 68 20 66 6f 72 20 74  68 65 20 73 75 62 72 6f  |ch for the subro|
000016c0  75 74 69 6e 65 20 63 61  6c 6c 0a 0a 63 61 6c 6c  |utine call..call|
000016d0  20 6d 65 72 63 75 72 79  5f 6f 66 66 0a 0a 28 69  | mercury_off..(i|
000016e0  74 27 73 20 71 75 69 74  65 20 6e 65 61 72 20 74  |t's quite near t|
000016f0  68 65 20 74 6f 70 20 6f  66 20 74 68 65 20 73 63  |he top of the sc|
00001700  72 69 70 74 29 2e 0a 0a  43 68 61 6e 67 65 20 74  |ript)...Change t|
00001710  68 65 20 6c 69 6e 65 20  74 6f 20 72 65 61 64 0a  |he line to read.|
00001720  0a 63 61 6c 6c 20 6d 65  72 63 75 72 79 5f 6f 6e  |.call mercury_on|
00001730  0a 0a 34 2e 31 2e 31 20  54 6f 20 72 65 6d 6f 76  |..4.1.1 To remov|
00001740  65 20 79 6f 75 72 20 4d  65 72 63 75 72 79 20 50  |e your Mercury P|
00001750  49 4e 20 66 72 6f 6d 20  61 20 6c 6f 63 61 6c 20  |IN from a local |
00001760  6e 75 6d 62 65 72 2e 0a  2d 2d 2d 2d 2d 2d 2d 2d  |number..--------|
00001770  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00001790  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 0a 49  |-------------..I|
000017a0  66 20 79 6f 75 20 68 61  76 65 20 61 20 4d 65 72  |f you have a Mer|
000017b0  63 75 72 79 20 50 49 4e  20 77 68 69 63 68 20 69  |cury PIN which i|
000017c0  73 20 6f 6e 6c 79 20 72  65 71 75 69 72 65 64 20  |s only required |
000017d0  66 6f 72 20 6c 6f 6e 67  20 64 69 73 74 61 6e 63  |for long distanc|
000017e0  65 0a 63 61 6c 6c 73 2c  20 79 6f 75 20 77 69 6c  |e.calls, you wil|
000017f0  6c 20 68 61 76 65 20 74  6f 20 72 65 6d 6f 76 65  |l have to remove|
00001800  20 74 68 65 20 50 49 4e  20 66 72 6f 6d 20 79 6f  | the PIN from yo|
00001810  75 72 20 6c 6f 63 61 6c  20 6e 75 6d 62 65 72 2e  |ur local number.|
00001820  20 20 42 79 0a 64 65 66  61 75 6c 74 20 74 68 65  |  By.default the|
00001830  20 73 63 72 69 70 74 20  69 73 20 73 65 74 20 75  | script is set u|
00001840  70 20 74 6f 20 75 73 65  20 74 68 65 20 49 73 6c  |p to use the Isl|
00001850  65 20 6f 66 20 57 69 67  68 74 20 61 73 20 74 68  |e of Wight as th|
00001860  65 20 6c 6f 63 61 6c 0a  6e 75 6d 62 65 72 2e 0a  |e local.number..|
00001870  20 0a 54 6f 20 63 68 61  6e 67 65 20 74 68 69 73  | .To change this|
00001880  2c 20 79 6f 75 20 6d 75  73 74 20 6d 6f 64 69 66  |, you must modif|
00001890  79 20 74 68 65 20 6d 61  6b 65 4e 75 6d 62 65 72  |y the makeNumber|
000018a0  73 20 73 75 62 72 6f 75  74 69 6e 65 2e 20 20 54  |s subroutine.  T|
000018b0  68 65 20 73 74 65 70 73  0a 61 72 65 20 61 73 20  |he steps.are as |
000018c0  66 6f 6c 6c 6f 77 73 0a  0a 61 29 20 73 65 61 72  |follows..a) sear|
000018d0  63 68 20 66 6f 72 20 74  68 65 20 73 74 72 69 6e  |ch for the strin|
000018e0  67 20 3a 6d 61 6b 65 4e  75 6d 62 65 72 73 20 74  |g :makeNumbers t|
000018f0  6f 20 66 69 6e 64 20 74  68 65 20 73 75 62 72 6f  |o find the subro|
00001900  75 74 69 6e 65 0a 62 29  20 6c 6f 6f 6b 20 74 68  |utine.b) look th|
00001910  72 6f 75 67 68 20 74 68  65 20 73 75 62 72 6f 75  |rough the subrou|
00001920  74 69 6e 65 20 66 6f 72  20 79 6f 75 72 20 6c 6f  |tine for your lo|
00001930  63 61 6c 20 6e 75 6d 62  65 72 0a 63 29 20 64 65  |cal number.c) de|
00001940  6c 65 74 65 20 74 68 65  20 73 74 72 69 6e 67 0a  |lete the string.|
00001950  20 20 20 0a 20 20 20 20  20 20 20 25 6d 65 72 63  |   .       %merc|
00001960  75 72 79 5f 70 69 6e 5c  0a 0a 20 20 20 66 72 6f  |ury_pin\..   fro|
00001970  6d 20 74 68 65 20 66 72  6f 6e 74 20 6f 66 20 74  |m the front of t|
00001980  68 65 20 6e 75 6d 62 65  72 0a 64 29 20 70 75 74  |he number.d) put|
00001990  20 74 68 65 20 61 62 6f  76 65 20 73 74 72 69 6e  | the above strin|
000019a0  67 20 69 6e 20 66 72 6f  6e 74 20 6f 66 20 74 68  |g in front of th|
000019b0  65 20 6f 6c 64 20 6c 6f  63 61 6c 20 6e 75 6d 62  |e old local numb|
000019c0  65 72 20 28 77 68 69 63  68 20 77 6f 75 6c 64 0a  |er (which would.|
000019d0  68 61 76 65 20 20 62 65  65 6e 20 74 68 65 20 49  |have  been the I|
000019e0  73 6c 65 20 6f 66 20 57  69 67 68 74 20 69 6e 20  |sle of Wight in |
000019f0  74 68 65 20 64 65 66 61  75 6c 74 20 63 61 73 65  |the default case|
00001a00  29 2e 0a 0a 41 73 20 61  6e 20 65 78 61 6d 70 6c  |)...As an exampl|
00001a10  65 20 2d 20 74 6f 20 63  68 61 6e 67 65 20 79 6f  |e - to change yo|
00001a20  75 72 20 6c 6f 63 61 6c  20 6e 75 6d 62 65 72 20  |ur local number |
00001a30  66 72 6f 6d 20 49 73 6c  65 20 6f 66 20 57 69 67  |from Isle of Wig|
00001a40  68 74 20 74 6f 0a 45 64  69 6e 62 75 72 67 68 20  |ht to.Edinburgh |
00001a50  3a 2d 0a 0a 0a 4f 72 69  67 69 6e 61 6c 20 28 64  |:-...Original (d|
00001a60  65 66 61 75 6c 74 20 49  73 6c 65 20 6f 66 20 57  |efault Isle of W|
00001a70  69 67 68 74 29 20 6d 61  6b 65 4e 75 6d 62 65 72  |ight) makeNumber|
00001a80  73 20 73 75 62 72 6f 75  74 69 6e 65 2e 2e 2e 0a  |s subroutine....|
00001a90  0a 23 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.#--------------|
00001aa0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00001ac0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 23 20  |-------------.# |
00001ad0  53 75 62 72 6f 75 74 69  6e 65 3a 20 6d 61 6b 65  |Subroutine: make|
00001ae0  4e 75 6d 62 65 72 73 0a  23 20 4d 61 6b 65 20 61  |Numbers.# Make a|
00001af0  20 73 65 74 20 6f 66 20  76 61 72 69 61 62 6c 65  | set of variable|
00001b00  73 20 74 6f 20 68 6f 6c  64 20 74 68 65 20 70 68  |s to hold the ph|
00001b10  6f 6e 65 20 6e 75 6d 62  65 72 73 2e 0a 23 20 42  |one numbers..# B|
00001b20  79 20 64 65 66 61 75 6c  74 2c 20 74 68 69 73 20  |y default, this |
00001b30  69 73 20 73 65 74 20 75  70 20 66 6f 72 20 4d 65  |is set up for Me|
00001b40  72 63 75 72 79 20 75 73  65 72 73 20 6e 65 61 72  |rcury users near|
00001b50  20 74 68 65 20 49 73 6c  65 0a 23 20 6f 66 20 57  | the Isle.# of W|
00001b60  69 67 68 74 2e 20 59 6f  75 20 73 68 6f 75 6c 64  |ight. You should|
00001b70  20 6f 66 20 63 6f 75 72  73 65 20 65 64 69 74 20  | of course edit |
00001b80  74 68 69 73 20 69 66 20  79 6f 75 20 61 72 65 20  |this if you are |
00001b90  6c 6f 63 61 6c 0a 23 20  74 6f 20 73 6f 6d 65 77  |local.# to somew|
00001ba0  68 65 72 65 20 65 6c 73  65 2e 0a 23 2d 2d 2d 2d  |here else..#----|
00001bb0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00001be0  2d 2d 2d 2d 2d 2d 2d 0a  3a 6d 61 6b 65 4e 75 6d  |-------.:makeNum|
00001bf0  62 65 72 73 0a 73 65 74  20 42 69 72 6d 69 6e 67  |bers.set Birming|
00001c00  68 61 6d 20 25 6d 65 72  63 75 72 79 5f 70 69 6e  |ham %mercury_pin|
00001c10  5c 30 31 32 31 32 37 35  34 38 34 38 0a 73 65 74  |\01212754848.set|
00001c20  20 42 72 61 64 66 6f 72  64 20 20 20 25 6d 65 72  | Bradford   %mer|
00001c30  63 75 72 79 5f 70 69 6e  5c 30 31 32 37 34 37 35  |cury_pin\0127475|
00001c40  35 30 36 36 0a 73 65 74  20 42 72 69 73 74 6f 6c  |5066.set Bristol|
00001c50  20 20 20 20 25 6d 65 72  63 75 72 79 5f 70 69 6e  |    %mercury_pin|
00001c60  5c 30 31 31 37 39 38 31  34 38 34 38 0a 73 65 74  |\01179814848.set|
00001c70  20 43 61 6d 62 72 69 64  67 65 20 20 25 6d 65 72  | Cambridge  %mer|
00001c80  63 75 72 79 5f 70 69 6e  5c 30 31 32 32 33 35 37  |cury_pin\0122357|
00001c90  36 30 31 30 0a 73 65 74  20 43 61 72 64 69 66 66  |6010.set Cardiff|
00001ca0  20 20 20 20 25 6d 65 72  63 75 72 79 5f 70 69 6e  |    %mercury_pin|
00001cb0  5c 30 31 32 32 32 32 37  34 38 34 38 0a 73 65 74  |\01222274848.set|
00001cc0  20 43 6f 76 65 6e 74 72  79 20 20 20 25 6d 65 72  | Coventry   %mer|
00001cd0  63 75 72 79 5f 70 69 6e  5c 30 31 32 30 33 32 38  |cury_pin\0120328|
00001ce0  34 38 34 38 0a 73 65 74  20 45 64 69 6e 62 75 72  |4848.set Edinbur|
00001cf0  67 68 20 20 25 6d 65 72  63 75 72 79 5f 70 69 6e  |gh  %mercury_pin|
00001d00  5c 30 31 33 31 35 35 32  38 38 38 33 0a 73 65 74  |\01315528883.set|
00001d10  20 47 6c 6f 75 63 65 73  74 65 72 20 25 6d 65 72  | Gloucester %mer|
00001d20  63 75 72 79 5f 70 69 6e  5c 30 31 34 35 32 33 35  |cury_pin\0145235|
00001d30  34 38 34 38 0a 73 65 74  20 48 75 6c 6c 20 20 20  |4848.set Hull   |
00001d40  20 20 20 20 25 6d 65 72  63 75 72 79 5f 70 69 6e  |    %mercury_pin|
00001d50  5c 30 31 34 38 32 34 39  35 35 38 30 0a 23 20 6c  |\01482495580.# l|
00001d60  6f 63 61 6c 20 6e 75 6d  62 65 72 20 2d 20 64 6f  |ocal number - do|
00001d70  6e 27 74 20 70 72 65 66  69 78 20 77 69 74 68 20  |n't prefix with |
00001d80  6d 65 72 63 75 72 79 5f  70 69 6e 0a 73 65 74 20  |mercury_pin.set |
00001d90  49 73 6c 65 4f 66 57 69  67 68 74 20 30 31 39 38  |IsleOfWight 0198|
00001da0  33 35 32 33 33 30 36 0a  73 65 74 20 4c 65 65 64  |3523306.set Leed|
00001db0  73 20 20 20 20 20 20 25  6d 65 72 63 75 72 79 5f  |s      %mercury_|
00001dc0  70 69 6e 5c 30 31 31 33  32 39 38 34 38 34 38 0a  |pin\01132984848.|
00001dd0  73 65 74 20 4c 65 69 63  65 73 74 65 72 20 20 25  |set Leicester  %|
00001de0  6d 65 72 63 75 72 79 5f  70 69 6e 5c 30 31 31 36  |mercury_pin\0116|
00001df0  32 39 30 34 38 34 38 0a  73 65 74 20 4c 69 76 65  |2904848.set Live|
00001e00  72 70 6f 6f 6c 20 20 25  6d 65 72 63 75 72 79 5f  |rpool  %mercury_|
00001e10  70 69 6e 5c 30 31 35 31  32 31 30 34 38 34 38 0a  |pin\01512104848.|
00001e20  73 65 74 20 4c 6f 6e 64  6f 6e 20 20 20 20 20 25  |set London     %|
00001e30  6d 65 72 63 75 72 79 5f  70 69 6e 5c 30 31 38 31  |mercury_pin\0181|
00001e40  33 33 38 34 38 34 38 0a  73 65 74 20 4c 75 74 6f  |3384848.set Luto|
00001e50  6e 20 20 20 20 20 20 25  6d 65 72 63 75 72 79 5f  |n      %mercury_|
00001e60  70 69 6e 5c 30 31 35 38  32 36 34 34 38 34 38 0a  |pin\01582644848.|
00001e70  73 65 74 20 4d 61 6e 63  68 65 73 74 65 72 20 25  |set Manchester %|
00001e80  6d 65 72 63 75 72 79 5f  70 69 6e 5c 30 31 36 31  |mercury_pin\0161|
00001e90  33 38 35 34 38 34 38 0a  73 65 74 20 4e 65 77 63  |3854848.set Newc|
00001ea0  61 73 74 6c 65 20 20 25  6d 65 72 63 75 72 79 5f  |astle  %mercury_|
00001eb0  70 69 6e 5c 30 31 39 31  32 34 37 34 38 34 38 0a  |pin\01912474848.|
00001ec0  73 65 74 20 4e 6f 74 74  69 6e 67 68 61 6d 20 25  |set Nottingham %|
00001ed0  6d 65 72 63 75 72 79 5f  70 69 6e 5c 30 31 31 35  |mercury_pin\0115|
00001ee0  39 35 34 34 38 34 38 0a  73 65 74 20 50 72 65 73  |9544848.set Pres|
00001ef0  74 6f 6e 20 20 20 20 25  6d 65 72 63 75 72 79 5f  |ton    %mercury_|
00001f00  70 69 6e 5c 30 31 37 37  32 34 38 34 38 34 38 0a  |pin\01772484848.|
00001f10  73 65 74 20 52 65 61 64  69 6e 67 20 20 20 20 25  |set Reading    %|
00001f20  6d 65 72 63 75 72 79 5f  70 69 6e 5c 30 31 37 33  |mercury_pin\0173|
00001f30  34 32 38 34 38 34 38 0a  73 65 74 20 53 61 66 66  |4284848.set Saff|
00001f40  72 6f 6e 20 20 20 20 25  6d 65 72 63 75 72 79 5f  |ron    %mercury_|
00001f50  70 69 6e 5c 30 31 37 39  39 35 30 36 30 31 30 0a  |pin\01799506010.|
00001f60  73 65 74 20 53 68 65 66  66 69 65 6c 64 20 20 25  |set Sheffield  %|
00001f70  6d 65 72 63 75 72 79 5f  70 69 6e 5c 30 31 31 34  |mercury_pin\0114|
00001f80  32 33 38 34 38 34 38 0a  73 65 74 20 53 75 6e 64  |2384848.set Sund|
00001f90  65 72 6c 61 6e 64 20 25  6d 65 72 63 75 72 79 5f  |erland %mercury_|
00001fa0  70 69 6e 5c 30 31 39 31  35 32 32 35 30 30 35 0a  |pin\01915225005.|
00001fb0  73 65 74 20 57 6f 6c 76  65 72 68 61 6d 70 74 6f  |set Wolverhampto|
00001fc0  6e 20 25 6d 65 72 63 75  72 79 5f 70 69 6e 5c 30  |n %mercury_pin\0|
00001fd0  31 39 30 32 34 36 34 38  34 38 20 20 20 20 20 20  |1902464848      |
00001fe0  20 0a 0a 4d 6f 64 69 66  69 65 64 20 28 45 64 69  | ..Modified (Edi|
00001ff0  6e 62 75 72 67 68 29 20  6d 61 6b 65 4e 75 6d 62  |nburgh) makeNumb|
00002000  65 72 73 20 73 75 62 72  6f 75 74 69 6e 65 2e 2e  |ers subroutine..|
00002010  2e 0a 0a 0a 23 20 6c 6f  63 61 6c 20 6e 75 6d 62  |....# local numb|
00002020  65 72 20 2d 20 64 6f 6e  27 74 20 70 72 65 66 69  |er - don't prefi|
00002030  78 20 77 69 74 68 20 6d  65 72 63 75 72 79 5f 70  |x with mercury_p|
00002040  69 6e 0a 73 65 74 20 45  64 69 6e 62 75 72 67 68  |in.set Edinburgh|
00002050  20 30 31 33 31 35 35 32  38 38 38 33 0a 73 65 74  | 01315528883.set|
00002060  20 47 6c 6f 75 63 65 73  74 65 72 20 25 6d 65 72  | Gloucester %mer|
00002070  63 75 72 79 5f 70 69 6e  5c 30 31 34 35 32 33 35  |cury_pin\0145235|
00002080  34 38 34 38 0a 73 65 74  20 48 75 6c 6c 20 20 20  |4848.set Hull   |
00002090  20 20 20 20 25 6d 65 72  63 75 72 79 5f 70 69 6e  |    %mercury_pin|
000020a0  5c 30 31 34 38 32 34 39  35 35 38 30 0a 73 65 74  |\01482495580.set|
000020b0  20 49 73 6c 65 4f 66 57  69 67 68 74 20 25 6d 65  | IsleOfWight %me|
000020c0  72 63 75 72 79 5f 70 69  6e 5c 30 31 39 38 33 35  |rcury_pin\019835|
000020d0  32 33 33 30 36 0a 0a 0a  34 2e 32 20 54 6f 20 41  |23306...4.2 To A|
000020e0  6c 74 65 72 20 74 68 65  20 44 69 61 6c 6c 65 72  |lter the Dialler|
000020f0  20 4d 65 6e 75 2e 0a 2d  2d 2d 2d 2d 2d 2d 2d 2d  | Menu..---------|
00002100  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00002110  2d 2d 2d 2d 2d 0a 0a 54  68 65 20 64 69 61 6c 6c  |-----..The diall|
00002120  65 72 20 6d 65 6e 75 20  68 61 73 20 61 20 73 65  |er menu has a se|
00002130  6c 65 63 74 69 6f 6e 20  6f 66 20 27 70 68 6f 6e  |lection of 'phon|
00002140  65 20 6e 75 6d 62 65 72  73 20 66 72 6f 6d 20 74  |e numbers from t|
00002150  68 65 20 61 76 61 69 6c  61 62 6c 65 0a 6e 75 6d  |he available.num|
00002160  62 65 72 73 20 61 74 20  74 68 65 20 74 69 6d 65  |bers at the time|
00002170  20 74 68 65 20 73 63 72  69 70 74 20 77 61 73 20  | the script was |
00002180  77 72 69 74 74 65 6e 2e  20 20 55 6e 66 6f 72 74  |written.  Unfort|
00002190  75 6e 61 74 65 6c 79 2c  20 74 68 69 73 20 6c 65  |unately, this le|
000021a0  61 64 73 0a 74 6f 20 61  20 76 65 72 79 20 6c 6f  |ads.to a very lo|
000021b0  6e 67 20 6d 65 6e 75 21  20 20 41 6c 73 6f 2c 20  |ng menu!  Also, |
000021c0  79 6f 75 72 20 70 61 72  74 69 63 75 6c 61 72 20  |your particular |
000021d0  6e 75 6d 62 65 72 20 6d  61 79 20 6e 6f 74 20 62  |number may not b|
000021e0  65 20 6f 6e 0a 74 68 65  72 65 2c 20 73 6f 20 79  |e on.there, so y|
000021f0  6f 75 20 6d 61 79 20 77  61 6e 74 20 74 6f 20 6d  |ou may want to m|
00002200  6f 64 69 66 79 20 74 68  65 20 6d 65 6e 75 20 62  |odify the menu b|
00002210  79 20 73 65 61 72 63 68  69 6e 67 20 66 6f 72 20  |y searching for |
00002220  74 68 65 0a 73 75 62 72  6f 75 74 69 6e 65 0a 0a  |the.subroutine..|
00002230  3a 6d 61 6b 65 6d 65 6e  75 73 0a 0a 54 68 65 20  |:makemenus..The |
00002240  64 65 66 61 75 6c 74 20  73 75 62 72 6f 75 74 69  |default subrouti|
00002250  6e 65 20 6c 6f 6f 6b 73  20 6c 69 6b 65 20 74 68  |ne looks like th|
00002260  69 73 0a 0a 23 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |is..#-----------|
00002270  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
000022a0  0a 23 20 53 75 62 72 6f  75 74 69 6e 65 3a 20 6d  |.# Subroutine: m|
000022b0  61 6b 65 6d 65 6e 75 73  0a 23 20 44 65 66 69 6e  |akemenus.# Defin|
000022c0  65 73 20 74 68 65 20 6d  65 6e 75 73 20 66 6f 72  |es the menus for|
000022d0  20 64 69 61 6c 6c 69 6e  67 20 65 74 63 2e 20 20  | dialling etc.  |
000022e0  4e 6f 74 65 20 6d 65 6e  75 73 20 6d 75 73 74 20  |Note menus must |
000022f0  62 65 0a 23 20 6c 65 73  73 20 74 68 61 6e 20 32  |be.# less than 2|
00002300  35 35 20 63 68 61 72 61  63 74 65 72 73 2c 20 68  |55 characters, h|
00002310  65 6e 63 65 20 74 68 65  20 73 71 75 61 73 68 65  |ence the squashe|
00002320  64 20 6e 61 6d 65 73 2e  20 20 41 6c 73 6f 0a 23  |d names.  Also.#|
00002330  20 74 68 69 73 20 6d 65  6e 75 20 64 6f 65 73 20  | this menu does |
00002340  6e 6f 74 20 63 6f 6e 74  61 69 6e 20 61 6c 6c 20  |not contain all |
00002350  70 6f 73 73 69 62 6c 65  20 50 6f 70 73 2c 20 61  |possible Pops, a|
00002360  67 61 69 6e 20 64 75 65  0a 23 20 74 6f 20 6c 65  |gain due.# to le|
00002370  6e 67 74 68 20 72 65 73  74 72 69 63 74 69 6f 6e  |ngth restriction|
00002380  73 2e 0a 23 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |s..#------------|
00002390  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
000023b0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
000023c0  3a 6d 61 6b 65 6d 65 6e  75 73 0a 6d 65 6e 75 20  |:makemenus.menu |
000023d0  22 42 69 72 3a 63 61 6c  6c 20 42 69 22 20 22 42  |"Bir:call Bi" "B|
000023e0  72 69 3a 63 61 6c 6c 20  42 72 69 22 20 22 43 61  |ri:call Bri" "Ca|
000023f0  72 3a 63 61 6c 6c 20 43  61 72 22 20 22 45 64 69  |r:call Car" "Edi|
00002400  6e 3a 63 61 6c 6c 20 45  64 22 20 22 49 6f 57 3a  |n:call Ed" "IoW:|
00002410  63 61 6c 6c 20 49 77 22  20 22 4c 65 65 64 3a 63  |call Iw" "Leed:c|
00002420  61 6c 6c 20 4c 65 22 20  22 4c 69 76 3a 63 61 6c  |all Le" "Liv:cal|
00002430  6c 20 4c 69 76 22 20 22  4c 6f 6e 64 3a 63 61 6c  |l Liv" "Lond:cal|
00002440  6c 20 4c 6f 6e 22 20 22  4c 75 74 3a 63 61 6c 6c  |l Lon" "Lut:call|
00002450  20 4c 75 22 20 22 4d 61  6e 3a 63 61 6c 6c 20 4d  | Lu" "Man:call M|
00002460  61 22 20 22 4e 65 77 3a  63 61 6c 6c 20 4e 65 22  |a" "New:call Ne"|
00002470  20 22 4e 6f 74 3a 63 61  6c 6c 20 4e 6f 22 20 22  | "Not:call No" "|
00002480  52 65 61 64 3a 63 61 6c  6c 20 52 65 22 20 22 53  |Read:call Re" "S|
00002490  68 65 66 3a 63 61 6c 6c  20 53 68 22 20 22 57 6f  |hef:call Sh" "Wo|
000024a0  6c 3a 63 61 6c 6c 20 57  6f 22 20 22 4c 69 73 74  |l:call Wo" "List|
000024b0  3a 63 61 6c 6c 20 4c 69  73 22 0a 6d 65 6e 75 20  |:call Lis".menu |
000024c0  2f 69 63 6f 6e 3d 22 4d  65 72 63 75 72 79 22 20  |/icon="Mercury" |
000024d0  22 4d 65 72 63 75 72 79  20 4f 6e 3a 63 61 6c 6c  |"Mercury On:call|
000024e0  20 6d 65 72 63 75 72 79  5f 6f 6e 22 20 22 4d 65  | mercury_on" "Me|
000024f0  72 63 75 72 79 20 4f 66  66 3a 63 61 6c 6c 20 6d  |rcury Off:call m|
00002500  65 72 63 75 72 79 5f 6f  66 66 22 0a 6d 65 6e 75  |ercury_off".menu|
00002510  20 2f 69 63 6f 6e 3d 22  4c 6f 63 61 6c 22 20 20  | /icon="Local"  |
00002520  20 22 4c 6f 63 61 6c 20  63 61 6c 6c 3a 63 61 6c  | "Local call:cal|
00002530  6c 20 49 77 22 20 0a 72  65 74 75 72 6e 20 31 0a  |l Iw" .return 1.|
00002540  0a 49 66 20 79 6f 75 20  77 61 6e 74 65 64 20 74  |.If you wanted t|
00002550  6f 20 75 73 65 20 6f 6e  6c 79 20 53 68 65 66 66  |o use only Sheff|
00002560  69 65 6c 64 2c 20 4c 65  65 64 73 2c 20 4c 6f 6e  |ield, Leeds, Lon|
00002570  64 6f 6e 2c 20 61 6e 64  20 74 68 65 20 6c 69 73  |don, and the lis|
00002580  74 20 6f 66 20 0a 6e 75  6d 62 65 72 73 2c 20 79  |t of .numbers, y|
00002590  6f 75 20 63 6f 75 6c 64  20 63 68 61 6e 67 65 20  |ou could change |
000025a0  69 74 20 74 6f 20 0a 0a  3a 6d 61 6b 65 6d 65 6e  |it to ..:makemen|
000025b0  75 73 0a 6d 65 6e 75 20  22 53 68 65 66 66 69 65  |us.menu "Sheffie|
000025c0  6c 64 3a 63 61 6c 6c 20  53 68 22 20 22 4c 6f 6e  |ld:call Sh" "Lon|
000025d0  64 6f 6e 3a 63 61 6c 6c  20 6c 6f 22 20 22 4c 65  |don:call lo" "Le|
000025e0  65 64 73 3a 63 61 6c 6c  20 4c 65 22 20 22 53 68  |eds:call Le" "Sh|
000025f0  65 66 3a 63 61 6c 6c 20  53 68 22 20 22 4c 69 73  |ef:call Sh" "Lis|
00002600  74 3a 63 61 6c 6c 20 4c  69 73 22 0a 6d 65 6e 75  |t:call Lis".menu|
00002610  20 2f 69 63 6f 6e 3d 22  4d 65 72 63 75 72 79 22  | /icon="Mercury"|
00002620  20 22 4d 65 72 63 75 72  79 20 4f 6e 3a 63 61 6c  | "Mercury On:cal|
00002630  6c 20 6d 65 72 63 75 72  79 5f 6f 6e 22 20 22 4d  |l mercury_on" "M|
00002640  65 72 63 75 72 79 20 4f  66 66 3a 63 61 6c 6c 20  |ercury Off:call |
00002650  6d 65 72 63 75 72 79 5f  6f 66 66 22 0a 6d 65 6e  |mercury_off".men|
00002660  75 20 2f 69 63 6f 6e 3d  22 4c 6f 63 61 6c 22 20  |u /icon="Local" |
00002670  20 20 22 4c 6f 63 61 6c  20 63 61 6c 6c 3a 63 61  |  "Local call:ca|
00002680  6c 6c 20 53 68 22 20 0a  72 65 74 75 72 6e 20 31  |ll Sh" .return 1|
00002690  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
000026a0  20 20 20 20 20 20 20 20  20 20 20 0a 4e 6f 74 65  |           .Note|
000026b0  20 74 68 61 74 20 74 68  65 20 74 6f 74 61 6c 20  | that the total |
000026c0  6d 65 6e 75 20 73 74 72  69 6e 67 20 66 6f 72 20  |menu string for |
000026d0  61 6e 79 20 6f 6e 65 20  6d 65 6e 75 20 6d 75 73  |any one menu mus|
000026e0  74 20 62 65 20 6c 65 73  73 20 74 68 61 6e 20 32  |t be less than 2|
000026f0  35 35 0a 63 68 61 72 61  63 74 65 72 73 2e 20 20  |55.characters.  |
00002700  42 65 63 61 75 73 65 20  79 6f 75 20 68 61 76 65  |Because you have|
00002710  20 73 68 6f 72 74 65 6e  65 64 20 74 68 65 20 74  | shortened the t|
00002720  6f 74 61 6c 20 6d 65 6e  75 20 6c 65 6e 67 74 68  |otal menu length|
00002730  2c 20 69 74 20 69 73 0a  70 6f 73 73 69 62 6c 65  |, it is.possible|
00002740  20 74 6f 20 75 73 65 20  6c 6f 6e 67 65 72 20 6d  | to use longer m|
00002750  65 6e 75 20 65 6e 74 72  79 20 6e 61 6d 65 73 20  |enu entry names |
00002760  28 69 2e 65 2e 20 22 53  68 65 66 66 69 65 6c 64  |(i.e. "Sheffield|
00002770  22 20 69 6e 73 74 65 61  64 20 6f 66 0a 22 53 68  |" instead of."Sh|
00002780  65 66 22 29 2e 0a 0a 42  75 74 20 79 6f 75 20 6d  |ef")...But you m|
00002790  75 73 74 20 6e 6f 74 20  61 6c 74 65 72 20 74 68  |ust not alter th|
000027a0  65 20 73 75 62 72 6f 75  74 69 6e 65 20 6e 61 6d  |e subroutine nam|
000027b0  65 73 20 28 65 2e 67 2e  20 64 6f 6e 27 74 20 63  |es (e.g. don't c|
000027c0  68 61 6e 67 65 0a 22 53  68 65 66 3a 63 61 6c 6c  |hange."Shef:call|
000027d0  20 53 68 22 20 74 6f 20  22 53 68 65 66 3a 63 61  | Sh" to "Shef:ca|
000027e0  6c 6c 20 53 68 65 66 66  69 65 6c 64 22 2c 20 62  |ll Sheffield", b|
000027f0  65 63 61 75 73 65 20 74  68 65 72 65 20 69 73 6e  |ecause there isn|
00002800  27 74 20 61 0a 73 75 62  72 6f 75 74 69 6e 65 20  |'t a.subroutine |
00002810  6e 61 6d 65 64 20 53 68  65 66 66 69 65 6c 64 2c  |named Sheffield,|
00002820  20 6f 6e 6c 79 20 6f 6e  65 20 63 61 6c 6c 65 64  | only one called|
00002830  20 53 68 29 2e 0a 0a 4e  6f 74 65 20 61 6c 73 6f  | Sh)...Note also|
00002840  20 69 6e 20 74 68 65 20  65 78 61 6d 70 6c 65 20  | in the example |
00002850  61 62 6f 76 65 2c 20 74  68 65 20 4c 6f 63 61 6c  |above, the Local|
00002860  20 69 63 6f 6e 20 62 61  72 20 69 63 6f 6e 20 68  | icon bar icon h|
00002870  61 73 20 62 65 65 6e 0a  61 6c 74 65 72 65 64 20  |as been.altered |
00002880  74 6f 20 73 65 74 75 70  20 53 68 65 66 66 69 65  |to setup Sheffie|
00002890  6c 64 20 61 73 20 74 68  65 20 6c 6f 63 61 6c 20  |ld as the local |
000028a0  6e 75 6d 62 65 72 20 28  73 65 65 20 62 65 6c 6f  |number (see belo|
000028b0  77 29 2e 0a 0a 34 2e 33  20 54 6f 20 41 6c 74 65  |w)...4.3 To Alte|
000028c0  72 20 74 68 65 20 4c 69  73 74 20 6f 66 20 4e 75  |r the List of Nu|
000028d0  6d 62 65 72 73 0a 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |mbers.----------|
000028e0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000028f0  2d 2d 2d 2d 2d 2d 0a 0a  54 68 65 20 73 63 72 69  |------..The scri|
00002900  70 74 20 68 61 73 20 61  20 64 69 61 6c 6c 65 72  |pt has a dialler|
00002910  20 6d 65 6e 75 20 6f 70  74 69 6f 6e 20 22 4c 69  | menu option "Li|
00002920  73 74 22 20 77 68 69 63  68 20 64 69 61 6c 73 20  |st" which dials |
00002930  61 20 73 65 71 75 65 6e  63 65 0a 6f 66 20 70 68  |a sequence.of ph|
00002940  6f 6e 65 20 6e 75 6d 62  65 72 73 2e 20 20 46 6f  |one numbers.  Fo|
00002950  72 20 69 6e 73 74 61 6e  63 65 2c 20 69 66 20 79  |r instance, if y|
00002960  6f 75 20 6e 6f 72 6d 61  6c 6c 79 20 64 69 61 6c  |ou normally dial|
00002970  20 52 65 61 64 69 6e 67  2c 20 62 75 74 0a 61 66  | Reading, but.af|
00002980  74 65 72 20 61 20 6e 75  6d 62 65 72 20 6f 66 20  |ter a number of |
00002990  74 72 69 65 73 20 77 61  6e 74 20 74 6f 20 74 72  |tries want to tr|
000029a0  79 20 4c 6f 6e 64 6f 6e  20 69 6e 73 74 65 61 64  |y London instead|
000029b0  2c 20 79 6f 75 20 63 61  6e 20 65 64 69 74 0a 74  |, you can edit.t|
000029c0  68 65 20 4c 69 73 74 20  6d 65 6e 75 20 64 65 66  |he List menu def|
000029d0  69 6e 69 74 69 6f 6e 2e  0a 0a 54 6f 20 63 68 61  |inition...To cha|
000029e0  6e 67 65 20 74 68 65 20  4c 69 73 74 2c 20 6c 6f  |nge the List, lo|
000029f0  6f 6b 20 66 6f 72 20 74  68 65 20 73 75 62 72 6f  |ok for the subro|
00002a00  75 74 69 6e 65 20 6d 61  6b 65 4e 75 6d 62 65 72  |utine makeNumber|
00002a10  73 2e 20 20 54 68 69 73  20 69 73 0a 71 75 69 74  |s.  This is.quit|
00002a20  65 20 63 6c 6f 73 65 20  74 6f 20 74 68 65 20 62  |e close to the b|
00002a30  6f 74 74 6f 6d 20 6f 66  20 74 68 65 20 66 69 6c  |ottom of the fil|
00002a40  65 2e 0a 0a 54 68 65 20  64 65 66 61 75 6c 74 20  |e...The default |
00002a50  73 65 74 75 70 20 69 73  20 0a 0a 23 0a 23 45 64  |setup is ..#.#Ed|
00002a60  69 74 20 74 68 65 20 66  6f 6c 6c 6f 77 69 6e 67  |it the following|
00002a70  20 6c 69 6e 65 20 74 6f  20 63 75 73 74 6f 6d 69  | line to customi|
00002a80  73 65 20 74 68 65 20 6c  69 73 74 20 6f 66 20 6e  |se the list of n|
00002a90  75 6d 62 65 72 73 20 77  68 69 63 68 0a 23 20 73  |umbers which.# s|
00002aa0  6c 69 70 64 69 61 6c 20  64 69 61 6c 73 20 69 6e  |lipdial dials in|
00002ab0  20 73 65 71 75 65 6e 63  65 2e 20 20 4e 6f 74 65  | sequence.  Note|
00002ac0  20 74 68 61 74 20 74 68  65 20 6c 69 73 74 20 69  | that the list i|
00002ad0  73 20 6d 61 64 65 20 75  70 0a 23 20 6e 61 6d 65  |s made up.# name|
00002ae0  73 20 64 65 66 69 6e 65  64 20 61 62 6f 76 65 2c  |s defined above,|
00002af0  20 70 72 65 63 65 64 65  64 20 62 79 20 61 20 27  | preceded by a '|
00002b00  25 27 2e 20 20 4e 6f 74  65 20 74 68 61 74 20 74  |%'.  Note that t|
00002b10  68 65 20 73 70 61 63 65  73 0a 23 20 62 65 74 77  |he spaces.# betw|
00002b20  65 65 6e 20 74 68 65 20  6e 61 6d 65 73 20 69 6e  |een the names in|
00002b30  20 74 68 65 20 4c 69 73  74 20 6d 75 73 74 20 62  | the List must b|
00002b40  65 20 69 6e 63 6c 75 64  65 64 2e 0a 23 0a 23 20  |e included..#.# |
00002b50  45 78 61 6d 70 6c 65 20  2d 20 74 6f 20 63 61 6c  |Example - to cal|
00002b60  6c 20 68 75 6c 6c 2c 20  62 72 61 64 66 6f 72 64  |l hull, bradford|
00002b70  2c 20 73 61 66 66 72 6f  6e 20 77 61 6c 64 65 6e  |, saffron walden|
00002b80  20 69 6e 20 74 68 61 74  20 6f 72 64 65 72 0a 23  | in that order.#|
00002b90  20 79 6f 75 20 77 6f 75  6c 64 20 75 73 65 0a 23  | you would use.#|
00002ba0  0a 23 20 73 65 74 20 4c  69 73 74 20 22 25 48 75  |.# set List "%Hu|
00002bb0  6c 6c 20 25 42 72 61 64  66 6f 72 64 20 25 53 61  |ll %Bradford %Sa|
00002bc0  66 66 72 6f 6e 22 0a 23  0a 23 20 4e 6f 74 65 20  |ffron".#.# Note |
00002bd0  74 68 61 74 20 74 68 65  20 6e 75 6d 62 65 72 20  |that the number |
00002be0  6f 66 20 72 65 74 72 69  65 73 20 6d 61 64 65 20  |of retries made |
00002bf0  61 74 20 65 61 63 68 20  6e 75 6d 62 65 72 20 69  |at each number i|
00002c00  73 0a 23 20 73 65 74 20  69 6e 20 74 68 65 20 73  |s.# set in the s|
00002c10  75 62 72 6f 75 74 69 6e  65 20 3a 4c 69 73 0a 23  |ubroutine :Lis.#|
00002c20  0a 73 65 74 20 4c 69 73  74 20 22 25 49 73 6c 65  |.set List "%Isle|
00002c30  4f 66 57 69 67 68 74 20  25 4c 6f 6e 64 6f 6e 20  |OfWight %London |
00002c40  25 52 65 61 64 69 6e 67  22 0a 72 65 74 75 72 6e  |%Reading".return|
00002c50  0a 0a 53 75 70 70 6f 73  65 20 74 68 61 74 20 79  |..Suppose that y|
00002c60  6f 75 20 77 61 6e 74 20  74 6f 20 64 69 61 6c 20  |ou want to dial |
00002c70  53 68 65 66 66 69 65 6c  64 20 66 69 72 73 74 2c  |Sheffield first,|
00002c80  20 4c 65 65 64 73 20 73  65 63 6f 6e 64 2c 20 61  | Leeds second, a|
00002c90  6e 64 0a 4c 6f 6e 64 6f  6e 20 74 68 69 72 64 2e  |nd.London third.|
00002ca0  20 20 54 68 65 6e 20 79  6f 75 20 77 6f 75 6c 64  |  Then you would|
00002cb0  20 6d 6f 64 69 66 79 20  74 68 65 20 73 65 63 6f  | modify the seco|
00002cc0  6e 64 20 66 72 6f 6d 20  6c 61 73 74 20 6c 69 6e  |nd from last lin|
00002cd0  65 0a 66 72 6f 6d 0a 0a  73 65 74 20 4c 69 73 74  |e.from..set List|
00002ce0  20 22 25 49 73 6c 65 4f  66 57 69 67 68 74 20 25  | "%IsleOfWight %|
00002cf0  4c 6f 6e 64 6f 6e 20 25  52 65 61 64 69 6e 67 22  |London %Reading"|
00002d00  0a 0a 74 6f 0a 0a 73 65  74 20 4c 69 73 74 20 22  |..to..set List "|
00002d10  25 53 68 65 66 66 69 65  6c 64 20 25 4c 65 65 64  |%Sheffield %Leed|
00002d20  73 20 25 4c 6f 6e 64 6f  6e 22 0a 0a 59 6f 75 20  |s %London"..You |
00002d30  6d 75 73 74 20 69 6e 63  6c 75 64 65 20 74 68 65  |must include the|
00002d40  20 22 25 22 2c 20 61 6e  64 20 61 6c 73 6f 20 74  | "%", and also t|
00002d50  68 65 20 73 70 61 63 65  73 2e 0a 0a 0a 34 2e 34  |he spaces....4.4|
00002d60  20 54 6f 20 41 6c 74 65  72 20 74 68 65 20 4e 75  | To Alter the Nu|
00002d70  6d 62 65 72 20 6f 66 20  52 65 74 72 69 65 73 2e  |mber of Retries.|
00002d80  0a 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.---------------|
00002d90  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00002da0  2d 2d 2d 2d 0a 0a 46 6f  72 20 65 61 63 68 20 70  |----..For each p|
00002db0  68 6f 6e 65 20 6e 75 6d  62 65 72 2c 20 74 68 65  |hone number, the|
00002dc0  72 65 20 69 73 20 61 20  73 75 62 72 6f 75 74 69  |re is a subrouti|
00002dd0  6e 65 2e 20 20 46 6f 72  20 69 6e 73 74 61 6e 63  |ne.  For instanc|
00002de0  65 2c 20 66 6f 72 0a 42  72 61 64 66 6f 72 64 2c  |e, for.Bradford,|
00002df0  20 74 68 65 72 65 20 69  73 20 61 20 73 75 62 72  | there is a subr|
00002e00  6f 75 74 69 6e 65 20 63  61 6c 6c 65 64 20 42 72  |outine called Br|
00002e10  2e 20 20 54 6f 20 66 69  6e 64 20 74 68 69 73 2c  |.  To find this,|
00002e20  20 73 65 61 72 63 68 0a  66 6f 72 20 74 68 65 20  | search.for the |
00002e30  73 74 72 69 6e 67 20 22  3a 42 72 22 2e 0a 0a 54  |string ":Br"...T|
00002e40  68 65 20 73 75 62 72 6f  75 74 69 6e 65 20 6c 6f  |he subroutine lo|
00002e50  6f 6b 73 20 6c 69 6b 65  20 74 68 69 73 0a 0a 23  |oks like this..#|
00002e60  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00002e90  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 23 20 53 75  |-----------.# Su|
00002ea0  62 72 6f 75 74 69 6e 65  3a 20 42 72 0a 23 20 63  |broutine: Br.# c|
00002eb0  61 6c 6c 73 20 42 72 61  64 66 6f 72 64 20 64 65  |alls Bradford de|
00002ec0  6d 6f 6e 20 70 68 6f 6e  65 20 6e 75 6d 62 65 72  |mon phone number|
00002ed0  0a 23 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.#--------------|
00002ee0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00002f00  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 0a 3a 42  |-------------.:B|
00002f10  72 0a 73 65 74 20 6e 52  65 74 72 69 65 73 20 35  |r.set nRetries 5|
00002f20  30 0a 73 65 74 20 70 68  6f 6e 65 6e 75 6d 20 25  |0.set phonenum %|
00002f30  42 72 61 64 66 6f 72 64  0a 67 6f 74 6f 20 64 6f  |Bradford.goto do|
00002f40  64 69 61 6c 0a 0a 49 66  20 79 6f 75 20 77 61 6e  |dial..If you wan|
00002f50  74 20 74 6f 20 61 6c 74  65 72 20 74 68 65 20 6e  |t to alter the n|
00002f60  75 6d 62 65 72 20 6f 66  20 72 65 74 72 69 65 73  |umber of retries|
00002f70  20 28 69 2e 65 2e 20 68  6f 77 20 6d 61 6e 79 20  | (i.e. how many |
00002f80  74 69 6d 65 73 20 0a 53  6c 69 70 44 69 61 6c 20  |times .SlipDial |
00002f90  77 69 6c 6c 20 61 74 74  65 6d 70 74 20 74 6f 20  |will attempt to |
00002fa0  64 69 61 6c 20 61 20 6e  75 6d 62 65 72 20 61 6e  |dial a number an|
00002fb0  64 20 66 69 6e 64 69 6e  67 20 69 74 20 69 73 20  |d finding it is |
00002fc0  65 6e 67 61 67 65 64 0a  62 65 66 6f 72 65 20 67  |engaged.before g|
00002fd0  69 76 69 6e 67 20 75 70  29 2c 20 63 68 61 6e 67  |iving up), chang|
00002fe0  65 20 74 68 65 20 6c 69  6e 65 0a 0a 73 65 74 20  |e the line..set |
00002ff0  6e 52 65 74 72 69 65 73  20 35 30 0a 0a 46 6f 72  |nRetries 50..For|
00003000  20 69 6e 73 74 61 6e 63  65 2c 20 73 75 70 70 6f  | instance, suppo|
00003010  73 65 20 79 6f 75 20 77  61 6e 74 20 74 6f 20 72  |se you want to r|
00003020  65 74 72 79 20 31 30 30  20 74 69 6d 65 73 2e 20  |etry 100 times. |
00003030  20 43 68 61 6e 67 65 20  74 68 69 73 20 6c 69 6e  | Change this lin|
00003040  65 0a 74 6f 20 0a 0a 73  65 74 20 6e 52 65 74 72  |e.to ..set nRetr|
00003050  69 65 73 20 31 30 30 0a  0a 4e 6f 74 65 3a 20 74  |ies 100..Note: t|
00003060  68 65 72 65 20 69 73 20  61 20 73 65 70 61 72 61  |here is a separa|
00003070  74 65 20 6e 75 6d 62 65  72 20 6f 66 20 72 65 74  |te number of ret|
00003080  72 69 65 73 20 66 6f 72  20 65 61 63 68 20 70 68  |ries for each ph|
00003090  6f 6e 65 20 6e 75 6d 62  65 72 20 69 6e 20 0a 74  |one number in .t|
000030a0  68 65 20 73 63 72 69 70  74 2c 20 61 6e 64 20 61  |he script, and a|
000030b0  6c 73 6f 20 66 6f 72 20  74 68 65 20 22 4c 69 73  |lso for the "Lis|
000030c0  74 22 20 6c 69 73 74 20  6f 66 20 6e 75 6d 62 65  |t" list of numbe|
000030d0  72 73 2e 20 20 54 6f 20  63 68 61 6e 67 65 0a 74  |rs.  To change.t|
000030e0  68 65 20 6e 75 6d 62 65  72 20 6f 66 20 72 65 74  |he number of ret|
000030f0  72 69 65 73 20 66 6f 72  20 74 68 65 20 4c 69 73  |ries for the Lis|
00003100  74 2c 20 73 65 61 72 63  68 20 66 6f 72 20 22 3a  |t, search for ":|
00003110  4c 69 73 22 2e 0a 0a 4e  6f 74 65 20 74 68 61 74  |Lis"...Note that|
00003120  20 69 6e 20 74 68 65 20  63 61 73 65 20 6f 66 20  | in the case of |
00003130  74 68 65 20 6c 69 73 74  2c 20 74 68 65 20 6e 75  |the list, the nu|
00003140  6d 62 65 72 20 6f 66 20  72 65 74 72 69 65 73 20  |mber of retries |
00003150  64 65 66 69 6e 65 64 20  77 69 6c 6c 0a 62 65 20  |defined will.be |
00003160  74 68 65 20 73 61 6d 65  20 66 6f 72 20 65 61 63  |the same for eac|
00003170  68 20 6e 75 6d 62 65 72  20 69 6e 20 74 68 65 20  |h number in the |
00003180  6c 69 73 74 2e 20 20 53  6f 20 69 66 20 79 6f 75  |list.  So if you|
00003190  20 64 69 61 6c 20 53 68  65 66 66 69 65 6c 64 2c  | dial Sheffield,|
000031a0  20 0a 4c 65 65 64 73 2c  20 61 6e 64 20 4c 6f 6e  | .Leeds, and Lon|
000031b0  64 6f 6e 20 69 6e 20 74  68 65 20 6c 69 73 74 2c  |don in the list,|
000031c0  20 61 6e 64 20 73 65 74  20 6e 52 65 74 72 69 65  | and set nRetrie|
000031d0  73 20 74 6f 20 35 20 69  6e 20 74 68 65 20 3a 4c  |s to 5 in the :L|
000031e0  69 73 0a 73 75 62 72 6f  75 74 69 6e 65 2c 20 53  |is.subroutine, S|
000031f0  6c 69 70 44 69 61 6c 20  77 69 6c 6c 0a 0a 61 29  |lipDial will..a)|
00003200  20 64 69 61 6c 20 53 68  65 66 66 69 65 6c 64 20  | dial Sheffield |
00003210  35 20 74 69 6d 65 73 20  6d 61 78 69 6d 75 6d 0a  |5 times maximum.|
00003220  62 29 20 69 66 20 53 68  65 66 66 69 65 6c 64 20  |b) if Sheffield |
00003230  77 61 73 20 65 6e 67 61  67 65 64 2c 20 64 69 61  |was engaged, dia|
00003240  6c 20 4c 65 65 64 73 20  35 20 74 69 6d 65 73 20  |l Leeds 5 times |
00003250  6d 61 78 69 6d 75 6d 0a  63 29 20 69 66 20 4c 65  |maximum.c) if Le|
00003260  65 64 73 20 77 61 73 20  65 6e 67 61 67 65 64 2c  |eds was engaged,|
00003270  20 64 69 61 6c 20 4c 6f  6e 64 6f 6e 20 35 20 74  | dial London 5 t|
00003280  69 6d 65 73 20 6d 61 78  69 6d 75 6d 2e 0a 64 29  |imes maximum..d)|
00003290  20 67 69 76 65 20 75 70  20 69 6e 20 64 69 73 67  | give up in disg|
000032a0  75 73 74 0a 0a 54 68 65  20 64 65 66 61 75 6c 74  |ust..The default|
000032b0  20 73 65 74 75 70 20 69  73 20 74 68 61 74 20 61  | setup is that a|
000032c0  6c 6c 20 6d 65 6e 75 20  69 74 65 6d 73 20 61 72  |ll menu items ar|
000032d0  65 20 74 72 69 65 64 20  75 70 20 74 6f 20 35 30  |e tried up to 50|
000032e0  20 74 69 6d 65 73 2c 0a  65 78 63 65 70 74 20 66  | times,.except f|
000032f0  6f 72 20 74 68 65 20 6c  69 73 74 20 77 68 65 72  |or the list wher|
00003300  65 20 65 61 63 68 20 6e  75 6d 62 65 72 20 69 73  |e each number is|
00003310  20 74 72 69 65 64 20 35  20 74 69 6d 65 73 2e 20  | tried 5 times. |
00003320  20 54 68 65 20 69 64 65  61 0a 62 65 68 69 6e 64  | The idea.behind|
00003330  20 74 68 69 73 20 69 73  20 74 68 61 74 20 79 6f  | this is that yo|
00003340  75 20 77 6f 75 6c 64 20  6f 6e 6c 79 20 75 73 65  |u would only use|
00003350  20 74 68 65 20 4c 69 73  74 20 69 66 20 79 6f 75  | the List if you|
00003360  20 77 65 72 65 20 74 72  79 69 6e 67 0a 74 6f 20  | were trying.to |
00003370  67 65 74 20 74 68 72 6f  75 67 68 20 71 75 69 63  |get through quic|
00003380  6b 6c 79 2e 0a 0a 0a 34  2e 35 20 54 6f 20 41 64  |kly....4.5 To Ad|
00003390  64 20 61 20 4e 65 77 20  54 65 6c 65 70 68 6f 6e  |d a New Telephon|
000033a0  65 20 4e 75 6d 62 65 72  0a 2d 2d 2d 2d 2d 2d 2d  |e Number.-------|
000033b0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000033c0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 0a 54 68 69 73  |----------..This|
000033d0  20 69 73 20 74 68 65 20  6d 6f 73 74 20 74 72 69  | is the most tri|
000033e0  63 6b 79 20 6f 6e 65 2c  20 61 73 20 79 6f 75 20  |cky one, as you |
000033f0  77 6f 75 6c 64 20 68 61  76 65 20 74 6f 20 65 64  |would have to ed|
00003400  69 74 20 74 68 65 20 73  63 72 69 70 74 2e 20 20  |it the script.  |
00003410  49 66 0a 79 6f 75 20 61  72 65 20 64 6f 69 6e 67  |If.you are doing|
00003420  20 74 68 69 73 2c 20 79  6f 75 20 63 6f 75 6c 64  | this, you could|
00003430  20 65 69 74 68 65 72 0a  0a 61 29 20 63 6f 70 79  | either..a) copy|
00003440  20 65 78 61 63 74 6c 79  20 68 6f 77 20 6f 6e 65  | exactly how one|
00003450  20 6f 66 20 74 68 65 20  6f 74 68 65 72 20 6e 75  | of the other nu|
00003460  6d 62 65 72 73 20 69 73  20 73 65 74 20 75 70 2c  |mbers is set up,|
00003470  20 6a 75 73 74 20 63 68  61 6e 67 65 0a 74 68 65  | just change.the|
00003480  20 6e 75 6d 62 65 72 20  61 6e 64 20 74 68 65 20  | number and the |
00003490  73 75 62 72 6f 75 74 69  6e 65 20 6e 61 6d 65 73  |subroutine names|
000034a0  0a 0a 62 29 20 63 6f 6e  74 61 63 74 20 6d 65 0a  |..b) contact me.|
000034b0  20 20 20 20 20 20 20 61  6c 61 6e 40 63 79 63 6c  |       alan@cycl|
000034c0  65 2e 64 65 6d 6f 6e 2e  63 6f 2e 75 6b 0a 20 20  |e.demon.co.uk.  |
000034d0  20 20 20 20 20 0a 61 6e  64 20 61 73 6b 20 6d 65  |     .and ask me|
000034e0  20 74 6f 20 75 70 64 61  74 65 20 74 68 65 20 73  | to update the s|
000034f0  63 72 69 70 74 2e 20 20  20 0a 0a 49 66 20 79 6f  |cript.   ..If yo|
00003500  75 20 77 61 6e 74 20 74  6f 20 64 6f 20 69 74 20  |u want to do it |
00003510  79 6f 75 72 73 65 6c 66  2c 20 72 65 6d 65 6d 62  |yourself, rememb|
00003520  65 72 0a 0a 31 29 20 64  6f 6e 27 74 20 65 78 63  |er..1) don't exc|
00003530  65 65 64 20 32 35 35 20  63 68 61 72 61 63 74 65  |eed 255 characte|
00003540  72 73 20 69 6e 20 74 68  65 20 6d 65 6e 75 20 64  |rs in the menu d|
00003550  65 66 69 6e 69 74 69 6f  6e 73 0a 32 29 20 64 6f  |efinitions.2) do|
00003560  6e 27 74 20 75 73 65 20  61 20 76 61 72 69 61 62  |n't use a variab|
00003570  6c 65 20 6f 72 20 73 75  62 72 6f 75 74 69 6e 65  |le or subroutine|
00003580  20 6e 61 6d 65 20 74 68  61 74 27 73 20 61 6c 72  | name that's alr|
00003590  65 61 64 79 20 69 6e 20  75 73 65 0a 33 29 20 72  |eady in use.3) r|
000035a0  65 6d 65 6d 62 65 72 20  74 68 61 74 20 74 68 65  |emember that the|
000035b0  20 73 75 62 72 6f 75 74  69 6e 65 20 6e 61 6d 65  | subroutine name|
000035c0  73 20 61 72 65 20 63 61  73 65 2d 73 65 6e 73 69  |s are case-sensi|
000035d0  74 69 76 65 0a 20 20 20  0a 46 6f 72 20 69 6e 73  |tive.   .For ins|
000035e0  74 61 6e 63 65 2c 20 69  66 20 44 65 6d 6f 6e 20  |tance, if Demon |
000035f0  6f 70 65 6e 65 64 20 61  20 6c 69 6e 65 20 61 74  |opened a line at|
00003600  20 4c 6f 77 65 73 74 6f  66 74 2c 20 79 6f 75 20  | Lowestoft, you |
00003610  63 61 6e 27 74 20 75 73  65 0a 0a 3a 4c 6f 20 0a  |can't use..:Lo .|
00003620  0a 66 6f 72 20 74 68 65  20 73 75 62 72 6f 75 74  |.for the subrout|
00003630  69 6e 65 20 6e 61 6d 65  2c 20 61 73 20 69 74 20  |ine name, as it |
00003640  68 61 73 20 61 6c 72 65  61 64 79 20 62 65 65 6e  |has already been|
00003650  20 75 73 65 64 20 66 6f  72 20 4c 6f 6e 64 6f 6e  | used for London|
00003660  2e 0a 0a 34 29 20 44 6f  6e 27 74 20 66 6f 72 67  |...4) Don't forg|
00003670  65 74 20 74 6f 20 61 64  64 20 74 68 65 20 6e 65  |et to add the ne|
00003680  77 20 70 68 6f 6e 65 6e  75 6d 62 65 72 20 74 6f  |w phonenumber to|
00003690  20 74 68 65 20 0a 0a 20  20 20 20 6d 61 6b 65 4e  | the ..    makeN|
000036a0  75 6d 62 65 72 73 20 0a  20 20 20 20 0a 73 75 62  |umbers .    .sub|
000036b0  72 6f 75 74 69 6e 65 2e  0a 0a 34 2e 36 20 54 6f  |routine...4.6 To|
000036c0  20 43 68 61 6e 67 65 20  74 68 65 20 4c 6f 63 61  | Change the Loca|
000036d0  6c 20 44 69 61 6c 6c 65  72 20 49 63 6f 6e 20 4e  |l Dialler Icon N|
000036e0  75 6d 62 65 72 2e 0a 2d  2d 2d 2d 2d 2d 2d 2d 2d  |umber..---------|
000036f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00003710  2d 2d 2d 0a 0a 54 68 69  73 20 76 65 72 73 69 6f  |---..This versio|
00003720  6e 20 6f 66 20 74 68 65  20 73 63 72 69 70 74 20  |n of the script |
00003730  61 6c 6c 6f 77 20 79 6f  75 72 20 66 61 76 6f 75  |allow your favou|
00003740  72 69 74 65 20 6e 75 6d  62 65 72 20 74 6f 20 62  |rite number to b|
00003750  65 20 61 74 74 61 63 68  65 64 0a 74 6f 20 61 6e  |e attached.to an|
00003760  20 69 63 6f 6e 20 6f 6e  20 74 68 65 20 69 63 6f  | icon on the ico|
00003770  6e 20 62 61 72 2e 20 54  68 69 73 20 61 6c 6c 6f  |n bar. This allo|
00003780  77 73 20 79 6f 75 20 74  6f 20 64 69 61 6c 20 74  |ws you to dial t|
00003790  68 61 74 20 6e 75 6d 62  65 72 0a 77 69 74 68 6f  |hat number.witho|
000037a0  75 74 20 68 61 76 69 6e  67 20 74 6f 20 75 73 65  |ut having to use|
000037b0  20 74 68 65 20 6d 65 6e  75 20 69 74 65 6d 2e 20  | the menu item. |
000037c0  20 48 6f 77 65 76 65 72  20 74 6f 20 62 65 20 75  | However to be u|
000037d0  73 65 66 75 6c 20 79 6f  75 20 6d 75 73 74 0a 0a  |seful you must..|
000037e0  61 29 20 6d 61 6b 65 20  73 75 72 65 20 79 6f 75  |a) make sure you|
000037f0  20 68 61 76 65 20 74 68  65 20 63 6f 72 72 65 63  | have the correc|
00003800  74 20 76 65 72 73 69 6f  6e 20 6f 66 20 74 68 65  |t version of the|
00003810  20 66 69 6c 65 0a 21 53  6c 69 70 44 69 61 6c 2e  | file.!SlipDial.|
00003820  73 63 72 69 70 74 73 2e  44 65 6d 6f 6e 53 70 72  |scripts.DemonSpr|
00003830  0a 0a 62 29 20 65 64 69  74 20 74 68 65 20 6d 61  |..b) edit the ma|
00003840  6b 65 4d 65 6e 75 73 20  73 75 62 72 6f 75 74 69  |keMenus subrouti|
00003850  6e 65 20 73 6f 20 74 68  61 74 20 63 6c 69 63 6b  |ne so that click|
00003860  69 6e 67 20 6f 6e 20 74  68 65 20 69 63 6f 6e 20  |ing on the icon |
00003870  63 61 6c 6c 73 0a 79 6f  75 72 20 6e 75 6d 62 65  |calls.your numbe|
00003880  72 2c 20 61 6e 64 20 6e  6f 74 20 74 68 65 20 64  |r, and not the d|
00003890  65 66 61 75 6c 74 20 28  77 68 69 63 68 20 69 73  |efault (which is|
000038a0  20 74 68 65 20 49 73 6c  65 20 6f 66 20 57 69 67  | the Isle of Wig|
000038b0  68 74 29 0a 0a 63 29 20  65 64 69 74 20 74 68 65  |ht)..c) edit the|
000038c0  20 69 6e 69 74 4d 61 69  6e 20 73 75 62 72 6f 75  | initMain subrou|
000038d0  74 69 6e 65 20 74 6f 20  6d 61 6b 65 20 73 75 72  |tine to make sur|
000038e0  65 20 63 6c 69 63 6b 69  6e 67 20 6f 6e 20 74 68  |e clicking on th|
000038f0  65 20 69 63 6f 6e 20 0a  64 69 61 6c 73 20 74 68  |e icon .dials th|
00003900  65 20 6e 75 6d 62 65 72  20 79 6f 75 20 77 61 6e  |e number you wan|
00003910  74 2e 0a 0a 46 6f 72 20  61 29 2c 20 79 6f 75 20  |t...For a), you |
00003920  73 68 6f 75 6c 64 20 62  65 20 6f 6b 20 69 66 20  |should be ok if |
00003930  79 6f 75 20 64 6f 77 6e  6c 6f 61 64 20 74 68 65  |you download the|
00003940  20 75 70 2d 74 6f 2d 64  61 74 65 20 76 65 72 73  | up-to-date vers|
00003950  69 6f 6e 20 6f 66 20 74  68 65 0a 73 63 72 69 70  |ion of the.scrip|
00003960  74 20 66 69 6c 65 2c 20  61 73 20 63 6f 6e 74 61  |t file, as conta|
00003970  69 6e 65 64 20 69 6e 20  74 68 65 20 41 63 6f 72  |ined in the Acor|
00003980  6e 20 53 74 61 72 74 65  72 2d 50 61 63 6b 2e 20  |n Starter-Pack. |
00003990  20 49 66 20 79 6f 75 20  68 61 76 65 20 61 0a 64  | If you have a.d|
000039a0  65 6d 6f 6e 73 70 72 20  66 69 6c 65 20 77 69 74  |emonspr file wit|
000039b0  68 20 6f 6e 6c 79 20 74  77 6f 20 73 70 72 69 74  |h only two sprit|
000039c0  65 73 20 69 6e 20 69 74  2c 20 79 6f 75 20 68 61  |es in it, you ha|
000039d0  76 65 20 67 6f 74 20 74  68 65 20 77 72 6f 6e 67  |ve got the wrong|
000039e0  0a 76 65 72 73 69 6f 6e  20 2d 20 79 6f 75 20 63  |.version - you c|
000039f0  61 6e 20 6f 76 65 72 63  6f 6d 65 20 74 68 69 73  |an overcome this|
00003a00  20 74 65 6d 70 6f 72 61  72 69 6c 79 20 62 79 20  | temporarily by |
00003a10  63 72 65 61 74 69 6e 67  20 61 20 64 75 6d 6d 79  |creating a dummy|
00003a20  20 73 70 72 69 74 65 0a  69 6e 20 74 68 65 20 44  | sprite.in the D|
00003a30  65 6d 6f 6e 53 70 72 20  66 69 6c 65 20 63 61 6c  |emonSpr file cal|
00003a40  6c 65 64 20 6c 6f 63 20  28 73 68 6f 72 74 20 66  |led loc (short f|
00003a50  6f 72 20 6c 6f 63 61 6c  29 2e 0a 0a 46 6f 72 20  |or local)...For |
00003a60  62 29 20 79 6f 75 20 6e  65 65 64 20 74 6f 20 66  |b) you need to f|
00003a70  69 6e 64 20 74 68 65 20  6d 61 6b 65 4d 65 6e 75  |ind the makeMenu|
00003a80  73 20 73 75 62 72 6f 75  74 69 6e 65 20 2d 20 73  |s subroutine - s|
00003a90  65 61 72 63 68 20 66 6f  72 0a 3a 6d 61 6b 65 4d  |earch for.:makeM|
00003aa0  65 6e 75 73 2e 20 20 49  74 20 6c 6f 6f 6b 73 20  |enus.  It looks |
00003ab0  6c 69 6b 65 20 74 68 69  73 20 62 79 20 64 65 66  |like this by def|
00003ac0  61 75 6c 74 20 0a 0a 3a  6d 61 6b 65 6d 65 6e 75  |ault ..:makemenu|
00003ad0  73 0a 6d 65 6e 75 20 22  42 69 72 3a 63 61 6c 6c  |s.menu "Bir:call|
00003ae0  20 42 69 22 20 22 42 72  69 3a 63 61 6c 6c 20 42  | Bi" "Bri:call B|
00003af0  72 69 22 20 22 43 61 72  3a 63 61 6c 6c 20 43 61  |ri" "Car:call Ca|
00003b00  72 22 20 22 45 64 69 6e  3a 63 61 6c 6c 20 45 64  |r" "Edin:call Ed|
00003b10  22 20 22 49 6f 57 3a 63  61 6c 6c 20 49 77 22 20  |" "IoW:call Iw" |
00003b20  22 4c 65 65 64 3a 63 61  6c 6c 20 4c 65 22 20 22  |"Leed:call Le" "|
00003b30  4c 69 76 3a 63 61 6c 6c  20 4c 69 76 22 20 22 4c  |Liv:call Liv" "L|
00003b40  6f 6e 64 3a 63 61 6c 6c  20 4c 6f 6e 22 20 22 4c  |ond:call Lon" "L|
00003b50  75 74 3a 63 61 6c 6c 20  4c 75 22 20 22 4d 61 6e  |ut:call Lu" "Man|
00003b60  3a 63 61 6c 6c 20 4d 61  22 20 22 4e 65 77 3a 63  |:call Ma" "New:c|
00003b70  61 6c 6c 20 4e 65 22 20  22 4e 6f 74 3a 63 61 6c  |all Ne" "Not:cal|
00003b80  6c 20 4e 6f 22 20 22 52  65 61 64 3a 63 61 6c 6c  |l No" "Read:call|
00003b90  20 52 65 22 20 22 53 68  65 66 3a 63 61 6c 6c 20  | Re" "Shef:call |
00003ba0  53 68 22 20 22 57 6f 6c  3a 63 61 6c 6c 20 57 6f  |Sh" "Wol:call Wo|
00003bb0  22 20 22 4c 69 73 74 3a  63 61 6c 6c 20 4c 69 73  |" "List:call Lis|
00003bc0  22 0a 6d 65 6e 75 20 2f  69 63 6f 6e 3d 22 4d 65  |".menu /icon="Me|
00003bd0  72 63 75 72 79 22 20 22  4d 65 72 63 75 72 79 20  |rcury" "Mercury |
00003be0  4f 6e 3a 63 61 6c 6c 20  6d 65 72 63 75 72 79 5f  |On:call mercury_|
00003bf0  6f 6e 22 20 22 4d 65 72  63 75 72 79 20 4f 66 66  |on" "Mercury Off|
00003c00  3a 63 61 6c 6c 20 6d 65  72 63 75 72 79 5f 6f 66  |:call mercury_of|
00003c10  66 22 0a 6d 65 6e 75 20  2f 69 63 6f 6e 3d 22 4c  |f".menu /icon="L|
00003c20  6f 63 61 6c 22 20 20 20  22 4c 6f 63 61 6c 20 63  |ocal"   "Local c|
00003c30  61 6c 6c 3a 63 61 6c 6c  20 49 77 22 20 0a 72 65  |all:call Iw" .re|
00003c40  74 75 72 6e 20 31 0a 0a  54 68 69 73 20 73 65 74  |turn 1..This set|
00003c50  73 20 75 70 20 74 68 72  65 65 20 6d 65 6e 75 73  |s up three menus|
00003c60  2e 20 20 54 68 65 20 6c  61 73 74 20 6f 6e 65 20  |.  The last one |
00003c70  69 73 20 61 74 74 61 63  68 65 64 20 74 6f 20 74  |is attached to t|
00003c80  68 65 20 6c 6f 63 61 6c  20 69 63 6f 6e 0a 6f 6e  |he local icon.on|
00003c90  20 74 68 65 20 69 63 6f  6e 20 62 61 72 2e 20 20  | the icon bar.  |
00003ca0  54 6f 20 6d 61 6b 65 20  45 64 69 6e 62 75 72 67  |To make Edinburg|
00003cb0  68 20 79 6f 75 72 20 6c  6f 63 61 6c 20 6e 75 6d  |h your local num|
00003cc0  62 65 72 2c 20 63 68 61  6e 67 65 20 74 68 65 20  |ber, change the |
00003cd0  6c 69 6e 65 0a 0a 6d 65  6e 75 20 2f 69 63 6f 6e  |line..menu /icon|
00003ce0  3d 22 4c 6f 63 61 6c 22  20 20 20 22 4c 6f 63 61  |="Local"   "Loca|
00003cf0  6c 20 63 61 6c 6c 3a 63  61 6c 6c 20 49 77 22 20  |l call:call Iw" |
00003d00  0a 0a 74 6f 20 0a 0a 6d  65 6e 75 20 2f 69 63 6f  |..to ..menu /ico|
00003d10  6e 3d 22 4c 6f 63 61 6c  22 20 20 20 22 4c 6f 63  |n="Local"   "Loc|
00003d20  61 6c 20 63 61 6c 6c 3a  63 61 6c 6c 20 45 64 22  |al call:call Ed"|
00003d30  20 0a 0a 46 6f 72 20 63  29 2c 20 74 68 65 20 61  | ..For c), the a|
00003d40  63 74 69 6f 6e 20 6f 6e  20 63 6c 69 63 6b 69 6e  |ction on clickin|
00003d50  67 20 74 68 65 20 69 63  6f 6e 2c 20 73 65 61 72  |g the icon, sear|
00003d60  63 68 20 66 6f 72 20 3a  69 6e 69 74 4d 61 69 6e  |ch for :initMain|
00003d70  2e 20 20 54 68 65 6e 0a  63 68 61 6e 67 65 20 74  |.  Then.change t|
00003d80  68 65 20 6c 69 6e 65 0a  0a 69 63 6f 6e 20 2f 69  |he line..icon /i|
00003d90  64 3d 22 4c 6f 63 61 6c  22 20 2f 61 63 74 69 6f  |d="Local" /actio|
00003da0  6e 3d 22 63 61 6c 6c 20  49 77 22 20 6c 6f 63 0a  |n="call Iw" loc.|
00003db0  0a 74 6f 20 0a 0a 69 63  6f 6e 20 2f 69 64 3d 22  |.to ..icon /id="|
00003dc0  4c 6f 63 61 6c 22 20 2f  61 63 74 69 6f 6e 3d 22  |Local" /action="|
00003dd0  63 61 6c 6c 20 45 64 22  20 6c 6f 63 0a 0a 61 67  |call Ed" loc..ag|
00003de0  61 69 6e 20 75 73 69 6e  67 20 45 64 69 6e 62 75  |ain using Edinbu|
00003df0  72 67 68 20 61 73 20 74  68 65 20 65 78 61 6d 70  |rgh as the examp|
00003e00  6c 65 2e 0a 0a 35 2e 30  20 53 6f 6d 65 20 46 72  |le...5.0 Some Fr|
00003e10  65 71 75 65 6e 74 6c 79  20 41 73 6b 65 64 20 51  |equently Asked Q|
00003e20  75 65 73 74 69 6f 6e 73  0a 3d 3d 3d 3d 3d 3d 3d  |uestions.=======|
00003e30  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00003e40  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 0a 20 0a 31  |============. .1|
00003e50  29 20 57 68 65 6e 20 49  20 6c 6f 67 20 6f 6e 2c  |) When I log on,|
00003e60  20 53 6c 69 70 44 69 61  6c 20 61 70 70 65 61 72  | SlipDial appear|
00003e70  73 20 74 6f 20 6d 69 73  73 20 74 68 65 20 22 6c  |s to miss the "l|
00003e80  22 20 6f 66 66 20 22 6c  6f 67 69 6e 22 20 2d 20  |" off "login" - |
00003e90  69 73 0a 74 68 69 73 20  61 20 62 75 67 3f 0a 0a  |is.this a bug?..|
00003ea0  4e 6f 20 2d 20 69 74 20  69 73 20 72 65 63 6f 6d  |No - it is recom|
00003eb0  6d 65 6e 64 65 64 20 62  79 20 44 65 6d 6f 6e 20  |mended by Demon |
00003ec0  74 68 61 74 20 64 75 72  69 6e 67 20 6c 6f 67 69  |that during logi|
00003ed0  6e 2c 20 64 69 61 6c 6c  65 72 73 20 73 68 6f 75  |n, diallers shou|
00003ee0  6c 64 0a 77 61 69 74 20  66 6f 72 20 74 68 65 20  |ld.wait for the |
00003ef0  73 74 72 69 6e 67 73 20  20 22 6f 67 69 6e 3a 22  |strings  "ogin:"|
00003f00  2c 20 22 6f 74 6f 63 6f  6c 3a 22 20 65 74 63 2e  |, "otocol:" etc.|
00003f10  20 20 53 65 65 20 74 68  65 20 73 65 63 74 69 6f  |  See the sectio|
00003f20  6e 20 22 54 68 65 0a 4c  6f 67 69 6e 20 53 65 71  |n "The.Login Seq|
00003f30  75 65 6e 63 65 22 20 69  6e 20 74 68 65 20 66 69  |uence" in the fi|
00003f40  6c 65 20 0a 0a 20 20 20  20 20 20 20 20 20 66 74  |le ..         ft|
00003f50  70 2e 64 65 6d 6f 6e 2e  63 6f 2e 75 6b 3a 2f 70  |p.demon.co.uk:/p|
00003f60  75 62 2f 64 6f 63 2f 44  65 6d 6f 6e 2e 74 78 74  |ub/doc/Demon.txt|
00003f70  0a 20 20 20 20 20 20 20  20 20 0a 32 29 20 57 68  |.         .2) Wh|
00003f80  65 6e 20 49 20 73 74 61  72 74 20 75 70 20 53 6c  |en I start up Sl|
00003f90  69 70 44 69 61 6c 20 69  74 20 65 78 69 74 73 20  |ipDial it exits |
00003fa0  69 6d 6d 65 64 69 61 74  65 6c 79 20 77 69 74 68  |immediately with|
00003fb0  20 61 6e 20 65 72 72 6f  72 2e 20 20 57 68 61 74  | an error.  What|
00003fc0  0a 63 61 6e 20 49 20 64  6f 3f 0a 0a 46 69 72 73  |.can I do?..Firs|
00003fd0  74 6c 79 2c 20 74 68 69  73 20 69 73 20 6d 6f 73  |tly, this is mos|
00003fe0  74 20 6c 69 6b 65 6c 79  20 74 6f 20 62 65 20 64  |t likely to be d|
00003ff0  75 65 20 74 6f 20 74 68  65 20 44 65 6d 6f 6e 53  |ue to the DemonS|
00004000  70 72 20 66 69 6c 65 2e  20 20 59 6f 75 20 6e 65  |pr file.  You ne|
00004010  65 64 0a 74 68 65 20 6c  61 74 65 73 74 20 76 65  |ed.the latest ve|
00004020  72 73 69 6f 6e 20 6f 66  20 74 68 69 73 20 77 68  |rsion of this wh|
00004030  69 63 68 20 63 6f 6e 74  61 69 6e 73 20 74 68 72  |ich contains thr|
00004040  65 65 20 73 70 72 69 74  65 73 2e 20 20 53 65 65  |ee sprites.  See|
00004050  20 62 65 6c 6f 77 0a 28  68 6f 77 20 74 6f 20 67  | below.(how to g|
00004060  65 74 20 44 65 6d 6f 6e  53 70 72 20 77 68 65 6e  |et DemonSpr when|
00004070  20 21 53 6c 69 70 44 69  61 6c 20 69 73 6e 27 74  | !SlipDial isn't|
00004080  20 77 6f 72 6b 69 6e 67  29 2e 0a 0a 48 6f 77 65  | working)...Howe|
00004090  76 65 72 20 69 74 20 6d  69 67 68 74 20 62 65 20  |ver it might be |
000040a0  73 6f 6d 65 20 6f 74 68  65 72 20 70 72 6f 62 6c  |some other probl|
000040b0  65 6d 2e 20 54 68 65 20  62 65 73 74 20 77 61 79  |em. The best way|
000040c0  20 6f 66 20 66 69 6e 64  69 6e 67 20 6f 75 74 20  | of finding out |
000040d0  69 73 0a 74 6f 20 65 6e  61 62 6c 65 20 74 68 65  |is.to enable the|
000040e0  20 73 63 72 69 70 74 20  6c 6f 67 2e 20 20 54 6f  | script log.  To|
000040f0  20 64 6f 20 74 68 69 73  2c 20 65 64 69 74 20 74  | do this, edit t|
00004100  68 65 20 73 63 72 69 70  74 20 66 69 6c 65 2c 20  |he script file, |
00004110  61 6e 64 0a 73 65 61 72  63 68 20 66 6f 72 20 74  |and.search for t|
00004120  68 65 20 6c 69 6e 65 0a  0a 23 74 72 61 63 65 20  |he line..#trace |
00004130  22 53 6c 69 70 44 69 61  6c 3a 6c 6f 67 6f 75 74  |"SlipDial:logout|
00004140  70 75 74 22 0a 0a 61 6e  64 20 63 68 61 6e 67 65  |put"..and change|
00004150  20 69 74 20 74 6f 20 0a  0a 74 72 61 63 65 20 22  | it to ..trace "|
00004160  53 6c 69 70 44 69 61 6c  3a 6c 6f 67 6f 75 74 70  |SlipDial:logoutp|
00004170  75 74 22 0a 0a 69 2e 65  2e 20 64 65 6c 65 74 65  |ut"..i.e. delete|
00004180  20 74 68 65 20 23 2e 20  20 54 68 69 73 20 77 69  | the #.  This wi|
00004190  6c 6c 20 63 61 75 73 65  20 53 6c 69 70 44 69 61  |ll cause SlipDia|
000041a0  6c 20 74 6f 20 77 72 69  74 65 20 64 65 62 75 67  |l to write debug|
000041b0  67 69 6e 67 0a 69 6e 66  6f 72 6d 61 74 69 6f 6e  |ging.information|
000041c0  20 74 6f 20 74 68 65 20  66 69 6c 65 20 21 53 6c  | to the file !Sl|
000041d0  69 70 44 69 61 6c 2e 53  63 72 69 70 74 73 2e 6c  |ipDial.Scripts.l|
000041e0  6f 67 6f 75 74 70 75 74  0a 0a 59 6f 75 20 63 61  |ogoutput..You ca|
000041f0  6e 20 75 73 65 20 74 68  65 20 69 6e 66 6f 72 6d  |n use the inform|
00004200  61 74 69 6f 6e 20 6f 62  74 61 69 6e 65 64 20 74  |ation obtained t|
00004210  6f 20 74 72 79 20 61 6e  64 20 66 69 6e 64 20 6f  |o try and find o|
00004220  75 74 20 77 68 61 74 20  69 73 20 67 6f 69 6e 67  |ut what is going|
00004230  0a 6f 6e 2e 0a 0a 33 29  20 53 6c 69 70 44 69 61  |.on...3) SlipDia|
00004240  6c 20 73 74 61 72 74 73  20 75 70 2c 20 64 69 61  |l starts up, dia|
00004250  6c 73 2c 20 6d 79 20 6d  6f 64 65 6d 20 67 65 74  |ls, my modem get|
00004260  73 20 74 68 72 6f 75 67  68 2c 20 62 75 74 20 74  |s through, but t|
00004270  68 65 6e 20 74 68 65 0a  63 61 6c 6c 20 66 69 6e  |hen the.call fin|
00004280  69 73 68 65 73 20 69 6d  6d 65 64 69 61 74 65 6c  |ishes immediatel|
00004290  79 3f 20 20 0a 0a 54 68  65 20 53 6c 69 70 44 69  |y?  ..The SlipDi|
000042a0  61 6c 20 73 63 72 69 70  74 20 69 73 20 73 65 74  |al script is set|
000042b0  20 75 70 20 74 6f 20 77  61 74 63 68 20 74 68 65  | up to watch the|
000042c0  20 44 43 44 20 28 64 61  74 61 20 63 61 72 72 69  | DCD (data carri|
000042d0  65 72 20 64 65 74 65 63  74 29 0a 6c 69 6e 65 20  |er detect).line |
000042e0  66 72 6f 6d 20 79 6f 75  72 20 6d 6f 64 65 6d 2e  |from your modem.|
000042f0  20 49 66 20 74 68 69 73  20 6c 69 6e 65 20 72 65  | If this line re|
00004300  6d 61 69 6e 73 20 6c 6f  77 2c 20 53 6c 69 70 44  |mains low, SlipD|
00004310  69 61 6c 20 77 69 6c 6c  20 74 68 69 6e 6b 0a 74  |ial will think.t|
00004320  68 65 20 63 61 6c 6c 20  68 61 73 20 66 69 6e 69  |he call has fini|
00004330  73 68 65 64 20 73 74 72  61 69 67 68 74 20 61 77  |shed straight aw|
00004340  61 79 2e 20 20 59 6f 75  20 73 68 6f 75 6c 64 20  |ay.  You should |
00004350  63 68 65 63 6b 0a 0a 61  29 20 79 6f 75 72 20 6d  |check..a) your m|
00004360  6f 64 65 6d 20 73 65 74  75 70 0a 62 29 20 79 6f  |odem setup.b) yo|
00004370  75 72 20 63 61 62 6c 65  0a 63 29 20 79 6f 75 72  |ur cable.c) your|
00004380  20 73 65 72 69 61 6c 20  69 6e 74 65 72 66 61 63  | serial interfac|
00004390  65 20 64 72 69 76 65 72  0a 0a 42 65 20 65 73 70  |e driver..Be esp|
000043a0  65 63 69 61 6c 6c 79 20  63 61 72 65 66 75 6c 20  |ecially careful |
000043b0  74 6f 20 6d 61 74 63 68  20 6c 65 61 64 20 61 6e  |to match lead an|
000043c0  64 20 73 65 72 69 61 6c  20 64 72 69 76 65 72 2e  |d serial driver.|
000043d0  20 54 68 65 20 6c 65 61  64 20 63 61 6e 20 62 65  | The lead can be|
000043e0  0a 65 69 74 68 65 72 20  41 72 63 68 69 6d 65 64  |.either Archimed|
000043f0  65 73 20 77 69 72 69 6e  67 20 6f 72 20 50 43 20  |es wiring or PC |
00004400  77 69 72 69 6e 67 20 2d  20 74 68 65 79 20 61 72  |wiring - they ar|
00004410  65 20 6e 6f 74 20 63 6f  6d 70 61 74 69 62 6c 65  |e not compatible|
00004420  21 20 20 41 6c 73 6f 0a  74 68 65 20 42 6c 6f 63  |!  Also.the Bloc|
00004430  6b 44 72 69 76 65 72 20  6d 75 73 74 20 62 65 20  |kDriver must be |
00004440  73 65 74 20 74 6f 20 6d  61 74 63 68 20 74 68 65  |set to match the|
00004450  20 69 6e 74 65 72 66 61  63 65 20 70 6f 72 74 20  | interface port |
00004460  61 6e 64 20 74 68 65 20  63 61 62 6c 65 0a 77 69  |and the cable.wi|
00004470  72 69 6e 67 2e 20 20 54  68 65 20 42 6c 6f 63 6b  |ring.  The Block|
00004480  44 72 69 76 65 72 20 6c  6f 61 64 65 64 20 62 79  |Driver loaded by|
00004490  20 74 68 65 20 53 6c 69  70 44 69 61 6c 20 73 63  | the SlipDial sc|
000044a0  72 69 70 74 20 69 73 20  64 65 66 69 6e 65 64 20  |ript is defined |
000044b0  69 6e 0a 74 68 65 20 66  69 6c 65 20 21 53 6c 69  |in.the file !Sli|
000044c0  70 44 69 61 6c 2e 53 63  72 69 70 74 73 2e 64 65  |pDial.Scripts.de|
000044d0  6d 6f 6e 63 6f 6e 66 67  2c 20 77 68 69 63 68 20  |monconfg, which |
000044e0  69 73 20 69 6e 69 74 69  61 6c 69 73 65 64 20 74  |is initialised t|
000044f0  68 65 20 66 69 72 73 74  0a 74 69 6d 65 20 79 6f  |he first.time yo|
00004500  75 72 20 72 75 6e 20 74  68 65 20 73 63 72 69 70  |ur run the scrip|
00004510  74 2e 20 20 48 65 72 65  20 61 72 65 20 73 6f 6d  |t.  Here are som|
00004520  65 20 65 78 61 6d 70 6c  65 73 0a 0a 59 6f 75 20  |e examples..You |
00004530  68 61 76 65 20 61 20 50  43 20 77 69 72 65 64 20  |have a PC wired |
00004540  63 61 62 6c 65 2c 20 77  69 74 68 20 61 6e 20 69  |cable, with an i|
00004550  6e 74 65 72 6e 61 6c 20  70 6f 72 74 20 2d 20 66  |nternal port - f|
00004560  69 72 73 74 20 74 77 6f  20 6c 69 6e 65 73 20 6f  |irst two lines o|
00004570  66 0a 64 65 6d 6f 6e 63  6f 6e 66 67 20 61 72 65  |f.demonconfg are|
00004580  0a 0a 49 6e 74 65 72 6e  61 6c 50 43 0a 30 0a 0a  |..InternalPC.0..|
00004590  59 6f 75 20 68 61 76 65  20 61 6e 20 41 72 63 20  |You have an Arc |
000045a0  63 61 62 6c 65 2c 20 77  69 74 68 20 61 6e 20 69  |cable, with an i|
000045b0  6e 74 65 72 6e 61 6c 20  70 6f 72 74 20 2d 20 73  |nternal port - s|
000045c0  68 6f 75 6c 64 20 6c 65  61 64 20 74 6f 20 0a 0a  |hould lead to ..|
000045d0  49 6e 74 65 72 6e 61 6c  0a 30 0a 0a 59 6f 75 20  |Internal.0..You |
000045e0  68 61 76 65 20 61 20 53  65 72 69 61 6c 20 70 6f  |have a Serial po|
000045f0  72 74 20 44 75 61 6c 20  69 6e 74 65 72 66 61 63  |rt Dual interfac|
00004600  65 20 63 61 72 64 2c 20  79 6f 75 20 68 61 76 65  |e card, you have|
00004610  20 63 6f 6e 6e 65 63 74  65 64 20 74 68 65 0a 63  | connected the.c|
00004620  61 62 6c 65 20 74 6f 20  70 6f 72 74 20 31 2c 20  |able to port 1, |
00004630  79 6f 75 20 68 61 76 65  20 61 20 50 43 20 77 69  |you have a PC wi|
00004640  72 65 64 20 6c 65 61 64  20 2d 20 73 68 6f 75 6c  |red lead - shoul|
00004650  64 20 6c 65 61 64 20 74  6f 20 0a 0a 53 50 5f 44  |d lead to ..SP_D|
00004660  75 61 6c 50 43 0a 31 0a  0a 34 29 20 49 27 76 65  |ualPC.1..4) I've|
00004670  20 75 70 64 61 74 65 64  20 74 68 65 20 73 63 72  | updated the scr|
00004680  69 70 74 2c 20 61 6e 64  20 6e 6f 77 20 69 74 20  |ipt, and now it |
00004690  64 6f 65 73 6e 27 74 20  77 6f 72 6b 20 62 65 63  |doesn't work bec|
000046a0  61 75 73 65 20 49 20 68  61 76 65 6e 27 74 0a 67  |ause I haven't.g|
000046b0  6f 74 20 74 68 65 20 6c  61 74 65 73 74 20 44 65  |ot the latest De|
000046c0  6d 6f 6e 53 70 72 20 66  69 6c 65 20 2d 20 68 6f  |monSpr file - ho|
000046d0  77 20 63 61 6e 20 49 20  6c 6f 67 20 6f 6e 20 69  |w can I log on i|
000046e0  66 20 74 68 65 20 73 63  72 69 70 74 20 64 6f 65  |f the script doe|
000046f0  73 6e 27 74 0a 77 6f 72  6b 3f 0a 0a 47 6f 6f 64  |sn't.work?..Good|
00004700  20 71 75 65 73 74 69 6f  6e 2e 20 54 68 65 20 73  | question. The s|
00004710  69 6d 70 6c 65 73 74 20  61 6e 73 77 65 72 20 69  |implest answer i|
00004720  73 20 74 6f 20 75 73 65  20 50 61 69 6e 74 20 74  |s to use Paint t|
00004730  6f 20 63 72 65 61 74 65  20 61 6e 20 65 78 74 72  |o create an extr|
00004740  61 0a 73 70 72 69 74 65  20 69 6e 20 74 68 65 20  |a.sprite in the |
00004750  44 65 6d 6f 6e 53 70 72  20 66 69 6c 65 2e 20 20  |DemonSpr file.  |
00004760  46 6f 72 20 69 6e 73 74  61 6e 63 65 2c 20 63 6f  |For instance, co|
00004770  70 79 20 6f 6e 65 20 6f  66 20 74 68 65 20 65 78  |py one of the ex|
00004780  69 73 74 69 6e 67 0a 73  70 72 69 74 65 73 20 28  |isting.sprites (|
00004790  73 75 63 68 20 61 73 20  68 67 6f 6e 29 20 61 6e  |such as hgon) an|
000047a0  64 20 72 65 6e 61 6d 65  20 74 68 65 20 63 6f 70  |d rename the cop|
000047b0  79 20 74 6f 20 6c 6f 63  2e 20 20 49 74 20 6d 69  |y to loc.  It mi|
000047c0  67 68 74 20 62 65 20 61  20 67 6f 6f 64 0a 69 64  |ght be a good.id|
000047d0  65 61 20 74 6f 20 63 68  61 6e 67 65 20 69 74 73  |ea to change its|
000047e0  20 63 6f 6c 6f 75 72 20  73 6f 20 74 68 61 74 20  | colour so that |
000047f0  79 6f 75 20 64 6f 6e 27  74 20 6d 69 78 20 69 74  |you don't mix it|
00004800  20 75 70 20 77 69 74 68  20 68 67 6f 6e 2e 20 20  | up with hgon.  |
00004810  54 68 65 6e 0a 6c 6f 67  20 6f 6e 20 74 6f 20 64  |Then.log on to d|
00004820  65 6d 6f 6e 2c 20 61 6e  64 20 64 6f 77 6e 6c 6f  |emon, and downlo|
00004830  61 64 20 74 68 65 20 6c  61 74 65 73 74 20 76 65  |ad the latest ve|
00004840  72 73 69 6f 6e 20 6f 66  20 44 65 6d 6f 6e 53 70  |rsion of DemonSp|
00004850  72 2e 0a 0a 59 6f 75 20  63 61 6e 20 6f 66 20 63  |r...You can of c|
00004860  6f 75 72 73 65 20 63 72  65 61 74 65 20 79 6f 75  |ourse create you|
00004870  72 20 6f 77 6e 20 73 70  72 69 74 65 2c 20 72 65  |r own sprite, re|
00004880  70 72 65 73 65 6e 74 61  74 69 76 65 20 6f 66 20  |presentative of |
00004890  6c 6f 63 61 6c 0a 74 72  61 64 69 74 69 6f 6e 73  |local.traditions|
000048a0  20 61 6e 64 2f 6f 72 20  6c 61 6e 64 6d 61 72 6b  | and/or landmark|
000048b0  73 2e 0a 0a 35 29 20 4c  61 73 74 20 74 69 6d 65  |s...5) Last time|
000048c0  20 49 20 6c 6f 67 67 65  64 20 69 6e 74 6f 20 44  | I logged into D|
000048d0  65 6d 6f 6e 20 49 20 63  68 61 6e 67 65 64 20 6d  |emon I changed m|
000048e0  79 20 70 61 73 73 77 6f  72 64 2c 20 61 6e 64 20  |y password, and |
000048f0  6e 6f 77 0a 53 6c 69 70  44 69 61 6c 20 64 6f 65  |now.SlipDial doe|
00004900  73 6e 27 74 20 77 6f 72  6b 20 2d 20 77 68 61 74  |sn't work - what|
00004910  20 73 68 6f 75 6c 64 20  49 20 64 6f 3f 0a 0a 59  | should I do?..Y|
00004920  6f 75 20 68 61 76 65 20  74 6f 20 65 64 69 74 20  |ou have to edit |
00004930  74 68 65 20 66 69 6c 65  20 21 53 6c 69 70 44 69  |the file !SlipDi|
00004940  61 6c 2e 73 63 72 69 70  74 73 2e 64 65 6d 6f 6e  |al.scripts.demon|
00004950  63 6f 6e 66 67 2e 20 20  54 68 65 20 6c 61 73 74  |confg.  The last|
00004960  20 6c 69 6e 65 0a 6f 66  20 74 68 69 73 20 73 68  | line.of this sh|
00004970  6f 75 6c 64 20 62 65 20  63 68 61 6e 67 65 64 20  |ould be changed |
00004980  74 6f 20 79 6f 75 72 20  6e 65 77 20 70 61 73 73  |to your new pass|
00004990  77 6f 72 64 20 28 77 68  69 63 68 20 69 73 20 63  |word (which is c|
000049a0  61 73 65 20 73 65 6e 73  69 74 69 76 65 0a 49 20  |ase sensitive.I |
000049b0  62 65 6c 69 65 76 65 29  2e 0a 0a 36 29 20 49 27  |believe)...6) I'|
000049c0  76 65 20 6d 6f 64 69 66  69 65 64 20 74 68 65 20  |ve modified the |
000049d0  73 63 72 69 70 74 2c 20  61 6e 64 20 6e 6f 74 68  |script, and noth|
000049e0  69 6e 67 20 73 65 65 6d  73 20 74 6f 20 68 61 76  |ing seems to hav|
000049f0  65 20 63 68 61 6e 67 65  64 2e 0a 0a 59 6f 75 20  |e changed...You |
00004a00  6d 75 73 74 20 6d 61 6b  65 20 73 75 72 65 20 74  |must make sure t|
00004a10  68 65 20 6e 65 77 20 73  63 72 69 70 74 20 68 61  |he new script ha|
00004a20  73 20 62 65 65 6e 20 6c  6f 61 64 65 64 20 69 6e  |s been loaded in|
00004a30  2e 20 20 51 75 69 74 20  53 6c 69 70 44 69 61 6c  |.  Quit SlipDial|
00004a40  0a 61 6e 64 20 20 6c 6f  61 64 20 69 74 20 61 67  |.and  load it ag|
00004a50  61 69 6e 20 74 6f 20 65  6e 73 75 72 65 20 74 68  |ain to ensure th|
00004a60  69 73 2e 0a 0a 37 29 20  54 68 65 20 73 63 72 69  |is...7) The scri|
00004a70  70 74 20 6e 65 76 65 72  20 63 61 6c 63 75 6c 61  |pt never calcula|
00004a80  74 65 73 20 74 68 65 20  6e 65 77 73 72 61 74 65  |tes the newsrate|
00004a90  20 2d 20 77 68 79 3f 0a  0a 54 68 65 20 53 6c 69  | - why?..The Sli|
00004aa0  70 44 69 61 6c 20 73 63  72 69 70 74 20 63 6f 6d  |pDial script com|
00004ab0  70 75 74 65 73 20 74 68  65 20 6e 65 77 73 72 61  |putes the newsra|
00004ac0  74 65 20 62 79 20 6c 6f  6f 6b 69 6e 67 20 61 74  |te by looking at|
00004ad0  20 74 68 65 20 74 69 6d  65 73 74 61 6d 70 0a 6f  | the timestamp.o|
00004ae0  6e 20 74 68 65 20 64 6f  77 6e 6c 6f 61 64 65 64  |n the downloaded|
00004af0  20 6e 65 77 73 20 62 61  74 63 68 2e 20 20 49 66  | news batch.  If|
00004b00  20 79 6f 75 20 72 75 6e  20 4e 65 77 73 62 61 73  | you run Newsbas|
00004b10  65 20 77 68 69 6c 65 20  79 6f 75 20 61 72 65 20  |e while you are |
00004b20  6f 6e 0a 6c 69 6e 65 20  28 66 6f 72 20 69 6e 73  |on.line (for ins|
00004b30  74 61 6e 63 65 20 73 6f  20 74 68 61 74 20 79 6f  |tance so that yo|
00004b40  75 20 63 61 6e 20 65 64  69 74 20 61 6e 64 20 73  |u can edit and s|
00004b50  65 6e 64 20 6e 65 77 20  6d 61 69 6c 20 77 68 69  |end new mail whi|
00004b60  6c 65 20 6c 6f 67 67 65  64 0a 69 6e 29 2c 20 4e  |le logged.in), N|
00004b70  65 77 73 62 61 73 65 20  77 69 6c 6c 20 72 65 6d  |ewsbase will rem|
00004b80  6f 76 65 20 74 68 65 20  62 61 74 63 68 20 6f 66  |ove the batch of|
00004b90  20 6e 65 77 73 20 62 65  66 6f 72 65 20 74 68 65  | news before the|
00004ba0  20 73 63 72 69 70 74 20  63 61 6e 20 67 65 74 0a  | script can get.|
00004bb0  61 74 20 69 74 20 74 6f  20 6d 65 61 73 75 72 65  |at it to measure|
00004bc0  20 74 68 65 20 74 69 6d  65 73 74 61 6d 70 2e 20  | the timestamp. |
00004bd0  48 65 6e 63 65 20 53 6c  69 70 44 69 61 6c 20 69  |Hence SlipDial i|
00004be0  73 20 6e 6f 74 20 61 62  6c 65 20 74 6f 20 63 6f  |s not able to co|
00004bf0  6d 70 75 74 65 0a 74 68  65 20 6e 65 77 73 72 61  |mpute.the newsra|
00004c00  74 65 2e 20 20 0a 0a 54  68 65 20 6f 6e 6c 79 20  |te.  ..The only |
00004c10  77 61 79 20 72 6f 75 6e  64 20 74 68 69 73 20 69  |way round this i|
00004c20  73 20 6e 6f 74 20 74 6f  20 68 61 76 65 20 4e 65  |s not to have Ne|
00004c30  77 73 62 61 73 65 20 72  75 6e 6e 69 6e 67 20 61  |wsbase running a|
00004c40  74 20 74 68 65 20 73 61  6d 65 0a 74 69 6d 65 20  |t the same.time |
00004c50  61 73 20 79 6f 75 20 61  72 65 20 6f 6e 20 6c 69  |as you are on li|
00004c60  6e 65 2e 20 0a 0a 38 29  20 54 68 65 20 6e 65 77  |ne. ..8) The new|
00004c70  73 20 72 61 74 65 20 72  65 70 6f 72 74 65 64 20  |s rate reported |
00004c80  62 79 20 4e 65 77 73 62  61 73 65 20 77 68 65 6e  |by Newsbase when|
00004c90  20 64 65 62 61 74 63 68  69 6e 67 20 69 73 20 6e  | debatching is n|
00004ca0  6f 74 20 74 68 65 20 73  61 6d 65 0a 61 73 20 53  |ot the same.as S|
00004cb0  6c 69 70 44 69 61 6c 20  2d 20 77 68 79 3f 0a 0a  |lipDial - why?..|
00004cc0  54 68 65 20 6e 65 77 73  72 61 74 65 20 72 65 70  |The newsrate rep|
00004cd0  6f 72 74 65 64 20 62 79  20 53 6c 69 70 44 69 61  |orted by SlipDia|
00004ce0  6c 20 69 73 20 63 6f 6d  70 75 74 65 64 20 62 79  |l is computed by|
00004cf0  20 6c 6f 6f 6b 69 6e 67  20 61 74 0a 74 69 6d 65  | looking at.time|
00004d00  73 74 61 6d 70 73 2c 20  61 6e 64 20 69 73 20 61  |stamps, and is a|
00004d10  6e 20 65 73 74 69 6d 61  74 65 20 6f 66 20 74 68  |n estimate of th|
00004d20  65 20 73 70 65 65 64 20  6f 66 20 64 6f 77 6e 6c  |e speed of downl|
00004d30  6f 61 64 69 6e 67 20 6e  65 77 73 2e 0a 0a 54 68  |oading news...Th|
00004d40  65 20 64 65 62 61 74 63  68 69 6e 67 20 72 61 74  |e debatching rat|
00004d50  65 20 6d 65 61 73 75 72  65 64 20 62 79 20 4e 65  |e measured by Ne|
00004d60  77 73 62 61 73 65 20 69  73 20 73 69 6d 70 6c 79  |wsbase is simply|
00004d70  20 61 20 6d 65 61 73 75  72 65 20 6f 66 20 74 68  | a measure of th|
00004d80  65 0a 73 70 65 65 64 20  6f 66 20 4e 65 77 73 62  |e.speed of Newsb|
00004d90  61 73 65 20 2d 20 69 74  20 68 61 73 20 6e 6f 20  |ase - it has no |
00004da0  72 65 6c 61 74 69 6f 6e  20 61 74 20 61 6c 6c 20  |relation at all |
00004db0  74 6f 20 74 68 65 20 73  70 65 65 64 20 6f 66 0a  |to the speed of.|
00004dc0  64 6f 77 6e 6c 6f 61 64  69 6e 67 2e 0a 0a 39 29  |downloading...9)|
00004dd0  20 45 76 65 6e 20 74 68  6f 75 67 68 20 49 20 67  | Even though I g|
00004de0  65 74 20 67 6f 6f 64 20  64 6f 77 6e 6c 6f 61 64  |et good download|
00004df0  20 72 61 74 65 73 20 66  6f 72 20 66 74 70 2c 20  | rates for ftp, |
00004e00  61 6e 64 20 65 76 65 72  79 6f 6e 65 20 73 61 79  |and everyone say|
00004e10  73 0a 44 65 6d 6f 6e 20  69 73 20 72 75 6e 6e 69  |s.Demon is runni|
00004e20  6e 67 20 66 61 73 74 2c  20 49 20 63 61 6e 27 74  |ng fast, I can't|
00004e30  20 67 65 74 20 67 6f 6f  64 20 72 61 74 65 73 20  | get good rates |
00004e40  66 72 6f 6d 20 6e 65 77  73 72 61 74 65 20 2d 20  |from newsrate - |
00004e50  77 68 79 3f 0a 0a 54 68  65 20 6e 65 77 73 72 61  |why?..The newsra|
00004e60  74 65 20 63 6f 6d 70 75  74 65 64 20 62 79 20 53  |te computed by S|
00004e70  6c 69 70 44 69 61 6c 20  69 73 20 73 69 6d 70 6c  |lipDial is simpl|
00004e80  79 20 61 20 6d 65 61 73  75 72 65 20 6f 66 20 74  |y a measure of t|
00004e90  68 65 0a 74 69 6d 65 73  74 61 6d 70 73 20 6f 6e  |he.timestamps on|
00004ea0  20 74 68 65 20 74 77 6f  20 66 69 6c 65 73 20 44  | the two files D|
00004eb0  65 6d 4e 47 20 61 6e 64  20 44 65 6d 4e 65 77 73  |emNG and DemNews|
00004ec0  2e 20 20 49 66 20 79 6f  75 20 61 72 65 20 64 6f  |.  If you are do|
00004ed0  77 6e 6c 6f 61 64 69 6e  67 0a 6f 74 68 65 72 20  |wnloading.other |
00004ee0  69 6e 66 6f 72 6d 61 74  69 6f 6e 20 28 66 6f 72  |information (for|
00004ef0  20 69 6e 73 74 61 6e 63  65 20 6d 61 69 6c 2c 20  | instance mail, |
00004f00  6f 72 20 61 6e 20 66 74  70 20 73 65 73 73 69 6f  |or an ftp sessio|
00004f10  6e 29 2c 20 74 68 65 20  61 76 65 72 61 67 65 0a  |n), the average.|
00004f20  6e 65 77 73 72 61 74 65  20 77 69 6c 6c 20 62 65  |newsrate will be|
00004f30  20 6c 6f 77 20 65 76 65  6e 20 69 66 20 65 76 65  | low even if eve|
00004f40  72 79 74 68 69 6e 67 20  69 73 20 6f 70 65 72 61  |rything is opera|
00004f50  74 69 6e 67 20 61 74 20  6d 61 78 69 6d 75 6d 20  |ting at maximum |
00004f60  73 70 65 65 64 2c 0a 73  69 6d 70 6c 79 20 62 65  |speed,.simply be|
00004f70  63 61 75 73 65 20 74 68  65 20 61 76 61 69 6c 61  |cause the availa|
00004f80  62 6c 65 20 6c 69 6e 65  20 63 61 70 61 63 69 74  |ble line capacit|
00004f90  79 20 69 73 20 62 65 69  6e 67 20 73 68 61 72 65  |y is being share|
00004fa0  64 20 62 79 20 66 74 70  2c 0a 6d 61 69 6c 2c 20  |d by ftp,.mail, |
00004fb0  61 6e 64 20 6e 65 77 73  2e 0a 0a 54 6f 20 67 65  |and news...To ge|
00004fc0  74 20 61 20 74 72 75 65  20 6d 65 61 73 75 72 65  |t a true measure|
00004fd0  20 6f 66 20 6e 65 77 73  72 61 74 65 2c 20 79 6f  | of newsrate, yo|
00004fe0  75 20 6d 75 73 74 20 68  61 76 65 20 6e 6f 74 68  |u must have noth|
00004ff0  69 6e 67 20 65 6c 73 65  20 72 75 6e 6e 69 6e 67  |ing else running|
00005000  0a 61 74 20 74 68 65 20  73 61 6d 65 20 74 69 6d  |.at the same tim|
00005010  65 2e 0a 0a 57 69 74 68  20 61 20 31 34 34 30 30  |e...With a 14400|
00005020  20 62 61 75 64 20 6d 6f  64 65 6d 20 77 69 74 68  | baud modem with|
00005030  20 6d 6e 70 35 2f 76 34  32 62 69 73 20 79 6f 75  | mnp5/v42bis you|
00005040  20 73 68 6f 75 6c 64 20  67 65 74 20 32 35 30 30  | should get 2500|
00005050  63 70 73 20 6f 6e 20 61  0a 67 6f 6f 64 20 64 61  |cps on a.good da|
00005060  79 2e 0a 0a 36 2e 30 20  43 6f 6e 63 6c 75 73 69  |y...6.0 Conclusi|
00005070  6f 6e 20 61 6e 64 20 41  63 6b 6e 6f 77 6c 65 64  |on and Acknowled|
00005080  67 65 6d 65 6e 74 73 2e  0a 3d 3d 3d 3d 3d 3d 3d  |gements..=======|
00005090  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
000050a0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 0a 0a 49  |=============..I|
000050b0  20 68 6f 70 65 20 74 68  69 73 20 68 65 6c 70 73  | hope this helps|
000050c0  20 69 66 20 79 6f 75 20  77 61 6e 74 20 74 6f 20  | if you want to |
000050d0  6d 6f 64 69 66 79 20 74  68 65 20 73 63 72 69 70  |modify the scrip|
000050e0  74 2e 0a 0a 49 20 73 68  6f 75 6c 64 20 6c 69 6b  |t...I should lik|
000050f0  65 20 74 6f 20 61 63 6b  6e 6f 77 6c 65 64 67 65  |e to acknowledge|
00005100  20 52 6f 62 65 72 74 20  4f 72 77 69 6e 20 66 6f  | Robert Orwin fo|
00005110  72 20 77 72 69 74 69 6e  67 20 74 68 65 20 6f 72  |r writing the or|
00005120  69 67 69 6e 61 6c 0a 73  63 72 69 70 74 2c 20 61  |iginal.script, a|
00005130  6e 64 20 6f 66 20 63 6f  75 72 73 65 20 74 68 61  |nd of course tha|
00005140  6e 6b 20 47 72 61 68 61  6d 20 41 6c 6c 65 6e 20  |nk Graham Allen |
00005150  66 6f 72 20 77 72 69 74  69 6e 67 20 53 6c 69 70  |for writing Slip|
00005160  44 69 61 6c 20 69 6e 20  20 74 68 65 0a 66 69 72  |Dial in  the.fir|
00005170  73 74 20 70 6c 61 63 65  2e 20 20 41 6c 73 6f 20  |st place.  Also |
00005180  74 68 61 6e 6b 73 20 74  6f 20 4d 69 6b 65 20 4a  |thanks to Mike J|
00005190  61 6d 65 73 20 66 6f 72  20 69 6d 70 72 6f 76 69  |ames for improvi|
000051a0  6e 67 20 74 68 65 20 73  75 70 70 6f 72 74 20 66  |ng the support f|
000051b0  6f 72 0a 4d 65 72 63 75  72 79 20 6e 75 6d 62 65  |or.Mercury numbe|
000051c0  72 73 2e 20 61 6e 64 20  69 6e 74 72 6f 64 75 63  |rs. and introduc|
000051d0  69 6e 67 20 74 68 65 20  4c 6f 63 61 6c 20 69 63  |ing the Local ic|
000051e0  6f 6e 2e 0a 0a 41 6c 61  6e 20 46 69 74 63 68 20  |on...Alan Fitch |
000051f0  20 31 38 74 68 20 46 65  62 72 75 61 72 79 20 31  | 18th February 1|
00005200  39 39 35 0a 61 6c 61 6e  40 63 79 63 6c 65 2e 64  |995.alan@cycle.d|
00005210  65 6d 6f 6e 2e 63 6f 2e  75 6b 0a 0a 0a           |emon.co.uk...|
0000521d