|
| Scanner V1.9  Amiga Config File
| -------------------------------               by Mr.Great & Mr. Commodore
|                                                            (c) 04/26/1993
|
| Example configuration file with lots of extra information. Scanner
| will automatically search for and read the  "Scanner.cfg"  file if
| present in the  current directory.  You can specify any  file with
| the -C option like this:
|
|     Scanner DIAL -Cdh0:where_ever/myscan.config
|
| In the case of all these settings, if you don't specify one, the
| program will use the defaults metioned for each one.
|
| PS! The order in which these commands are listed doesn't matter.
|     All text lines starting with '|' are ignored. Everything after
|     trimed off. You CAN also put remarks after the settings..
|     Upper- or lowercase letters can be used thruout the settings.


|--------------------------------------------------------------------------
| Modem settings for initialization. Default "ATZ".

MODEMINIT = ATZ


|--------------------------------------------------------------------------
| Optional second modem setting sent after the above one. Default blank.

MODEMSTR2 = ATX6


|--------------------------------------------------------------------------
| Initialize serial port baud rate. Default 19200.

BAUDRATE = 19200


|--------------------------------------------------------------------------
| Serial device to use, like BaudBandit.device. Default is "serial.device".

DEVICE = serial.device


|--------------------------------------------------------------------------
| Serial unit to use. Default is 0. Normally just for those multi-serial-
| port owners..

UNIT = 0


|--------------------------------------------------------------------------
| For each scan entry in the logfile, you can specify how you want the
| date format to be:
|                      FULL = Sat Feb 27 04:20:28 1993  (Default)
|                     SHORT = 04:20:28

LOGDATE = FULL


|--------------------------------------------------------------------------
| Path and filename for text file to log activity. Default is "Scanner.log"
| This will be the main log file.

LOGFILE = Scanner.log950


|--------------------------------------------------------------------------
| Modem result codes. Enter here the result codes your modem uses, the pro-
| gram will use these result codes to determine the status of the scan.
|
| After each result code, you can place a full path and filename of a log-
| file, after the '>' character. In which all accurances of the result code,
| with the number and time, will be placed for later detailed overview.
|
| If you supply the '> MAINLOG' keyword, it will also be placed in the main
| logfile. Specified above in the LOGFILE config line.
|
| If no logfile is supplied it won't be written anywhere, except on screen.

OK          = OK          >ok.log >MAINLOG
CONNECT     = CONNECT     >connect.log >MAINLOG
NO CARRIER  = NO CARRIER  >no_carrier.log >MAINLOG
ERROR       = ERROR       >error.log >MAINLOG
NO DIAL TONE= NO DIAL TONE>no_dial_tone.log >MAINLOG
BUSY        = BUSY        >busy.log >MAINLOG
RINGING     = RINGING     >ringing.log >MAINLOG
VOICE       = VOICE       >voice.log >MAINLOG
RING        = RING        >ring.log >MAINLOG
NO ANSWER   = NO ANSWER   >no_answer.log >MAINLOG


|--------------------------------------------------------------------------
| Path and filename for a text file to log timeout activity. And/or appended
| to the main log file, like the above result code logs.

TIMEOUTLOG = timeoutlog.log >MAINLOG


|--------------------------------------------------------------------------
| Prefix dailing string, usually something like ATDT950. Default blank.

PREFIX = ATDT950


|--------------------------------------------------------------------------
| String to put after the number. Default blank.
| USRobotics modems can detect second dialtones, by using "W;H". It will
| return the OK result code, if it found one and log this in the log file.
| For scanning for CARRIERs don't use any suffix string. The program will
| automatically log the carrier string and drop carrier.
|
| Info for USR-DS 16.8 users: Mr. Commodore found a fucking bug in his 16.8,
| that it can't detect VOICE results, only in FAX mode. This has been
| comfirmed by USR, and they have made a new Supervisor ROM available! Also
| if you get alot of false NO DAILTONE errors, don't use ATX6.

SUFFIX = W;H


|--------------------------------------------------------------------------
| Timeout delay after the number is dialed. Default 20 seconds.

WAITDELAY = 33


|--------------------------------------------------------------------------
| Dailing delay in between calls. Default 5 seconds.

DAILDELAY = 3


|--------------------------------------------------------------------------
| Maximum delay when initializing modem to wait for OK string. Default 5.
| No need to mess around with this setting, but just in case, it's here..

OKDELAY = 3


|--------------------------------------------------------------------------
| Path and filename to exchange data file. Default is "Scanner.dat".

TABLEFILE = Scanner.dat950


|--------------------------------------------------------------------------
| Start and ending offsets in data table to dial. Default is 0 and 9999.
| If the table is created sequentially, with the SEQ command, you can simply
| use these offsets to directly specify which number to dial.

START = 0000
END = 9999


|--------------------------------------------------------------------------
| Range in which to create the exchange data file. Default 0 and 9999.
| So you can randomly scan a certain range of exchanges. Very useful if you
| f.ex. only want to do exchanges 1000 to 2000, in a random order.
| TABLEEND defaults to the largest possible number in table (see EXCHDIGITS
| below) if NOT specified/present.

TABLESTART = 0000
TABLEEND = 9999

| So for example if you wanted to make a random exchange file with exchanges
| 3000-5000, but right now only wanted to scan exchanges 3500-4000, your
| settings should be:
|
|    TABLESTART = 3000
|    TABLEEND   = 5000
|    START      = 500
|    END        = 1000


|--------------------------------------------------------------------------
| Max Ring counter before timeout. Default 3.
| If 0 it will disable the ring counter feature.

MAXRINGS = 3


|--------------------------------------------------------------------------
| Number of digits in exchange used. Standard US default is 4. Certain
| amount of space is needed for the number of digits used. Technically each
| exchange number takes up 4 bytes, as we use longwords, so:
|
| Digits  Highest Number     Datafile Size  Comment
| ------  --------------   ---------------  -------------------------------
|      1               9   (in bytes)   52  To hack around the office?
|      2              99               412
|      3             999             4.012
|      4            9999            40.012  Regular US exchange.
|      5           99999           400.012  Most exchanges I would think..
|      6          999999         4.000.012  Yep, 4 Megs! Init takes 30 mins!
|      7         9999999        40.000.012  Entire US areacode! 1-800?
|      8        99999999       400.000.012
|      9       999999999     4.000.000.012  4 Gigabytes..hmm..
|
| As a 32 bit longword can only hold up to no. 4294967296, we cannot do a 10
| digit (4 Tetrabytes anyone??) table and scan the entire US. Sorry guys.. :)
|
| Currently the program randomizes the table in memory, so you can maximum do
| a 6 digit, 4 meg table. I could make the random routine filebased, which
| will be much slower if anyone would like a randomized 7 digit 40meg table.
|
| PS! Remember to change the TABLEEND value, or simply remove it. Otherwise
| it will cut off the table where you might not want it to.

EXCHDIGITS = 4


|--------------------------------------------------------------------------
| If YES it uses the keyboard.device to scan key presses instead of the
| active CLI Window. The keyboard.device receives all keypresses no matter
| which Window/Program you currently are in. Can be handy. Default is NO.
|
| If NO it uses the current CLI window to get the keyboard input, which is
| much nicer. You can also define and use your left/right-mousebuttons.

KEYBDEVICE = NO


|--------------------------------------------------------------------------
| Complete user configurable key function setup! Lets you, the user, setup
| what text and/or function you want each key to represent.
|
| Format is as follows:  KEY<Key>=<Text><Hangup Flag><Function Name><Log>
|
| Order is not important, and you can leave out any of the four parts.
|
| 1 The Hang-up Flag, "^", specifies if you want the modem to drop carrier
|   upon a keypress, use a '^' somewhere in the string.
| 2 The Text can be any text (except for ^, @ and >), you wish to write to
|   the logfile and screen with the scan entry, upon keypress.
| 3 The Function, is a pre-programmed function that does a specific task.
| 4 The Log specfication. ">", puts any activity caused by the key to a
|   specified log file. If you supply the '> MAINLOG' keyword, it will also
|   be placed in the main logfile. Specified in the LOGFILE config line. If
|   no logfile is supplied it won't be written anywhere, except on screen.
|
| Current available functions you can place and use:
|
|       @INFO       Show info screen.
|       @HELP       Show help screen.
|       @JUMP       Jump to specified table offset.
|       @RETRY      Retry last number.
|       @PAUSE      Pause until same key pressed again.
|       @TIME       Print current time.
|       @SKIP       Skip entry, and continue to next.
|       @DELETE     Skip entry.
|       @ABORT      Abort scan, and quit program.
|       @BACK       Skip entry, go one backward.
|       @FORWARD    Skip entry, go one forward.
|       @COMMENT    Prompt for comment text.
|       @ENTERSTR   Change prefix and suffix modem strings.
|       @DIAL       Ask for a number to dialout.
|
| For example examine the config line:
|
|       KEYJ=GOTO OFFSET^ @JUMP
|
| Would when the key 'J' is pressed hang-up the modem, print "GOTO OFFSET"
| on the screen and in the logfile. Then execute the actual Jump function
| routine to ask for the new offset and jump there.
|
| Available keys that can be defined are listed below. As an added bonus,
| you can also define the 10 available F-keys.
|
| With the KEYLEFT command you can define what the left mousebutton
| should do when pressed. (only if KEYBDEVICE = NO)
|
| Only default key available is ESCape. Defined as an abort/panic key.

KEYA=ANSWERING MACHINE^ >answering_machine.log >MAINLOG
KEYB=BUSY^ >busy.log >MAINLOG
KEYC=CARRIER^ >carrier.log >MAINLOG
KEYD=DISCONNECTED^ >disconnected.log >MAINLOG
KEYE=
KEYF=FAX MACHINE^ >fax_machine.log >MAINLOG
KEYG=
KEYH=
KEYI=@INFO
KEYJ=JUMP^ @JUMP >jump.log >MAINLOG
KEYK=COMMENT^ @COMMENT >comment.log >MAINLOG
KEYL=
KEYM=MESSAGE SERVICE^ >message_service.log >MAINLOG
KEYN=NEW NUMBER^ >new_number.log >MAINLOG
KEYO=OK^ >ok.log >MAINLOG
KEYP=PAGER^ >pager.log >MAINLOG
KEYQ=QUIET^ >quiet.log >MAINLOG
KEYR=RETRY^ @RETRY >retry.log >MAINLOG
KEYS=*PAUSE* @PAUSE >pause.log >MAINLOG
KEYT=TONE^ >tone.log >MAINLOG
KEYU=
KEYV=VOICE^ >voice.log >MAINLOG
KEYW=
KEYX=
KEYY=
KEYZ=@TIME
KEY?=???^ >???.log >MAINLOG
KEY-=BACK^ @BACK >back.log >MAINLOG
KEY+=FORWARD^ @FORWARD >forward.log >MAINLOG
KEYF01=ENTERSTR^ @ENTERSTR >enterstr.log >MAINLOG
KEYF02=DIAL^ @DIAL >dial.log >MAINLOG
KEYF03=
KEYF04=
KEYF05=
KEYF06=
KEYF07=
KEYF08=
KEYF09=
KEYF10=
KEYDEL=DELETE^ @DELETE >delete.log >MAINLOG
KEYESC=ABORT^ @ABORT >abort.log >MAINLOG
KEYRET=SKIP^ @SKIP >skip.log >MAINLOG
KEYHLP=@HELP
KEYLEFT=SKIP^ @SKIP >skip.log >MAINLOG


|--------------------------------------------------------------------------
| This command lets you create a custom list of numbers you wish to scan.
|
| It doesn't change or delete your standard data file, Scanner.dat, but
| just use these numbers one by one instead. Just list all the numbers
| in a normal text file, one on each line. Up to 128 characters on each line.
|
| There can be blank lines in the table, and you can use the '|' in the
| beginning of each line for comments...
|
| Remember to change your PREFIX string, and START and END offsets! If you
| leave your START and END out, it will automatically count the total count
| of numbers in the table.

|CUSTOMTABLE = Scanner.mytable


| Thats it so far....
|==========================================================================

