home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / gmn!2_10.zip / GMON.DOC < prev    next >
Text File  |  1993-08-09  |  87KB  |  2,159 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                        ╓──┐  ╓─┐┌─╖  ╓──╖  ╓┐ ╥
  10.                        ║ ─╥  ║ └┘ ║  ║  ║  ║└┐║
  11.                        ╙──╜  ╨    ╨  ╙──╜  ╨ └╜
  12.  
  13.                                ╓───────
  14.                                ║
  15.                                ╙──────╖
  16.                                       ║
  17.                                       ║
  18.                                ───────╜
  19.  
  20.                                  A N D
  21.  
  22.                     ╓──┐  ╓─┐┌─╖  ╓──╖  ╓┐ ╥  ║ ╓──╖
  23.                     ║ ─╥  ║ └┘ ║  ║  ║  ║└┐║ ╓╜ ╓──╜
  24.                     ╙──╜  ╨    ╨  ╙──╜  ╨ └╜ ║  ╙──╜
  25.  
  26.              Door File Conversion, Integrator, and Organizer
  27.  
  28.                             By John Morris
  29.  
  30.                          SysOp Reference Guide
  31.  
  32.                  Copyright (c) 1991-1993 by John Morris
  33.                            All Rights Reserved
  34.                                                                  Page 2 
  35.  
  36. CONTENTS
  37.  
  38.    Software License .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  2
  39.    Warranty.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  2
  40.    Features.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  3
  41.    Hardware Requirements  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  3
  42.    GMon Version History.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  4
  43.    Manual Conventions  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  6
  44.    Command Line Switches  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  6
  45.    Function Keys .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  8
  46.    Batch Files Needed To Invoke GMon 5.  .  .  .  .  .  .  .  .  .  .  9
  47.    BBS Programs GMon 5.0 Will Run With.  .  .  .  .  .  .  .  .  .  . 10
  48.    How To Interface You Unsupported BBS To GMon.  .  .  .  .  .  .  . 13
  49.    Getting Started With GMon 5.0.  .  .  .  .  .  .  .  .  .  .  .  . 18
  50.    GMon Editor - Main  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 18 
  51.       Command Letters & Security Levels  .  .  .  .  .  .  .  .  .  . 22
  52.       Time Limits.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 23
  53.       Program Editor.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 23
  54.       User Editor.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 28
  55.       Category Editor  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 28
  56.    GMon Text Files  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 29
  57.    GMon Macros.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 30
  58.    Upgrading To GMon 5.0  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 31
  59.    GMon Files .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 32
  60.    GMon Bulletins.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 32
  61.    Program Menus .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 33
  62.    Before & After Text Files .  .  .  .  .  .  .  .  .  .  .  .  .  . 33
  63.    Thanks  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 33
  64.    Problems?  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 34
  65.    How To Reach Me  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 34
  66.    APPENDIX A: How The Points System In GMon Works.  .  .  .  .  .  . 35
  67.  
  68.  
  69.  
  70. SOFTWARE LICENSE
  71.  
  72. GMon is released as Shareware.  You may use GMon for any commercial,
  73. or non-commercial purpose. Use it on your company, private, or school BBS.
  74. If you have thought of another way to use GMon, feel free to use it that
  75. way.  
  76.  
  77. You may copy and distribute as many copies of the program as you like, as
  78. long as you don't charge money for the program itself.  A small fee is
  79. allowed for copying, handling, mailing, and the diskette carrying the
  80. copy, but this amount is not to exceed the real costs.
  81.  
  82. GMon should not be used or distributed in modified form.
  83.  
  84. If you use this program on a regular basis, you are required to register
  85. your copy.  By registering GMon, you are helping the author to continue to 
  86. provide quality software.
  87.  
  88. WARRANTY
  89.  
  90. GMon is provided as is, with no warranty of any kind, either expressed
  91. or implied.
  92.  
  93. The only guarantee is that GMon will take up space on your disk. 
  94.                                                                   Page 3
  95.  
  96. FEATURES OF GMON
  97.  
  98. o  Allows the use of virtually any door program from any BBS program.
  99. o  Acts as a central door 'hub' program. All your doors can be run
  100.    from GMon eliminating the need for complex door menus.
  101. o  Many different BBS's are supported thru the following files:
  102.        DORINFOx.DEF
  103.        CALLINFO.BBS
  104.        PCBOARD.SYS
  105.        DOOR.SYS
  106.        CHAIN.TXT
  107.        LASTUSxx.DAT
  108.        EXITINFO.BBS
  109.        SFDOORS.DAT
  110.        & more!
  111. o  Converts from the above file formats to even more door file formats,
  112.    including:
  113.        all of those above &
  114.        OPENDOOR.SYS    (Fast Finger Doors)
  115.        USERINFO.TXT    (MG Generic doors, like Planet Busters)
  116.        DOORFILE.SR     (Solar Realm Doors)
  117.        & more!
  118. o  Up to 500 doors can be set up to run from GMon at any one time.
  119. o  Full network support using SHARE.EXE for file sharing & record locking.
  120. o  Supports 'local only' operation for local use without having to load
  121.    your BBS.
  122. o  Support for up to 256 nodes. (36 under RBBS-PC)
  123. o  Contains its own ANSI driver. (ANSI.SYS does not need to be loaded)
  124. o  Support for FOSSIL communications drivers.
  125. o  Support for BPS rates to 115200 (38400 with a FOSSIL driver)
  126. o  Support for non-standard communications ports.
  127. o  Supports flow control for high speed modems.
  128. o  Contains its own carrier detection routine. (no watchdog program needed)
  129. o  Multi-tasker aware. (Desqview, DoubleDOS, & DOS/Windows/OS2 idle calls)
  130. o  Keeps track of time used.
  131. o  Time of day usage can be controlled.
  132. o  Time limits according to security level.
  133. o  20 separate security levels/time limits can be configured.
  134. o  SysOp can chat with user.
  135. o  Bulletin support. You can have your door programs create bulletins
  136.    that can be read by GMon, eliminating a lot of game bulletins in
  137.    your BBS.
  138. o  Editor program built into main program.
  139. o  Full control over how a door runs. By COM, EXE, or BATch file.
  140. o  Macro language for text files used by GMon.
  141. o  Support for 4 different ways of naming text/color menus & bulletins.
  142. o  Controls use of non-network programs on multi-node systems.
  143. o  & MORE!
  144.  
  145. HARDWARE REQUIREMENTS
  146. GMON 5.0:
  147. o  Any IBM PC or compatible computer with at least 200K of memory.
  148. o  DOS 3.1 or above (3.3 or higher recommended)
  149. o  Approximately 300K of disk space.
  150.  
  151. GMON/2:
  152. o  Any IBM PC or compatible computer with a 386 (or greater processor)
  153. o  OS/2 2.1
  154. o  Approximately 300K of disk space.
  155.                                                                   Page 4
  156.  
  157. GMON VERSION HISTORY
  158.  
  159. I conceived of GMon over 6 years ago. It has gone thru many revisions,
  160. and is now finally becoming a program I like.  I wanted a small, flexible,
  161. and fast 'monitor' program for my BBS.  I orignally wanted a 70-80K
  162. program, but GMon 4.0 weighs in at about 140K.  The good part about that
  163. is the fact that GMon can now shrink the amount of memory it uses to
  164. an amount close to 1 or 2K when running a door.  GMon is now always in
  165. memory while a doors are being run. This allows for better door control
  166. and eliminates the need for a bunch of batch files to run each door.
  167. GMon started out as a central program from which I could run all my
  168. doors, but it ended up as more of a door control program allowing me
  169. to run nearly any door thru it.
  170.  
  171.  
  172. 01/10/88 - GMon 1.0
  173. --------
  174. First release of GMon. Written to be compatible with Bob Westcott &
  175. Rod Bowman's Door Monitor program, with improvements in speed and size.
  176. Also included conversion code to run PCB 11, or PCB 12 doors.  GMon
  177. knew they were PCBoard doors by the fact that a string (either PCB11
  178. or PCB12) was in the description).  Made to run under RBBS-PC only!
  179.  
  180. 01/24/88 - GMon 2.0
  181. --------
  182. The GAMES.DOR file was completely reworked to be more flexible. Eliminated
  183. the need for certain strings (ie. 'PCB11' or 'PCB12') in the description
  184. to run PCBoard doors. Instead you just change the program 'type'.  The
  185. batch file used by GMon was changed from GMONPCB.BAT to GMONEXTx.BAT.
  186. Two reasons for that, 1: to make sure the correct batch file was being
  187. run on multi node systems, and 2: to reflect the fact that not all
  188. doors would be PCBoard ones in the future.  The user interface was
  189. changed to look more like an RBBS command prompt, thus making the user
  190. feel more at home (I hope!)  You can now customize the menu the users
  191. sees.  The X-pert toggle command was added to switch the menu on/off.
  192.  
  193. 02/28/88 - GMon 2.1
  194. --------
  195. Several bugs fixed.  More complete info on batch files was included in
  196. the docs.  It should now run single and multi node BBS with the same
  197. ease.
  198.  
  199. 03/13/88 - GMon 2.2
  200. --------
  201. These were the days of the quick update huh?  Fixes applied to the PCBoard
  202. interface which includes a total rewrite of the PCBOARD.DAT files that
  203. GMon outputs.  This seems to clear up the 'error 62 at line 10040' problem
  204. with PCB12 doors (using Door Patch).  Also PCBoard mode 4 was included
  205. which will write out a plain PCBOARD.SYS and PCBOARD.DAT file.  Hopefully
  206. this will make GMon compatible with other PCB 12 games.  SysOps, hitting
  207. F1 will tell GMon to immediately exit to DOS.. (just in case)
  208.  
  209. 04/10/88 - GMon 2.3
  210. --------
  211. The PCBoard interface was rewritten (again) so that GMon would output
  212. a 'fake' PCBoard USER file along with the other PCB files GMon was 
  213. already creating so that Dorpatch routines greater than 2.6 would run.
  214. These fixes work automatically, so you don't need to anything except
  215. add the game to the GAMES.DOR file, and they should run.  A bug in the
  216. program which caused the amount of time used to be miscalculated was
  217. cleared up.
  218. Also added was an improved GMon edit program call GMedit20. It includes
  219. a NAMES.DOR editor in addition to the older GMONEDIT functions.
  220.  
  221.                                                                   Page 5
  222.  
  223. 02/15/89 - GMon 3.1  (3.0 only released as a beta test)
  224. --------
  225. Several new features added this time.  Main feature? hmmm.. howsabout
  226. a 15K smaller EXE file.. thats the main feature.  Added several new
  227. switches.  You can now tell GMon to use separate GAMES.DOR files for
  228. each node.  The filename would then be GAMESx.DOR (where 'x' is the
  229. node number).  You can shorten the GMon prompt to 'GMon Command?'
  230. eliminating the actual command letters (A,B,C.. etc.)  If you have
  231. this feature turned off, GMon will look and behave exactly as before.
  232. GMon also has a batch mode so it can be used as a simple RBBS to
  233. PCB11/PCB12/PCB14/GAP/WILDCAT file conversion program.
  234.  
  235. GMEdit30 has been rewritten to be used locally, or from remote!  Added to
  236. GMEdit30 is a GAMES.DOR editor.  GMEdit30 can be accessed by using the
  237. SysOp command 'E'.  Be sure GMEDIT30.EXE is in the current GMon directory.
  238. When editing the GAMES.DOR file, GMEdit may change the 'look' of your
  239. GAMES.DOR file but does not effect the way it works in any way.
  240.  
  241. 02/25/89 - GMon 3.11
  242. --------
  243. A maintenance update to fix a problem in the /C3 and /C4 modes which
  244. caused an 'illegal function call' error.
  245.  
  246. 09/24/89 - GMon 3.13
  247. -------- 
  248. Another maintenance update, along with a couple added interfaces.  GMon
  249. should now enforce time limits correctly in all cases.  Formerly an
  250. entry in the TIMLIMIT.DOR file which looked like:
  251. 9,45,90,,
  252. would give the error "you must call between 0000 and 2359" 
  253. This error was fixed.  Added interfaces are an OPENDOOR.SYS (Fast Fingers
  254. Door Program), and a USERINFO.TXT (MG Generic format for games like
  255. Planet Busters)
  256. Also **NEW** batch file info.  Some external door programs tend to -eat-
  257. command line parameters. So if you run a multi-node system this causes
  258. items like node numbers to get lost!  The fix is in the batch file section.
  259. MONITOR1.EXE is written in C to save on some disk space, and file xfer
  260. size.
  261. OH YEAH!... Almost forgot. I did some work on GMEdit30.. and fixed some
  262. really nasty GAMES.DOR Editor errors.  It is now know as GMEdit31.
  263.  
  264. 1990     - GMon 3.2
  265. --------
  266. Given out to only a few guys.. featured FOSSIL driver support.
  267.  
  268. 01/19/92 - GMon 4.0
  269. --------
  270. GMon was utterly rewritten.  It is now in C in place of BASIC.  Now
  271. is no longer RBBS-PC specific.  It should work under any BBS program,
  272. and convert files to almost any BBS interface or door interface file.
  273. Is now one single program, with the editor in the main program. All
  274. file formats have changed, so GMon 4.0 is not fully compatible with the
  275. old Door Monitor, or even older versions of GMon. _BUT_ it still works
  276. in a similar manner.  All files can be edited by the GMon editor
  277. included in the program. Instead of exiting to DOS, or RUNning a program
  278. as in the BASIC version, GMon will swap itself out of memory and
  279. 'spawn' to the door. The door can be a COM file, an EXE file, or a
  280. BATch file.  If it is a batch file, GMon will execute a copy of
  281. COMMAND.COM (or whatever your DOS shell is) and have it execute the
  282. batch file.  This way GMon never actually leaves memory.  This also
  283. usually eliminates the need for batch files. Swapping takes place to either
  284. EMS, XMS, or to disk. Specific commands lines and evironment variables 
  285. can be specified for each door!  Games can still be listed by category,
  286.                                                                   Page 6
  287.  
  288. if you choose, or all together as in the older versions of GMon. A
  289. Bulletin menu was added. This allows you to tell your door programs
  290. to create bulletins for use by GMon.  This eliminates large amounts
  291. of game bulletins in your BBS.  In other words, the users can read
  292. the game score bulletins from the game area, instead of the BBS. 
  293. Text files (menus, bulletins) can be named in 4 different ways (to
  294. work similarly to several different BBS programs).
  295.  
  296. 05/25/92 - GMon 4.01
  297. --------
  298. Maintenance release. Tweaked a couple of the BBS interfaces.  I still am
  299. looking for some more differences of opinions on how handles should be worked
  300. on systems which don't have them, and games that do.  Another release to
  301. follow shortly.
  302.  
  303. 12/02/92 - GMon 4.02
  304. --------
  305. Maintenance Release - Updated door I/O routines. Chat mode string now
  306. properly says SysOp & User name.
  307.  
  308. MANUAL CONVENTIONS
  309.  
  310. This manual contains the following conventions:
  311.  
  312. [option]     Any information inside double square brackets is OPTIONAL.
  313.  
  314. Keep that in mind when you read this manual.
  315.  
  316. GMON 5 COMMAND LINE SWITCHES
  317.  
  318. The command line is the information following the program name at the
  319. DOS prompt.
  320.  
  321. Command line options must ALWAYS be separated by a space! If there isn't
  322. a space, then that command line paramter will be missed.
  323.  
  324. GMON [options]
  325.  
  326. The following options are always preceded with a '/' (forward slash) or a
  327. '-' (minus sign)
  328.  
  329. Bxx         -  Tells GMon to run in Batch conversion mode. 'xx' is the
  330.                type of file to convert to. [not yet implemented in 4.0]
  331.  
  332. Cv[,ww,xx,yy,zz]   Communications port information. You will not need to use
  333.                this command unless, 1: The GMon docs specifically says to
  334.                for your BBS program, or 2: You are using a non-standard
  335.                communications port. (usually COM3 or above)
  336.  
  337.                v   - com port you wish the program to use.
  338.  
  339.                The following information is optional, and is only used
  340.                when using non-standard communications ports.
  341.  
  342.                ww  - Base address, in HEX format, of your UART chip.
  343.                      For example: COM1 uses 0x3F8, COM2 uses 0x2F8
  344.  
  345.                xx  - IRQ number you wish to use in decimal format.
  346.                      For example: COM1 uses 4, COM2 uses 3
  347.  
  348.                yy  - Base address, in HEX format of your 8259 interrupt
  349.                      controller chip.
  350.                                                                   Page 7
  351.  
  352.                      In the IBM PC/XT or compatibles, this is ALWAYS 0x20
  353.                      In the IBM AT there is a second 8259 located at the
  354.                      address 0xA0
  355.  
  356.                      The first 8259,at address 0x20,has IRQ numbers of
  357.                      0 thru 7.  The second 8259 chip, found in AT class
  358.                      machines at address 0xA0, contains IRQ numbers of
  359.                      8 thru 15.
  360.  
  361.                zz  - Interrupt vector number.
  362.  
  363.                      For example: COM1 uses 12, COM2 uses 11.
  364.  
  365.                At this point you are probably thoroughly confused! Not to
  366.                worry!  There are some general rules to follow in order to
  367.                set up your non-standard com port.
  368.  
  369.                If your IRQ number is in the range 0 to 7, your 8259 address
  370.                is always 0x20.
  371.  
  372.                If your IRQ number is in the range 8 to 15, your 8259 address
  373.                is always 0xA0.
  374.  
  375.                If your IRQ is 3, then your interrupt vector MUST be 11,
  376.                and vice versa.
  377.  
  378.                If your IRQ is 4, then your interrupt vector MUST be 12,
  379.                and vice versa.
  380.  
  381.                Your modem or serial port board manufacturer will supply
  382.                you with the correct IRQ and UART base address.
  383.  
  384.                For Example: Your COM3 serial port is located at 0x2E0, and
  385.                your IRQ is 4.  Remember, IRQ 4 is on the 8259 located at
  386.                0x20, and interrupt 12 is always associated with IRQ 4.
  387.                Your /C command line parameter would be:
  388.  
  389.                /C3,0x2E0,4,0x20,12
  390.  
  391.                Another example. Lets say your BBS program doesn't supply
  392.                communications port information in the information file
  393.                that GMon reads. You would then need to specify that com
  394.                port on the command line. Lets say you need com 2:
  395.  
  396.                /C2
  397.  
  398.                COM2 is a standardized port, so you don't need to specify
  399.                the additional port info!
  400.  
  401. E[DITOR]    -  If you wish to use just the editor (in local mode) use this
  402.                switch.   
  403.  
  404. Fxxxx       -  This is the directory in which to find the BBS info file
  405.                to get info in the current user. This overrides the BBS
  406.                directory you entered in GMon Edit. 'xxxx' is the directory
  407.                in which to find the file. No trailing backslash.
  408.  
  409. G[RAPHICS]  -  This switch forces ANSI color on. This is used in Local-only
  410.                mode.
  411.  
  412. Hxx         -  (GMON/2 ONLY) Specifies the file handle of the currently
  413.                open com port.
  414.                                                                  Page 8
  415.  
  416. L[OCAL]     -  This forces GMon to operate in Local-Only mode. This
  417.                is how you can use GMon locally. GMon always assumes that
  418.                it is the SysOp who is on when it runs locally.
  419.  
  420. Nxx         -  Where 'xx' is the current node number.  Must be used to
  421.                tell GMon which node it is running under. (unless your BBS
  422.                info file contains node info)  You might want to use it
  423.                anyway to make sure GMon knows which node it is running
  424.                under.
  425.  
  426. Pxxxx       -  This command tells GMon to use a different file to get
  427.                configuration info from, instead of GMON.DEF.  You might
  428.                do this for a different set up on different nodes, or
  429.                whatever else you can think of.  Usually you will not
  430.                use this command.
  431.  
  432. Sxxxx       -  This is used to tell GMon at which speed to operate. If the
  433.                program saw
  434.  
  435.                /S19200
  436.  
  437.                It would open the com port at 19,200 bps.
  438.  
  439.                The S command used infrequently, and is only needed in 
  440.                certain situations.  If you aren't sure whether or not to use
  441.                it, don't.  Most BBS interface files provide the bps rate
  442.                for GMon.
  443.  
  444.  
  445. Remember, most switches never need to be used. The only switches you may 
  446. frequently use are:
  447.  
  448. /L[ocal]     (local mode)
  449. /G[raphics]  (turn on ANSI mode)
  450. /Nxx         (node number)
  451.  
  452. To run GMon in local mode, you would use the command:
  453.  
  454. GMON /L
  455.  
  456. You could add a /G to that to turn on Graphics.
  457.  
  458. GMon assumes that it is running on Node 1.  On multi-node systems you
  459. need to tell GMon which node its on, you would use the /Nxx command
  460. like so:
  461.  
  462. GMON /N3
  463.  
  464. for node 3.
  465.  
  466. For RBBS-PC users, you would still use regular RBBS node numbers, in other
  467. words:
  468.  
  469. '1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  470.  
  471. for RBBS node 11, you would use:
  472.  
  473. /NA
  474.  
  475. GMON SYSOP FUNCTION KEYS
  476.  
  477. GMon has a few function keys enabled so you can control certain
  478. aspects of the current session.
  479.                                                                   Page 9
  480.  
  481. F1          -  Pressing the F1 key will the cause GMon to immediately
  482.                terminate the current session. It will not drop carrier
  483.                on the user, but simply end the game, and return to
  484.                DOS and the batch file that ran it.
  485.  
  486. F2          -  Shell to DOS. Since this is so infrequently used it isn't
  487.                set up very well. You must have COMMAND.COM in the current
  488.                directory for this to work.  Type EXIT at the DOS prompt
  489.                to return to GMon.
  490.  
  491. F9          -  This toggles the local display on and off. RBBS-PC and
  492.                PCBoard SysOps will be familiar with this feature.  By
  493.                pressing F9 you simply change the display status of GMon
  494.                not the display status of your BBS.
  495.  
  496. F10         -  This invokes the SysOp chat mode.  Hit ESCape to exit back
  497.                to GMon.
  498.  
  499. PGDN  &     -  These two keys are used to DECREASE a users time limit. PGDN 
  500. CTRL-PGDN      will subtract 1 minute from the users time limit. CTRL-PGDN
  501.                will subtract 10 minutes for each press!  The results are
  502.                shown to you in the lower right hand corner.
  503.  
  504. PGUP  &     -  PGUP and CTRL-PGUP are used to INCREASE a users time limit.
  505. CTRL-PGUP      Pressing PGUP once will increase the limit by 1 minute.
  506.                Each press of CTRL-PGUP will increase time left by 10
  507.                minutes! As above, the results can be found in the lower
  508.                right-hand corner.
  509.  
  510.  
  511. End of Function Key Section.
  512.  
  513.  
  514. SETTING UP BATCH FILES TO RUN GMON
  515.  
  516. To run GMon you usually need to set up a small batch file. This
  517. batch file needs to do 4 or 5 things. These are the steps:
  518.  
  519. 1: Change directory to where GMon is located
  520. 2: Optional. Copy the BBS interface file to the GMon directory
  521. 3: Run GMon
  522. 4: Change directory back to your BBS
  523. 5: Re-run the BBS batch file (if needed)
  524.  
  525. Step 2 is optional, because in many cases you can tell GMon where to find
  526. the BBS interface file in the GMon editor (or on the command line) instead
  527. of copying it.
  528.  
  529. A sample batch file, lets call it GMON.BAT, you're running RBBS, node 2,
  530. the DORINFO2.DEF is in the \RBBS\NODE2 dir, and you are using COM3, a 
  531. non-standard port.
  532.  
  533. CD\GMON40
  534. GMON /N2 /C3,0x3E8,3,0x20,11 /F\RBBS\NODE2
  535. CD\RBBS
  536.  
  537. You would need to modify this for your set-up, but you can see how simple
  538. the batch file is.
  539.  
  540. In many cases you won't even need a command line, just 'GMON'.  Multi-node
  541. systems would just need to tell GMon which node, like so:
  542.  
  543. GMON /N4
  544.  
  545.                                                                   Page 10
  546.  
  547. BBS PROGRAMS GMON WILL RUN WITH
  548.  
  549. GMon is no longer 'RBBS-PC specific'.. It will run under many different
  550. BBS programs.  When you run GMon the first time, you will be shown the
  551. GMon editor, and there is where you will tell GMon which BBS program it
  552. is running under.  I'll give you a list of BBS programs, and what files
  553. GMon will expect to get its information from.
  554.  
  555.  
  556. RBBS-PC 15.1C & Greater (DORINFOx.DEF & MESSAGES)
  557.  
  558. In this mode, GMon will try to read the DORINFOx.DEF, and the node records
  559. of the main message base file.  When you specify that you are running GMon
  560. under this mode, you will be shown option 'C' in the main GMEdit screen.
  561. This command allows you to specify the _name_ of the main message base.
  562. Commonly this file is called either MESSAGES, or MAINM.DEF.  GMon will
  563. also ask what the BBS directory is. This is where it expects to find both
  564. the DORINFOx.DEF and main message file.  If this is not the case on your
  565. system, not to worry. If your main message file, and your DORINFOx.DEF file
  566. are in separate directories, you will need to temporarily copy your
  567. DORINFOx.DEF file to the same directory as your main message base. Then
  568. specify that directory as the BBS directory.  After you GMon is done running
  569. you could then delete that temporary copy of the DORINFOx.DEF file, it is
  570. up to you.
  571.  
  572. Why does GMon read the node records?  Well, it doesn't _have_ to, but I
  573. try to create complete file conversions, and the more info I have the
  574. better. The DORINFOx.DEF file just doesn't contain a whole lot more than the
  575. necessary info. The node records hold a lot more info on the current
  576. user.
  577.  
  578. If you don't want GMon read your main message file node records, then you
  579. can do one of two things. Don't put in any filename for the main message
  580. file (in GMEdit), or switch to QBBS mode. The former is preferable.
  581.  
  582. Since GMon both, can read _and_ write a DORINFOx.DEF and MESSAGES file
  583. (just the node records) it is imperative that you do not put any door
  584. programs in your BBS directory. Well.. okay.. it isn't imperative, but
  585. don't do it, just to be on the safe side.
  586.  
  587. RBBS-PC was the first program to create a DORINFOx.DEF file for doors.
  588. The format of the RBBS style DORINFOx.DEF file is the one I consider the
  589. standard (even though it is a bit flaky in some spots)  GMon will also read
  590. and write what I call an 'Odd DorInfo File', in other words ones which
  591. don't exactly follow the RBBS standard.  I'll explain more about that
  592. below in the special DORINFO section.
  593.  
  594.  
  595. PCBOARD 12.x & 14.x (PCBOARD.SYS)
  596.  
  597. In this mode GMon will read a PCBOARD.SYS file in the BBS directory you
  598. specify. If you have a multi node system, then you probably will have
  599. each nodes PCBOARD.SYS in different directories. If this is the case, then
  600. specify, on the command line, the directory in which to find this nodes
  601. copy of PCBOARD.SYS.  Use the '/Fxxxx' command for this (see above in
  602. the command line switch section)  The '/F' switch overrides the default
  603. BBS directory you enter inside the GMon editor.
  604.  
  605. If you find it easier to rename your PCBOARD.SYS files for each node
  606. (PCBOARD1.SYS.. PCBOARD2.SYS.. etc.) and put them all in the same directory
  607. (like some doors require) you can do this with GMon too.  Tell GMon that
  608. you are running PCB 12 or 14 (depending on your version of PCBoard) _and_
  609. turn on the 'BBS info file has node#' switch.  GMon will then look for
  610.  
  611.                                                                   Page 11
  612.  
  613. a PCBOARDx.SYS (where 'x' is the node number on the cmd line) This is
  614. not standard operation, but will work just fine.
  615.  
  616. GMon will read only the PCBOARD.SYS file in PCB mode.  It will not read
  617. your PCBOARD.DAT, or user file.
  618.  
  619.  
  620. WILDCAT! 2.x  (CALLINFO.BBS)
  621.  
  622. In this mode GMon will read the CALLINFO.BBS file in the directory you
  623. specify in the GMon editor.  If you have more than one directory in which 
  624. GMon may need to find the CALLINFO file, then you can specify each directory
  625. on the command line instead using the '/Fxxxx' command line parameter.
  626.  
  627.  
  628. GAP & WILDCAT! 3.x  (DOOR.SYS)
  629.  
  630. In this mode GMon will read the DOOR.SYS file in the directory you specify
  631. in the GMon editor.  If you have more directory in which GMon may need to
  632. find the DOOR.SYS file (as in a multi-node set-up), then you can specify 
  633. each directory on the command line instead using the '/Fxxxx' command line
  634. parameter.
  635.  
  636.  
  637. RA 1.x  (EXITINFO.BBS & DORINFOx.DEF)
  638.  
  639. In RA mode, GMon will try to read both the DORINFO1.DEF and EXITINFO.BBS
  640. files in the BBS directory you specify in the GMon editor. If you are
  641. running multiple nodes, then you will have multiple directories in which
  642. to find these two files (according to node). If this is the case, then
  643. you will need to use the '/Fxxxx' command line parameter to tell GMon
  644. where to find those two files for that node. Both of those files should
  645. be in the same directory.
  646.  
  647.  
  648. OPUS 1.1x  (LASTUSxx.DAT)
  649.  
  650. Gmon will try to read the LASTUSxx.DAT file in the directory you specify
  651. in the GMon editor in this mode. 'xx' is the node number (in HEX format)
  652. and GMon will put in the node number according to the node number you
  653. specify (in DECIMAL) on the command line.  For instance, if you had a 10
  654. node system and this copy of GMon was running on node 10, then you would
  655. tell GMon the node was node 10 like this:  'GMON /N10'     GMon would
  656. then look for the following filename: 'LASTUS0A.DAT'
  657.  
  658. I haven't been told whether or not the LASTUSER file has changed with
  659. OPUS 1.7.. so I am going to take a wild guess and say it hasn't changed.
  660. Let me know if I made the wrong assumption.
  661.  
  662.  
  663. SPITFIRE  (SFDOORS.DAT)
  664.  
  665. GMon will look for an SFDOORS.DAT file in the BBS directory you specified.
  666. If you have multiple SFDOORS.DAT files, then use the '/Fxxxx' command line
  667. parameter.
  668.  
  669.  
  670. WWIV  (CHAIN.TXT)
  671.  
  672. In this mode, GMon will look for a CHAIN.TXT file in the BBS directory you
  673. specify in the GMon editor.  If you have multiple CHAIN.TXT files in 
  674. multiple directories, then you can override the default BBS directory
  675. with the '/Fxxxx' command.
  676.                                                                   Page 12
  677.  
  678. GTPOWERCOMM  (GTUSER.BBS)
  679.  
  680. [Not Implemented.. yet]
  681.  
  682.  
  683. PHOENIX  (INFO.BBS)
  684.  
  685. [Not Implemented.. yet]
  686.  
  687.  
  688. QBBS  (DORINFOx.DEF)
  689.  
  690. In this mode GMon will look for information in the DORINFOx.DEF file. The
  691. DORINFO file is searched for in the path that you specified in the GMon
  692. editor.  If you have more than one path in which to find those DORINFO
  693. files, then you will need to use the '/Fxxxx' command to tell GMon where
  694. to locate the DORINFO file it needs.
  695.  
  696.  
  697. SPECIAL CASE  (DORINFO1.DEF)
  698.  
  699. I threw this one in there for doors which can only read a DORINFO1.DEF
  700. (it appears that this is so, even though that '1' should be whatever
  701. the node is.)  GMon can also read from just a DORINFO1.DEF (no matter
  702. what the node number is) if your BBS program creates a DORINFO1.DEF by
  703. that filename only. And this mode _requires_ that!   I don't know if
  704. anyone would have any use for that, but it's in there anyway.
  705.  
  706. In this mode GMon will read the DORINFO1.DEF file no matter what node
  707. number you specify.  So be wary when using this mode.
  708.  
  709.  
  710. OTHER BBS INTERFACE INFO
  711.  
  712. If your BBS info filename normally does not have a node number in it, but
  713. on your BBS you rename those files to reflect the node, GMon can operate
  714. in that fashion.  If you turn on the 'BBS Info File Name Has Node #' switch
  715. GMon will look for a filename with a node number in files that usually don't
  716. contain one.  ie. If you tell GMon you are running under Wildcat! 2.x, GMon
  717. will normally look for CALLINFO.BBS.. but if you turn on the above switch
  718. GMon will look for CALLINFx.BBS  where 'x' is the node number.
  719.  
  720. The following files, which normally don't have node numbers in the filename,
  721. will be converted like so (with the special switch turned on):
  722.  
  723. PCBOARD.SYS    ->     PCBOARDx.SYS
  724. CALLINFO.BBS   ->     CALLINFx.BBS
  725. DOOR.SYS       ->     DOORx.SYS
  726. EXITINFO.BBS   ->     EXITINFx.BBS
  727. SFDOORS.DAT    ->     SFDOORSx.DAT
  728. GTUSER.BBS     ->     GTUSERx.BBS
  729. INFO.BBS       ->     INFOx.BBS
  730.  
  731. 'x' is the node number.
  732.  
  733. Once again, I don't know if there is much use for this option, but it fit
  734. into the code automatically.. so I wanted to document it!
  735.  
  736.  
  737. Thats it for BBS's which GMon can operate with.
  738.  
  739.                                                                   Page 13
  740.  
  741. HOW TO INTERFACE YOUR UNSUPPORTED BBS TO GMON
  742.  
  743. I suggest two different methods of interfacing to GMON. Both are
  744. simple text files. One is more complex than the other, but contains
  745. more complete information on the user. First I'll cover the DORINFOx.DEF
  746. standard, then the DOOR.SYS standard.
  747.  
  748. The DORINFOx.DEF file. The 'x' in the filename is always the node number.
  749. So for a single node BBS, the file would be named:
  750.  
  751. DORINFO1.DEF
  752.  
  753. For multi-node BBS programs, the file would be named like so:
  754.  
  755. DORINFO1.DEF for node 1.    DORINFO2.DEF for node 2 etc.
  756.  
  757. This file is an RBBS-PC standardized file, and there are only 36 node
  758. numbers supported. the 36 nodes are numbered like so:
  759.  
  760. 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
  761.  
  762. So, node 10's DORINFO file would be DORINFO0.DEF, node 36's would be
  763. DORINFOZ.DEF
  764.  
  765. GMon accepts a command line parameter to specify the current node number.
  766. If your command line read
  767.  
  768. GMON /N8
  769.  
  770. GMON would look for DORINFO8.DEF. Get the idea?
  771.  
  772. Now we move onto the format of the file itself.
  773.  
  774. The format of the DORINFO file is as follows:
  775.  
  776. BBS Name
  777. SysOps First Name
  778. SysOps Last Name
  779. Com Port
  780. BPS Rate and Parity
  781. RBBS Network type
  782. Current Users First Name
  783. Current Users Last Name
  784. Current Users City/State
  785. Graphics
  786. Security Level
  787. Minutes Left in Session
  788. FOSSIL Driver present
  789.  
  790.                                                                   Page 14
  791.  
  792. All lines are in capital letters. I'll give you two examples of what the
  793. file typically look like:
  794.  
  795. Example 1                                Example 2
  796.  
  797. THE ABANDONED LAND                       THE ABANDONED LAND
  798. JOHN                                     JOHN
  799. MORRIS                                   MORRIS
  800. COM2                                     COM0
  801. 2400 BAUD,E,7,1                          9600 BAUD,N,8,1
  802.  0                                        3
  803. JOE                                      SYSOP
  804. BBS
  805. RENO, NV                                 RENO, NV
  806.  0                                        2
  807.  5                                        20
  808.  57                                       119
  809.  0                                       -1
  810.  
  811. In example 1, the remote user is at 2400 BPS, even parity, with 7 data
  812. bits. No graphics (regular text), and RBBS is not using a FOSSIL driver.
  813.  
  814. In example 2, the local user is the SysOp. ANSI color is on, and a FOSSIL
  815. driver is present.
  816.  
  817. There are several 'quirks' in the DORINFO standard. They are as follows.
  818.  
  819. 1:  A local user is online when the com port is set to COM0
  820.     Also, GMon will recognize a BPS rate of '0' as a local user, but
  821.     this is not the standard method.
  822.  
  823. 2:  When the SysOp is using the game, the 'Current Users First Name' is
  824.     "SYSOP" (without the quotes), and 'Current Users Last Name' is ""
  825.     a null string. (the only chars found on that line are a carriage
  826.     return/linefeed combo)
  827.     Also acceptible is setting the Users first and last name to match
  828.     the SysOps first and last name exactly, but this also in not standard.
  829.  
  830. 3:  Graphics are off when a 0 is found in the graphics field. RBBS-PC
  831.     uses a 1 when the user can accept IBM high bit chars, and 2 for
  832.     ANSI color.  When in RBBS mode, a 2 is needed to turn on ANSI color
  833.     in GMon. When in QBBS mode, a 1 in the graphics field will turn on
  834.     ANSI color.
  835.  
  836.     This difference is due to different BBS's doing slightly different
  837.     tweakage to the DORINFO standard. GMon tries its best to cope with
  838.     these differences.
  839.  
  840. 4:  Note the BPS Rate and Parity field. Whatever the BPS Rate and Parity
  841.     is, it must match the format shown!  Here are some more examples:
  842.  
  843.     300 BAUD,N,8,1
  844.     1200 BAUD,E,7,1
  845.     19200 BAUD,N,8,1
  846.  
  847.     GMon will parse out the " BAUD" part of the string, and go from there.
  848.  
  849. 5:  GMon doesn't use all the fields in the DORINFO file. Here are the fields
  850.     GMon DOES NOT use:  BBS Name, SysOps first or Last name, Network type,
  851.     and FOSSIL driver.  These lines are not used, but must still be present
  852.     in one form or another.
  853.  
  854. 6:  Everything in the file should be in CAPS.
  855.                                                                   Page 15
  856.  
  857. 7:  The space seen in front of the numbers is due to the way BASIC writes
  858.     numbers to disk. They may or may not be present. Doesn't matter really.
  859.  
  860. This file is small and simple, and I like it. The only real drawback is
  861. the limited number of nodes, and lack of complete information on the
  862. system it is running under. But it does what it set out to do, run
  863. doors, and it does that just fine.
  864.  
  865.  
  866.  
  867. The DOOR.SYS file.  The DOOR.SYS file is also a text file but contains
  868. more information about the system it is running on, and more information
  869. on the user too.
  870.  
  871. The DOOR.SYS file always keeps the same name. It is just found in 
  872. different subdirectories for different nodes. So when you run GMon, you
  873. need to tell it where to find the DOOR.SYS file for that node. You
  874. use the '/Fxxxx' command to do it.
  875.  
  876. GMon uses the 52 line version of this file, which is a super-set of the
  877. original DOOR.SYS file.  If this is an inconvenience, then I'll make a
  878. mode which will accept the old style DOOR.SYS file also.
  879.  
  880. We'll drop to the next page to explore the file format.
  881.                                                                   Page 16
  882.  
  883. The format of the file is as follows: (with some notes on exact format)
  884.  
  885.  
  886.     
  887. Com Port  (COM1: for com port 1.  COM0: is used for local user)
  888. BPS Rate  (Speed user called in at  300-38400)
  889. Parity    (7 or 8)
  890. Node Number (1 to 99)
  891. DTE Rate (actual com port speed to use)
  892. Display      On/Off  (Y=On  N=Off)
  893. Printer      On/Off  (Y=On  N=Off)
  894. Page Bell    On/Off  (Y=On  N=Off)
  895. Caller Alarm On/Off  (Y=On  N=Off)
  896. Full User Name
  897. Users City/State
  898. Home Phone
  899. Data Phone
  900. Password
  901. Security Level
  902. Total Times On
  903. Last Date Called
  904. Seconds Remaining This Call
  905. Minutes Remaining This Call
  906. Graphics Mode  (GR = Graphics, NG = No Graphics, 7E = E,7,1)
  907. Page Length
  908. Xpert Mode  (Y = Expert, N = Novice)
  909. Conferences Registered In
  910. Conference In When Opened Door
  911. Expiration Date    (mm/dd/yy)
  912. User File Record Number
  913. Default Xfer Protocol  (C, X, Y, Z, Etc.)
  914. Total Uploads
  915. Total Downloads
  916. Daily K-Bytes Downloaded
  917. Daily Maximum K-Bytes To Download
  918. Callers Birthday  (mm/dd/yy)
  919. Path to User File
  920. Path to GEN Directory (?)
  921. SysOps Name (as on BBS)
  922. SysOps Alias
  923. Event Time (hh:mm)
  924. Error Correcting Modem  (Y or N)
  925. ANSI Supported By User but Not Being Used (Y or N)
  926. Use File Locking (Y or N)
  927. Default Color (IBM type color code.. 1 to 15)
  928. Time Credits In Minutes (this can be positive or negative)
  929. Last New Files Scan Date (mm/dd/yy)
  930. Time Of This Call (hh:mm)
  931. Time Of Last Call (hh:mm)
  932. Maximum Daily Files Available
  933. Files Downloaded Today
  934. Total K-Bytes Uploaded
  935. Total K-Bytes Downloaded
  936. Comment On User
  937. Doors Opened
  938. Messages Left By User
  939.  
  940.  
  941. As you can see, this file has a LOT of information in it.  GMon will not
  942. use even a half of that info. But the DOOR.SYS file is intended as a
  943. standard for all BBS's to use. And hopefully more of them will use it
  944. in the future. On the next page, I'll give you an example of what a 
  945. DOOR.SYS file might look like.
  946.                                                                    Page 17                                                
  947.  
  948. On this page I'll give you an idea of what a DOOR.SYS file might look like.
  949.  
  950. COM2:
  951. 9600
  952. 8
  953. 1
  954. 19200
  955. Y
  956. N
  957. N
  958. N
  959. Joe Bbs
  960. Reno, NV
  961. 702 746-1364
  962. 702 746-1365
  963. BAGEL
  964. 10
  965. 125
  966. 01/01/95
  967. 2701
  968. 45
  969. GR
  970. 24
  971. Y
  972. 1,2,3,4
  973. 3
  974. 01/01/96
  975. 54
  976. Z
  977. 0
  978. 15
  979. 100
  980. 1024
  981. 12/31/60
  982. C:\BBS
  983. C:\GEN
  984. John Morris
  985. E-Male
  986. 02:00
  987. Y
  988. N
  989. Y
  990. 12
  991. -5
  992. 01/01/95
  993. 03:47
  994. 05:12
  995. 20
  996. 1
  997. 0
  998. 2314
  999. Likes To Play TW2
  1000. 176
  1001. 18
  1002.  
  1003.  
  1004. Just another ordinary text file. Most of the information contained in the
  1005. file makes life easier for file transfer doors to work. (lots of file
  1006. xfer info contained in the file)
  1007.                                                                   Page 18
  1008.  
  1009. Some notes on the DOOR.SYS file.
  1010.  
  1011. 1. Like the DORINFO file, a local user is specified by saying COM0:
  1012.    (note the different format of the com port string. The DORINFO file
  1013.     uses COM0, while the DOOR.SYS file uses COM0:  a colon is added.)     
  1014.  
  1015. 2. Use the DTE rate line to give the speed to open the port at.
  1016.    There is a difference between the BPS rate and the DTE rate. Say your
  1017.    BBS modem is locked at 19200 at all times. Some guy calls in at 2400.
  1018.    The BPS rate would be 2400, but the DTE rate would be 19200.
  1019.  
  1020. 3. GMon will use the 'seconds left in session' field to get the time 
  1021.    remaining.
  1022.     
  1023. 4. GMon will use field 4 to get the node number instead of you having to
  1024.    specify it on the command line.      
  1025.  
  1026. That is pretty much the extent of it. When making the file make sure you
  1027. fill in all the info, even if it is faked!  Every line has to be there so
  1028. GMon won't get out of sync with the contents of the file.
  1029.  
  1030.  
  1031. GETTING STARTED WITH GMON
  1032.  
  1033. GMon is simple to set-up.   Simply unZIP the contents of the GMon ZIP
  1034. file into its own directory. Then run GMon with the command:
  1035.  
  1036. INSTALL
  1037.  
  1038. This batch file will provide you with a bit of info, then run GMon.
  1039. GMon will then create GMON.DEF, USERS.GMN, and PROGS.GMN.  You are then
  1040. brought into the GMon editor automatically. At this point you want to
  1041. change the GMon defaults to match your system.  You can edit these at
  1042. any time, but you might as well do it the first time you run it. 
  1043.  
  1044. Add in some games using the program editor.. and..
  1045.  
  1046. After you have used the GMon editor, you can exit out, and create the
  1047. batch file which will run GMon. See the batch file section (above) on 
  1048. how to do that.
  1049.  
  1050. Make GMon available to your users on your BBS, and away you go!
  1051.  
  1052.  
  1053. GMON EDITOR PROGRAM
  1054.  
  1055. The GMon editor is part of the main GMon program.  In local mode, you use
  1056. the 'E' command to enter the editor.  Once you have entered the editor
  1057. you will see a screen full of options you can edit.  I'll go thru these
  1058. options one by one.
  1059.  
  1060. A - GMon Directory
  1061.  
  1062.     This is set automatically by GMon when it is first run.  If you need
  1063.     to change this from the default, then do so here.
  1064.  
  1065. B - BBS Directory
  1066.  
  1067.     This is the directory in which GMon expects to find the BBS info files
  1068.     To read.  If you have more than one directory containing the BBS info
  1069.     files, then you can override this default BBS directory by using the
  1070.     '/Fxxxx' command line parameter.
  1071.                                                                   Page 19
  1072.  
  1073. C - RBBS Message File Name
  1074.  
  1075.     This option is used only to specify the _name_ of the main RBBS
  1076.     message base (usually MESSAGES, or MAINM.DEF).  GMon will use this
  1077.     name when in reading a messages file in RBBS-PC mode, and will also
  1078.     use this name when writing a pseudo-messages file when the in 'RBBS'
  1079.     mode for a door.         
  1080.  
  1081. D - Bulletin Menu Name
  1082.  
  1083.     This is the name of the menu shown to the user when they choose the
  1084.     B)ulletin command. The default name is BLT.   All GMon bulletins 
  1085.     must reside in the GMON directory at this point in time.
  1086.  
  1087. E - Bulletin Prefix Name
  1088.  
  1089.     GMon bulletins are numbered.  Here you give the prefix of the filename
  1090.     onto which GMon will append the numbers.  The default is BLT.  If the
  1091.     user chose to read bulletin 1, GMon would search for the filename
  1092.     'BLT1'  GMon will also accept separate text and color versions of
  1093.     each bulletin.  See the GMon text file section for more info on that.
  1094.  
  1095. F - Last Maintenance Run        * Currently not editable.. coming soon..
  1096.  
  1097.     This is the date and time that the maintenance program last ran.  The
  1098.     maintenance program serves to clean up the USERS.GMN file, so it
  1099.     doesn't grow overly large.
  1100.  
  1101. G - Time Between Uses Of GMon   * Currently not editable.. coming soon..
  1102.  
  1103.     If you don't want users entering GMon, then going back, and then
  1104.     immediately rerunning GMon, then you can tell GMon not to let that
  1105.     user back on until a specified time period has occured.  In other
  1106.     words, the users will have to wait the period you specify before
  1107.     they can re-enter GMon.
  1108.  
  1109. H - Maximum Days Of Inactivity
  1110.  
  1111.     This is period of time GMon will keep an inactive user in the user
  1112.     file.  After this date, the user will be deleted from the USERS.GMN
  1113.     file.
  1114.  
  1115. I - Local Foreground Color              *   Not currently used.
  1116.  
  1117.     This is the color of the foreground on the local SysOp screen. Not used
  1118.     when the user is in ANSI mode.
  1119.  
  1120. J - Local Background Color              *   Not currently used
  1121.  
  1122.     This is the color of the background on the local SysOp screen. Not used
  1123.     when the user is in ANSI mode.
  1124.                                                                   Page 20
  1125.  
  1126. K - Bulletin Path     
  1127.   
  1128.     This is the path where GMon can find the bulletins it is to display.
  1129.     All bulletins should be located here.
  1130.  
  1131. L - Keyboard Time-Out Period
  1132.  
  1133.     This is the time in which GMon will wait for user input. Past this time
  1134.     period, and the user is automatically logged off.
  1135.  
  1136. M - Maximum Number Of Nodes
  1137.  
  1138.     Set this to the maximum number of nodes in your system.
  1139.  
  1140. N - SysOp Security Level
  1141.  
  1142.     This is the security level used by the SysOp. Valid numbers are -32767
  1143.     to 32767 (standard integer range).  Default is level 10.  SysOp commands
  1144.     are also set to have a default level of 10.. Don't forget to change
  1145.     these if your security level is different.
  1146.  
  1147. O - SysOps First Name
  1148.  
  1149.     This your first name.
  1150.  
  1151. P - SysOps Last Name
  1152.  
  1153.     This is your last name. (if any)
  1154.  
  1155. Q - System Name
  1156.  
  1157.     This is the name of your BBS.
  1158.  
  1159. R - BBS Type
  1160.  
  1161.     This is the type of BBS program that GMon is running with. See the
  1162.     'BBS PROGRAMS GMON RUNS WITH' section for more info.
  1163.  
  1164.     When editing this, you will be shown a complete list of BBS types GMon
  1165.     will run with.  Pick one from the list.
  1166.  
  1167. S - Swap Directory
  1168.  
  1169.     When GMon runs a door program it will 'Swap' itself out of memory to
  1170.     provide the maximum amount of memory to the door. If GMon can't locate
  1171.     any EMS, or XMS memory to use for the swap, then it will swap itself
  1172.     to disk.  You can specify a ram disk here, if you have one, to make
  1173.     the swap just as fast as one to EMS, or XMS.  The default swap dir
  1174.     is the current GMon directory.
  1175.  
  1176. T - Comm Input Buffer  (not used when a FOSSIL driver is present)
  1177.  
  1178.     This is the size of the communications port input buffer in bytes.
  1179.     The default is 256, and you should be able to leave it set to this.
  1180.  
  1181. U - Comm Output Buffer (not used when a FOSSIL driver is present)
  1182.  
  1183.     This is the size of the communications port output buffer in bytes.
  1184.     The default is 256, but valid sizes are 128 to 4096.  256 to 1024
  1185.     are good sizes.
  1186.                                                                   Page 21
  1187.  
  1188. V - Program Files By Node?
  1189.  
  1190.     The door programs GMon has access to are kept in a file called
  1191.     PROGS.GMN. This file is normally used by all nodes, but if you
  1192.     want separate PROGS.GMN files for each node, then turn this option
  1193.     on.  The file that GMon would then look for is PROGxx.GMN where
  1194.     'xx' is the node in HEX format.  Each node would then have to
  1195.     have its own PROGxx.GMN file.
  1196.  
  1197.     If you wish to have a special PROGS.GMN file, lets say for a
  1198.     certain node, you can override the default PROGS.GMN filename
  1199.     by using the '/Pxxxx' command, where 'xxxx' is the name of the
  1200.     PROGS.GMN file you wish to use. See command line section for more
  1201.     info.
  1202.  
  1203. W - Prompt has commands?
  1204.  
  1205.     GMon has one main prompt.  You can either have GMon show the valid
  1206.     command letters in the prompt, or leave them out. The prompts look
  1207.     like so:
  1208.  
  1209.     <with>
  1210.     [30 min. left] GMON Command <A,B,..,X>?
  1211.  
  1212.     <without>
  1213.     [30 min. left] GMON Command?
  1214.  
  1215.     If the user has insufficient security for a certain command, it is
  1216.     not included in the prompt. They are shown only commands they can use.
  1217.  
  1218. X - Programs By Category?
  1219.  
  1220.     On systems with a LOT of doors, it is easier for a user to list games
  1221.     by category.  When they want a list of games, they are asked which
  1222.     category to use, then they are shown the games that are in that
  1223.     category only.  You create valid category names using the '!' command
  1224.     (see below)  Up to 20 are allowed, and it's your job to keep track
  1225.     of the categories.  You will have to edit each game to tell GMon which
  1226.     category it should be placed in.
  1227.  
  1228. Y - Allow User Aliases?
  1229.  
  1230.     This will allow a user to use an alias when playing the games. They
  1231.     will be asked for their alias when they first log on to GMon.  They
  1232.     cannot change it after that.  Let me know if you think they should
  1233.     be able to change their alias.
  1234.  
  1235. Z - Keep a Log?
  1236.  
  1237.     Should GMon keep a log of what is occuring?  If so, it will log info
  1238.     to GMON.LOG
  1239.  
  1240. 1 - Network Mode?
  1241.  
  1242.     GMon requires DOS 3.1 (or greater) to run, and will almost always 
  1243.     open a file in shared mode even with network mode turned off!  Network
  1244.     mode tells GMon to lock records in those files when it makes changes.
  1245.  
  1246.     GMon never keeps file open for more than a split second anyway, so
  1247.     clashes rarely, if ever, take place.
  1248.                                                                   Page 22
  1249.  
  1250. 2 - Debug Mode?
  1251.  
  1252.     This will tell GMon to show a little extra info on the local SysOp
  1253.     screen.  If there is a question as to whether GMon is reading the
  1254.     right files, or getting the users name or BPS rate correct, you
  1255.     can turn this on to check things out.
  1256.  
  1257. 3 - Use .ASC & .ANS for text files?
  1258.  
  1259.     GMon can treat text/color text files in 4 different manners!  If your
  1260.     BBS program normally uses .ASC to indicate a plain text file, and .ANS
  1261.     to indicate an ANSI text file, then turn this switch on to make GMon
  1262.     act in a similar manner to your BBS program.
  1263.  
  1264.     This is also how TheDraw names its ASCII, and ANSI files.
  1265.  
  1266.     Lets say a user wanted to read bulletin 1.. In this mode, a plain text
  1267.     bulletin 1 would be called:  BLT1.ASC   A color bulletin 1 would be
  1268.     called BLT1.ANS
  1269.    
  1270.     See the text file section for more info.
  1271.  
  1272. 4 - Max # of Bulletins
  1273.  
  1274.     This is the maximum number of bulletins GMon will look for, or allow.
  1275.     You can actually have 'fewer' than this number of bulletins, but GMon
  1276.     won't recognize bulletins if they are numbered higher than this amount.
  1277.  
  1278. 5 - Use PCBoard style names for text files.
  1279.  
  1280.     This switch is similar in function to the ASC/ANS switch but enables
  1281.     the PCBoard method of naming text/color files.  The letter 'G' is
  1282.     always appended to a filename if it is a color file. So..
  1283.  
  1284.     Lets say a user wanted to read bulletin 1.. In this mode, a plain text
  1285.     bulletin 1 would be called:  BLT1   A color bulletin 1 would be
  1286.     called BLT1G
  1287.  
  1288. 6 - Log Files By Node?
  1289.  
  1290.     Use this to have GMON.LOG files separatly created for each node. They
  1291.     will have the filename GMONx.LOG (where 'x' is the node number). If you
  1292.     have more than 1 node, and you choose _not_ to have separate log files,
  1293.     the node number will be prepended to each entry.
  1294.  
  1295. @ - BBS Interface filename has node #?
  1296.     This will make GMon look for a BBS info file with a node number in it
  1297.     when it normally doesn't have a node number. See the 'BBSs GMon runs
  1298.     with' section.
  1299.  
  1300. # - Smart Text Character
  1301.     This tells GMon which character denotes smart text. Default is '%'.
  1302.  
  1303. 7 - Edit GMon Command Letters And Security Levels.
  1304.  
  1305.     When you enter this command you will be shown a screen with all the
  1306.     available commands, what letter executes that command, and what
  1307.     security level is needed to execute that command.
  1308.  
  1309.     If you wish to change a command, enter the number of the command,
  1310.     you will be asked which letter should invoke that command. If you
  1311.     type [ENTER] then the letter won't be changed.  You will then be
  1312.     asked for the security level needed to use this command.
  1313.                                                                   Page 23
  1314.  
  1315.     Three commands are considered SysOp commands, D)elete log, E)ditor,
  1316.     and L)og viewer.  So set these to the security level you deem 
  1317.     appropriate.
  1318.  
  1319. 8 - Edit GMon Time Limits
  1320.  
  1321.     Here you will be shown a screen with security levels, and their
  1322.     associated time limits.  You can set a session time limit, a
  1323.     daily time limit, and you can set a certain when the user can use
  1324.     GMon. If they call out side of that time period, they aren't
  1325.     allowed in! You can also associate a 'Name' with a security level.
  1326.     This is for BBS programs which use security names instead of numbers.
  1327.     GMon thinks in numbers, so it will convert Names to Numbers, and
  1328.     vice versa. (Names of up to 20 chars are allowed. Case is important)
  1329.  
  1330.     There are 20 time limits allowed. If your system has more than 20
  1331.     valid time limits, not to worry! read on.
  1332.  
  1333.     You should enter time limits in numerical order according to security
  1334.     level.  On my system I have security levels ranging from 1 to 20,
  1335.     but I only use a few of those 20 security levels.  My time limit
  1336.     screen looks like so:
  1337.  
  1338.      #. SecLvl Session  Daily Start Finish  Name
  1339.      1.      1      30     45 06:00 18:00   SCREWOFF
  1340.      2.      5      30     60 00:00 23:59   NORMAL
  1341.      3.      6      30     75 00:00 23:59   GUESTSYSOP
  1342.      4.      7      45     90 00:00 23:59   COOLDUDE
  1343.      5.      8      45     90 00:00 23:59   REALLYCOOL
  1344.      6.      9      45     90 00:00 23:59   DONATOR1
  1345.      7.     10      45     90 00:00 23:59   DONATOR2
  1346.      8.     15      45     90 00:00 23:59   ASSTSYSOP
  1347.      9.     20      60    120 00:00 23:59   SYSOP
  1348.     10.  32767      30     60 00:00 23:59
  1349.     11.  32767      30     60 00:00 23:59
  1350.      .
  1351.      .  (all these in here are the same)
  1352.      .
  1353.     20.  32767      30     60 00:00 23:59
  1354.  
  1355.     GMon will read thru this list BACKWARDS from 20 until it finds a
  1356.     security level 'less than or equal' to the current users security
  1357.     level. If you're using Security 'Names' there must be an exact match.
  1358.  
  1359.     So if it was a level 20 user, it would search 20 thru 10 without
  1360.     finding a match. Number 9 is a 'equal' to the user, so the time
  1361.     limits shown would be used: 60 minutes per session, 120 per day.
  1362.     And they are allowed on basically all day.
  1363.  
  1364.     What happens if the user is a level 12?  It isn't listed!  Well
  1365.     GMon would search thru the list 20 thru 8 without finding a
  1366.     match, but it would see that entry 7 fits the 'less than or equal to'
  1367.     rule, and use the level 10 limits as the default.
  1368.  
  1369.  
  1370. 9 - Edit Programs That GMon Can Execute
  1371.  
  1372.     Here is where you tell GMon which programs it can execute, and what
  1373.     'flavor' to make 'em.
  1374.  
  1375.     You will be asked which program to edit, 'A' to add a pgm, 'D' to
  1376.     delete a pgm, 'L' to list all current programs, 'R' to rebuild the
  1377.     program file (deletes empty records, you rarely need to use this!).
  1378.                                                                   Page 24
  1379.  
  1380.     If you choose A)dd, then GMon will look for an empty record, or add
  1381.     on a new record, and make a dummy filename for the program.  You will
  1382.     then be asked to edit that program.  You will need to change the
  1383.     dummy filename to the one you actually want. 
  1384.     When you just enter the game number, you will be shown a screen with
  1385.     same options as when you add a game. Here are those options:
  1386.  
  1387.     A - Program Name
  1388.  
  1389.         This is the name of the program the user will see.  It is also the
  1390.         name of the COM, EXE, or BAT file that GMon will execute.  If that
  1391.         name is 'TW2' then GMon will expect to find either 'TW2.COM',
  1392.         'TW2.EXE', or 'TW2.BAT' to run the game! It will look for a batch
  1393.         file only if you turn the 'use batch file command' on.
  1394.         The 'COM' or 'EXE' file is searched for in the 'Program Directory'
  1395.         whereas the 'BAT' file is searched for in the current GMon directory.
  1396.         ** That is important to remember! **
  1397.  
  1398.     B - Program Directory
  1399.  
  1400.         This is where the program is located. This should be full drive
  1401.         and path, with no trailing backslash.  This can be on a different
  1402.         drive than GMon! No problems there.  GMon will changes drives _and_
  1403.         directories when it executes a COM or EXE file.  
  1404.  
  1405.         This is also the directory where GMon will write the info files that
  1406.         that program needs.
  1407.  
  1408.     C - Program Command Line
  1409.  
  1410.         You can specify the _exact_ command line you need to use to run
  1411.         this program, up to 128 chars long.  GMon will not use this command
  1412.         line unless you use the 'Use Cmd Line' option. (below)
  1413.  
  1414.         If you tell GMon to 'Use Cmd Line' but you don't have a command
  1415.         line specified here, then GMon will use the command line used to
  1416.         invoke GMon as the command line for the program.
  1417.  
  1418.         The following Macros are valid in Command Lines _and_ Environments.
  1419.         The 2 char combinations are converted to information based on the
  1420.         current user & BBS info. (Default macro char is '%' you can change it)
  1421.  
  1422.         %a  =  Full Alias Name            %L  =  Local Mode 1=yes, 0=no
  1423.         %b  =  Modem to Modem BPS Rate    %n  =  Full User Name 
  1424.         %B  =  PC to Modem BPS Rate (DTE) %N  =  Node Number
  1425.         %c  =  Com Port Number            %o  =  SysOps First Name
  1426.         %C  =  Com Port as 'COM#'         %O  =  SysOps Last Name
  1427.         %d  =  Data Bits  (7 or 8)        %p  =  Parity (N or E)
  1428.         %f  =  Users First Name           %P  =  Pause Screen
  1429.         %g  =  GMon Directory             %s  =  Security Level
  1430.         %G  =  ANSI Graphics 1=yes, 0=no  %S  =  System (BBS) Name
  1431.         %h  =  (GMON/2) Comm Port Handle  %t  =  Seconds Left in Session 
  1432.         %l  =  User Last Name             %T  =  Minutes Left in Session
  1433.         For instance, if you were running a door that only need the node
  1434.         number on the command line, you would set the command line to:
  1435.  
  1436.         %N
  1437.  
  1438.         If it was on node 2, then the '%N' would be converted to '2' before
  1439.         being sent to the program as the command line. As you can see, you
  1440.         can put a whole lot more on the command line than just the node
  1441.         number!  This will help you run doors which expect complete user info
  1442.         on the command line.
  1443.         These macros can be put right along side regular text also.                                                                   Page 25
  1444.  
  1445.     D - Program Environment
  1446.  
  1447.         You can specify an separate environment for each program!  Some
  1448.         doors need an environment variable to control how it works. For
  1449.         instance, DoorPatch doors used to require that you put the statement
  1450.         "SET DOORPCH=PCB" in your environment.  Well instead of doing that
  1451.         and using up some of your valuable environment space, you can tell
  1452.         GMon the environment is 'DOORPCH=PCB'  and do it that way.  Much
  1453.         simpler.
  1454.  
  1455.         Most programs will NOT need their own environment.  This is just
  1456.         for those rare instances when a door will need some extra info.
  1457.         If you don't specify an environment, then the program recieves
  1458.         a copy of the 'parent' environment (the one GMon got..)
  1459.  
  1460.         The Macros shown above will work equally well in the environment!
  1461.  
  1462.     E - Program Security
  1463.  
  1464.         This is the security level required to run this program.  If the
  1465.         user doesn't have a security level high enough then the program
  1466.         will not even be loaded into memory, and therefore they can
  1467.         use it. GMon, in fact, wouldn't even know of the programs existance,
  1468.         so the user could not even hack away and get into that program.
  1469.  
  1470.     F - Program Type
  1471.  
  1472.         This is a similar list as to what you read in the 'BBS PROGRAMS
  1473.         GMON WILL RUN WITH' section. This controls which interface file(s)
  1474.         GMon will create for that door. All interface files are created in
  1475.         the program directory you specified (with no exceptions).
  1476.  
  1477.       RBBS-PC 15.1C & Greater  (DORINFOx.DEF & MESSAGES)
  1478.  
  1479.         In this mode GMon will created an RBBS-PC standard DORINFOx.DEF
  1480.         file, and a 'pseudo' MESSAGES file with just a checkpoint, and
  1481.         node records.  The MESSAGES file name is the one you specified in
  1482.         the main GMon editor screen.  If no filename is given for the 
  1483.         main message file, then this file isn't written.
  1484.  
  1485.         NOTE: I consider the RBBS-PC DORINFOx.DEF file the standard for
  1486.         DORINFO files!  The DORINFOx.DEF file created in the QBBS mode
  1487.         is slightly different. 
  1488.  
  1489.         The differences are:
  1490.  
  1491.         In RBBS mode the 'User First & Last Name' when a SysOp is on-line
  1492.         is 'SYSOP' & '' (null) respectively.  In QBBS mode, the first
  1493.         and last name are the same as the SysOps first and last name when
  1494.         the SysOp is on.
  1495.  
  1496.         In RBBS mode a local user is specified by 'COM0' on the com port
  1497.         line. RBBS sets the BPS rate to 9600 for a local user. In QBBS
  1498.         mode a local user has a com port of 'COM0' and a BPS rate of 0.
  1499.  
  1500.         In RBBS mode a '2' is required in the graphics field to turn indicate
  1501.         ANSI mode. In QBBS a 1 means ANSI mode.
  1502.  
  1503.         I also don't think QBBS mode has a FOSSIL driver indication line.
  1504.  
  1505.         Those are the main ones.  If you encounter a door which doesn't
  1506.         appear to work correctly with an RBBS DORINFO file, then try
  1507.         the QBBS style DORINFO file.
  1508.                                                                   Page 26
  1509.  
  1510.         I hate it when standards get hashed around like that! <g>
  1511.  
  1512.       PCBoard 12.1 (PCBOARD.SYS,  PCBOARD.DAT, USERS)
  1513.       PCBoard 14.x (PCBOARD.SYS,  PCBOARD.DAT, USERS)
  1514.  
  1515.         In PCBoard 12.x mode, a PCBOARD.SYS (12.1 format), PCBOARD.DAT, 
  1516.         and USERS file is created in the program directory. Choose option
  1517.         'Q' to write a PCBOARDx.SYS, PCBOARDx.DAT, and USERS file.
  1518.  
  1519.         In PCBoard 14.x mode, a PCBOARD.SYS (14.x format), PCBOARD.DAT, 
  1520.         and USERS file is created in the program directory. Choose option
  1521.         'Q' to write a PCBOARDx.SYS, PCBOARDx.DAT, and USERS file.
  1522.  
  1523.       Wildcat! 2.x (CALLINFO.BBS)
  1524.  
  1525.         In this mode a CALLINFO.BBS file is created in the program directory.
  1526.         Choose option 'Q' to make a CALLINFx.BBS file.
  1527.  
  1528.       GAP & Wildcat! 3.x (DOOR.SYS) 
  1529.  
  1530.         A DOOR.SYS file is created in the program directory.  This DOOR.SYS
  1531.         file follows the 52 line format.  If this causes a problem, I'll
  1532.         stick in a new mode which will created te older format DOOR.SYS file.
  1533.  
  1534.       RA 1.x (DORINFO1.DEF & EXITINFO.BBS)
  1535.  
  1536.         In this mode a DORINFO1.DEF _and_ an EXITINFO.BBS file are created
  1537.         in the program directory.
  1538.  
  1539.       Spitfire (SFDOORS.DAT)
  1540.  
  1541.         In this mode an SFDOORS.DAT is created in the program directory.
  1542.         if you choose option 'Q', the filename will be 'SFDOORSx.DAT'
  1543.  
  1544.       WWIV (CHAIN.TXT)
  1545.  
  1546.         In this mode a CHAIN.TXT file is created in the program directory.
  1547.         If you choose option 'Q', the filename will be 'CHAINx.TXT'
  1548.  
  1549.       Fast Fingers Door (OPENDOOR.SYS)
  1550.  
  1551.         An OPENDOOR.SYS file will be created in the program directory,
  1552.         enabling you to run Fast Fingers doors without a conversion program
  1553.         (other than GMon)
  1554.  
  1555.       MG Generic (USERINFO.TXT)
  1556.  
  1557.         A USERINFO.TXT file will be created in the program directory. This
  1558.         will allow doors like the ol' Planet Busters to work.
  1559.  
  1560.       QBBS (DORINFOx.DEF)
  1561.       Special Case (DORINFO1.DEF) & (DORINFOx.DEF - 3=ANSI)
  1562.  
  1563.         This mode will create a QBBS 'style' DORINFOx.DEF file in the 
  1564.         program directory.  See RBBS mode for details on the differences
  1565.         in DORINFO files.
  1566.  
  1567.         The 'Special Case' mode is used for doors which accept only
  1568.         'DORINFO1.DEF'  (ie. it doesn't expect a node number, just a '1')
  1569.  
  1570.         The 2nd special case puts a 3 in the graphics mode portion of the 
  1571.         file to indicate ANSI mode.
  1572.                                                                   Page 27
  1573.  
  1574.       SRDoors (DOORFILE.SR)
  1575.  
  1576.         Creates a DOORFILE.SR file in the program directory. Used for games
  1577.         like SRE, AC6, or PC.  Eliminates the need to run SRDOOR.EXE before
  1578.         the game executes.
  1579.  
  1580.     G - Program Category
  1581.  
  1582.         If you told GMon to list games by category, then you need to specify
  1583.         the category number here.
  1584.  
  1585.     H - Program Description
  1586.  
  1587.         Here you have 38 characters to describe the program.
  1588.  
  1589.     I - Use Command Line?
  1590.  
  1591.         If you turn this option on, then GMon will use the command line
  1592.         specified above as the command line for the program. If you did NOT
  1593.         specify a command line above, then the command line supplied to GMon
  1594.         itself is used instead.  If this switch is off, then no command
  1595.         line is supplied to the program!
  1596.  
  1597.     J - Use Environment?
  1598.  
  1599.         If you turn this option on, then GMon will use the above environment
  1600.         as the programs environment. If this switch is off, or there is
  1601.         no environment listed above, the program is given a duplicate of
  1602.         GMons environment.
  1603.  
  1604.     K - Use Batch File?
  1605.  
  1606.         GMon 4.0 eliminates the need for batch files. Well, in most cases,
  1607.         not all.  If you turn this option on, GMon will search the current
  1608.         GMon directory for the program batch file, and execute it instead
  1609.         of changing drives & directories and running the COM and EXE files
  1610.         directly.
  1611.  
  1612.         This is good for times when you need to do some extra things in
  1613.         the batch file like copying files over, etc.
  1614.  
  1615.     L - ANSI Mode
  1616.  
  1617.         A lot of programs nowadays require that a user have ANSI capabilities.
  1618.         Not exactly ANSI color, but also ANSI cursor movements.  You can
  1619.         tell GMon 3 things about this program.
  1620.  
  1621.         1.  Let the user use this door, even if they don't have ANSI mode
  1622.             turned on.  This is the default.
  1623.  
  1624.         2.  Don't let the user use this door, unless they have ANSI mode
  1625.             turned on in GMon.
  1626.  
  1627.         3.  Let the user use the door, even though they have ANSI turned 
  1628.             off, and the door probably requires ANSI mode. Just give them
  1629.             a warning before the door is executed.
  1630.  
  1631.     M - Program Times Used
  1632.  
  1633.         This is the number of times a program has been used.
  1634.                                                                   Page 28
  1635.  
  1636.     N - Program Can Only Have One User?
  1637.  
  1638.         Some doors are not made to work in a network environment, and
  1639.         recommend that you keep more than one user from using the game at
  1640.         one time. If you turn this switch on, only one user will be able 
  1641.         to use the game at one time.
  1642.  
  1643.     O - Null Cmd Line In Local Mode?
  1644.  
  1645.         I put this in for Doorware which appear to run locally if there
  1646.         is _no_ command line, and remotely if there is a command line.
  1647.         Even if you specify 'use a cmd line' the cmd line in local mode
  1648.         is null ("") with this switch turned on.
  1649.  
  1650.     P - Is program currently being in use?
  1651.  
  1652.         If someone on another node is using the program, this is 'ON'..
  1653.  
  1654.     Q - Put a node # in the filename?
  1655.  
  1656.         If you wish to change the default filename which contains no
  1657.         no node number in the filename to one which has the node number
  1658.         then turn this switch on. This affects PCBOARD.SYS, CALLINFO.BBS,
  1659.         DOOR.SYS, EXITINFO.BBS, SFDOORS.DAT, CHAIN.TXT.
  1660.  
  1661.     R - Doorware mode?
  1662.  
  1663.         If this is turned on, GMon will write a TIMEOFFx.DOR when opening
  1664.         the door, and reads in POINTSx.DOR after the program exits. This
  1665.         allows GMon to get the points earned/lost in the door.
  1666.  
  1667.     S - Disallow alias in door?
  1668.  
  1669.         Aliases are not appropriate for some doors. If your turn this
  1670.         switch on, then their real name is used for the door instead
  1671.         of their alias (if you have chosen to allow aliases)
  1672.         
  1673.     You will also be shown that last date & time the program was last used.
  1674.  
  1675.  
  1676. 0 - Edit Users
  1677.  
  1678.     You will be asked which user to edit, or you can enter a search string.
  1679.  
  1680.     Once you have the user you wish to edit, you will see the user edit 
  1681.     screen.
  1682.  
  1683.     A - User Name
  1684.  
  1685.         This is the name of the user according to the BBS info file, and
  1686.         is the name GMon will look for when searching for the user.
  1687.  
  1688.     B - Alias Name
  1689.  
  1690.         If you have the Alias option turned on, this will contain the alias
  1691.         the user picked.  No two users can have the same alias.. This is
  1692.         for everyones protection.
  1693.  
  1694.     C - Seconds Used Today
  1695.  
  1696.         GMon keeps track of seconds used to keep a clear idea as to how
  1697.         much time a user has used.  It is very easy for a user to enter and
  1698.         exit GMon in just a few seconds.
  1699.                                                                   Page 29
  1700.  
  1701.     D - Last Date & Time On
  1702.  
  1703.         This is the last date and time a user last logged on, and is
  1704.         currently not editable.
  1705.  
  1706.      E - Expert mode
  1707.  
  1708.         This determines whether or not the menus are displayed.
  1709.  
  1710.      F - ANSI mode
  1711.  
  1712.         This tells whether or not the user has ANSI mode turned on or off.
  1713.          
  1714. ! - Edit Categories
  1715.  
  1716.     You can have up to 20 categories.  Use them in order, ie. don't have
  1717.     any gaps.  It is up to you to keep track of what the name and number
  1718.     of each category is.  You can then place games in these categories
  1719.     according to number using the program editor.
  1720.  
  1721. GMON TEXT FILES
  1722.  
  1723. GMon offers four (4) different ways to differentiate between plain text
  1724. and ANSI color text files.
  1725.  
  1726. Two of these methods are defaults. Two defaults? Yup.. Two defaults.
  1727.  
  1728. The standard method of creating plain text and color text files is very
  1729. similar to the RBBS method of naming the files different for text & color.
  1730.  
  1731. The text version of the file is just the plain filename. For all of the
  1732. following examples I'll use the main GMon menu file called GMENU. The
  1733. plain text version is called GMENU.  The color version has a C appended
  1734. to the filename, or GMENUC.   If the user is in color mode, and GMon
  1735. couldn't find GMENUC, it will display GMENU to the user.
  1736.  
  1737. That is one default method GMon uses to differentiate text & color menus.
  1738.  
  1739. The other default method is to NOT create a GMENUC file, but place color
  1740. macro commands in the text file (GMENU) itself. GMon, as above, will look
  1741. for GMENUC, not find it, and display GMENU, into which you put the color
  1742. macros.  
  1743.  
  1744. But what if the user isn't using ANSI and I put color macros into GMENU
  1745. which is supposed to be plain text?  Good question.  GMon will not put
  1746. in the color macros into the file if the user isn't in ANSI mode! It will
  1747. strip the color macros out!  So _one_ text file can act like a plain text
  1748. and a ANSI color file!  This method will only work for relatively simple
  1749. text files, but it is an option. That is the second 'default'.
  1750.  
  1751. To see what the color macros look like, check out the next section 'MACROS'
  1752.  
  1753. There are two optional methods for differentiating text & color text files,
  1754. and they can be chosen in the GMon editor.  The first method is called
  1755. 'Use ASC & ANS for files'  In this method the GMENU file will be named
  1756. like so:
  1757.  
  1758. GMENU.ASC  (plain text.. or ASCII)
  1759. GMENU.ANS  (ANSI color)
  1760.  
  1761. This method is similar to ones used by some BBS programs, and is also the
  1762. default file naming procedure used by TheDraw.
  1763.                                                                   Page 30
  1764.  
  1765. The other option method is one similar to the way PCBoard names its text
  1766. files. Instead of appending a 'C' onto the end of the filename, a 'G' is
  1767. appended. So:
  1768.  
  1769. GMENU  (plain text)
  1770. GMENUG (ANSI color)
  1771.  
  1772. These options are included in GMon to make it easier for you to differentiate
  1773. between text & color files. ie. make it similar to the method you are already
  1774. using!
  1775.  
  1776. Things to remember.  If the color version of the file can't be found, then
  1777. the plain text version is shown to the user.  If that one can't be found
  1778. then no file is displayed to the user.
  1779.  
  1780. Macros can be put into any text file, color or plain text.  Color macros
  1781. are never inserted into a file if the user is in plain text mode.
  1782.  
  1783. GMON MACRO COMMANDS
  1784.  
  1785. The default character which denotes a macro is the percent '%' sign. You can
  1786. change this default in the main editor to any char that you wish.. make
  1787. sure it is a character which isn't used often. For the examples I will
  1788. use the default macro character '%'.
  1789.  
  1790. These macros are basically the same ones you saw in the program editor!
  1791. (Its actually the same routine!)  The following macros are converted as
  1792. shown:
  1793.  
  1794.      %a  =  Full Alias Name            %L  =  Local Mode 1=yes, 0=no
  1795.      %b  =  Modem to Modem BPS Rate    %n  =  Full User Name 
  1796.      %B  =  PC to Modem BPS Rate (DTE) %N  =  Node Number
  1797.      %c  =  Com Port Number            %o  =  SysOps First Name
  1798.      %C  =  Com Port as 'COM#'         %O  =  SysOps Last Name
  1799.      %d  =  Data Bits  (7 or 8)        %p  =  Parity (N or E)
  1800.      %f  =  Users First Name           %P  =  Pause Screen
  1801.      %g  =  GMon Directory             %s  =  Security Level
  1802.      %G  =  ANSI Graphics 1=yes, 0=no  %S  =  System (BBS) Name
  1803.      %h  =  (GMON/2) Comm Port Handle  %t  =  Seconds Left in Session 
  1804.      %l  =  User Last Name             %T  =  Minutes Left in Session
  1805.  
  1806.    The color macros are for foreground colors only:
  1807.  
  1808.      %1  =  Bright Red                 %5  =  Bright Magenta
  1809.      %2  =  Bright Green               %6  =  Bright Cyan
  1810.      %3  =  Bright Yellow              %7  =  Bright White
  1811.      %4  =  Bright Blue
  1812.  
  1813. You can use these macros in the text files you create for GMon. For instance
  1814. lets say 'Joe BBS' has logged into GMon, and in one of your text files you
  1815. have the line:
  1816.  
  1817. %n, This is the new version of GMon. I hope you like it.
  1818.  
  1819. This line is changed to:
  1820.  
  1821. Joe BBS, This is the new version of GMon, I hope you like it.
  1822.  
  1823. and then it is displayed to the user.
  1824.  
  1825. That's about it for macros, they are pretty straight forward, and I leave
  1826. it up to your imagination as to how they are used.
  1827.  
  1828. Use the 'P'ause screen macro at the beginning of a line.
  1829.                                                                   Page 31
  1830.  
  1831. UPGRADING TO GMON 5.0
  1832.  
  1833. Upgrading from the older versions of GMon (prior to 4.0) may not be a really
  1834. simple process.  All of the file formats have changed, and the basic
  1835. functionality of GMon has changed.  I suggest making a directory for GMon 
  1836. 5.0 and unZIPping the GMon ZIP file into it.  Then run INSTALL.BAT and use
  1837. the editor.  Use GMon edit to add in the games, and set the switches.
  1838.  
  1839. The way programs are run is the biggest change.  GMon no longer exists
  1840. out to a batch file to run an external door. It will execute the file
  1841. from within GMon, no matter if that command is a COM, EXE, or BAT file!
  1842.  
  1843. For instance, with GMon 3.x I had my Stellar Quest game set up as an
  1844. external generic RBBS door. (Type 1 in GMon 3.x)  I had a batch file
  1845. called SQUEST.BAT which GMon exited and executed.  This batch file looked
  1846. like so:
  1847.  
  1848. ECHO OFF
  1849. ECHO ┌─────────────────────┐
  1850. ECHO │    STELLAR QUEST    │
  1851. ECHO └─────────────────────┘
  1852. D:
  1853. CD \DOORS\SQUEST
  1854. SQUEST %NODE% \DOORS\SQUEST RBBS
  1855. C:
  1856. CD \RBBS
  1857. GAMES %NODE%
  1858.  
  1859. Notice the drive change, and the command line.
  1860. Under GMon 4.0 I was able to eliminate the batch file!  Here is the info
  1861. for the SQuest program under 4.0:
  1862.  
  1863. Program Name: SQuest
  1864. Pgm Directory: D:\DOORS\SQUEST
  1865. Pgm Cmd Line: %N \DOORS\SQUEST RBBS
  1866. Pgm Type: RBBS-PC 15.1C & up
  1867. Use Cmd Line: YES
  1868. Use Environment: NO
  1869. Use Batch File: NO
  1870. ANSI mode: ANSI must be on to run this program                                                                   Page 32
  1871.  
  1872. When GMon 4.0 runs a program it will change drives _and_ directories before
  1873. it executes an EXE or COM file.  It will then run that program with the
  1874. command line I chose (notice the %N macro to tell the program the node #)
  1875. When the program exits, GMon changes drives and directories back to the
  1876. GMon directory, and then shows the command prompt to the user.
  1877.  
  1878. In other words, GMon does all of the batch file commands shown without
  1879. ever exiting!
  1880.  
  1881. So...  You will want to set up GMon 4.0 completely from scratch! and then
  1882. test it out.  Then you can change your current batch file that runs GMon 3.x
  1883. over to run GMon 4.0 and see how it works.
  1884.  
  1885.  
  1886. GMON FILES
  1887.  
  1888. GMon uses very few files.  
  1889.  
  1890. CHAMPS.GMN       Monthly Doorware points champions
  1891. GMENU & GMENUC   are the main menu files. 
  1892. GMEPLG & GMEPLGC File shown to user when they use the G)oodbye command
  1893. GMHELP & GMHELPC is the help file shown to the user using 'H' or '?'
  1894. GMNEWS & GMNEWSC is the file shown to the users when they log into GMon.
  1895. PROGS.GMN        is the file which contains program info.
  1896. USER.GMN         is the GMon user file. 
  1897.  
  1898. Optional files include the BLT (bulletin) files, and CATx & CATDx (category)
  1899. menus of games.
  1900.  
  1901.  
  1902. GMON BULLETINS
  1903.  
  1904. GMon allows you to put all door 'score' bulletins in a directory so the
  1905. users can view them from GMon!  This helps simplify your setup in that
  1906. you can put all your games bulletins in the GMon area where most of your
  1907. games are run from!
  1908.  
  1909. You can specify the directory, and what the bulletin menu, and the bulletin
  1910. prefix filenames are.
  1911.  
  1912. The bulletin menu is called 'BLT' by default. It lists the current bulletins
  1913. you have available and their desciptions.
  1914.  
  1915. GMon bulletins are numbered. The number of the bulletin comes directly
  1916. after the 'prefix filename'.  The default prefix filename is BLT, so
  1917. bulletin 1 would be 'BLT1'  bulletin 22 would be BLT22.  
  1918.  
  1919. The text and color version work just like you were shown above in the 'text
  1920. file' section. A color version of bulletin 22 would be BLT22C. If you chose
  1921. the 'ASC & ANS' option, the text version would be BLT22.ASC, and the color
  1922. version would be BLT22.ANS. Under PCBoard text mode, the files for bulletin
  1923. 22 would be BLT22, and BLT22G.
  1924.  
  1925. You can nest the bulletin files.  When the user chooses the bulletin command
  1926. they are shown the bulletin menu, but it is not shown to them again unless
  1927. they ask for the menu with the L)ist command.  Therefore, your bulletin menu
  1928. could describe, lets say, 10 other bulletins which match your categories.
  1929. If you said in your bulletin menu that bulletin 1 was a list of bulletins
  1930. from your adventure game bulletins, then your bulletin 1 would describe 
  1931. which numbers to type to see those bulletins.  All bulletins must have a 
  1932. unique number.
  1933.  
  1934. This method is sort of a false way of nesting bulletins.  Pressing enter
  1935.  
  1936.                                                                   Page 33
  1937.  
  1938. brings the user back to the GMon menu, not to the previous bulletin menu.
  1939. If they want a previous bulletin menu, they must specify the number directly
  1940. or use the L)ist command to get the main bulletin menu shown.
  1941.  
  1942.  
  1943. PROGRAM MENUS
  1944.  
  1945. GMon supports a default method of displaying what programs are available,
  1946. and optionally, you can create your own menus to show what programs are
  1947. available.  The default methods are pretty generic looking, and you can
  1948. spruce up the display by creating CATx & CATDx program menus.  If GMon
  1949. finds these files, they will be displayed instead of the default method.
  1950.  
  1951. For instance, the default display for 'programs without descriptions' looks 
  1952. like so:
  1953.  
  1954. Programs available on The Abandoned Land
  1955.  
  1956. 1. TW2              2. SQuest          3. Carib            4. King
  1957. etc.etc.
  1958.  
  1959. You can make a menu which displays the games like you want it to. In this
  1960. case you want a CATx file.  The CATDx file takes the place of the 'programs
  1961. with descriptions' display.
  1962.  
  1963. These files are named according to category, CATx & CATDx  where 'x' is the 
  1964. category number.  What if you aren't using categories?  Then use CAT0,
  1965. and CATD0. This menu is also displayed when you use categories but only when
  1966. the user chooses A)ll categories.  ie. Category '0' is all categories.
  1967.  
  1968. If you are using categories, then the category files are named according
  1969. to the categories you made.
  1970.  
  1971. Just remember:
  1972. CATx   -- Where 'x' is the category (0=all) and this file has no descriptions.
  1973. CATDx  -- Where 'x' is the category (0=all) this file has descriptions.
  1974.  
  1975. The text & color file naming conventions work here also.  CAT0 is the
  1976. all category text file, CAT0C is the all category ANSI file. Etc.
  1977.  
  1978.  
  1979. BEFORE & AFTER TEXT FILES
  1980.  
  1981. GMon allows you to create text files to be shown to the user before and/or
  1982. after the program is run. The file shown to the user is called BEFORE,
  1983. the file afterwards is called AFTER. These files are found in the same
  1984. directory as the game.  These files are shown only if they exist. These
  1985. files also conform to the GMon text/color text file conventions. For
  1986. instance, the default color versions of these files would be BEFOREC, and
  1987. AFTERC
  1988.  
  1989. THANKS
  1990.  
  1991. I would like to thank all of the guys who have helped me improve GMon
  1992. throughout the last 4 1/2 years.
  1993.  
  1994. Roger Reesor   - Who helped me figure out exactly how those original
  1995.                  Doorware programs did their thing.. (and boy did they
  1996.                  work in wierd ways!)
  1997. Mike Hammer    - Who made some mods to get GMon running on pre-15.1C
  1998.                  RBBS's  (The versions that didn't make a DORINFO file)
  1999. Darrin Calcutt - This wacky canuck is a good friend, and supplied some
  2000.                  mods to improve the conversion section of GMon. I haven't
  2001.                  heard from him in awhile, I hope he is doing okay.
  2002.                                                                   Page 34
  2003.  
  2004. Vanessa Kimble - Who provided the inspiration to get me off my butt and
  2005.                  get GMon 4.0 off the spiral notepad, and into code.
  2006. Mitchell Anstine - Who ran a hell of a lot of doors under GMon in the
  2007.                  early days, and really put it to the test.
  2008. The whole RBBS-PC Beta Gang.. Don Smith, Mike Davis, Rod Bowman, & all
  2009.                               the rest!
  2010.  
  2011. The Guys who registered earlier versions of GMon.
  2012. I can't possibly remember all of you.  But Thanks!
  2013.  
  2014.  
  2015. HAVING PROBLEMS WITH GMON??
  2016.  
  2017. First of all, don't ever assume that I know about every bug.
  2018.  
  2019. _Always_ assume I DON'T know about ANY bugs.
  2020.  
  2021. Its better to inform me of a bug I may know about, than not to report it
  2022. at all!
  2023. When you discover a bug, please try and get a capture file which shows the
  2024. bug in action. As someone anonymous once said:
  2025.  
  2026. "Gather enough information, and the solution will be obvious"
  2027.  
  2028. I can't stress the importance of that enough.  I also will need to know the
  2029. release number, the BBS program you're running, and a complete description
  2030. of the problem.
  2031.  
  2032. See the next section on how to reach me to report bugs, or incompatabilities.
  2033.  
  2034.  
  2035. PROGRAM SUPPORT / HOW TO REACH ME
  2036.  
  2037. I support this program to the best of my ability. There are several different
  2038. ways of contacting me.
  2039.  
  2040. Mail:
  2041.  
  2042. John Morris  
  2043. 1718 Woodhaven Ln.
  2044. Sparks, NV 89434
  2045.  
  2046. Netmail:
  2047.  
  2048. RBBS-Net 8:919/1 or 2 -or- Fidonet  1:213/760 or 761
  2049.  
  2050. BBS:
  2051. The Abandoned Land 
  2052. (702) 359-1138
  2053. (702) 359-0629
  2054.  
  2055. Voice:
  2056. (702) 359-1303
  2057.  
  2058. If I'm not at home, and you have a bug report, you can leave a message about
  2059. the bug on my answering machine.
  2060.  
  2061. As you may hear on my answering machines message, I don't get a chance to
  2062. return many phone calls.. maybe 1 in 100.. thats it.  I wish I could
  2063. return more of them, but this program is just a hobby at the moment, and
  2064. I have lots of other things I need to do. Its mainly a lack of time. I always
  2065. return mail left to me on my BBS. So if you must have a reply, e-mail me
  2066. on The Abandoned Land.
  2067.                                                                   Page 35
  2068.  
  2069. APPENDIX A
  2070.  
  2071. HOW THE POINTS SYSTEM IN GMON WORKS
  2072.  
  2073. You can tell GMon that a door will return points to GMon by turning on the
  2074. Doorware switch in the program editor.   When this mode is on, GMon will
  2075. write a TIMEOFFx.DOR in the program directory (along with the usual BBS
  2076. interface files)  When the door program exits, GMon will read a POINTSx.DOR
  2077. to determine how many points were won or lost.
  2078.  
  2079. The TIMEOFF file is named like so:
  2080.  
  2081. On single node systems the file is called TIMEOFF0.DOR.. If the BBS is
  2082. multinode, then the 'x' is the node number.  On node 1 it would be
  2083. TIMEOFF1.DOR.. node 3 would be TIMEOFF3.DOR.. etc.
  2084.  
  2085. The TIMEOFF file is a plain text file with 8 lines. The format is as
  2086. follows:
  2087.  
  2088.  
  2089. Time, In Seconds After Midnight, When User Session Limit Ends
  2090. User Number In GMon  (not used by GMon 4.0.. always set to 1)
  2091. Current User Points
  2092. Minutes Left In Session  (or so GMon 4.0 thinks..)
  2093. Nulls                (-1=TRUE 0=FALSE, GMon 4.0 always sets this to 0)
  2094. ANSI Graphics Mode   (0 = text.. -1 = ANSI)
  2095. GMon Subdirectory    (with trailing backslash)
  2096. Sound on or off      (Y or N)
  2097.  
  2098. On the next page I'll show you what a typical TIMEOFFx.DOR looks like:
  2099. A typical TIMEOFFx.DOR looks like:
  2100.  
  2101. 76134
  2102. 1
  2103. 1500
  2104. 30
  2105. 0
  2106. -1
  2107. C:\GMON40\
  2108. N
  2109.  
  2110. Thats about it.. GMon is basically concerned with the POINTS field of
  2111. the file..(line 3)  and for door authors, thats what you should look for.
  2112. It contains the current number of points that the user has.  You can use
  2113. this in gambling games.. or just about anything.  It really adds an
  2114. incentive to use the doors.
  2115.  
  2116. When the door exits it should write a POINTSx.DOR file (in its own directory)
  2117. which will tell GMon how many points the user won or lost.
  2118.  
  2119. The POINTS file is named like so:
  2120.  
  2121. On single node systems the file is called POINTS0.DOR.. If the BBS is
  2122. multinode, then the 'x' is the node number.  On node 1 it would be
  2123. POINTS1.DOR.. node 3 would be POINTS3.DOR.. etc.
  2124.                                                                   Page 67
  2125.  
  2126. The POINTS file is a text file with 2 lines, like so:
  2127.  
  2128. Time, In Seconds After Midnight, When This File Was Created
  2129. Points Won (positive #) or lost (negative #)
  2130.  
  2131. which might look like:
  2132.  
  2133. 12365
  2134. -512
  2135.  
  2136. (user lost 512 points..)
  2137.  
  2138. GMon ignores the first line, and _adds_ the number in the second line to the
  2139. users current point total.  If the users point total is 'below' zero, then
  2140. the users point total is set to 0.
  2141.  
  2142. The users points are saved in a long integer which give possible point
  2143. totals in the 0 to 2,100,000,000  range.. (give or take a few mill)
  2144.  
  2145.  
  2146. DOOR GAME AUTHORS!
  2147.  
  2148. I encourage door authors to use the 'Doorware' mode in their games.  This
  2149. version of GMon should tie things together pretty well, and since GMon 4.0's
  2150. Doorware mode isn't specific to any BBS type, even PCBoard, or RA, or 
  2151. Wildcat! games could use this system.  Just have your program look for a
  2152. TIMEOFFx.DOR file in your programs directory, and if it is there, have
  2153. your program create a POINTSx.DOR for GMon to use in return! 
  2154.  
  2155. This points system has been around 5 1/2 (as of this writing) and really
  2156. encourages use of doors.
  2157.  
  2158. [END OF GMON.DOC]
  2159.