home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
MT_MNU10.ZIP
/
PPEMENU.DOC
< prev
next >
Wrap
Text File
|
1993-08-18
|
12KB
|
267 lines
---------------------------------------------------------------
PPEMENU (v1.0) - Another Modern Technology Program written with
PPL for PCBoard v15.0 or above. Written and released: 08/18/93
---------------------------------------------------------------
Modern Technology-PPE Menu Interface Version 1.0 [PPE]
for PCBoard v15.0
08/18/93 by Fred Barra
Intro:
This PPE was written because some sysops prefer
to have all their existing & available PPE programs
available in one menu. This PPE Menu works in the
same manner as the PCBoard DOORS menu, except it
will be a place to show a List of all your PPE programs
and also allow a caller to directly execute the prefered
PPE while in this menu. <note that you may also place
DOOR commands from within this menu, or for that matter
any other PCBoard command, for more details see the
appropriate section in this Doc file Labeled: Running
PCBoard Commands & DOORS directly from PPEMENU Interface>
PPEMENU PCBOARD INSTALLATION
----------------------------
ALL THE STEPS LISTED IN THIS DOCUMENT REGARDING INSTALLATION ASSUME YOU
HAVE A COPY OF PCBOARD V15.0 (OR ABOVE) ALREADY CONFIGURED AND RUNNING!
Unzip the contents of MT-MNU10.ZIP into it's own directory. Suggested
path is -> DRIVE:\PCB\PPE\MENU but you can place it anywhere you
you would like, just as long as the correct path and PPE names are
assigned within PCBoard <Next Step>
Adding this program within PCBoard is very simple. Load PCBsetup and
choose option [B] File Locations Once in this PCBsetup Submenu choose
(once again) option [B] Configuration files. Scroll down until you see
-> Name/Loc of Default CMD.LST File : D:\PCB\MAIN\CMD.LST
Now use the F2 key to edit the CMD.LST file "NOTE that the location shown
above is the default as supplied by PCBoard" Your location might be
different you might also have individual CMD.LST files for different
conferences, the above is assuming you have a standard PCBoard setup.
Next will see a screen resembling the one below, just choose a name/command
that you would like your callers to access the lottery program with.
File Locations
Command Security PPE/MNU File -or- Keystroke Replacement
══════════════ ════════ ═══════════════════════════════════════
1) PPEMENU 0 D:\PCB\PPE\PPEMENU\PPEMENU.PPE
2) MORE 0 D:\PCB\PPE\PPEMENU\PPEMENU.PPE
(Recommended NAME choices are either MORE <for MORE features Menu>, or
PPEMENU (or if you with to custumize it even further you could even use
it to replace your DOOR and OPEN original PCBoard commands, so all
existing installed within pcboard doors, and ppe programs would all be
neatly arranged in one menu <a menu that most or all of your callers
already know where to look for extra system features!>
You may name it whatever you want, just be sure that the path pointing
to the PEMENU.PPE in the PCBoard CMD.LST file is correct <after all
PCBoard must find the PPE file in order to execute it!>
That's about it, if you added the above then PPEMENU should now be ready
so you can continue on to the part of the installation which will
involve telling PPEMENU where your actual PPE programs reside...
Configuring PPEMENU to run YOUR selected programs (PPE's)
---------------------------------------------------------
Configuring PPEMENU is very simple... There are two configuration
files that are used to control the way PPEMENU behaves the are;
PPEMENU.CNF / PPEMENU.LST
PPEMENU.CNF is a 3 Line file which allows specifiying
BBSName, SysOp Name, and PPEMENU main prompt.
Edit this file/prompts to your liking.
PPEMENU.LST is where you tell PPEMENU where your PPE files
are located, a sample is included below of the
format you should follow for each entry.
NOTE that each entry occupies 2 lines, and each
2 lines is considered 1 PPE entry command, for
example in the following example lines 1 and 2
are PPEMENU option 1, or it may also be called
by name;
;Sample PPEMENU.LST file
BBSLIST ;Line 1 <-|
D:\PCB\PPE\BBSLIST\ ;Line 2 <-|
|_ these 2 lines
NOTE there in line 1 there is no are the PPEMENU
extention needed <nor should you add one> command (1), or
this is because PPEMENU will automatically also can be invoked
add it in for you, this is done in this using the keyword
manner so that your PPE keyword command (BBSLIST) NOTE!
can also be used by PPEMENU as an option NO extention on
command, and if a caller at the menu line 1! It will
types either a (1) or (BBSLIST) then the automatically
BBSLIST.PPE located in D:\PCB\PPE\BBSLIST\ default to PPE.
will be executed.... NOTE be sure to add
'\' at the very end of the path! ALSO BE
sure to add all configuration options in
UPPER case to the PPEMENU.LST file! Or else PPEMENU will NOT
be capable to translate the new PPEMENU commands properly....
(if you ever want or need to disable a PPEMENU interface command
temporarily {or otherwise} simply edit the PPEMENU.LST file and
change the proper command to lower case.....
FOR MORE INFO ON INSTALLING OPTIONS TO PPEMENU INTERFACE PLEASE
SEE THE NOTES INCLUDED AT THE END OF THE PPEMENU.LST FILE!
REMEMBER That options added within PPEMENU.LST DO NOT have to be
added to the PCBoard CMD.LST file <only PPEMENU.PPE must be added
there so PCBoard can properly locate it>. However if you do not
add a PPE to the <ie BBSLIST> to the CMD.LST file, then a caller
would ONLY be able to execute BBSLIST while at the PPEMENU interface
prompt... Therefore it is recommended that you add them both as
commands in the PCBoard CMD.LST file, and to the PPEMENU.LST file
as well....
Running existing PCBoard Commands and DOORS from the PPEMENU interface
----------------------------------------------------------------------
If you wish you could also place your door selections in
this menu and run both PPE and DOORS from within your
PPEMENU. The same goes for *any* PCBoard Command...
To add a PCBoard command to this menu is very simple, I
will provide a sample below...
Sample script/PPE to run any DOOR or any PCBoard Command
from within the PPEMENU interface....
The sample provided below will assume you want
to list and make the PCBoard QWK command available
right from within the PPEMENU interface
; QWK - PPEMENU command script/PPS (PPE) file
STRING command ;line 1
command = TOKENSTR() ;line 2
KBDSTUFF "QWK "+cmdline+chr(13) ;line 3
END ;line 4
; Line 1: variable to hold the actual cmd
; Line 2: returns cmd variable as stored above
; Line 3: Stuff the Keyboard with a "QWK" and
; then a Carriage return so PCBoard will
; execute the command
; Line 4: END of QWK.PPS/Script
Compile the above 4 lines of PPL source code and that's
all it takes, the QWK command will now run from within
your PPEMENU interface along with all other PPE files
you may have... NOTE that for each PCBoard command or
DOOR that you add to the PPEMENU via a script/PPE you
will still have to add it to the PPEMENU.LST file, follow
the same format as described within that file in order
to install your command into the PPEMENU interface, the
way you add it there, is exactly the same as any other
PPE since after all, the above script is exactly that;
<a PPE / smart command>
For more info on running DOORS and other PCBoard command please
also at; CB.PPE / QWK.PPE / ARCADE.PPE / DAYSCOPE.PPE
The respective .PPS files for the above PPE scripts are included
with the archive PPS.ZIP which is also found within this archive.
CB.PPE Is a PPE which will allow callers to see the
CB command from the PPEMENU interface, really
all it does is use the above scripting/PPE
format and stuff a "CHAT G" into the PCBoard's
keyboard Buffer.
QWK.PPE Does basically the same as the above but it
stuffs "QWK" instead.
ARCADE.PPE Lets caller Join a particular conference from
within the PPEMENU interface, the example
provided on my bbs is used so callers can Join
conference #6 where all my door games are located
therefore it basically stuffs a "J 6" into the
PCBoard keyboard buffer.
DAYSCOPE.PPE Let's callers Joing the daily horoscope door
at Modern Technology BBS, right from the PPEMENU
interface, all it does is stuff the PCBoard
command with; "DOOR 11" Substitute this for
whatever door number or name you wish it to run
on your system.
All the source code for the example script/PPE files is included with
this archive and is listed as PPS.ZIP please unzip it if you
you wish to see the sample source code for the PPE commands listed
above, or you can also use them and modify them so you can run some
other commands you might wish to make available in the PPEMENU interface,
or perhaps some doors. If you really wanted to you could even make
the PPEMENU interface equal to DOOR or OPEN <via the PCBoard CMD.LST file>
and then install all your PPE files and DOOR programs in the PPEMENU
interface, and your callers would just use the command DOOR or DO
and then would get a listing of all your available options, listed as
DOORS {even though some might not actually be a DOOR program} the caller
would probally never know that, until he ran the program....
DISCLAIMER
==========
In no event will I "or anyone else" be liable to you for any damages,
including any lost profits, lost savings or other incidental or
consequential damages arising out of your use or inability to use
this program, or for any claim by any other party.
This is a FREE program!
If you have any questions, bugs, or suggestions, please contact
me at:
Modern Technology
Post Office Box 6531
Providence RI 02940-6531
Or you may call my BBS where the latest version is always available
as a FREE download.
BBS/DATA LINES: 401-333-1638 [HST DS 16.8] * 401-333-3451 [HAYES 96]
You may also leave me mail at Salt Air.
Enjoy! Fred Barra
Author and Sysop Modern Technology BBS
History
-------
08-18-93 (v1.0)
Initial coding and release.
A big THANK YOU goes out to:
- CDC, for creating the BEST BBS software in the world.
<As without it this PPE MENU would not exist>
- To ALL the Sysops which have spend endless hours and big money
on making their systems available for our enjoyment! Same goes
for shareware programers.
<eof>