home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
CEL141.ZIP
/
CEL141C.ZIP
/
FILE17B.ZIP
/
FILE17B.DOC
next >
Wrap
Text File
|
1992-07-05
|
22KB
|
464 lines
--------------------------------------------
Celerity v1.39 - v1.40 File Base Editor v1.7 BETA
Written by: Sicko
--------------------------------------------
If you are updating, its a good idea to read the last page or so of this
file to see whats new and then rescan the top-mid sections.
Heres another stupid Celerity utility.
Disclaimer: It works for me. But if it doesn't work for you don't cry to
me. Back-up before you run any utility like this.
Features & Functions:
o Scroll-box/windowed displays.
o Can access all 5 conferences and any file area within that conference.
o View & Edit all fields of a File.
o Files can be listed in 1 of 3 formats (changed on the fly).
o Tag multiple files.
o Move files between file areas and between conferences.
o Delete files, both from Celerity and the actual DOS file (Tagged and
Duplicate).
o Tag areas and have all OFFLINE files within those areas moved to
another area and/or conference.
o During moves, Duplicates are tagged with a '*' and you may act apon those
files.
o Viewing of ZIP & ARJ files.
o Viewing of files with ZIP files.
o Viewing of ASCII files.
o Adding "blank/new" files, ie files that are not physically on the disk.
(Saves previous info for faster data entry).
o Adding OFFLINE-files, a scroll-box with all the files that are not in
celerity is displayed and thencan be tagged and added to celerity.
o Use of a "MASTER" list that will be searched for the dos file name,
locate the description (as best as possible) and use that as the
description when the file is added. (Makes adding large quantity of
files alot easier, ie tape trades).
o Alot of error checking so that files are not lost.
o If you use file points, it will calculate the number of file points
and automatically insert that number when you add new files.
o You can now add all the files contained within the INFILES.DAT file
to Celerity, even if the files do not exist on the drive. This is
a good feature to use if you are converting from another BBS package
to Celerity and want to import all those "offline" files.
o Mass addition of files into celerity that are not currently in
Celerity. Those that do not find a matching filename within the
INFILES.DAT file are not added.
o The parsing of the INFILES.DAT file can be configured to be "BEST FIND"
or you can define what columns the description and filename start in.
-=-
Some Editing Tips: (this also goes for the user base editor I wrote)
Ctrl-Y : will erase the contents of the current field.
Insert : will toggle insert/over-write mode for that screen and
following screens
Ctrl-Enter : Save current screen (file/user) and go to next.
ESC : Do not save current screen and exit.
Page-Dwn : Save current screen go to next (go to next depends on prog)
Page-Up : Save current screen go to previrous ( " )
TAB / Shift TAB : Move from field to field
Arrows : "
On Menus : Press the Number and it will goto the number
-=-
This here utility will allow you to edit all the file attributes in Celerity.
It will display the 5 conferences and ask you to pick one, if there are no
file areas in that conferece it will tell you so, if there are it will list
the file base areas for you to choose from. After you pick the file area it
display a scroll-box with the dos filename and description. (This may take
a few seconds/minutes depending on your machine and the number of files).
Now you can choose the file you want to edit. It will bring up the file, and
all its specs. You can Page-up & Page-Down through the directory, so you can
edit files faster. I made the cursor default to the description, since I
figured most sysops would use this utility to do that.
This utility might come in handy for sysops that do tape trades and add
large quantities of files at a time. The idea is:
1. Use this Utility (to add the files and pull the descriptions
from an ASCII list).
You can move files between areas and between conferences. You can
clean-up areas by moving all offline files into one area. You may delete
files from an area.
Moving Files: Choose the conference, then choose the area, tag the files
you want to move with the TAB key, press the INSERT key, now pick the
conference and then the area you want to move the files to. The file
records will be moved to the new area, the dos file will be copied,
the path in the file record will be upadted, and then the old file
deleted.
Note: You may not move files to the same area where they came from. If
a file exists in the destination directory it will tell you and
will NOT copy the files & will ask you to pick another area.
Offline files will be moved and reported to you that they do not
exists. The path names of the files will be updated in Celerity
to reflect the path of the area moved to.
You can flip between the 3 display types.
Cleaning-Up Dirs: Choose the Conference, the tag the areas to clean-up
with the TAB key, press the INSERT key, choose the destination
conference then choose the destination area. It will scan all the
picked areas for offline files and move them to the destination
dir (and update the path too, why?, why not.)
Deleting Files: Just tag the files you want to delete, and press DEL, it
will ask you if you want to delete the celerity records, then
it will ask you if wish to delete the dos files too. If you answer
NO to the first question it will do nothing.
Adding OFFLINE files: Pick the conference and the area, press the key
that is associated with Add files (look at the bottom of the sceen)
and it displays a blank file entry screen. Add the neccessary info,
(ITS BEST TO ADD ALL THEN INFORMATION - DO NOT LEAVE key fields
blank, ie DOS NAME, size, uploader, stuff like that)
You can press Ctrl-Enter or page-down/page-up to get to the next
entry. The current data will be displayed for the next file, so
you may enter multiple file programs quickly.
command : press [ from the pick area menu
Adding files that are in the directory: You can add files that
are not listed in celerity but are on the disk now, this will
take some time as I have to check each file against the celerity
data file. Currently it will list all the files that it does not
find a match for in celerity and then you may tag the ones you
want and then added them (you have to enter most of the info for
them).
command : press . from the pick area menu
Mass Adding Files : press [DEL] on the area that you want to add these
files to, it will search the associate directory for all files
that are not in the area's list, then it will scan the infiles.dat
file, if it finds a matching filename it will add the file. It
will report the number of files added and not added.
Mass Adding of OFFLINE Files : Press ` and it will add ALL THE FILES
in the INFILES.DAT file to the associated directory. You MUST have
specified that you will use a FIXED FORMAT INFILES.DAT FILE. (look
at end of docs for more info on fixed format)
If a file called infiles.dat exists in the current directory it will scan
the file for the dos file name and if found use the description found
as the description, saves you some typing.
The Logic behind all the moves is as follows:
1. Check drive space and see if a file already exists on the
destination dir. If either true stop with error message.
a. If file can be moved via FAT move, then do not include
that file in the disk free check.
2. Move Celerity records to destintion area.
3. Move DOS Files to destination area.
4. Delete DOS Files in source area.
4. Delete Records in source area.
Limits:
50 File base areas per conference.
5000 Files per area.
I create a temporary file in the current directory that contains some
information, and you will see disk access as you scroll through the
various lists, this file is deleted after exiting. The filename that
is used is : "filer.sic"
NETWORKS:
I've used this utility while 3 people have been online, and so far no
problems. I'm running Novell 3.11 so I have not tested it with LANtastics,
Desqview, or NETLite.
I've noticed if I'm moving stuff on one node, while someone else is listing
the same base on another node, it will leave a bunch of blank records,
these can just be deleted. No harm is done to the bases.
-Sicko
You can contact me via: -Private Celerity Net-Mail
-Any of the Celerity Sysop Message Bases
-on The BoG
History:
4/19/92 - Version 1.0
4/28/92 - Version 1.1
Fixed the problem of the file scroll box descriptions and file
names not being updated.
Added Moving between conferences, Offline Clean-up, and File
deletion. Added more status messages and displays.
4/29 - 5/10/92 - Version 1.2
a. Fixed some of the status messages, added more messages.
b. You may now add files that are not physically on the drive.
c. Rewrote the moving logic to handle FAT moves, I still check
each file being moved to see if there is enough space on the
disk, because I don't know if all the files being moved are
in the same directory/drive.
Again we, check to see if any of the files exist in the
destination dir and if so, we tell you.
d. You can now flip between 3 possible file listings, the dos
file name, the description & (date uploaded, or, size, or
number of disks)
E. Fixed a problem with FAT moving files that do not exist.
F. Fixed a problem of not closing a file, this caused a runtime
error after five or so moves.
5/11-5/?? - Version 1.3
A. When you moved files to a different conference, the area
descriptions where displaying the areas from the source
conference, this has been fixed.
B. The check diskspace routine was comparing Bytes against
KBytes, fixed.
5/15/92 - Version 1.3
A. Added offline file addition, this one checks each file in the
directory against the celerity dir data file and if there
is no entry it adds it to the list of files. This list of files
is displayed and you may tag the files you want to add and
then add them.
5/19/92 - Version 1.4b
A. Fixed some display routines that were being over written.
B. You could not tag areas to be marked for offline file moving.
C. Bulls Won, Hawks Won.
5/20/92
Some Editing Tips: (this also goes for the user base editor I wrote)
Ctrl-Y : will erase the contents of the current field.
Insert : will toggle insert/over-write mode for that screen and
following screens
Ctrl-Enter : Save current screen (file/user) and go to next.
ESC : Do not save current screen and exit.
Page-Dwn : Save current screen go to next (go to next depends on prog)
Page-Up : Save current screen go to previrous ( " )
TAB / Shift TAB : Move from field to field
Arrows : "
A. I fixed more displays, made it look a little nicer.
B. If you move files to an area where 1 or more of the dosfiles
already exists, it still tells you that they exists and tells
you that you can pick another area to move "ALL" the files to
or you can press ESC and go back 1 menu to choose another
conference, and/or press ESC again to get back to the current
file area and all the files that were duplicates on the
destination dir will be marked with a "*".
C. When you press DEL from the pick file list(menu) it will ask
you if you wish to delete duplicate files, marked with a "*",
then it will ask you if you want to delete tagged files, marked
with a "[" and a "]". It will then ask you if you wish to
delete the Celerity Records, if you answer no here it will
not delete anything and return you to the pick files menu. If
you answer "YES" it will ask you if you want to delete the
DOS files and will do so as you ask.
D. Added a feature that if a file called "infiles.dat" exists in the
default dir, which happens to be the dir you run filedtxx from,
which also happens to be your data directory, it will use this
file in the add new files process. If you add files that exist,
but not in celerity ("." command) it will scan infiles.dat for
the DOS filename minus the extension and if it finds a match
will scan the rest of the line and grab a 44 char description
and use it.
THE FILE NAME AND EXTENSION SHOULD/MUST BE IN THE FIRST 25 CHARS!
The position of the filename and extenstion and description are
not important but the SEQUENCE is. There can be spaces between
the filename and the extension.
It will use the first DOS filename that matches, and if there
is no match it will use the description for the last file.
OK, this is what I've done:
1. I do a search to find the filename
2. when its found, I parse until I find a "." or the 25th char.
3. If I find a "." I skip 4 characers to skip any extension.
4. I parse until I get a character AFTER A SPACE, this takes
case of LSDs file listing of having the filesize with a k after it.
I did this cause most listings are like
Filename Date Size Descritpion
and since date and size are all BUT letters, I have just did a search
until I found a letter following a SPACE. Then I grab the next 44
characters as the description. This does no cover the "Resv", "Free",
whatever that can happen with celerity & LSD.
E. You can now view zip/arj files, just have the highlight bar on the
file you want to view and press ".". The draw back here is that
it has to rescan the directory when done, something that can not
be helped at this point.
Note: If you want support for more archive formats tell me.
F. Increased the number of files per area to 5000 (one of my bases
went over 3000)
6/1/92 G. Updated the search routines for infiles.dat to be more forgiving
and locate the description better. It works best when there is
no ansi, ie you select NO EMULATION when your on bbs's.
H. Cleaned-up some pauses that were accidently left in v1.4, ie when
you move files you had to press a key for it to move them.
I. If you move files and they exists or don't exist, it lists them
out, then it will wait for a key press before it moves them
so that you can see what files were noted. Same goes for offline
moves.
J. Its summer time, and unless someone has a GREAT suggestion, I'm
gonna go outside and "play".
6/6/92 v1.6 (ok, theres been some bad weather)
A. Someone asked for the file points to be automatically inserted
when adding files, DONE. There is now a required FILEBASE.DAT
file that contains the number of k per point. (Just like
Celerity). I've included a default one.
Line #1
## = Number of k per Point.
B. Tweaked the new file description search routines.
C. Rewrote a bunch of the display and filescan logic.
D. Added another couple lines to the FILEBASE.DAT file.
the second line should contain the file list option that
you want to default to:
Line #2
0 = Date listed
1 = Disk numbers listed
2 = Size listed
Line #3
The default uploaders name when adding new files,
if you change it during the process it will keep
that name as the uploader until you exit that
upload session.
Line #4
Empty Dir to extract files within zip files to display,
preferably a local node's xfer dir or any blank dir.
I unzip the file you want to extract to this dir,
type it to the screen and then delete it. If it aleady
exists, pkunzip will tell you so, and either way I delete
the file after we are done. SO MAKE SURE YOU USE AN EMPTY
DIRECTORY - DON'T COMPLAIN CAUSE YOU DID NOT READ THE DOCS.
MAKE SURE THERE IS A \ at the end of the path name, like:
F:\CELERITY\XFER3\
This is a VERY crude way of looking at zip files, I havent
looked for any of the pkzip programmer utils I have, so
expect an upadate to this if people actualy use it.
(Leave me mail)
E. After 5 areas where scanned for offline file moves, it would
crash, (I forgot to close a file), this has been fixed.
Thanks to Night Ranger for bringing this one up.
F. Shikägo, home of the booze.
G. Added some checking of the FILEBASE.DAT file.
7/2/92
1.7Beta
Night Ranger of Europe gave many ideas/suggestions that I have
incoporated into version 1.7, thanks NR!
1. You may now add all the files in a directory to celerity that
are not already in celerity automatically, ie it will not
prompt you edit information for each file. You MUST have
an INFILES.DAT file for this to work. It will search the
INFILES.DAT for for the file name, if a match is found it
will add the record to celerity with the description,
uploader's name and file points (all values grabbed from the
FILEBASE.DAT file). If a filename match is not found it
won't add the file. It reports the number of files added and
not added.
2. You may now have a configurable INFILES.DAT file. ie in the
FILEBASE.DAT file you specifiy the format of the INFILES.DAT
file and the parser will determine the exact column that
the filename and description are in and use these starting
points to get the filename and description. This comes in
handy when you are using a list that is all in one format.
3. Point #2 leads into this one. You may now add all the files
in FILEBASE.DAT to celerity, EVEN IF THE FILES DON'T EXIST.
You must use a fixed formatted INFILES.DAT file as described
in pt #2. It will added every line in the infiles.dat file
to your celerity directory.
4. The display of amount of k copied is now configurable, I test
this utility on a 486/33 and with a Novell Network, so I
think its pretty quick, but others think the copying could
use a kick in the pants.
The FILEBASE.DAT file looks like:
Number of k per file point
Default File listing configuration
Default Uploader
Temp directory to use to extract zip files in
Should the amount of k being copied be displayed
Use FIXED Format INFILES.DAT
FFFFFFFFFF SSSSSSSS DDDDDDDDDDDDDDDDDDDD
Example:
10
1
Sicko
f:\celerity\xfer3
N
Y
FFFFFFFFFFFF SSSS DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
would correspond to the infiles.dat file looking like
celerity.zip 1000k Celerity BBS
filebase.zip 100k A Great Celerity Utility!!!!
FFFF = Filename (MUST BE IN CAPS)
SSSS = FIleSize (not used yet)
DDDD = Description (MUST BE IN CAPS)
The first occurrance of F,S,& D must be placed in the column
where their respective titles start.
4. I fixed the file point calculatoins, I now truncate instead
of rounding.
Alot of these suggestions where added to try to bring over Vision
sysops to Celerity. They needed a utility that would convert
their Vision Filebases to Celerity. This utility does not do that
directly, but can be used with any Master list from any board to
populate celerity's filebases.
5. You may now view ASCII files by highlighting the files and
press "." If the does not have ZIP or ARJ within the file name
it will prompt you if you wish to display it.