home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
PRVIEW14.ZIP
/
PREVIEW.DOC
< prev
next >
Wrap
Text File
|
1992-11-29
|
15KB
|
317 lines
GIF Previewer Ver 1.3
The GIF Previewer Door is a door written that allows a user to select up to
79 GIFs and create one GIF and download that GIF so he/she can examine the
GIFs to see if they really want to download these GIFs.
Preview Features:
1. Entry of a logo into the array created
2. File search and listing capabilities
3. External transfer protocol support
4. Custom menus
Set Up
1. Create a config file that contains the following information
1 - Complete path to door.sys file
(See operations section for file types supported.)
2 - The name of your BBS
3 - Sysop's first name
4 - Sysop's last name
====[ This section is imperitive. ]==========================================
NOTE: There are 2 additional lines necessary when using GTUSER.BBS. Since
this file does not provide the ComPort% and NodeNum% variables, advise
your Door users to add them to this .CFG file on lines 5 and 6
respectively. Both variables will default to 1.
===============================================================================
5 - Complete path to the work directory that Preview will place the
arrays for download. This directory must be dedicated to Preview as
it erased every time the door is run. This directory is also used as
a scratch dir for Preview.
6 - Complete path and file name to Preview main menu
7 - Complete path and file name to Preview dir menu
8 - Complete path and file name to Preview welcome screen
9 - Complete path and file name to Preview help screen
10 - Complete path and file name to PCB index file or blank if not
operating under PCB or you do not desire to use PCB's index
capability.
11 - Name of GIF created by GIFDESK. Limited to six characters or less.
As each collage is created, it is named COLLAG1, COLLAG2, ECT...
12 - The total number of GIFs allowed per collage. See Operations section
for more information.
13 - The total number of GIF directories that the door will process
14 - Complete path and file name of first GIF DIR file
15 - Complete path to GIF directory that is linked to entry 12
16,17 - Same as 14 and 15
If you have an entry of 4 in line 13 then you must have 8 entries
following. Each two lines after line 13 is the board DIR file and it's
linked directory. A sample config file is included.
3. Create the file PROT.DAT in the PREVIEW directory. This file is the list
of transfer protocols, their corresponding letter in the protocol menu
displayed to users, the batch file calling the protocol and whether the
protocol is batch transfer capable. See the Operations section for the
exact lay out of this file.
4. Create a file to execute the Preview Door
@ECHO OFF
CD D:\PCB1\DOORS\PREVIEW
PREVIEW PREVIEW.CFG
BOARD1
5. Add the Preview Door entry to your doors list file
====[ This section is imperitive. ]==========================================
= =
= 6. Set the environment variable GIFDESK=FILE. This is required so GIFDesk =
= can opearte under any graphics card/monitor configuration to include a =
= monochrome system. I recommend setting this variable in you AUTOEXEC.BAT =
= file. Please note that if this envirnment variable is not set, the door =
= will not operate properly if at all! =
= =
===============================================================================
Operation
There are certain circumstances that will override the total number of
GIFs per collage specified in the configuration file. If the user has
selected a 640x480 resolution, then the collage is limited to 29 GIFs.
If the user has selcted 800x600 resolution then the collage is limited to
47 GIFs and if the user has selected 1024x768, then up to 79 GIFs per
collage can be created. Please note that 640x480 is the default.
NOTE: The following sysop functions are available when a user is logged in
PREVIEW
F3 - Toggle Printer On/Off
F4 - Toggle Sysop Page Status
F5 - Shell to DOS
F7 - Toggle Caller Alarm
F8 - Dump User Back To BBS
F9 - Toggle Display On/Off
F10 - Initiate Sysop Chat. When in chat mode, ESC will terminate chat
ALT N - Sets Sysop On Next Flag
ALT X - Sets Exit To DOS flag
Up Arrow - Increase User Time
Dn Arrow - Decrease User Time
Rt Arrow - Increase User Security Level
Lt Arrow - Decrease User Security Level
If a user selects 3 or fewer GIFs then Preview will create a four GIF array
and if he/she selects between 4 and 8, Preview will create a nine GIF array.
If the user selects nine or more GIFs, Previewer will create a 30, 48 or 80
array GIF depending on what resolution (s)he has selcted. When 29 GIFs at
640x480 resolution are selected, the GIF created will be about 90K.
If you wish to include a logo in each array generated then create a GIF and
place it in the Preview work directory. This GIF must be named A.GIF. This
is currently hard coded into Preview so it will be the first GIF in the
array. This was done because GIFDESK sorts the GIFs in the array and there
is currently no way to prevent this. I recommend a simple logo with two or
three colors so it will always look relatively the same for each array
generated.
All custom screens support an ansi version by appending a g to the file name
specified in the config file. For example, if you had a menu screen called
MENU then to send an ansi version of that screen create that screen and name
it MENUG.
====[ This section is imperitive ]============================================
When saving ansi screens, use the Block Save function when using TheDraw or
the equivelent for whatever ansi pgm you are using. When marking the block,
do not use column 80.
===============================================================================
Preview has the capability to utilize PCBoard's file indexs to speed up
operations as well as save wear and tear on CD Roms and hard drives. To
utilize this, set entry 10 in the config file to the complete path and file
name to the index file. If you aren't operating under PCB or do not desire
to use the index file, then leave this line blank. Note that when
operating under PCB and utilizing the index capability, the wild card
function does not support the question mark, only the asterik. This is not
true if your not using the index file. Both the question mark and asterik
are supported.
Set up on a multitasking or network environemnt is painless. Simply create
a config file with a different work directory. The work dir must be
different for each node of operation.
THE PROT.DAT file consists of four entries per line. The first entry is the
letter selecting the protocol, the second entry is the actual batch file
calling the external protocol, the third entry is the description of the
protocol displayed in the protocol menu and the fourth entry is whether or
not the protocol is batch capable. The PROT.DAT file can contain up to 15
separate protocols. A sample file is included along with the calling batch
files. Four variables are passed to the batch file: %1 is the active comm
port, %2 is the callers connect speed, %3 is the file name and %4 is the
computer to modem connect speed. Sample batch files utilizing DSZ are
provided for XModem, XModem-1K, YModem(g) and ZModem
The door currently supports six different door file types:
PCBOARD.SYS - PCBoard 14.5a
CALLINFO.BBS - Wildcat system prior to ver 3
USERINFO.BBS - Wildcat systems ver 3.x
DOOR.SYS - For systems that support DOOR.SYS
DORINFOx.DEF - QBBS/RBBS/RA (change x to reflect node number)
SFDOORS.DAT - Spitfire systems
PREVIEW has been tested to operate succesfully on PCB, Wildcat, and VBBS
systems. The only consideration to operate on a non PCB system is the text
file that is linked to each GIF dir. Simply create a text file from your
DIR files. The only requirement is that only file names be in column 1. PCB
systems do not have to create seperate text files, they can use their
existing DIR files. All other systems must create a text file for each GIF
dir.
The door supports standard comm ports 1 - 4
Port 3 on 3E8/IRQ4 and Port 4 on 2E8/IRQ3
Non-standard comm port interrupts are also supported. To utilize IRQ 5
your command line to call the door should look like this:
PREVIEW PREVIEW.CFG /5
If your using DSZ/GSZ to support the file transfers then your batch file
to call DSZ using COM 3 on address 3E8 using interrupt 5 should look
something like this:
DSZ ha bo portx 3E8,5 est 0 %2 sz %3.
Batch files for standard com ports are provided. If you use non-standard
IRQs then I suggest reading the docs that came with your protocol.
The following files must be in your DOS path, GIFDESK.EXE and the batch files
that call each seperate transfer protocol.
Commands Available In Door
F - Display file directories. Displays a menu in which the user selects
what DIR file to display. Once the user has selected the DIR file,
then (s)he select files to put in the collage. Standard DOS wild cards
are supported when selecting files.
Available in registered veriosn only.
*More than one name can be given at a time. For example, ASBI000?
ASVI000? will place all files matching that criteria in the collage.
Up to ten different names can be given at one time
C - Once the user has selected files for the collage, he uses this command
to create the collage.
D - This allows the user to download the collage created. If more than one
collage was made and the user selects a batch capable protocol then no
further intervention is neseccary. If the user selects a non batch
capable protocol and has created more than one collage then (s)he must
be there to start each individual transfer.
H - Help, displays help file
R - Return to BBS. Door will issue warning if user has selected files for
a collage or has created a collage and not downloaded it.
S - Allows the user to search all file directories on a key word. If the
key word is found then the GIF file and it's entire description is
displayed.
E - Allows user to enter a file name to add to the collage. Standard DOS
wild cards are supported as well as multiple file names. Please review
command F for more details on wild cards and multiple file
specifications.
* + - Allows the user to increase the resolution output of the collage
created. This in turn allows more GIFs per collage.
* - - Allows the user to decrease the resolution output of the collage
created.
*EDIT - Allows the user to remove GIFs from the collage that (s)he has
previously selected. The user is shown a list of GIFs currently
selected and (s)he supplies the number of the GIF to remove. If the
user enters ALL, then all GIFs are removed from the collage.
Note - Items with an * next to them are available in the registered version
only. But note, all features are available when the sysop is logged
into the door so (s)he can make a proper evaluation of the door.
In the Future
Create own index utility to improve operations under all BBS types.
Warranty
This product is provided "as is" without warranty of any kind. The entire
risk as to the results and performance of the program is assumed by you.
Futhermore, the author does not warrant, guarantee, or make any other
representations regarding the use of, or the results of the use of the
program, and you rely on the program and results solely at your own
risk. The author cannot and will not accept responsibility for system
damage, loss of profit, or any other special, consequential or incidental
damages resulting from the use or inability to use this product.
Copyright
GIF Previewer Copyright (c) 1992 by Chris Gifford is being distributed as
Shareware. Under this concept you may use the SHAREWARE (unregistered)
version for a reasonable period of time for evaluation after which you
must either register your copy or discontinue usage. This time period is
set for 60 days.
Registration:
Registration gets you support via tha Antares Sector BBS (801) 544-7613.
A registration fee of $20 is required. Please send all registrations to:
Chris Gifford
189 S. Main, #40
Layton, UT 84041
Please include exactly how you want your name to appear when the door first
opens. You are limited to 35 characters or less. Please include your BBS
number so I can upload the latest version of PREVIEW and the key to remove
to opening delay.
Once you have registered and obtained your key then place the key in the
PREVIEW home directory.
Support
I believe in supporting any software that I develop, whether the user has
registered the software or not. Support for PREVIEW can be obtained at two
different BBS's:
The Antares Sector (801) 544-7613 via the support conference, USR HST D/S
The GIFfer BBS - (813) 969-2761 14.4
(813) 969-2956 14.4
(813) 969-1829 14.4
(813) 969-1089 14.4
If you use the GIFfer BBS for Preview support, please leave all messages to
Robert Perreault.
Credits
Preview was developed under DFRAME, a doors development kit for MS Basic 7.X
PDS and is copyrighted by Ted Freeman of MicroNet BBS (615) 626-1620.
All trademarks are copyrighted by their respective owners.
Credit where credit is due:
Many thanks go to Robert Perreault of PC-Lynk BBS. With out his help and
input PREVIEW would not have come along as fast as it has.