; ; Scanner V1.4 Config File by Mr.Great & Mr. Commodore © 03/02/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 -Cdh0:s/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 ; the "=" will be used on each line. Leading/trailing spaces are ; trimed off. You cannot put remarks after 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 = BaudBandit.device ;-------------------------------------------------------------------------- ; Serial unit to use. Default is 0. Normally just for those multi-serial- ; port owners.. UNIT = 0 ;-------------------------------------------------------------------------- ; Prefix dailing string, usually something like ATDT950. Default blank. PREFIX = ATDT980 ;-------------------------------------------------------------------------- ; 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. ;SUFFIX = W;H ; 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. ;-------------------------------------------------------------------------- ; Timeout delay after the number is dialed. Default 20 seconds. WAITDELAY = 20 ;-------------------------------------------------------------------------- ; Dailing delay in between calls. Default 5 seconds. DAILDELAY = 5 ;-------------------------------------------------------------------------- ; 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 = 5 ;-------------------------------------------------------------------------- ; 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 = 0 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 = 0 ;TABLEEND = 9999 ;-------------------------------------------------------------------------- ; 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" LOGFILE = Scanner.log ;-------------------------------------------------------------------------- ; Path and filename to exchange data file. Default is "Scanner.dat". TABLEFILE = Scanner.dat ;-------------------------------------------------------------------------- ; 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. Default is NO. ; If NO it uses the current CLI window to get the keyboard input, which is ; much nicer. You can also use your left mouse button, to skip scan entries. 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= ; ; Order is not important, and you can leave out parts. ; ; The Hang-up Flag, "^", specifies if you want the modem to drop carrier ; upon a keypress, use a '^' somewhere in the string. ; The Text can be any text (except for ^ and @), you wish to write to ; the logfile and screen with the scan entry, upon keypress. ; The Function, is a pre-programmed function that does a specific task. ; Current available functions you can place: ; ; @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, and don't write in the log file. ; @ABORT Abort scan, and quit program. ; @BACK Skip entry, go one backward. ; @FORWARD Skip entry, go one forward. ; ; F.ex. the 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. ; ; Only default key available is ESCape. Defined as an abort/panic key. KEYA=ANSWERING MACHINE^ KEYB=BUSY^ KEYC=CARRIER^ KEYD=DISCONNECTED^ KEYE= KEYF=FAX MACHINE^ KEYG= KEYH= KEYI=@INFO KEYJ=GOTO OFFSET^@JUMP KEYK= KEYL= KEYM=MESSAGE SERVICE^ KEYN=NEW NUMBER^ KEYO= KEYP=PAGER^ KEYQ=QUIET^ KEYR=@RETRY KEYS=*STOPPED* @PAUSE KEYT=TONE^ KEYU= KEYV=VOICE^ KEYW= KEYX= KEYY= KEYZ=@TIME KEY?=???^ KEY-=@BACK KEY+=@FORWARD KEYF01=JUST TESTING 1 2 3 KEYF02= KEYF03= KEYF04= KEYF05= KEYF06= KEYF07= KEYF08= KEYF09= KEYF10= KEYDEL=@DELETE KEYESC=ABORTED @ABORT KEYRET=TIMEOUT @SKIP KEYHLP=@HELP ;-------------------------------------------------------------------------- ; For my debugging purposes only. Active when set to ON. DEBUG = OFF ; Thats it so far.... ;==========================================================================