home *** CD-ROM | disk | FTP | other *** search
-
- BBS/FTP README
-
- (Updated 9/9/94)
-
- --------
- OVERVIEW
- --------
-
- This is the root of a directory tree containing lha archives of material
- included elsewhere on this CD-ROM, or from previous CD-ROM's.
-
- See the other informational files on this CD-ROM for details about what is
- contained in these archives. This file deals purely with details about how
- this CD-ROM might be used in a BBS or FTP environment. Some of the details
- discussed here include:
-
- o How do I unpack all these *.lha archives.
-
- o What are the "files.bbs" files.
-
- o What are all these *.pi (product info) files and why they are
- important.
-
- Previous CD-ROM releases included support for a fairly complicated but very
- powerful method of using symbolic links to organize access to the archives.
- However, I received much negative feedback about this method, and so have
- decided to go to a simple directory structure for now, until the symbolic
- link method is made easier to use, and more BBS programs support symbolic
- links.
-
- Now instead of a multiple level directory structure, there are just a
- handful of directories with files in each subdirectory and default
- "files.bbs" files in each. In addition, the name of the archive now
- contains the version number of the contents.
-
- ------------
- LHA ARCHIVES
- ------------
-
- Almost all the archives on this CD-ROM are in "lha format". The shareware
- version of lha is included in the Useful/Sys/C directory of this CD-ROM, so
- all you have to do to unpack any archive is use a command of the form:
-
- lha -mraxe x archive.lha
-
- Please consider registering with the lha author, Stefan Boberg, for the
- latest version of lha, so he can continue to support this fine program.
-
- ------------------
- PRODUCT INFO FILES
- ------------------
-
- If you have already peeked in some of the directories of this CD-ROM, you
- probably noticed that for every archive there is a corresponding file of the
- same name with ".pi" appended to the name. These are "product info" files,
- and contain important information about the contents of the archive that
- they correspond to. The current specification for the structure and
- contents of these files can be found in the "Product-Infos" file in the
- "Information" directory on this CD-ROM, and should continue to be posted
- periodically in the usenet news group "comp.sys.amiga.announce" as it
- evolves.
-
- The product info files are a way to organize lots of information about a
- program in an extensible text format that is relatively simple for programs
- to parse. It looks something like:
-
- .name
- myprog
- .fullname
- My smart little program
- .version
- 1.4
- .short
- Computes winning horse, 100% accurate.
- .author
- Me
- .address
- 123 Somestreet
- Anywhere, USA
-
- Aside from the information about where to find an archive (implied by the
- location of the corresponding product info file), two other very important
- pieces of information that are included in these product info files are the
- version number (if known) and a 40 character or less short description of
- what is contained in each archive.
-
- When used in a BBS or FTP environment the pieces of information that are
- usually desirable to have include:
-
- o Name of the archive.
- o Location of the archive (where BBS software can find archive)
- o Version number of the material in the archive.
- o Size of the archive.
- o Date of release of the material in the archive.
-
- A common way of making this information available to the BBS sysop, and
- ultimately the BBS software, is to build a "files.bbs" file in each
- directory where the files are found, or possibly in a separate directory,
- depending upon the BBS software. These files are typically fixed field
- width files with one line per archive, and look something like:
-
- foo1.4.lha 103200 04-Jan-94 Do the dishes, watch TV
- bar34.lha 33567 11-Mar-94 Take out the trash, eat dinner
-
- One major problem is that no two BBS systems seem to agree on the exact
- format of this file, and from what information I've been able to obtain,
- generally have rigid requirements for exactly where each field must be, how
- big it must be, and what it's format must be.
-
- Rather than attempt to include direct support for many different BBS
- systems, in a variety of different formats, I've elected to provide a set
- of default "files.bbs" files, and some simple tools that BBS operators can
- use to build their own information files in whatever format the BBS
- requires if these files.bbs files are not adequate. This is where the
- product info files come in.
-
- The directory "Tools/PItools" contains several small tools for manipulating
- product info files. The most important of these is "pitool", which can walk
- the entire directory tree of the CD-ROM and perform a number of different
- operations on the product info files that it finds. One thing it can do is
- to print a one line entry to it's standard output stream for each product
- info file that it processes, and format this field according to a specifier
- string that looks a lot like a typical C "printf" style string.
-
- The following example prints the file's "basename" in a left justified 24
- character wide field, followed by a space, followed by the contents of the
- ".short" field in a left justified 40 character wide field, and finally, a
- newline character:
-
- pitool -b -F "%-24B %-40S\n" -f - /FrozenFish-Apr94/BBS/ALib/d9xx/d950
-
- BBDoors.lha rexxDoors for BBBBS, V6.5
- BusyPointers.lha 'NickPrefs' busy pointers collection.
- ClockTool.lha Manipulate battery and/or system clocks
- Enforcer.lha Tool to monitor illegal memory access.
- PayAdvice.lha Pay analysis program.
- Sushi.lha Intercept Enforcer raw serial output.
- bbsQUICK.lha bbsQUICK offline module for BBBBS, V6.4
- Disk950.lha Library admin files for disk 950.
-
- This example prints the file "basename" in a right justified 24 character
- wide field, followed by a space, followed by the complete pathname to that
- file in a field of unlimited length, and then a newline character:
-
- pitool -b -F "%24B %P\n" -f - /cdrom/BBS/ALib/d9xx/d950
-
- BBDoors.lha cdrom:BBS/ALib/d9xx/d950/BBDoors.lha
- BusyPointers.lha cdrom:BBS/ALib/d9xx/d950/BusyPointers.lha
- ClockTool.lha cdrom:BBS/ALib/d9xx/d950/ClockTool.lha
- Enforcer.lha cdrom:BBS/ALib/d9xx/d950/Enforcer.lha
- PayAdvice.lha cdrom:BBS/ALib/d9xx/d950/PayAdvice.lha
- Sushi.lha cdrom:BBS/ALib/d9xx/d950/Sushi.lha
- bbsQUICK.lha cdrom:BBS/ALib/d9xx/d950/bbsQUICK.lha
- Disk950.lha cdrom:BBS/ALib/d9xx/d950/Disk950.lha
-
- This example prints the file "basename" in a left justfied 20 character
- wide field, followed by a space, the version number in a right justified 6
- character wide field, followed by another space, the size of the archive in
- Kb in a 3 character wide right justified field, followed immediately by the
- literal string "Kb => ", followed by the directory in which the file is
- stored in a field of unlimited length, followed by a newline:
-
- pitool -b -F "%-20B %6V %3KKb => %D\n" -f - /cdrom/BBS/ALib/d9xx/d950
-
- BBDoors.lha 6.5 187Kb => cdrom:BBS/ALib/d9xx/d950/
- BusyPointers.lha ?.? 11Kb => cdrom:BBS/ALib/d9xx/d950/
- ClockTool.lha 1.0 26Kb => cdrom:BBS/ALib/d9xx/d950/
- Enforcer.lha 37.55 66Kb => cdrom:BBS/ALib/d9xx/d950/
- PayAdvice.lha 3.00 52Kb => cdrom:BBS/ALib/d9xx/d950/
- Sushi.lha 37.10 14Kb => cdrom:BBS/ALib/d9xx/d950/
- bbsQUICK.lha 6.4 26Kb => cdrom:BBS/ALib/d9xx/d950/
- Disk950.lha ?.? 23Kb => cdrom:BBS/ALib/d9xx/d950/
-
- The source to this utility is provided in case any further customizations
- are needed, however it is currently only compiled and tested with the GNU
- compiler. The GNU compiler is included in ready to run form under the GNU
- directory, and in archived form under the BBS/GNU directory.
-
- ----------------------------
- GZIP COMPRESSED TAR ARCHIVES
- ----------------------------
-
- A few archives here are in what is known as "compressed tar archive" format.
- These are archives that are made with "tar" and then compressed with the
- "gzip" compressor. Generally they are the original unchanged archives for
- GNU distributions, exactly as released by the Free Software Foundation. To
- unpack them, you can do:
-
- gzip -d foo.tar.gz
- tar -xvf foo.tar
-
- or if you have a shell that supports pipes, you can avoid making the
- uncompressed tar archive (which might be quite large), and simply do:
-
- gzip -d <foo.tar.gz | tar -xvf -
-
- Both gzip and tar are included in the "GNU/bin" directory on this CD-ROM.
-
- --------------
- IXEMUL.LIBRARY
- --------------
-
- All of the utilities described here are compiled with GNU gcc, and require
- the ixemul.library to be found in the LIBS: directory. If you run the
- suggested startup scripts "Useful-Startup" and "GNU-Startup", the utilities
- and libraries will be added to your C: and LIBS: assigns for you, so you
- don't have to actually copy anything off the CD-ROM to run the tools.
-
- Be sure to set your stack size to a fairly large value, say 50,000 or more,
- before running any of the tools.
-
- -Fred ><>
-