home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
FDH40.ZIP
/
FDH40.DOC
< prev
next >
Wrap
Text File
|
1991-12-22
|
10KB
|
250 lines
┌───────────┬────────────────────────────────────────────────────┬───────────┐
│ ▄▀▄▀▄▀▄▀▄ │ NO NONSENSE BBS - Westfield - NJ (908) 654-3178 │ ▄▀▄▀▄▀▄▀▄ │
│ ▄▀▄▀▄▀▄▀▄ ├────────────────────────────────────────────────────┤ ▄▀▄▀▄▀▄▀▄ │
│ ▄▀▄▀▄▀▄▀▄ │ FILE DIRECTORY HEADER Ver4.0 by Vince Rifici │ ▄▀▄▀▄▀▄▀▄ │
│ ▄▀▄▀▄▀▄▀▄ ├─────────────┬─────────────────┬────────────────────┤ ▄▀▄▀▄VCR▄ │
│ ▄▀▄▀▄▀▄▀▄ │ Files 10 │ Bytes 50763 │ Updated 12-22-1991 │ ▄▀▄▀▄▀▄▀▄ │
└───────────┴─────────────┴─────────────────┴────────────────────┴───────────┘
- 1 -
PCBoard 14.5a allows you to "break" the 79 column restriction in
DIRx files, and add a graphic header to your file directories.
The possibilities are limitless! This is one design I came up
with which not only looks sharp, but has the added feature of
displaying the date, number of files and number of bytes in each
directory. All five header file colors are now configurable in
version 3.0. Version 4.0 fixes the "out-of-string-space" error
experienced by some users when the size of a DIRx file exceeded
50k bytes.
EXECUTE THE FILE "SAMPLE3.EXE" and "SAMPLE4.EXE TO SEE
HOW THE FINISHED PRODUCT WILL LOOK ON YOUR BOARD.
Files contained in this archive are:
FDH40.EXE <------------- The executable program
FDH.CFG <------------- Sample configuration file
FDH40.DOC <------------- Documentation file
FDH.HST <------------- Revision History
SAMPLE1.TXT <------------- Sample directory #1
SAMPLE2.TXT <------------- Sample directory #2
SAMPLE3.EXE <------------- Sample of the new header
SAMPLE4.EXE <------------- Sample of the new header
COLOR.CHT <------------- PCB Color Code Chart
FILE_ID.DIZ <------------- Archive description
The program was run and tested on only one PC (my own). It is
an AT&T 6386 WGS running at 20mhz with 2 Megs of RAM memory.
DOS5.0 is installed as the operating system. It was written in
GWBASIC and was compiled using MicroSoft's QuickBASIC Compiler
Version 4.0. It takes approx. 40 seconds to run to completion
on my BBS, which contains 51 directories and over 5,000 Files.
It works flawlessly on my machine, but I cannot be responsible
for any problems you may have with it running on your machine.
Please be cautious! Make backups of your file directories
before using it the first time!
- 2 -
The limitations of the program are as follows:
Maximum number of file directories = 100
Minimum free RAM of low memory needed = 64k
Commas cannot be used in the file descriptions
This program utilizes the PCBoard "@X" color codes to display
both color and monochrome with PCBoard Version 14.5a. Read the
file COLOR.CHT for a complete list of "non-blinking" color codes
which may be used on PCBoard 14.5a.
Before running the program the following conditions MUST be met:
1. FDH40.EXE and FDH.CFG must be located in the same sub-directory.
They can be located anywhere on your disk (even on a different
drive than your PCB files).
2. All your file directories must be named DIRx, and must be
located in the same sub-directory (usually \PCB\GEN\).
3. You will have to create your own FDH.CFG file, or edit the
sample .CFG file included in the archive. The filename must
remain FDH.CFG (it is hardcoded in the executable).
4. The clock on your PC must be correct. The date shown in the
header is generated internally.
- 3 -
CREATING THE FDH.CFG FILE
Use any pure ASCII text editor to create the FDH.CFG file.
The size of this file will vary depending on the number of
file directories you have. If your board's directory structure
ever changes, you can re-edit the .CFG file and the program will
still work. All configurable items are contained in this file.
The FIRST LINE is simply the number of DIRx file directories
which reside on your board.
The SUBSEQUENT LINES contain the descriptions of all your DIRx
file directories. Use one description per line, in sequential
order. End all lines with a simple carriage return & line feed.
The NEXT THREE LINES are as follows:
The complete path of your DIRx files
(path only, no filename. Place "\" at end of path)
The name and location of your BBS
(this line should be no longer than 34 characters)
Your BBS telephone number (maximum 14 characters)
The LAST FIVE LINES are the PCB "@X" color codes for configuring
the header colors. See the file COLOR.CHT for all the available
colors you can use. Be sure to enter these codes in CAPS!
Color of the Border Lines
Color of the Indy 500 Flag
Color of your BBS Name and Tel No.
Color of all the Variable Information
Color of all Fixed Titles
IMPORTANT: DO NOT USE COMMAS ANYWHERE IN THE FDH.CFG FILE!
THE NUMBER OF FILE DESCRIPTIONS MUST BE EQUAL TO
THE NUMBER SHOWN ON THE FIRST LINE IN FDH.CFG!
- 4 -
Here is a simple illustration of a FDH.CFG file containing
five file directories:
5 <------- cannot be higher than 100
DOS Utilities & Shells <------- maximum 36 characters
Communication Programs "
File Transfer Protocols "
BBS System Software "
Sysop & User Utilities "
E:\PCB\GEN\ <---- may be any length
NO NONSENSE - Westfield - NJ <---- maximum 34 characters
(908) 654-3178 <---- maximum 14 characters
@X09 <-------- Bright blue Border Lines
@X0C <-------- Bright red Indy 500 Flag
@X0B <-------- Bright cyan BBS Name & Tel No.
@X0A <-------- Bright green Descriptions & File Counts
@X03 <-------- Standard cyan Fixed Titles
All lines are ended with a simple carriage return & line feed.
Do not use any blank spaces before or after the information on
any line.
PREPARING YOUR FILE DIRECTORIES
Each of your DIRx file directories should contain only one
header line. This is the PCB 14.5a statement which calls up the
header file when it's displayed on the board.
Place the following statement on the first line in each of your
DIRx directories:
%E:\PCB\GEN\DIRx.HED <--- use the same path as your DIRx files
This line begins with a percent (%) sign and contains the path
and file name of the header files.
The header files are automatically created when the program
FDH40.EXE is executed. The files are named DIRx.HED and are
placed in the same directory as your DIRx files.
See SAMPLE1 & SAMPLE2 for a sample of my directory #1 (DIR1),
and my directory #2 (DIR2).
- 5 -
GET READY TO "GO"
After you have built your FDH.CFG file, and configured all
your DIRx files to add the PCB 14.5a calling statement, you are
ready to run FDH40.EXE.
Please take my advice and backup all your DIRx files before
running this program for the first time. It really should not
do any damage to the DIRx files, even if you make mistakes in
building the .CFG file. The program merely opens the DIRx's to
count the files and the bytes and does not modify them in any
way. If you do "mess up", just correct the errors in the .CFG
file and run the program again. Each time the program is run,
it overwrites the old .HED files and builds completely new ones.
UPGRADING FROM VERSION 1.0
If you are upgrading from version 1.0, make the following
changes:
1. Replace the file FDH10.EXE with FDH40.EXE.
2. Delete the file FDH10.MSK. It is no longer needed.
3. Change the name of FDH10.DAT to FDH.CFG and add the last
five color code lines to the end of the file.
- END of DOCS -
The latest copy of FDH is always available on:
NO NONSENSE BBS
Westfield, NJ
(908) 654-3178
If you find this program useful please send a small donation to:
Vincent C. Rifici
433 Mountain Avenue
Westfield, NJ 07090
My thanks to Neil Stewart, E.I.B. BBS, Hillsdale, NJ for testing
the program and reporting the "bugs" which got by me on the first
try. Thanks to Dave Terry, SALT AIR BBS for providing all the
"nice" little features in PCBoard 14.5a which made this program
possible.