home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
BEEHIVE
/
ZCAT
/
NCAT.LBR
/
NCAT371.DQC
/
NCAT371.DOC
Wrap
Text File
|
2000-06-30
|
9KB
|
205 lines
DOCUMENTATION FOR: NCAT.ASM v3.71 03/14/84
NCAT is a catalog maintenance program. It gets the directory
from each disk processed and adds it to a MAST.CAT file. If any new
programs have been added (or deleted) since the last time the disk was
processed, MAST.CAT is upgraded accordingly. This enables the user to
keep an accurate and current catalog listing.
This program combines the original FMAP, QCAT and UCAT programs
written by Ward Christensen some years ago. NCAT was chosen as a new
name so it would fit into the COMPUSERVE (MICRONET) phone system along
with the current revision number. (That system limits the file name
plus the revision number to a maximum of six characters.) NCAT has
several useful enhancements:
1) Self-determines maximum user space and resets the buffer lengths
automatically.
2) Allows the user to set the optimum directory buffer length for
his disk system without editing and reassembling. Some disk
directories allow only 64 file names (896 bytes) while some
Winchester systems allow 1024 files names (14k). Default is
currently set to 256. If inadequate, a message informs the
user that he should reset the buffer size. The value of the
maximum number of file names (including library members) is
stored in a word (two bytes) at the beginning of the program
just after the text string "MAX FILES =". It can be patched
using DDT or DU.
3) Can abort easily whenever an answer is expected, via CTL-C or
CTL-X.
4) Can show the user area each disk file is on, if USER is set
YES. Set at default to YES in present source code. The user
number is listed after the volume number in MAST.CAT. All
32 user areas are included. Users 0 to 9 are indicated by the
appropriate digit; users from 10 to 31 are indicated by the
letters from A to V.
5) Displays the disk ID number for the disk being processed.
6) Allows the user to process Library directory entries as if
they were files. MAST.CAT indicates that an entry is a
library member by substituting "<" for ";" as the
separator between the volume number and the user area.
Since the library cataloguing may not work without user
area storage anyway, this option is selected using the
same USER equate.
* * * * * * * * * * * * * * * * * *
NOTE: Do not mix single density and double density disks while making
a catalog. The NCAT program handles both, ok, but not at the
same time. Terminate with an "N" and log in the new density disk
via CTL-C then run only disks with that density until you repeat
the procedure for a different disk density. This was done since
most users only use one density for all disks. It saves consid-
erable time (not to mention unnecessary wear on the disk drives)
not to have it automatically reboot with each new disk.
NOTE ON LIBRARIES: NCAT assumes that any file with type "LBR" is a
library. It checks that the file has space allocated to it,
and then checks the directory for reasonableness. There is
no way that these tests can detect every case in which a user
has set up a non-library file with type LBR. Anything which
gets through will cause garbage file names to be stored in
MAST.CAT. NCAT then checks to see if the library appears to
have been written by LU version 3.00 or later and, if so,
performs CRC checking on the directory. This test cannot be
100% accurate either, and you may occaisionally get an
erroneous CRC error message with a library that does not in
fact contain CRC checking. In this case, respond "Y" to
the "proceed anyway" query.
* * * * * * * * * * * * * * * * * *
USING THE PROGRAM "FIRST TIME"
1) Use your editor to make a MAST.CAT "starter file", with programs
you don't want listed since you have many of those. For instance:
(CONFIG.COM (note left parenthesis for first entry)
COPY.COM
DDT.COM
DUMP.COM
PIP.COM) (note right parenthesis for last entry)
NOTE: The first thing NCAT expects to see in this list is a
left parenthesis, so make sure there are no blank lines
at the start. The last thing NCAT expects to see is a
right parenthesis followed by a "RET". There should be
no additional blank lines.
(If you want to catalog ALL files, you still must have the
left and right parentheses as shown below.)
() (with a RET following)
2) Each disk to be cataloged requires a unique number for a file type.
It needs to be preceeded with a "-" to be recognized by NCAT as a
"special file name". Example:
SAVE 0 B:-.033
3) Put disk with catalog programs into drive A:
NCAT .COM
XCAT .COM
MAST .CAT
4) Put disk to be cataloged into drive B: and type:
A>NCAT B:
then answer the questions.
NOTE: A "Y", "RET" or "SPACE" are all suitable "yes" answers.
5) Place the next disk to be cataloged into drive B: Repeat as needed
until all desired disks have been processed. At that time you may
wish to catalog the main disk itself. In that case just say:
A>NCAT
and again answer the questions. (This method is also used for one-
drive cataloging.)
NOTE: A special feature allows the main disk to be placed in
any convenient drive. If used in C: drive for example
you could insert the various disks one at a time into
the A: drive by using:
C>NCAT A:
When using the main disk in a drive other than A: you
would need "some disk" in A: for warm reboot purposes.
NOTE: Another way to handle the above situation is as follows.
If NCAT is on drive A:, MAST.CAT on drive C:, and the
disk to be catalogued on drive B:, then use
A>NCAT B: C:
6) Printing the file. A companion program called XCAT automatically
makes a new cross-referenced file called MAST.LST. This file can
be placed on disk, or directly sent to the printer. An option
allows use of either fanfold or roll paper. (If using roll paper,
it puts tear tabs each 11 inches.) This program also permits the
user to select up to 9 extra spaces at the beginning of each line
to fake a new left margin. (Some printers do not have adjustable
margins.) The user may also select the starting and stopping pages
in case only part of the catalog is to be printed.
ADDENDUM:
--------
Some users like to add an unique volume name to each disk.
Here is a suggstion for doing this:
A>SAVE 0 B:-.123 (volume ID in file type field)
A>SAVE 0 B:-07SEP82 (volume date in file name field)
A>SAVE 0 B:-EDITORS (volume name in file name field)
All three can be placed on the same disk. Since the first has
nothing prior to the file type area, it takes precedence and is con-
sidered the "volume ID number". None of them takes up any disk space
although they do reduce the total number of available directory file
names slightly. These names would be displayed first on any special
alphabetical directory listing such as "DIRR", "XDIR", etc.
Adding a special disk name ahead of the volume number is possible
but can foul up the proper cross-reference listing with XCAT. Since
you can have up to 1000 different disk numbers with no disk name, you
can actually keep far better track of your disks if you do NOT give
them a name. That way you can keep them neatly numbered, 10 to a
box, and quickly and easily find the appropriate box, while with a
name it could become awkward to quickly locate a disk, or to invent
yet another suitable name when you get a goodly number of disks.
Irvin M. Hoff
Los Altos Hills, CA 94022
(some modifications by Jay Sage)