home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
bbs
/
vfy_29a.zip
/
4-TRIBBS.ZIP
/
TRISEC.DOC
< prev
next >
Wrap
Text File
|
1993-07-24
|
5KB
|
128 lines
**************************************************************
* *
* TRISEC.EXE v1.1 *
* *
* TRIBBS User Security Level Adjustment Program *
* *
* Copyright (c) 1993 *
* Sagerquist Micro Engineering *
* *
* 1414 W. Kerrick Street *
* Lancaster, Ca. 93534 *
* Data (805) 723-6908 *
* *
**************************************************************
DESCRIPTION
-----------
TRISEC.EXE adjusts a TRIBBS caller's security level in the TRIBBS
user database file USERS.DAT. This action is useful when invoking
BBS Doors such as a Call Back Verification, a Questionnaire or
Opinion Poll, etc., where the caller is to be rewarded with a
security level adjustment upon successful completion.
SYNTAX
------
TRISEC [Directory where TRIBBS.SYS is located] [Security Level]
TRISEC C:\TRIBBS\MWORK 100
FILES IN THIS PACKAGE
---------------------
TRISEC EXE Executable program.
TRISEC DOC Document file. (This file).
TEST BAT Batch file for initial testing.
USERS DAT Sample user database file from TRIBBS v3.3.
CHECK EXE Program that displays all caller's name and
security levels, directly from USERS.DAT.
TRIBBS SYS Sample user info file created by TRIBBS.
SAMPLE TRAP DOOR BATCH FILE
---------------------------
@ECHO OFF
CLS
ECHO ******* Entering VERIFY! *******>> C:\TRIBBS\MWORK\CALLERS.LOG
C:
CD C:\TRIBBS\VERIFY!
VERIFY! /B:TRIBBS_T /D:C:\TRIBBS\MWORK /L:C:\TRIBBS\MWORK\CALLERS.LOG
rem ERRORLEVEL 0 and 1 means caller is verified.
rem ERRORLEVEL 0 == local call
rem ERRORLEVEL 1 == long distance
IF ERRORLEVEL 0 IF NOT ERRORLEVEL 2 goto ADJUST
goto END
:ADJUST
CD C:\TRIBBS\MWORK
rem Adjust caller's security level to 50
TRISEC C:\TRIBBS\MWORK 50
:END
TECHNICAL
---------
TRISEC.EXE begins by reading the file TRIBBS.SYS, where it learns
the current caller's name. Then, TRIBBS's database file USERS.DAT
is searched for the matching name. When it finds the current
caller's name, the security level part of that record is changed
and written to the file.
On exit of TRISEC, ERRORLEVELs are returned. Your batch file can
check the ERRORLEVEL and determine what has happened. The following
is a list of TRISEC's ERRORLEVELs and their meaning:
ERRORLEVEL 0 Normal exit, adjustment successful.
ERRORLEVEL 1 Error exit, either a file cannot be found,
the adjustment cannot be made, the user's
name cannot be found, etc. The actual
reason for the error is written to the
screen.
Review your DOS manual for more information on ERRORLEVELs.
For the purpose of verification, the program CHECK.EXE is included
with this program. CHECK.EXE reads USERS.DAT and displays the names
and security levels of all the registered callers. The names are
displayed in the same order as they are found in the database file.
DISCLAIMER
----------
This program is distributed as is. No warranty, either expressed or
implied is offered and the programmer is not responsible for any
damages or expenses that may occur through the use of this program.
The user shall determine its suitability. Extensive testing has been
performed and every effort has been made to ensure satisfactory
performance prior to release. Please communicate any difficulties
with the programmer through the BBS at (805) 723-6908. Any problems
received will be treated as a top priority.
CREDITS
-------
Thanks to James Mann of Littlerock, CA. for requesting this program.
TRIBBS is copyrighted software by Mark Goodwin, 366 14th St.,
Bangor, ME 04401
PROGRAMMING SERVICES
====================
TRISEC.EXE is a custom program, and performs exactly as requested.
Programming services are provided by Sagerquist Micro Engineering
by request. The point of contact is the S M E Support BBS at
(805) 723-6908, or via mail at the following address:
Sagerquist Micro Engineering
1414 W. Kerrick St.
Lancaster, CA 93534
BBS (805) 723-6908
If you have a need for a program of any kind, please let us know.
HISTORY
-------
06/05/93 v1.0 - First release.
07/24/93 v1.1 - In version 1.0, if there were more than 256 callers
in the file USERS.DAT, TRISEC's writing position
would start over at the beginning of the file for
record # 257. This would overwrite someone else's
record, effectively placing two records for that
caller into the file. FIXED!