home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
PWABAL16.ZIP
/
AREA.DOC
< prev
next >
Wrap
Text File
|
1995-10-23
|
7KB
|
152 lines
<«─----──-───--────-------──────--─────-------──────---────-------────----──»>
░▒▓██████████████▓▒░│ [PWA] FILE AREA LISTER v1.6 │░▒▓█████████████████▓▒░
<«─------──---──-────────-------------───---───-─────----------──--──---───-»>
(C) BlackCat 1995
<«─----──-───--────-------──────--─────-------──────---────-------────----──»>
This is a lightbar driven file area lister. Initially this was only a PPE
that read the conference information and showed a simple file area menu.
But I wanted a better menu with file/byte totals and since I had coded a
directory menu creator I decided to combine the two. Here's the result and
I think you may like it ;)
<«─----──-───--────-------──────--─────-------──────---────-------────----──»>
░▒▓█▓▒░│ INSTALLATION │░▒▓█████████████████████████████████████████████▓▒░
<«─------──---──-────────-------------───---───-─────----------──--──---───-»>
■ Make sure that you've extracted the zip with the -d option (or if
you're using any other program to extract this make sure you extract
it so that empty directories in the zip are also created).
■ Edit DM.CFG and make sure the path to your conference (CNAMES.@@@)
file is correct.
■ Run DM.EXE. This will generate the directory files in the DIRS
directory with file/bytes summary information.
To write a single directory in case of any problems or when you just
want to update a directory menu that you've changed use 'DM <number>',
which will only create the requested conference directory.
The reason that DM.EXE does not overwrite your real directory files is
because the files created in DIRS contain no headers/footers (these
are handled by the PPE, see below)
You can put DM.EXE in a daily event to easily update your areas each
day.
■ Replace your 'F' command with AREA.PPE the following way and that
should be it.
1 - run PCBSETUP
2 - Press B B
3 - Move to your CMD.LST file and press F2 to edit it.
4 - Enter 'F' as the command, the security you want and the
full path and name of AREA.PPE.
<«─----──-───--────-------──────--─────-------──────---────-------────----──»>
░▒▓█▓▒░│ CONFIGURATION │░▒▓████████████████████████████████████████████▓▒░
<«─------──---──-────────-------------───---───-─────----------──--──---───-»>
DM is totally configurable by the use of replacement codes in DM.CFG.
You can arrange the codes any way you like. You can even remove a code
with information you don't want/need.
The replacement codes allowed for a directory line in DM.CFG are:
%NR% - Directory number. (length 3)
%DESC% - Directory description. (length 35)
%FILES_R% - # of files in directory. (length 9)
%BYTES_R% - # of bytes in directory. (length 15)
The following codes are also allowed in the menu display file (MENU)
file.
%TOTF_R% - Total number of files in conference directories.
(length 9)
%TOTB_R% - Total number of bytes in conference directories.
(length 15)
The '_R' in some codes above means right justification, use '_L' for
left justification.
CFG2.ZIP contains an example of another codes/menu configuration,
try it and see if you like it. It's a metallic menu setup like seen
in so many other utils. After extracting CFG2.ZIP don't forget to
run DM.EXE again, to create the new directory lines.
The command line syntax for DM is:
DM [NR] [/v] [/r]
NR = Conference to create directory menu for. Only the directory
menu for this conference is created. Without this option
the directory menus for ALL conferences are created.
/v = Verbose (for testing purposes).
/r = Check for REAL file existence when calculating directory
totals. Normally the values found in the directory files
are just added together without actually checking if the
files are on the disk. Using this option is slower but
also more accurate, so use it if the other method seems
to get it wrong.
You can also configure the PPE to use conference specific files
by appending the conference number to any of the following files.
dm<nr>.cfg - Conference specific DM.EXE configuration file.
Note that only DM.CFG needs the conference file
given (line 1), the other configuration specific
DM<nr>.CFG files don't need this line.
area<nr>.cfg - Conference specific area PPE config file.
graph\atxt<nr> - Conference specific text.
menu<nr> - Conference specific menu file. Will be used
by DM.EXE.
Note that it is not needed to create each file for a conference,
if you just want to have another (color) layout for the dir lines
you can just add the appropriate dm<confnr>.cfg etc.
<«─----──-───--────-------──────--─────-------──────---────-------────----──»>
░▒▓█▓▒░│ AREA GROUPS │░▒▓██████████████████████████████████████████████▓▒░
<«─------──---──-────────-------------───---───-─────----------──--──---───-»>
As of version 1.4 area group support has been added. The PPE will
look for a file GRP<CONFNR>.CFG, where <CONFNR> is the current
conference number, and if found will use it as a group configuration
file for the current conference. If a conference specific file is not
found but the GRP.CFG file exists it will be used as a default!
The display file used for the group menu is GRP<CONFNR> or a
default GRP file.
The group configuration file lets you define area groups, see _grp2.cfg
as an example. The number of groups as well as areas per group is
unlimited, but try to keep the numbering of the area listings in the
group configuration file as sequential as possible, this will keep the
ppe as fast as possible.
The file _grp2.cfg contains an example group configuration for conference
2. Copy the file to grp2.cfg and do a 'f' command in conference 2 to see
how it looks.
<«─----──-───--────-------──────--─────-------──────---────-------────----──»>
░▒▓█▓▒░│ AUTHOR │░▒▓███████████████████████████████████████████████████▓▒░
<«─------──---──-────────-------------───---───-─────----------──--──---───-»>
If you find any bugs or have any comments/suggestions or additions you
want you can mail me on internet at: an275793@anon.penet.fi (the old
anonymous address has become invalid).
You can also get the newest versions of my utils at +31-365362117.