home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
b
/
bgtop22.zip
/
BGTOP.DOC
next >
Wrap
Text File
|
1993-03-23
|
11KB
|
226 lines
VOICE B.J. GUILLOT MODEM
(713) 893-9320 2611 RUSHWOOD CIRCLE (713) 893-9124
HOUSTON TEXAS 77067-1941 v32bis 14.4K
Copyright B.J. Guillot 1989-1993. All Rights Reserved.
=============================================================
BGTOP 2.2 23 MAR 93
=============================================================
╔═════════════════════════════════════════════════════════════════╗
║ E02/758 sponsored by 001/070 is the OFFICIAL SUPPORT CONFERENCE ║
╚═════════════════════════════════════════════════════════════════╝
-------------------------------------------------------------
ABSTRACT
-------------------------------------------------------------
BGTOP creates an informative bulletin for your system that
includes the top users in terms of calls, uploads, and
downloads. Also, a total box showing the total number of
users, calls, uploads, and downloads is shown. BGTOP may
alternatively be run as a logon door.
This document is written on a level so that anyone running
a GT Power bulletin board can understand it. Experienced
users will no doubt find the instructions quite elementary.
-------------------------------------------------------------
EXECUTION
-------------------------------------------------------------
Before begining with this tutorial on the operation of BGTOP,
please be sure to have your GTPATH environment variable set.
If you do not, please add the following directive to your
AUTOEXEC.BAT file and reboot your system. Please remember
that the GTPATH is intended to point towards your main GT
directory and the path does not necessarily have to be named
the same path as shown in this example.
set gtpath=c:\gt
Using this companion program is quite easy. If you wish to
ignore the optional parameters, you may run BGTOP by feeding
it only one command line parameter--a bulletin number--e.g.
bgtop 4
In the above example, BGTOP would create a file named 4 and
4.CBS in the default download (bulletins) directory. The
colors used in the ANSI (CBS) version of the report are taken
directly from the sysop selected color codes in GT.CNF.
Be careful as BGTOP will overwrite any existing bulletin.
The actual BGTOP.EXE file may be placed in any directory.
BGTOP offers several options for the advanced user. Please
note the following available command line parameters.
bgtop bulletin|door [/ln:number] [/ex:access_levels] [/nt] [/nf]
-------------------------------------------------------------
DOOR MODE
-------------------------------------------------------------
If you wish to run BGTOP as a dreaded logon door(tm), specify
the 'door' option rather than a bulletin number, e.g.
bgtop door
A number of things occur during door mode that you should be
aware of. BGTOP writes to the CON device and its output can
be redirected easily by the DOS CTTY command or the greater
than sign. Observe these three example GTLOGON.BAT files.
@echo off @echo off @echo off
ctty com1 bgtop door > com1 %1 com1
bgtop door bgtop door
ctty con %1 con
All three of the above files perform the same function. The
third example shows the optimum batch file because it uses
GT to determine whether to redirect output to the com port.
If you use a com port other than COM1, you will need to
change the batch file accordingly.
A great disadvantage exists, however, when one redirects
output directly to a com port or auxillary device--the sysop
can not see what the user sees. This problem can be overcome
by using the GATEWAY device driver available on many bulletin
board systems. GATEWAY can be easily installed by placing a
one line command in the CONFIG.SYS file.
device=c:\util\gateway2.sys -d -1
If you are using a com port other than COM1, you will need to
change the '1' to whichever com port number you are using.
Here, again, are the three batch files, however, they have
been slightly modified to take advantage of GATEWAY.
@echo off @echo off @echo off
ctty gate1 bgtop door > gate1 %1 gate1
bgtop door bgtop door
ctty con %1 con
If you use a com port other than COM1, you will need to
change the GATE1 directive to one suitable for your needs.
Again, I would recommend using the third version of this file
for your GTLOGON.BAT file.
In 'door' mode, BGTOP does not create a bulletin. It will
display an ANSI and ASCII version of the top user report
depending upon the ANSI setting in the GTUSER.BBS file. It
also fetches the current caller name from that file as well
and displays a special box letting the current caller see how
he or she stands up to the rest of the crowd on your board.
-------------------------------------------------------------
OPTIONS
-------------------------------------------------------------
Remember the command line options listed a long time ago?
bgtop bulletin|door [/ln:number] [/ex:access_levels] [/nf]
When BGTOP creates its informative bulletin, it will display
the 15 top users (13 in 'door' mode). If you wish to change
this default so that more (or less) users are shown, the /LN:
option is for you. Example:
bgtop 4 /ln:25
The above commands would cause BGTOP to create bulletin 4
listing the 25 top users rather than the 15 top users.
BGTOP will scan through all users in the USER.CTL file except
for any which have been deleted or banned from your board.
You may also 'exclude' certain access levels from the report.
This is useful if you have special friends that wish not to
be listed on the report. Example:
bgtop 4 /ex:zW0
The above syntax would cause BGTOP to ignore any user that
has an access level of 'z', 'W', or '0'. Please remember the
case of the access level is very important. An upper case
'Z' is completly different from a lower case 'z'. Ther is no
limit to the number of access levels that may be excluded.
When BGTOP creates its reports, it pads all user names with
a string of periods. The string of periods is annoying to
some sysops and the /NF parameter is provided to ease your
eyes. If the /NF parameter is used, BGTOP will pad user
names with a string of blank spaces.
All optional parameters can be used at the same time, e.g.
bgtop 7 /ex:0bGF /nf /ln:20
BGTOP would create a bulletin 7 composed of the twenty top
users from your board excluding those users that have an
acces level of '0', 'b', 'G', or 'F'. And, of course, the
user names would be padded with blank spaces.
Using the /NT parameter would force BGTOP to NOT show the
neat looking total box added in BGTOP 2.2.
-------------------------------------------------------------
ACKNOWLEDGEMENTS
-------------------------------------------------------------
I would like to thank the following people for their
assistance with bug reports and implementation of new
command parameters ... BGTOP 1.0 through BGTOP 1.9. Thanks!
Dennis Bills Chuck Blair Ed Bragg
Mel Douglass Jim Kreyling Chris Leaver
Bob Luzier Scott Morris April Strong
Dan Turkisher Raymond Wood Cory Wright
The following people have given me suggestions for BGTOP 2.0.
John Fisher Tom Hamlyn Russell Kroll
Jeremy Mattern and Brian Wood have shown me how SLOW a
program runs under a network when its not using buffers.
The direct screen writes method used in BGTOP 1.7 and beyond
where developed by Marshall Brain.
I will also give special thanks to Bob Camp who helped some
solve some of the compatiblity problems and gave me some
pointers on how to write code in Turbo Pascal. He actually
wrote a portion of the new code in BGTOP 1.6. Thanks, Bob!
Russell suggested the current user block during 'door' mode.
-------------------------------------------------------------
OTHER INFORMATION
-------------------------------------------------------------
The program has been recompiled under Turbo Pascal 6.0 and
was originally written in Quick Basic 4.5. This is the most
widely used BG companion program.
This program is FREEWARE. No registration fee is required
for using this program, BUT, if you would like to make a
contribution, I won't stop you! Please do not alter or
reverse engineer this program in any way.
If you have any suggestions or comments please address them
to me via the E02/758 echomail conference or via a direct
voice or data phone call.
<Plug> Check out the newest BG companion program, BGQWK. It
is the first QWK mail door for the GT Power family. You will
LOVE this thing. It's shareware. If you use BGQWK now, and
you want to register, we now take credit cards. Online
registration is possible if you are listed in the NODELIST.
Regards, GT: 001/040
B.J. Guillot