home *** CD-ROM | disk | FTP | other *** search
- ╔══════════════════════════════════════════════╗
- ║ ProBoard Request Processor v1.10 ║
- ║ Written by Tom Torfs (2:292/516@fidonet.org) ║
- ╚══════════════════════════════════════════════╝
-
- This is freeware. You are encouraged to copy this program
- and give copies to your friends. You may not, however,
- change this program or its documentation in any way
- or distribute modified versions of the original archive.
-
- *** OVERVIEW ***
-
- ProBoard Request Processor is a simple program that quickly
- generates responses to file requests, even from cd-roms, by
- reading the ProBoard index files directly.
-
- It is compatible with most popular mailers, including FrontDoor,
- MainDoor, McMail, BinkleyTerm, Xenia, Cantaloup and other mailers
- that support external file request processors either through a
- command line interface or through the SRIF interface.
-
- PRP comes in both 16-bit DOS and 32-bit OS/2 versions.
-
- Both normal file requests and update requests (only if a file
- is newer than a certain date) are supported. Separate request
- limits for secure and unsecure sessions, and unlimited requests
- from free areas are also supported.
-
- If you are looking for bells and whistles, like timeslots,
- passwords for files, etc. this program is not for you.
- If you are looking for a simple, robust and most of all
- fast file request processor for your ProBoard-based BBS,
- this is what you've been waiting for.
-
- *** INSTALLATION ***
-
- First unpack the archive into a separate directory
- (recommended) or into your mailer's directory.
-
- To upgrade from a previous version of PRP, simply unpack the
- archive into the PRP directory. Your configuration and template
- files will be left intact. However, to use some of the new
- features, changing the configuration file will be necessary.
-
- A) FrontDoor/MainDoor
-
- Set SRIF=NO in the configuration file.
-
- Launch FDSETUP/MDSETUP and set the following information
- in Mailer/File requests/Request processor:
-
- Program C:\FD\PRP\PRP.EXE =R =T =X =A "=O" (*)
- Enabled Yes
- Swapping No (**)
-
- (*) use the correct path, of course
- (**) set to Yes if you're really low on memory
-
- This requires the registered version of FrontDoor. It works
- with the unregistered version of MainDoor, though.
-
- MainDoor/2 setup is identical (except for using PRP2.EXE instead
- of PRP.EXE, of course).
-
- B) McMail
-
- Set SRIF=NO in the configuration file.
-
- Set up the following command string:
-
- ReqProcessor C:\MCMAIL\PRP\PRP.EXE =PFL =PXL =SU =PA "=RS" (*)
-
- (*) use the correct path, of course
-
- I believe McMail supports SRIF as well, but I don't have any more
- details about that. Look in the documentation.
-
- C) BinkleyTerm 2.60 XE or later
-
- Set SRIF=YES in the configuration file.
-
- Insert the following line in BINKLEY.CFG:
-
- SRIF C:\BT\PRP\PRP.EXE $s (*)
-
- (*) Use the correct path, of course.
-
- The $s will be replaced with the full path to the SRIF file.
-
- Note: BinkleyTerm prior to version 2.60 XE does not support
- external request processors.
-
- D) Xenia 1.98.04 or later
-
- Set SRIF=YES in the configuration file.
-
- Remove the line Request from the configuration file if that is
- present. Then add the following line:
-
- ExtReq C:\XENIA\PRP\PRP.EXE (*)
-
- (*) Use the correct path, of course.
-
- Xenia will append the full path to the SRIF file.
-
- Note: SRIF does not function properly with Xenia prior to
- version 1.98.04
-
- E) Cantaloup
-
- Set SRIF=YES in the configuration file.
-
- Create the file FREQPROC.CMD with the following contents:
-
- @C:\CLOUP\PRP\PRP.EXE %6 (*)
-
- (*) Use the correct path, of course.
-
- Alternatively, you can also set up Cantaloup without using the
- SRIF interface. Cantaloup passes the following command line parameters
- to FREQPROC.CMD:
-
- FREQPROC <baud> <task> <time> <originator> <secure> <srif> <req> <attach>
-
- F) Others
-
- Find out if your mailer supports external request processors, and whether
- it can call these using a command line interface or through the SRIF
- interface.
-
- 1) Command line interface
-
- Set SRIF=NO in the configuration file.
-
- Set up the command line as follows (look in your mailer's manual
- for the required macros):
-
- PRP.EXE <infile> <outfile> <SECURE|UNSECURE> <address> "<sysopname>"
-
- (use PRP2.EXE for the OS/2 version)
-
- If you provide me with the correct command line for another mailer,
- it will be added to this doc and I will give credit to you.
-
- 2) SRIF interface
-
- Set SRIF=YES in the configuration file.
-
- Set up the mailer so that it will call PRP.EXE with the full path and
- filename of the SRIF-file as only parameter.
-
- *** CONFIGURATION ***
-
- The configuration file must be named PRP.CFG and must be in the
- same directory as PRP.EXE/PRP2.EXE. It is a text file configuration,
- and can contain the following keywords. Everything after a
- semicolon (;) is treated as a comment and ignored.
-
- ADDRESS=<your main address>
- Your main address, in the form zone:net/node.point. Any omitted
- fields (e.g. point) are assumed to be zero.
- This address is used as the origin for the file request response
- messages.
-
- MAGIC=<list with magic file names>
- Defines the path and filename of the file containing a list
- of magic filenames (same file as the alias file in FrontDoor).
- Each line contains a magic name, followed by at least one
- space and then the full path of the corresponding file name
- (wildcards supported).
- If this is omitted, no magic files will be available.
- *NOTE* When a magic file is requested, the file will be searched
- in the ProBoard filebase. If it is found, the description will be
- taken from there, and the download counters will be updated if
- that option is set. If it fails, no description will be provided
- and no download counters will be updated.
-
- PBPATH=<path to ProBoard system directory>
- If you omit this, the environment variable PROBOARD will be read,
- and if that isn't set, C:\PB will be assumed.
-
- LOGFILE=<logfile>
- Defines the path and filename of the logfile. Leave empty, or
- simply omit, to disable logging.
-
- MAXFILES=<maximum number of files>
- Defines the maximum number of files a system may request per
- session. If you omit this or set it to zero, there is no
- limit.
-
- MAXKB=<maximum number of kilobytes>
- Defines the maximum number of kilobytes a system may request
- per session. If you omit this or set it to zero, there is no
- limit.
-
- MAXLEVEL=<maximum security level>
- Defines the maximum security level a file area may have in
- ProBoard for a system to be allowed to request from it. Set
- this to 32767 (or omit it) if you want no limit.
-
- MAXFILES_SECURE=<maximum number of files>
- Same as MAXFILES but for secure sessions. If you omit this the
- setting from MAXFILES will be used.
-
- MAXKB_SECURE=<maximum number of kilobytes>
- Same as MAXKB but for secure sessions. If you omit this the
- setting from MAXKB will be used.
-
- MAXLEVEL_SECURE=<maximum security level>
- Same as MAXLEVEL but for secure sessions. If you omit this the
- setting from MAXLEVEL will be used.
-
- FREEFILES=<YES|NO>
- If set to YES, request limits are ignored for file areas marked
- as 'free' in ProBoard. This is also the default behaviour.
- This only affects number of files & kb limits, security level
- limits are still respected even if the area is marked as free.
-
- FREEMAGIC=<YES|NO>
- If set to YES, request limits are ignored for files requested
- using magic names. This is also the default behaviour.
-
- COPYLOCAL=<path>
- If this option is present, files from CD-ROM areas will be copied
- to <path> before sending them. If this option is left out, the files
- won't be copied to a local drive. The <path> must be a valid
- directory, with or without trailing backslash. If the <path> is
- invalid, PRP will not function properly.
-
- CHECKEXTENSION=<YES|NO>
- When set to NO, the default and also the behaviour of previous
- versions of PRP, the extension of files is ignored, and the first
- matching file will be sent. For example, if someone freqs TEST.ARJ
- and you have TEST.ZIP and TEST.LZH, TEST.ZIP will be sent.
- This option also implies that if somebody freqs for example
- TEST.*, he will only receive the first file, the others will be
- considered duplicates.
- If set to YES, the file extension is significant. So if someone
- freqs TEST.ARJ and you have TEST.ZIP and TEST.LZH, neither of them
- will be sent.
- This option also implies that if somebody freqs for example
- TEST.*, he will receive all matching files, like TEST.ZIP,
- TEST.ARJ, etc.
- *NOTE* There is one exception to this option. Extensions that end
- in two digits (most often some form of nodelist) will always
- be treated as if this option was set to YES. So if someone freqs
- NODEDIFF.Z96 and you have NODEDIFF.Z89 and NODEDIFF.Z82, neither
- of them will be sent, regardless of this setting.
-
- SENDDUPENAME=<YES|NO>
- If set to NO, the default and also the behaviour of previous
- versions of PRP, of more files with the same file name, including
- extension, only the first will be sent.
- If set to YES, the other files will be sent. Depending on the
- remote sysop's software, the files will be renamed, skipped,
- or the first files will be overwritten.
- If the files are copied to a local disk first, they are renamed,
- for example TEST.ZIP becomes TEST.ZI1, TEST.ZI2, etc.
- Two files with the same file name are sent *only* if they have
- different file sizes.
-
- SRIF=<YES|NO>
- Whether your mailer uses the SRIF interface (e.g. Binkley 2.60 XE,
- Xenia) or a command line interface (e.g. FrontDoor). For more
- information see the installation instructions. The default is NO.
-
- UPDATECOUNTERS=<YES|NO>
- If set to YES, PRP will append the requested files to the download
- logfile, so that on the next PBUTIL FC the download counter for this
- file will be updated. The default is NO.
-
- MAXFREQS=<n>
- The maximum number of separate file requests that can be processed
- at a time. The default is 256, as in the previous versions of PRP.
- In the DOS version, if you set this value too high you will get a
- "not enough memory" error. In the OS/2 32-bit version that should
- not be a problem.
-
- MAXMATCHES=<n>
- The maximum number of matching files that can be processed at a time.
- The default is 256, as in the previous versions of PRP.
- In the DOS version, if you set this value too high you will get a
- "not enough memory" error. In the OS/2 32-bit version that should
- not be a problem.
-
- MAXMAGICS=<n>
- The maximum number of magic filenames that can be processed. The
- default is 128, as in the previous versions of PRP.
- In the DOS version, if you set this value too high you will get a
- "not enough memory" error. In the OS/2 32-bit version that should
- not be a problem.
-
- *** RESPONSE TEMPLATE ***
-
- The response template file must be named PRP.TPL and must be in
- the same directory as PRP.EXE. If this file isn't found, no
- response will be generated.
-
- The first character of each line can define when a line should
- be included in the response:
-
- ; comment, always ignored
- + only if the request succeeded entirely
- * only if the request succeeded at least partly
- - only if the request didn't succeed entirely
- ! only if the request limits were exceeded
- ? only if some of the requested files weren't found
- # always include this line
-
- All other characters will cause the line to be always included. The
- # character is useful if you want a line beginning with any of the
- above characters to be always included.
-
- You can use the following macros in the response template (case
- sensitive):
-
- @SYSOPNAME@ name of sysop of requesting system
- @SYSOPFIRST@ first name of sysop of requesting system
- @MAXFILES@ maximum number of files this system can request
- per session (UNLIMITED if 0)
- @MAXKB@ maximum number of kilobytes this system can request
- per session (UNLIMITED if 0)
- @SENTFILES@ names and descriptions of sent files (everything
- else on this line will be ignored)
- @OVERLIMIT@ names and descriptions of files which exceeded limits
- (everything else on this line will be ignored)
- @NOTFOUND@ names of files for which no match was found
- (everything else on this line will be ignored)
-
- See the example SAMPLE.TPL for an example on how to use these.
-
- *** FILES.BBS ***
-
- When a match is found, the file size and date/time stamp are
- looked up. It ignores this info in the FILES.BBS if present, so
- that an incorrect FILES.BBS doesn't cause incorrect results (like
- an attempt to send a missing file you forgot to delete from
- FILES.BBS etc.). Only the description is read from the FILES.BBS,
- with all optional information like file size, date/time, download
- counters etc. stripped.
- This way I also avoid compatibility problems with the different
- date formats etc.
- Extended descriptions are supported. The first non-whitespace character
- on each extended description line must be a +, | or >.
-
- When a file is requested using a magic name, the description is searched
- for in FILES.BBS in the same directory as the file. For normal files, the
- File Listing name from the ProBoard file area configuration is used.
-
- *** ERRORLEVELS ***
-
- 0 = all OK
- 1 = syntax error
- 2 = file error
- 3 = memory error
-
- *** CONTACTING THE AUTHOR ***
-
- Although this is a freeware program, I am willing to give (limited)
- support for it. You can write netmail to me at 2:292/516@fidonet.org
- or call my BBS at 32-15-24.62.32 and leave a message.
-
- *** SOURCE CODE ***
-
- Sorry, no source code for this one. If you want to write your own
- file request processor, you'll find enough information in the
- FrontDoor development kit (FDDEV) and in the file SRIF.DOC (inside
- the MaxF'Req archive) to do so without having to see my source.
-
- *** HISTORY OF PRP ***
-
- Version Release date Changes
-
- 1.0 9 Apr 1996 Original version
-
- 1.01 3 May 1996 * Added file sharing support for
- multiline BBSes
-
- 1.02 27 May 1996 * Unlimited requests from free
- file areas & free magic names
- (configurable)
- * Logging now possible
- * Added documentation for setup
- with McMail mailer
- * Miscellaneous small changes to
- the documentation & code
-
- 1.02a 3 June 1996 * OS/2 problem fixed
-
- 1.03 2 August 1996 * 32-bit OS/2 version included
- * Copy local for cd-rom drives
- * Supports ^AINTL,^AFMPT and ^ATOPT
- for correctly creating messages
- to points and/or other zones
- * A tearline is now added to the
- response message
- * Fixed bug in wildcard matching
-
- 1.10 20 August 1996 * Now supports SRIF interface, used
- by Binkley 2.60 XE, Xenia, McMail,
- Cantaloup, ...
- * Option to update download counters
- * More selective dupe-checking
- * Limits are no longer hardcoded and
- can now be set in PRP.CFG
- * Proper descriptions are now given
- with magic names if they are in the
- PB filebase, the listingfile needs
- no longer be FILES.BBS in the same
- directory as the magic file
- * Fixed a small bug that caused
- download counters >99 not to be
- stripped off properly
- * Fixed another small bug in wildcard
- matching; should be all fixed now
- * If PBPATH is not defined in PRP.CFG,
- PRP now reads PROBOARD environment
- variable instead of PB
-
- *** CREDITS ***
-
- Thanks to Jacques Theys for suggesting the file sharing compatibility
- and for providing the correct McMail setup string.
-
- Thanks to Jurre Van Dijken for suggesting the download counter update
- option.
-
- Some of the SRIF-mailer settings were taken from the documentation
- of MaxF'Req file request processor written by Wilfried Brinkmann.
-
- The SRIF (Standard Request Information File) file format is Copyright
- (c) 1994,95 by Gordian Schuermann & Mirko Mucko.
-
- *** DISCLAIMER ***
-
- I EXCLUDE ANY AND ALL IMPLIED WARRANTIES, INCLUDING WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. I MAKE NO WARRANTY
- OR REPRESENTATION, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THIS SOFTWARE,
- ITS QUALITY, PERFORMANCE, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR
- PURPOSE. I SHALL HAVE NO LIABILITY FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
- DAMAGES ARISING OUT OF OR RESULTING FROM THE USE OR MODIFICATION OF THIS
- SOFTWARE.
-
- *** END OF DOCUMENT ***
-