home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
comms
/
nlistmgr_1
/
Qs+As
< prev
Wrap
Text File
|
1994-07-28
|
5KB
|
109 lines
NListMgr Questions and Answers
by Steven Haslam, Jul 26 1994
Q. What is NListMgr, then?
A. NListMgr is an application-and-module pair to help people writing programs
for FidoNet. Its name arises from the fact that it was originally written to
do just nodelist processing (hence "NodeLIST ManaGeR") but it was extended to
also handle the list of domains that you are a member of.
The application is the WIMP bit that you use; it handles compiling the
nodelists, and keeping the domains list up-to-date. The module is what other
programs see, and it does all the nodelist accessing, and farms out the
domains list as necessary.
Q. Why?
A. It's ridiculous if all FidoNet programs handle the nodelist separately: to
do it quickly, you need to organise the nodelist somehow (NListMgr uses an
index file) and it would have eventually ended up with each program requiring
the nodelist to be configured, compiled etc. separately... the potential for
this eating disk space and memory space is immense.
Q. Where do I keep my nodelists?
A. Which ones?
Q. (panic) How many are there?
A. There are two types of "nodelist". The first type, which I call "FTS-5
nodelists" is what you receive over the network. It is full of entries that
look like this:
,229,The_Abyss,Steven_Haslam,Colne_UK,......
These are not directly used by programs any more (hopefully!). The NListMgr
application compiles them into a format called "ArchyList nodelists" or
simply "compiled nodelists".
You can keep the FTS-5 nodelists wherever you like. Once you have compiled
them, you don't need them until you have to compile the next week's nodelist,
so you can archive them onto floppy if you want. You should keep the FTS-5
nodelists somewhere where they can be accessed quickly, although keeping them
permanently on the RAM disk is not advsied. (It is possible, with technical
knowledge; a future application might address using the RAM disk).
I use an application called "!Net_Areas" and keep the compiled nodelists in a
directory inside this called "Nodelist" (this is one of the standard choices
in the setup window). You might want to keep them inside the !NListMgr
application. However, the main point is that they must go somewhere where
they can always be accessed fairly quickly.
Q. Do I need to keep the application around all the time?
A. No. Once the module is loaded (programs will ask for the application, e.g.
by asking you to insert the disk with NListMgr on) then the application
should not be required again.
Q. I'm a point, and I just want a nodelist with my boss in, so I can call
him, process mail and so on. How do I do that?
A. Using NListMgr, open the domains manager (click SELECT on the icon bar
icon) and set up your domain (called "FidoNet" or whatever). Do not enter
anything in the nodelist fields on the left hand side of the window. Click on
the "Write" button and close the domains manager.
Now open the editing manager (click ADJUST on the icon bar icon) and enter
your boss's data. Enter all of it, since you don't have a nodelist. Remember
the "on-line" bit and the modem flags. When you have finished, click on the
"Write" button and close the editing manager.
Now open the domains manager, move to your domain (if necessary), and pop up
the menu. Choose the "Compile..." option. The compiler should report that it
has created a nodelist with 1 system in it. You can now use this "nodelist".
Q. What are all these "cache" things?
A. These help performance when looking up data from the nodelist. There are
THREE "caches" in NListMgr, and they all relate to the module. (A "cache", by
the way, is just a piece of memory that holds temporary information, usually
information that is known to be looked at quite often, as a nodelist often
is).
The first cache is the one that you set up when you compile the nodelist. It
is called the "index cache". This cache contains index information for a
selection of systems. The idea is that these systems are those that you often
have to look up. Their index information is always in memory, so the lookup
consists only of opening the data file and reading their information.
The second cache is assigned by the module when it starts up, and you do not
have direct control over it (although you can change its size). This is
called the "data cache". Whenever the module looks up an address, it reads
the data into this cache. When the address is asked for again, the module
checks the data cache first of all. If the address is in the data cache, then
the data is returned without ANY disk accessing. This improves performance
immensely.
The third cache is assigned at the same time as the data cache. It is called
the "file cache". When the module has to resort to reading the index file
from disk, the file is "cached": the cache is filled with data from the file,
which is checked, then refilled and so on until the end of the file, or the
address is found. If the cache is quite large (4K is the default) then block
disk transfers can be used, which is a boon if your hard disk (or floppy!) is
not brilliantly fast.
Q. Why is NListMgr so crap?
A. Go boil your head.