====== The Pit ======

===== v3.6 on Windows =====

Example ''controol.exe'' screen shot of a working Windows configuration for node 1((repeat this setup for additional nodes)):

  ┌─────────[ NODE: 01]────────────╥────────────[ FILE: PIT01.CFG ]───────────┐
  │ Reset THE PIT                  ║                                          │
  │ Fossil Driver                  ║ Fossil Drvr: FOSSIL DRIVER ACTIVE        │
  │ Communication Port Information ║                                          │
  │ Locked Communication Port      ║ Locked Port: NO   Baud Rate: BBS SENDS IT│
  │ Flow Control                   ║ Flow Ctrl. : NONE                        │
  │ Door File Type                 ║ Active Door: GENERIC FORMAT   - DOOR.SYS │
  │ Path of Door File Type         ║ D.Type Path: \sbbs\node1\                │
  │ Video Write                    ║ Video Write: DIRECT VIDEO WRITE          │
  │ Snow Checking                  ║ Snow Check : OFF                         │
  │ Time on per game session       ║ Time       :  900 secs = 00:15:00/Session│
  │ Number of Sessions per Day     ║ Number/Day :    5 Sessions/Day           │
  │ Game Down Time                 ║ Down Time  : Inactive                    │
  │ System Flags                   ║ System Flag: HP[ ] ATurn[ ] EGA[ ] TL[ ] │
  │ Activate Top-10 List creation  ║ Top-10 Act.: List creation is INACTIVE.  │
  │ ANSI Top-10 List               ║ ANSI List  :                             │
  │ Non-color ANSI Top-10 List     ║ Non-Cl List:                             │
  │ Non-Graphic Top-10 List        ║ Non-Gr List:                             │
  │ LAN/Multitasker Type           ║ LAN/Multskr: NONE                        │
  │ MultiNoded Usage               ║ MultiNoded : MULTINODE ACTIVATED         │
  ├────────────────────────────────╨──────────────────────────────────────────┤
  │  <↓↑>Move Bar  <ENTER>Select  <ESC>Quit <PgUp>Up a node <PgDn>Down a node │
  └───────────────────────────────────────────────────────────────────────────┘
  
Example ''[[util:SCFG]]'' configuration for above:

  ╔══════════════════════════════════════════════════════════╗
  ║                          The Pit                         ║
  ╠══════════════════════════════════════════════════════════╣
  ║ │Name                       The Pit                      ║
  ║ │Internal Code              THEPIT                       ║
  ║ │Start-up Directory         ../xtrn/thepit/              ║
  ║ │Command Line               pit /NODE%#                  ║
  ║ │Clean-up Command Line                                   ║
  ║ │Execution Cost             None                         ║
  ║ │Access Requirements        DOS                          ║
  ║ │Execution Requirements     NOT GUEST                    ║
  ║ │Multiple Concurrent Users  Yes                          ║
  ║ │Native Executable          No                           ║
  ║ │I/O Method                 FOSSIL or UART               ║
  ║ │Use Shell or New Context   Yes                          ║
  ║ │Modify User Data           No                           ║
  ║ │Execute on Event           No                           ║
  ║ │Pause After Execution      No                           ║
  ║ │Disable Local Display      No                           ║
  ║ │BBS Drop File Type         DOOR.SYS (52 lines)          ║
  ╚══════════════════════════════════════════════════════════╝
  
===== Legacy Versions and Linux =====

Copy the files to ''[[dir:xtrn]]/thepit'', after running ''install.bat'', run ''control.exe'':

  * Enable ''MULTILINE PLAY'' (**3.6: ''MULTINODED USAGE''**)

<file>
¦¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¦
¦          S E L E C T   A   C O M M A N D          ¦
¦---------------------------------------------------¦
¦ Edit Pit Configuration       ¦                    ¦
¦ Edit Node Configuration      ¦                    ¦
¦ Toggle Multiline Play        ¦ MULTILINE PLAY     ¦
¦ Edit Number of Nodes         ¦   1 Nodes          ¦
¦ Reset THE PIT                ¦                    ¦
¦ Quit CONTROL STATION         ¦                    ¦
¦---------------------------------------------------¦
¦      <??>Move      <?-+>Select      <ESC>Quit     ¦
¦___________________________________________________¦
</file>

  * For Linux when using **DOSEMU 1.x** and probably for **Win32** as well: Set ''Fossil Driver Usage'' to ''Active''
<file>
¦¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¦
¦               MODEM SETTING SELECTION              ¦
¦----------------------------------------------------¦
¦ Fossil Driver Usage ¦ Active                       ¦
¦ Com Port Addressing ¦                              ¦
¦ Baud Rate Setting   ¦ Auto-Detect                  ¦
¦ Flow Control        ¦ Auto-Detect                  ¦
¦ 16550 FIFO Buffer   ¦ Use Default FIFO Setting     ¦
¦----------------------------------------------------¦
¦      <??>Move      <?-+>Select      <ESC>Quit      ¦
¦____________________________________________________¦
</file>

  * For Linux using **DOSEMU 2.x**: Set ''Fossil Driver Usage'' to ''Inctive''
<file>
¦¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¦
¦               MODEM SETTING SELECTION              ¦
¦----------------------------------------------------¦
¦ Fossil Driver Usage ¦ Inactive                     ¦
¦ Com Port Addressing ¦                              ¦
¦ Baud Rate Setting   ¦ Auto-Detect                  ¦
¦ Flow Control        ¦ Auto-Detect                  ¦
¦ 16550 FIFO Buffer   ¦ Use Default FIFO Setting     ¦
¦----------------------------------------------------¦
¦      <??>Move      <?-+>Select      <ESC>Quit      ¦
¦____________________________________________________¦
</file>

  * Set ''Door File Type'' to ''DOOR.SYS'' and ''Path To Door File Type'' to ''%P'':
  * **For version 3.6, you'll have to put the actual node directory here instead of %P, and copy/modify the config for each node using Page Up**

<file>
¦¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¦
¦          DOOR FILE SETTING SELECTION          ¦
¦-----------------------------------------------¦
¦ BBS Door File Type     ¦ DOOR.SYS             ¦
¦ Path To Door File Type ¦ %P                   ¦
¦-----------------------------------------------¦
¦    <??>Move     <?-+>Select     <ESC>Quit     ¦
¦_______________________________________________¦
</file>

In [[util:SCFG]]->External Programs->Online Programs (Doors)->Games->Available Online Programs...

  ╔══════════════════════════════════════════════════════════╗
  ║                          The Pit                         ║
  ╠══════════════════════════════════════════════════════════╣
  ║ │Name                       The Pit                      ║
  ║ │Internal Code              THEPIT                       ║
  ║ │Start-up Directory         ../xtrn/thepit               ║
  ║ │Command Line               pit /path=%n                 ║
  ║ │Clean-up Command Line                                   ║
  ║ │Execution Cost             None                         ║
  ║ │Access Requirements                                     ║
  ║ │Execution Requirements                                  ║
  ║ │Multiple Concurrent Users  Yes                          ║
  ║ │Intercept I/O              No                           ║
  ║ │Native Executable          No                           ║
  ║ │Use Shell to Execute       No                           ║
  ║ │Modify User Data           No                           ║
  ║ │Execute on Event           No                           ║
  ║ │Pause After Execution      No                           ║
  ║ │BBS Drop File Type         GAP             DOOR.SYS     ║
  ║ │Place Drop File In         Node Directory               ║
  ╚══════════════════════════════════════════════════════════╝

**When using DOSEMU 2 in Linux, set the I/O setting to "Standard, No Echo"**

**In version 3.6, the command line should be: pit /NODE%#**

===== See Also =====
  * [[:howto:door:|howto:door index]]

{{tag>}}
