home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
bbs
/
ndlist04
/
ndlister.doc
< prev
next >
Wrap
Text File
|
1993-09-26
|
5KB
|
109 lines
NDLISTER ~ Produces Human readable BBS list Nodelists
=====================================================
Written By Paul Baker @ The Tavern BBS 44-(0)81-445-6514
Turbonet 100:1011/0 ~ NeSt 90:102/140 ~ Fido 2:440/108 Atarinet 51:501/100
Usenet : mettav.royle.org
24 hours All Speeds to 14400 MNp5 / V42 Bis
This program will read any nodelist file (uncompiled) and produce an easy
to read text output showing the name , location , phone number, speed and
(if avaialble) the times of operation.
If the flag CM appears then the bbs is assumed to be 24hrs , if the U flag
with a valid time appears then that time is taken and used , BBS with the
MO flag are marked as Mailers Only , BBS with none of the above are left
with blank times.
to run you need to create a text file with the following definitions to tell
NDLISTER what nodlist you wish to use , what output file you want produced
wether you want to restrict which area, zone or phone numbers that should
appear in the list and what alterations to the phone numbers you want to
make so they make sense to you locally (e.g. 44-81 converted to 081).
You can place the definitions for more than one nodelist in the same
config file and NDLIST will read and output each one as it reaches it ,
the command END: marks the end of the definitions for the current nodelist.
Lines begining with a semi-colon are regarded as comments and are ignored.
One restriction is that your MUST end the config file with three minus signs
To actually run the program you pass the FULL path and filename of the config
you wish to use as a parameter to the program
Commands Used (these are repeated in the example config)
-------------
CONVERT= is used to change the phone numbers so they make locally.
e.g. CONVERT=44-,0 (Note the seperating comma) converts 44-81 to 081
APPEND= is used to append text to the start of a number
e.g. APPEND=1-,010- will change 1- to 010-1-
APPEND-DEFAULT= if you define this then any node which fails to match any
of the CONVERT or APPEND arguments will have this text appended to the
start of the phone number, this is useful if you only need to replace one
code (e.g. 44- to 0) and the rest of your international phone numbers have
a standard prefix (e.g. 010-)
So UK nodes for example will only need the following in the config
CONVERT=44-,0
APPEND-DEFAULT=010-
If for any reason the altered phone number does not fit into the box
provided then NDLISTER will start removing the minus signs from the number
until it does , if it still doesn't fit then the original number from the
nodelist will be used.
REGION= tells it to only show nodes in that region.
e.g. REGION=21 will only show nodes in region 21
RESTRICTNUM= tells it only to show nodes with phone numbers that start with
that particular sequence of numbers
e.g. RESTRICTNUM=44- will only list numbers starting 44- (UK)
ZONE= tells it to show only those nodes in that ZONE (Turbonet is ZONE 100,
NeST Zone 90 and FIDO Zone 2 (UK)) not a very useful feature unless
you combine your nodelists from different Networks or use the full
FIDO nodelist but only want UK nodes listed,, but you never know so
I included it.
e.g. ZONE=2 (UK FIDO)
You CAN't use more than one of the above 3 methods of restricting output
at the same time.
TITLE= is just that , the title you want to be placed at the top of the
output.
NODELIST= is the path and name of the nodelist.XXX files , note you don't
need to put an extension as the program will automatically take
the highest numbered uncompiled nodelist as it's input.
If no matching nodelist is found then that entry is skipped and
the next one is read.
FILE= defines the full path and filename of the output to be produced.
if no file is defined then that nodelist is skipped and the next read.
the command END: marks the end of the current nodelist in the config ,
commands used in the previous nodelist are carried over into the next one
, so you may only need to redefine NODELIST ,FILE and TITLE in most
instances.
The command CLEAR: will clear all the previous commands , useful if you
want to cancel the previous RESTRICNUM etc , it means you will have to
re-define all the convert statements , an easier way would be to put your
restricted nodelist outputs at the bottom of the config.
please see the example config for more details and examples.