

D'Bridge 2.95 Technical Information                        15 December 2007
---------------------------------------------------------------------------

    1.0  SYSTEM FILES
    -----------------

    D'Bridge is a complex program that uses quite a few control, storage
    and history files to store system information.  This document lists
    these file structures so that programmers may access them in utility
    programs.

    Structures will be listed in the following sections, but here is a brief
    summary of all files used directly by D'Bridge:


    Filename          Description
    -----------------------------------------------------------------------

    AREAS.BBS         Requestable file descriptions
    AREAS.TXT         ECHOmail area name file (user-supplied)
    BADECHO     <dir> Fido-style bad/duplicate ECHOmail directory (default)
    BADPWD.TXT        Text file to send after bad password notice
    CALLER.INF        Function-request caller information file
    COMM.CFG          D'Bridge communication parameters
    COSTBASE.DB1      Costing data file
    COSTBASE.DB2      Costing index file
    COSTING.XDC       Automatically exported accounting/translation data
    DATA        <dir> Database files and filebase directory (default)
    DB.EXE            D'Bridge mailer (executable)
    DB-IO.LOG         Communication log file (C:\DB-IO.LOG, if activated)
    DB01.295          D'Bridge mailer task
    DB02.295          FTSC mailer list
    DB03.295          D'Bridge mailer overlay
    DB04.295          D'Bridge editor task
    DB05.295          D'Bridge editor overlay
    DB06.295          D'Bridge Fido Plug and Play system
    DB07.295          D'Bridge Echofile processor subsystem
    DBCONFIG.ZIP      Backup configuration archive (7 day history)
    DBEDIT.DRO        Memory "swap file" for DBEDIT
    DBEDIT.FND        Last search string for DBEDIT
    DBHELP.IDX        D'Bridge help index
    DBHELP.TXT        D'Bridge help file
    DBINS.CTL         Installation country/area code definition file
    DBNL.AUT          D'Bridge automatic nodelist
    DBRIDGE.ACT       D'Bridge Echofile Actions database (Version 3 series)
    DBRIDGE.ADF       Local/ECHOmail area definition file
    DBRIDGE.AFF       AREAFIX request queue file
    DBRIDGE.AFQ       AREAFIX request queue file
    DBRIDGE.AUT       Automatic exported configuration
    DBRIDGE.CON       Keeps track of what systems were called during an event
    DBRIDGE.DL1       Inbound EMAIL history file
    DBRIDGE.DL2       Outbound EMAIL history file
    DBRIDGE.DL3       Received ECHOmail history file
    DBRIDGE.DL4       AREAFIX history file
    DBRIDGE.DRO       Memory "swap file" for DBMAILER
    DBRIDGE.DSI       System information file
    DBRIDGE.DUP       QuickBBS ECHOmail duplicate-prevention file
    DBRIDGE.ECF       D'Bridge Echofile configuration (Version 3 series)
    DBRIDGE.EMO       Semaphore for checking EMAIL only and not Usenet
    DBRIDGE.EMW       ECHOmail waiting flag file
    DBRIDGE.ERR       Status-line error display text file
    DBRIDGE.FCN       Forced nodelist compile activation file
    DBRIDGE.FRS       File-request limit file  (Stores 24-hour limits)
    DBRIDGE.HIS       Outbound XMAIL control file (tracks filenames)
    DBRIDGE.INS       Installation pathname default file
    DBRIDGE.LOG       D'Bridge system log file (default)
    DBRIDGE.LRQ       QuickBBS lastread pointers (for DBEDIT)
    DBRIDGE.MAR       NETmail "mark/delete" pointers
    DBRIDGE.MEH       Mail-event queue progress file
    DBRIDGE.NMW       NETmail waiting flag file
    DBRIDGE.PNP       D'Bridge Fido Plug And Play (FPNP)
    DBRIDGE.PRM       D'Bridge parameter file
    DBRIDGE.PTR       QuickBBS EMAIL pointer file
    DBRIDGE.QSD       Rescan semaphore control file for Internet Rex
    DBRIDGE.R$$       Received files (internal control file)
    DBRIDGE.REE       AREAFIX rescan queue file
    DBRIDGE.REG       D'Bridge registration data
    DBRIDGE.RII       Automatic nodelist temporary file
    DBRIDGE.RSE       ECHOmail scan activation file
    DBRIDGE.RSN       NETmail scan activation file
    DBRIDGE.TCN       Test/compile nodelist activation file
    DBRIDGE.TIC       D'Bridge Echofile database (Version 3 series)
    DBRIDGE.TRM       Terminal-mode parameter file
    DBRIDGE.UEH       UN-EVENT queue progress file
    DBRIDGE.UFM       Unpack/forward mail activation file
    DBRIDGE.XCF       ECHOmail cycle delay control file
    DBRIDGE.XMA       Outbound XMAIL control file (tracks outbound packets)
    DBRIDGE.WIS       Wisdom display control file
    DBUTIL.EXE        D'Bridge utilities and Echofile setup program
    DBUTIL.BSY        Created when DBUTIL is busy working
    DBUTIL.DRF        Tells DBUTIL not to remove the Busy flag file if there
    DBUTIL.NLG        Tells DBUTIL not to make a log file
    ECHOMAIL.CTL      ECHOmail scan control file
    FILEBASE.DB1      FILEBASE data file
    FILEBASE.DB2      FILEBASE index file
    INBOUND     <dir> Inbound files directory (default)
    FREQ.TXT          Text file to send after file-request report
    INBOUND.REQ       Inbound file-request (erased before each call)
    INTERCOM.LOG      Intercom conversation log
    LASTEMSI.DAT      Last EMSI data from remote system
    LASTREAD.DBR      D'Bridge/Fido-style lastread pointers (for DBEDIT)
    LASTREAD          SEAdog-style lastread pointers (for compatibility)
    LICENSE.REG       Registration data file
    MCFILES.LST       Modem control file (MCF) list
    MCFILES.ZIP       Modem control file archive
    MESSAGES    <dir> Fido-style NETmail directory (default)
    MSGHDR.BBS        QuickBBS message header file
    MSGIDX.BBS        QuickBBS message index file
    MSGINFO.BBS       QuickBBS message summary file
    MSGTOIDX.BBS      QuickBBS message-to index
    MSGTXT.BBS        QuickBBS message text file
    NODEBASE.DB1      NODELIST data file
    NODEBASE.DB2      NODELIST index file
    PACKETS     <dir> Temporary queue path (default)
    PCFILES.LST       Printer control file (PCF) list
    PCFILES.ZIP       Printer control file archive
    QUEUE       <dir> Queue directory (default)
    READ.ME           A message from the author
    RESTART     <dir> ZMODEM receive temporary directory
    SCRIPTS     <dir> Dialing script directory (default)
    TASKQ.DB1         Outbound queue data file
    TASKQ.DB2         Outbound queue index file
    THISCALL.TXT      Post-call activity report
    THISCOMM.TXT      Post-call modem register dump file
    USA-EAST.COS      United states accounting/translation data (default)
    
    2.0  PARAMETER FILE
    -------------------


    D'Bridge uses a text-file called DBRIDGE.PRM to store its parameters.
    The structure of this file will change in future versions, but this
    is the definition for version 2.95.  When using this chart, make sure
    that you understand that "Line" doesn't really mean the literal line
    of the text file, but the currently processed line.  Fields that have
    an asterisk (*) in the in "Column" field are called LISTS.

    LISTS are fields that contain any number of lines.  The first line of
    a list contains the number of lines in the list.  If a zero is found,
    the list is empty.



    Field                  Line/Column   Description
    -----------------------------------------------------------------------

    PARAMETER FILE VERSION    1   1      Current software version
    NETWORK MAIL STORAGE      2   1      NETmail storage method: F, T or Q
    DBMAILER OVERLAY EMS      2   2      Copy DBMAILER.OVR to EMS?  1 or 0
    DBEDIT OVERLAY EMS        2   3      Copy DBEDIT.OVR to EMS? 1 or 0
    DBMAILER PROGRAM SIZE     2   4      Total memory (in K)
    DBMAILER WORKRAM SIZE     2  11      WorkRAM (in K)
    ECHOMAIL RAM SIZE         2  18      Required amount computer by D'bridge
    NETWORK MAIL DIRECTORY    3   1      Fido-style NETmail directory path
    INBOUND FILES DIRECTORY   4   1      Inbound files directory path
    PACKET DIRECTORY          5   1      Temporary packet directory path
    QUEUE DIRECTORY           6   1      Disk-based queue directory path
    SCRIPT DIRECTORY          7   1      Script file directory path
    BADECHO DIRECTORY         8   1      BADECHO directory path (Fido-style)
    NEWECHO DIRECTORY         9   1      New ECHOmail base directory path
    DFB DIRECTORY            10   1      D'Bridge FileBase directory path
    QUICKBBS DIRECTORY       11   1      QuickBBS directory path
    DOWNLOAD DIRECTORY       12   1      Terminal download directory path
    OUTBOUND MAIL ARCHIVE    13   1      Outbound NETmail archive filename
    NETWORK MAIL ARCHIVE     14   1      NETmail archive filename
    PRIMARY EMAIL ADDRESS    15   1      Primary system address
    SYSTEM NAME              16   1      Primary system name
    OPERATOR NAME            17   1      Primary operator name
    DATA PHONE NUMBER        18   1      System telephone number (1-nnn-...)
    SYSTEM FLAGS             19   1      Nodelist flags defined for system
    SYSTEM LOG LEVEL         20   1      0=None, 1=Terse, 2=Verbose, 3=Debug
    LOG DAYS                 20   8      Not used at this time
    HISTORY DAYS             20  15      Days history to keep in DL? files
    FAKE POINTNET            20  36      Fake pointnet address (NET number)
    NETMAIL PURGE            20  43      Days/messages for purge of NETmail
    NETMAIL AREA NUMBER      20  50      QuickBBS NETmail area number
    AREAFIX DAYS             20  57      Areafix cycle timeout days
    XMAIL CYCLE DELAY        20  64      XMAIL processing interval minutes
    ALIAS ADDRESSES          21   *      Alias EMAIL address list
    BACKGROUND COLORS        22   1      Screen/text/brite/highlite/border
    LOG WINDOW COLORS        23   1      "
    ACTIVITY WINDOW COLORS   24   1      "
    QUEUE WINDOW COLORS      25   1      "
    SCHEDULE WINDOW COLORS   26   1      "
    COMMAND WINDOW COLORS    27   1      "
    SPARE WINDOW COLORS      28   1      "
    SPARE WINDOW COLORS      29   1      "
    MODEM PORT 1             30   1      Modem: Port/Address/IRQ/MCF
    MODEM PORT 2             31   1      "
    MODEM PORT 3             32   1      "
    PRINTER PORT             33   1      Printer device/filename
    PRINTER CONTROL FILE     34   1      PCF name
    ANSWERING METHOD         35   1      Hard/Soft/RingMaster/Modem/Disabled
    LINE ASSIGNMENT 1        35   2      1/2/3/Voice
    LINE ASSIGNMENT 2        35   3      "
    LINE ASSIGNMENT 3        35   4      "
    COSTGUARD TIME           35   5      CostGuard time minutes
    COSTGUARD COST           35  15      Costguard cost cents
    AUTO-INIT TIME           35  25      Automatic modem init time minutes
    MAX RINGS                35  35      Maximum rings allowed while dialing
    COLLISION DETECT         35  45      S=ON, 0=OFF
    DIMESAVER                35  46      1=ON, 0=OFF
    BUSY WHEN OFFLINE        35  47      1=YES, 0=NO
    SYSTEM CITY              36   1      City or location of system
    LOG FILENAME             37   1      System log filename
    ABOUT FILENAME           38   1      File-request "ABOUT" filename
    FILES FILENAME           39   1      File-request "FILES" filename
    CONFIG PASSWORD          40   1      Configuration password (XOR 97h)
    POINTLIST                41   1      Pointlist filename
    ADDITIONAL USER FILE     42   1      Additional user filename
    DEFAULT ROUTING          43   1      Direct/Hub/None
    TRANSLATION TABLE 1/14   44   1      Displayed/Stored/Displayed/Stored
    TRANSLATION TABLE 2/15   45   1      "
    TRANSLATION TABLE 3/16   46   1      "
    TRANSLATION TABLE 4/17   47   1      "
    TRANSLATION TABLE 5/18   48   1      "
    TRANSLATION TABLE 6/19   49   1      "
    TRANSLATION TABLE 7/20   50   1      "
    TRANSLATION TABLE 8/21   51   1      "
    TRANSLATION TABLE 9/22   52   1      "
    TRANSLATION TABLE 10/23  53   1      Displayed/Stored/Displayed/Stored
    TRANSLATION TABLE 11/24  54   1      "
    TRANSLATION TABLE 12/25  55   1      "
    TRANSLATION TABLE 13/26  56   1      "
    KEYBOARD MACRO ALT-F1    57   *      Editor keyboard macro
    KEYBOARD MACRO ALT-F2    58   *      "
    KEYBOARD MACRO ALT-F3    59   *      "
    KEYBOARD MACRO ALT-F4    60   *      "
    KEYBOARD MACRO ALT-F5    61   *      "
    KEYBOARD MACRO ALT-F6    62   *      "
    KEYBOARD MACRO ALT-F7    63   *      "
    KEYBOARD MACRO ALT-F8    64   *      "
    KEYBOARD MACRO ALT-F9    65   *      "
    KEYBOARD MACRO ALT-F10   66   *      "
    KEYBOARD MACRO CTL-F1    67   *      "
    KEYBOARD MACRO CTL-F2    68   *      "
    KEYBOARD MACRO CTL-F3    69   *      "
    KEYBOARD MACRO CTL-F4    70   *      "
    KEYBOARD MACRO CTL-F5    71   *      "
    KEYBOARD MACRO CTL-F6    72   *      "
    KEYBOARD MACRO CTL-F7    73   *      "
    KEYBOARD MACRO CTL-F8    74   *      "
    KEYBOARD MACRO CTL-F9    75   *      "
    KEYBOARD MACRO CTL-F10   76   *      "
    SESSION PASSWORDS        77   *      Session password list
    AREAFIX INFORMATION      78   *      AREAFIX information list
    USERNAMES                79   *      DBEDIT username list
    ADDRESS SYNONYMS         80   *      Synonym definition list
    FILE-REQUEST PATHS       81   *      File-request directory list
    MAGIC FILENAMES          82   *      MAGIC request filename list
    PHONE NUMBER OVERRIDES   83   *      Phone number override list
    FLAG OVERRIDES           84   *      Flag override list
    ST LOUIS NODELISTS       85   *      St. Louis format nodelist list
    PRIVATE NODELISTS        86   *      Private nodelist list
    DISPLAY TIMEOUT          87   1      Blankout timer minutes
    MAX XMAIL FILE SIZE      87  15      Not used at this time
    MIN BBS BAUD RATE        87  29      Minimum speed for BBS calls
    MAX PACKET SIZE          87  43      Maximum size of XMAIL packets
    CLOCK WARNING THRESHOLD  87  50      Clock warnings minimum minutes
    FREQ TIME LIMIT          87  64      File-request time limit
    FREQ SIZE LIMIT          87  71      File-request size limit
    FREQ FILE LIMIT          87  78      File-request file count limit
    HUMAN CALLER TIMEOUT     87  85      Timeout before passing to BBS
    FREQ MINIMUM BAUD        87  92      Minimum baud rate for file-request
    FAX TONE DIALING         88   1      Not used at this time
    FAX RECEIVE ALLOWED      88   2      "
    FAX INSTALLED            88   3      "
    FAX ANSWER OFFLINE       88   4      "
    FAX DEFAULT RESOLUTION   88   5      "
    FAX DEFAULT FONT         88   6      "
    FAX BOARD TYPE           88   7      "
    FAX RINGS TO ANSWER      88   9      "
    FAX SOFTWARE DIRECTORY   89   1      "
    FAX ID                   90   1      "
    BBS SOFTWARE INSTALLED   91   1      1=YES, 0=NO
    KILL NULL MESSAGES       91   2      "
    ALARMS ACTIVE            91   3      "
    EDITOR SCAN NETMAIL      91   4      "
    CREATE USERNAME INDEX    91   5      "
    USE ZONEGATES            91   6      "
    EDITOR SOUND EFFECTS     91   7      "
    REJECT UNAUTH. MAIL      91   8      "
    RENAME UNAUTH. FILES     91   9      "
    TOUCH-TONE DIALING       91  10      "
    DEFAULT PRIVATE          91  11      "
    DEFAULT KILL-SENT        91  12      "
    DEFAULT CRASH            91  13      "
    EDITOR EXEC METHOD       91  14      Not used at this time
    SNOW SUPPRESSION         91  15      1=Enabled, 0=Disabled
    TOP SECRET               91  16      Reserved for D'Bridge security
    DISPLAY TIME DATA        91  17      1=Yes, 0=No
    RING SIGNAL              91  18      "
    ALLOW UNLISTED NODES     91  20      "
    ALLOW UNLISTED FREQS     91  21      "
    ENFORCE LIMIT OVERNIGHT  91  22      "
    CHECK LIMITS BEFORE      91  23      "
    INBOUND MAIL HANDLING    91  24      Automatic/Manual/External/Disabled
    HANG-UP ON VIOLATION     91  25      1=Yes, 0=No
    DEFAULT INSERT           91  26      "
    DEFAULT COMPRESSION FMT  91  27      0-6
    RENAME INCOMING FILES    91  29      1=Yes, 0=No
    KILL IN-TRANSIT MAIL     91  30      "
    DISPLAY QUEUE            91  34      "
    DEFAULT IMMEDIATE        91  35      "
    DEFAULT HOLD             91  36      "
    DEFAULT ARCHIVE-SENT     91  37      "
    DEFAULT XMAIL            91  38      "
    DEFAULT INTL ADDRESSING  91  39      "
    EDITOR SCAN ECHOMAIL     91  40      "
    BBS SCAB ECHOMAIL        91  41      "
    AUTO-ADD ECHOMAIL AREAS  91  42      Fido/QuickBBS/None
    LEAVE SEENBYS            91  43      1=Yes, 0=No
    ACCEPT AREAFIX REQUESTS  91  44      "
    KEEP DUPLICATE MESSAGES  91  46      "
    AUTOMATIC ALIAS          91  47      "
    43-50 LINE MODE          91  49      1=43/50-line mode, 0=25-line mode
    LIMIT NO-COST CALLS      91  50      1=Yes, 0=No
    BLANKOUT GRAPHICS        91  51      "
    IN-TRANSIT RESCAN        91  52      "
    SECURED ECHOMAIL ONLY    91  54      "
    QUOTE SEENBYS            91  55      "
    REMOVE EMPTY PASSTHRUS   91  56      "
    OBSERVE DAYLIGHT TIME    91  59      "
    ADJUST MAIL EVENTS       91  60      Not used at time time
    ADJUST TIMESYNC EVENTS   91  61      "
    ADJUST EXTERNAL EVENTS   91  62      "
    TRANSFER SPEED           91  65      CPS/BPS/KPS
    NODELIST COMPILE MODE    91  66      Midnight/Startup/Never
    THIS LINE BLANK          92   1      Not used at this time
    OUTBOUND GATEWAY         93   1      Outbound gateway address
    COUNTRY CODE             94   1      Country code
    NO-COST PREFIX           95   1      No-cost dialing prefix
    DOMESTIC PREFIX          96   1      Domestic dialing prefix
    INTERNATIONAL PREFIX     97   1      International dialing prefix
    PARM FILE SYNC FLAG      98   1      Used for control purposes "DBedit"
    EXTERNAL EDITOR PATH     99   1      Path for external editor
    EMAIL ONLY TEXT         100   1      Text for EMAIL-only operation
    PRESS ESC TEXT          101   1      Text for "Press ESC twice to load"
    LOADING BBS TEXT        102   1      Text displayed before loading BBS
    LOADING BBS FILENAME    103   1      File to display before loading BBS
    PRIMARY SUPPORT PHONE   104   1      Not used at this time
    ZIP COMPRESS COMMAND    105   1      DOS command
    LHA COMPRESS COMMAND    106   1      "
    ARJ COMPRESS COMMAND    107   1      "
    PAK COMPRESS COMMAND    108   1      "
    ARC COMPRESS COMMAND    109   1      "
    ZOO COMPRESS COMMAND    110   1      "
    ZIP DECOMPRESS COMMAND  111   1      "
    LHA DECOMPRESS COMMAND  112   1      "
    ARJ DECOMPRESS COMMAND  113   1      "
    PAK DECOMPRESS COMMAND  114   1      "
    ARC DECOMPRESS COMMAND  115   1      "
    ZOO DECOMPRESS COMMAND  116   1      "
    TOO SLOW FILENAME       117   1      File sent when BBS caller too slow
    AFTER-HOURS FILENAME    118   1      File sent outside defined BBS hours
    BBS FROM                119   1      HHMM starting BBS operation
    BBS TO                  119   5      HHMM ending BBS operation
    ALARM FROM              119   9      HHMM starting alarm operation
    ALARM TO                119  13      HHMM ending alarm operation
    PACKET PRE-PROCESSOR    120   1      Packet pre-processing command
    EXCLUDE NETS            121   *      Nodelist exluded ZONES:NETS
    NET TRANSLATION         122   *      ZONE:NET translations
    SPECIAL ALARMS          123   *      Special alarms for inbound calls
    KEY COMMANDS F1         124   *      Not used at this time
    KEY COMMANDS F2         125   *      DOS commands
    KEY COMMANDS F3         126   *      "
    KEY COMMANDS F4         127   *      "
    KEY COMMANDS F5         128   *      "
    KEY COMMANDS F6         129   *      "
    KEY COMMANDS F7         130   *      "
    KEY COMMANDS F8         131   *      "
    KEY COMMANDS F9         132   *      "
    KEY COMMANDS F10        133   *      "
    KEY COMMANDS ALT-F1     134   *      "
    KEY COMMANDS ALT-F2     135   *      "
    KEY COMMANDS ALT-F3     136   *      "
    KEY COMMANDS ALT-F4     137   *      "
    KEY COMMANDS ALT-F5     138   *      "
    KEY COMMANDS ALT-F6     139   *      "
    KEY COMMANDS ALT-F7     140   *      "
    KEY COMMANDS ALT-F8     141   *      "
    KEY COMMANDS ALT-F9     142   *      "
    KEY COMMANDS ALT-F10    143   *      "
    BBS DOS COMMANDS        144   *      BBS loading DOS commands
    EDITOR DOS COMMANDS     145   *      DOS commands for loading editor
    CLOCK DATA FOR          146   *      Filter for clock data aquisition
    FUNCTION REQUEST        147   *      Function request list
    EXTERNAL RECEIVERS      148   *      External receiver list
    EXTERNAL GATEWAYS       149   *      External gateway list
    ISOLATE DATA FROM       150   *      Not used at this time
    ALT COMPRESSION FMTS    151   *      Alternate compression formats
    CLOCKSYNC SYSTEM        152   1      Default ClockSync system
    AUTOMATIC SYNC SYSTEM   153   1      Automatic ClockSync system
    SET CLOCK COMMAND       154   1      DOS command to set XT/Network clock
    OUTBOUND HISTORY FILE   155   1      Outbound history filename
    INBOUND HISTORY FILE    156   1      Inbound history filename
    AREAFIX HISTORY FILE    157   1      AREAFIX history filename
    ECHOMAIL HISTORY FILE   158   1      ECHOmail history filename
    UNLISTED REQUEST HUB    159   1      Blind AREAFIX request hub
    CALL ALARM              160   1      ANSI-music for call alarm
    FLAG DIAL               161   *      Dial strings for specific flags
    SPECIFIC DIAL           162   *      Dial strings for specific systems
    FIDONET FOR             163   *      Filter for Fidonet protocol
    WAZOO FOR               164   *      Filter for WaZOO/ZEDZAP protocol
    FORCED PRIORITIES       165   *      System-specific forced priorities
    FAKE POINTNET FOR       166   *      List of points using fake pointnet
    AUTOMATIC PWD FOR       167   *      Filter for automatic passwords
    ALLOW PWD REQ FROM      168   *      Filter for password requests
    C: DRIVE                169   1      Operation/BBS/Unpack-forward
    D: DRIVE                170   1      "
    E: DRIVE                171   1      "
    F: DRIVE                172   1      "
    G: DRIVE                173   1      "
    H: DRIVE                174   1      "
    STARTING BLOCK SIZE     175   1      300/1200/2400/4800/9600/14400
    MAXIMUM BLOCK SIZE      176   1      "
    RECOVERY BLOCK SIZE     177   1      "
    BLOCK STEP RATE         178   1      "
    DIRECT ZMODEM           179   1      "
    DAYLIGHT TIME STARTS    180   1      YYMMDD starting daylight time
    DAYLIGHT TIME ENDS      180   8      YYMMDD ending daylight time
    DAYLIGHT TIME CHANGES   181   1      HHMM time of daylight time change
    LST ABBREVIATION        182   1      Abbreviation for Standard Time
    LST NAME                182   8      Name of Standard Time
    LDT ABBREVIATION        183   1      Abbreviation for Daylight Time
    LDT NAME                183   8      Name of Daylight Time
    LOG HIGHLIGHT KEYWORDS  184   *      Log viewer highlight keywords
    NUMBER OF EVENTS        185   1      Number of events (excluding UNEVENT)
    EVENT 0                 186   **     Event records as defined below.
    .                       .
    .                       .
    EVENT N
    EVENT TAG/START/END       1   1      Event tag, starting and ending times
    ACTIVE SUNDAY             2   1      1=Active, 0=Inactive
    ACTIVE MONDAY             2   2      "
    ACTIVE TUESDAY            2   3      "
    ACTIVE WEDNESDAY          2   4      "
    ACTIVE THURSDAY           2   5      "
    ACTIVE FRIDAY             2   6      "
    ACTIVE SATURDAY           2   7      "
    EVENT CRITICAL            2   8      1=Yes, 0=No
    EVENT ENABLED             2   9      "
    HOST-ROUTE PRIVATES       2  10      "
    EVENT TYPE                2  11      External/ClockSync/DOS/Mail
        IF EXTERNAL EVENT
    ERRORLEVEL                3   1      Errorlevel to use for exit
        IF DOS EVENT
    DOS COMMANDS              3   *      DOS commands to execute
        IF CLOCKSYNC EVENT
    CLOCKSYNC TIMEBASE        3   1      Address of ClockSync TimeBase
    MAX CLOCKSYNC TRIES       4   1      Maximum tries for ClockSync event
    MAX CLOCKSYNC FAILURES    5   1      Maximum failures for ClockSync event
        IF MAIL EVENT
    MINIMUM IDLE TIME         3   1      Minimum seconds idle before call
    MAXIMUM IDLE TIME         3   8      Maximum seconds idle before call
    TRIES ALLOWED             3  15      Maximum tries allowed per entry
    SESSIONS ALLOWED          3  22      Maximum sessions allowed per entry
    FAILURES ALLOWED          3  29      Maximum failures allowed per entry
    EVENT DYNAMIC             4   1      1=Yes, 0=No
    PROCESS FILE-REQUESTS     4   2      "
    ACCEPT HUMAN CALLERS      4   3      "
    CM FLAG ACTION            4   4      CM/Non-CM/Both
    ACCEPT EMAIL CALLS        4   5      1=Yes, 0=No
    ACCEPT FAX CALLS          4   6      Not used at this time
    SCAN ECHOMAIL             4   7      1=Yes, 0=No
    ALLOW XMAIL               4   8      "
    PRIORITIES ALLOWED        4   9      NCI
    EVENT ALIAS               5   1      Alias address for event
    PACKETS FOR               6   *      Filter controlling who gets mail
    HOLD FOR                  7   *      Filter for holding mail traffic
    POLL                      8   *      List of systems to poll this event
    PICKUP FROM               9   *      Filter controlling mail pickup
    ALLOW PICKUP FROM        10   *      Filter controlling remote pickup
    ROUTE TO                 11   *      Filter for routing
    FORWARD FOR              12   *      Filter controlling mail forwarding
    FORWARD TO               13   *      "
    FAX TO                   14   *      Not used at this time
    INTL FAX FWD FOR         15   *      "
    LOCAL FAX FWD FOR        16   *      "
    FILE FORWARDING FOR      17   *      Filter controlling file forwarding
    FORWARD FILES TO         18   *      "
    FILE ROUTING FOR         19   *      Filter controlling file routing
    DOS COMMANDS             20   *      DOS commands after mail received

    DBRIDGE.PRM must begin and end the same way it began.  Specifically, the
    first and last lines should read something like:

    Version 2.95 Pre-release Beta / 15 December 2007

    If it does not, then you cannot assume that this information is correct.
    This document will be revised as D'Bridge does.  This data is provided
    for your information only.  Do not count on it to remain stable through
    future releases.  This is changed even during the beta cycle; only the
    first 20 fields will never be changed.

    DBRIDGE.AUT is a more stable, but not as timely source of information.
    The import format is easier to read because it is keyword, not position
    sensitive.  Refer to the following section for keyword information.

    3.0  EXPORTED CONFIGURATION LANGUAGE
    ------------------------------------

    To maintain compatibilty between versions of D'Brdige, an "exported
    configuration language" has been established as a means of upgrading
    without losing parameters.  When a new version is installed, D'Bridge
    will import the configuration from a file called DBRIDGE.AUT.

    Following is a syntax chart of all the keywords used in the current
    software version:


      ABOUT FILE <filename>
      ACCEPT HUMAN CALLERS
      ACCEPTING EMAIL ONLY TEXT <text>
      ACTIVITY COLORS <screen> <dim> <brite> <highlight> <border>
      ADD ECHOMAIL AREAS <FIDO|QUICKBBS|NO>
      ADDITIONAL USER FILE <filename>
      AFTER HOURS FILENAME <filename>
      ALARM
      ALARM HOURS FROM <starting time> TO <ending time>
      ALIAS <address>
      ALLOW PASSWORD REQUESTS FROM <filter>
      ALLOW PICKUP FROM <filter>
      ALTERNATE COMPRESSION FORMATS <ZIP|LHA|ARJ|PAK|ARC|ZOO> <filter>
      ANSWER MODE <H|S|R|M|D> <pattern 1> <pattern 2> <pattern 3>
      ARC COMPRESS COMMAND <DOS command>
      ARC DECOMPRESS COMMAND <DOS command>
      AREA ARCHIVE <filename>
      AREAFIX FORWARDING DAYS <number of days>
      AREAFIX HISTORY FILE <filename>
      AREAFIX INFORMATION <areafix data>
      ARJ COMPRESS COMMAND <DOS command>
      ARJ DECOMPRESS COMMAND <DOS command>
      AUTO-ADJUST TO <address>
      AUTO-ALIAS
      AUTO-COMPILE NODELIST <NEVER|MIDNIGHT|STARTUP>
      AUTO-INIT TIME <minutes>
      BAD ECHOMAIL PATH <directory>
      BANNER FILENAME <filename>
      BAUD RATE OVERRIDE <address> <baud rate>
      BBS CALL TIMEOUT <seconds>
      BBS DOS COMMANDS <DOS command>
      BBS HOURS FROM <starting time> TO <ending time>
      BBS SCAN ECHOMAIL
      BETWEEN CALLS <minimum seconds> <maximum seconds>
      BUSY WHEN OFFLINE
      BYPASS ZONEGATES
      CALL ALARM <music codes>
      CHECK LIMITS <BEFORE|AFTER>
      CLOCK SYNC SYSTEM <address>
      CLOCK WARNING THRESHOLD <minutes>
      CM-ONLY
      COLLISION DETECT
      COMMAND <key> <DOS command>
      COMMAND COLORS <screen> <dim> <brite> <highlight> <border>
      CONFIG PASSWORD <password>
      COSTGUARD <minutes> <cost>
      COUNTRY PREFIX <country code>
      CRITICAL
      DATA FLAGS <nodelist flags>
      DATA PHONE <phone number (countrycode-citycode-number)>
      DATA/1 <port name> <address> <irq> <mcf name>
      DATA/2 "
      DATA/3 "
      DAYLIGHT TIME <abbreviation> <name>
      DEBUG LOG <filename>
      DEFAULT ARCHIVE/SENT
      DEFAULT CRASH
      DEFAULT HOLD
      DEFAULT IMMEDIATE
      DEFAULT INSERT
      DEFAULT KILL/SENT
      DEFAULT PRIVATE
      DEFAULT ROUTING <D|H|N>
      DFB FILE PATH <directory>
      DIMESAVER
      DISABLE AREAFIX
      DISABLED
      DISK-BASED QUEUE <directory>
      DISPLAY SCHEDULE
      DISPLAY TIME DATA
      DISPLAY TIMEOUT <minutes>
      DOMAIN <domain name>
      DOMESTIC PREFIX <dialing prefix>
      DOS COMMANDS <DOS command>
      DOWNLOAD DIRECTORY <directory>
      DST [<DISABLED>] <from date> <to date> <time of change> [<M|T|X>]
      DYNAMIC
      ECHO ALIAS <address>
      ECHO AREA <number> <tag> <path> <F|Q|N> <priority> <alert flag> <descr>
      ECHO TO  <address list>
      ECHOMAIL HISTORY FILE <filename>
      EDITOR DOS COMMANDS <DOS command>
      EDITOR EMS
      EDITOR GOLDED
      EDITOR OTHER
      EDITOR SCAN ECHOMAIL
      EDITOR SCAN NETMAIL
      EDITOR TRANSLATION <alt-key> <display as> <store as>
      END
      ERROR LEVEL <errorlevel>
      EVENT <tag> <C|D|E|M> <start time> <ending time> <ALL or days of week>
      EVENT ALIAS <address>
      EXCLUDE NET <zone:net to exclude>
      EXTERNAL EDITOR PATH <directory>
      EXTERNAL GATEWAY <hex codes> <DOS COMMAND>
      EXTERNAL RECEIVER <modem response> <DOS command>
      FAILURES ALLOWED <max failures>
      FAKE POINTNET <net number>
      FAKE POINTNET FOR <point number(s)>
      FAX ANSWER OFFLINE
      FAX AUTO-PRINT
      FAX FONT <COMPRESSED|NORMAL>
      FAX ID <id>
      FAX INSTALLED
      FAX PULSE DIALING
      FAX RECEIVE ALLOWED
      FAX RESOLUTION <NORMAL|HIGH>
      FAX RINGS <rings to answer>
      FAX ROOT DIRECTORY <directory>
      FAX TO <filter>
      FAX TYPE <board type>
      FIDONET PROTOCOL FOR <filter>
      FILE-REQUEST LIMIT <kilobytes> K
      FILE-REQUEST LIMIT <minutes> MINUTES
      FILE-REQUEST LIMIT <number of files> FILES
      FILE-REQUEST LIMITS 24-HOURS
      FILES FILE <filename>
      FLAG DIAL <flag> <dial string>
      FLAG OVERRIDE <address> <nodelist flags>
      FORCE INTL ADDRESSING
      FORCED PRIORITY <address> <HOLD|CRASH|IMMEDIATE>
      FORWARD FILES FOR <filter>
      FORWARD FILES TO <filter>
      FORWARD FOR <filter>
      FORWARD TO <filter>
      FUNCTION REQUEST <activation file> <return file> <DOS command>
      GROUP ACCESS <groups allowed>
      GROUP SORT <sort code>
      HANG-UP ON VIOLATION
      HISTORY DAYS <number of days>
      HOLD FOR <filter>
      HOLD PRIVATE
      HOST ROUTE PRIVATE
      IGNORE EMAIL CALLS
      IGNORE FAX CALLS
      INBOUND FILES PATH <directory>
      INBOUND HISTORY FILE <filename>
      INTERNATIONAL PREFIX <dialing prefix>
      INTL FAX-FORWARD FOR <filter>
      KEEP DUPS
      KILL IN-TRANSIT
      KILL NULL
      LHA COMPRESS COMMAND <DOS command>
      LHA DECOMPRESS COMMAND <DOS command>
      LIMIT NOCOST CALLS
      LISTED NODES ONLY
      LOADING THE BBS TEXT <text>
      LOCAL AREA <number> <tag> <path> <F|Q|N> <alert flag> <description>
      LOCAL FAX-FORWARD FOR <filter>
      LOG COLORS <screen> <dim> <brite> <highlight> <border>
      LOG DAYS <number of days>
      LOG HIGHLIGHT TEXT <$color code$> <keyword>
      MACRO <key> <string>
      MAIL HANDLING <AUTOMATIC|MANUAL|DISABLED|EXTERNAL>
      MAILER EMS
      MAIN COLORS <screen> <dim> <brite> <highlight> <border>
      MAX RINGS <number of rings allowed>
      MAXIMUM PACKET SIZE <kilobytes>
      MAXIMUM XMAIL SIZE <kilobytes>
      MINIMUM BBS <drive> <kilobytes>
      MINIMUM BBS BAUD <baud rate>
      MINIMUM FILE-REQUEST BAUD <baud rate>
      MINIMUM OPERATION <drive> <kilobytes>
      MINIMUM UNPACK <drive> <kilobytes>
      NET <net number>
      NET TRANSLATION <zone:net> <zone:net>
      NETMAIL PURGE AFTER <number of days> DAYS
      NETMAIL PURGE ALL EXCEPT <number of messages> MESSAGES
      NETWORK MAIL ARCHIVE <filename>
      NETWORK MAIL AREA <quickbbs area number>
      NETWORK MAIL PATH <fido-style .MSG directory>
      NETWORK MAIL STORAGE <QUICKBBS|FIDO>
      NEW ECHOMAIL PATH <directory>
      NO BLANKOUT GRAPHICS
      NO IN-TRANSIT RESCAN
      NO SOUND EFFECTS
      NO USER LIST
      NO XMAIL ALLOWED
      NO-COST PREFIX <dialing prefix>
      NODE <node number>
      NODELIST <directory> <nodelist> <nodediff> <crc> <day number>
      NON-CM-ONLY
      OPERATOR NAME <name>
      ORIGIN <origin line>
      OUTBOUND GATEWAY <address>
      OUTBOUND HISTORY FILE <filename>
      OUTBOUND MAIL ARCHIVE <filename>
      PACKET PATH <directory>
      PACKETS FOR <filter>
      PAK COMPRESS COMMAND <DOS command>
      PAK DECOMPRESS COMMAND <DOS command>
      PASSWORD REQUESTS FOR <filter>
      PCF <pcf name>
      PHONE NUMBER OVERRIDE <address> <phone number> <costing prefix>
      PICKUP FROM <filter>
      POINT <point number>
      POINTLIST <filename>
      POLL <address list>
      PRE-UNPACK COMMAND <DOS command>
      PRESERVE <number>
      PRESS-ESC FOR BBS TEXT <text>
      PRINTER DEVICE <device or file name>
      PRIORITIES <any or all of N, C and I>
      PRIVATE
      PRIVATE NODELIST <filename>
      PROCESS REQUESTS
      PULSE DIALING
      PURGE AFTER <days> DAYS
      PURGE ALL EXCEPT <number> MESSAGES
      QUEUE COLORS  <screen> <dim> <brite> <highlight> <border>
      QUICK DIRECTORY PATH <directory>
      QUOTE SEENBYS
      REJECT UNAUTHORIZED MAIL
      REJECT UNAUTHORIZED REQUESTS
      REMOVE EMPTY PASSTHRUS
      RENAME INCOMING FILES
      RENAME UNAUTHORIZED FILES
      REQUEST PATH <directory>
      RING SIGNAL OFF
      ROUTE FILES TO <filter>
      ROUTE TO <address> FOR <filter>
      SAVE SEENBYS
      SCAN ECHOMAIL
      SCHEDULE COLORS <screen> <dim> <brite> <highlight> <border>
      SCHEDULED CLOCKSYNC <max tries> <max failures> <address>
      SCRIPT FILE PATH <directory>
      SECURE ECHOMAIL ONLY
      SECURITY LEVEL <number>
      SESSION PASSWORD <address> <password>
      SESSIONS ALLOWED <max sessions>
      SET CLOCK COMMAND <DOS command>
      SOFTWARE VERSION <version>
      SPECIAL ALARMS <address> <music codes>
      SPECIFIC DIAL <address> <dial string>
      SPECIFIC REQUEST <magic filename> <filespec>
      STANDARD TIME <abbreviation> <name>
      STRIP SEEN-BYS
      SUPPRESS SNOW
      SYNONYM <abbreviation> <address>
      SYSTEM CITY <location>
      SYSTEM NAME <name>
      TERSE LOG <filename>
      TOO SLOW FILENAME <filename>
      TRANSFER SPEED <cps|kpm|bps|%>
      TRIES ALLOWED <max tries>
      UNKNOWN AREAFIX REQUESTS <address>
      USING BBS
      UTC OFFSET <offset from GMT>
      VALID USER <origin address> <user name>
      VERBOSE LOG <filename>
      WAZOO PROTOCOL FOR <filter>
      XMAIL COMPRESSION FORMAT <ZIP|LHA|ARJ|PAK|ARC|ZOO>
      XMAIL CYCLE DELAY <minutes>
      ZIP COMPRESS COMMAND <DOS command>
      ZIP DECOMPRESS COMMAND <DOS command>
      ZMODEM BLOCK STEP RATE <factors for each baud rate>
      ZMODEM DIRECT <1 or 0 for each baud rate>
      ZMODEM MAXIMUM BLOCK SIZE <sizes for each baud rate>
      ZMODEM RECOVERY BLOCK SIZE <sizes for each baud rate>
      ZMODEM STARTING BLOCK SIZE <sizes for each baud rate>
      ZONE <zone number>
      ZOO COMPRESS COMMAND <DOS command>
      ZOO DECOMPRESS COMMAND <DOS command>


      4.0 MESSAGE STORAGE STRUCTURES
      ------------------------------

      D'Bridge can use two completely different storage methods to store
      EMAIL messages on disk.  These particular methods were chosen for
      compatibility with popular bulletin board systems.  Following are
      the file-structures used by D'Bridge for EMAIL message storage:



         FIDO

         When Fido-style storage is chosen for an area, a dedicated sub-
         directory will be created.  This directory will contain one file
         for each message stored.  The format for the filenames is:

            <message#>.MSG    ie. 1.MSG, 2.MSG ... 9999.MSG


         Following is the Turbo-Pascal definition of the .MSG file format:


            FIDO_message = record
              msg_from,
              msg_to         : array [1..36] of char;
              subj           : array [1..72] of char;
              msg_date       : array [1..20] of char;
              times_read,
              dest_node,
              orig_node,
              cost,
              orig_net,
              dest_net       : integer;
              date_written,
              date_arrived   : longint;
              reply          : integer;
              attributes     : word;
                            (* Bit 0    Private
                                   1    Crash
                                   2    Message read
                                   3    Message sent
                                   4    File-attach
                                   5    Forwarded
                                   6    Orphan
                                   7    Kill/sent
                                   8    Local message
                                   9    Hold
                                  10    ???
                                  11    File-request
                                  12    Return-receipt requested
                                  13    Return-receipt
                                  14    Audit-trail requested
                                  15    Update-request  *)
              unreply        : integer;
              message_text   : array [1..???] of char;
                            (* The message text field contains text of
                               any length, terminated with a null (0) byte *)
            end;



       QUICKBBS

       When QuickBBS-style storage is chosen for an area, messages are stored
       in a 5-file database designed by Adam Hudson.  The file-formats are
       defined in the following Turbo-Pascal definition:


            MSGHDR.BBS     QuickBBS message header file

            QuickBBS_header = record
              message_number,
              reply,
              unreply,
              times_read,
              starting_record,
              number_of_records,
              dest_net,
              dest_node,
              orig_net,
              orig_node            : integer;
              dest_zone,
              orig_zone            : byte;
              cost                 : integer;
              msg_attributes,     (* Bit 0   Deleted
                                         1   Outbound NETmail message
                                         2   NETmail message
                                         3   Private
                                         4   Received
                                         5   Outbound ECHOmail message
                                         6   Local
                                         7   Reserved  *)
              net_attributes,     (* Bit 0   Kill/sent
                                         1   Sent
                                         2   File-attach
                                         3   Crash
                                         4   Request-receipt requested
                                         5   Audit requested
                                         6   Return receipt
                                         7   Reserved  *)
              area                 : byte;
              message_time         : string[5];
              message_date         : string[8];
              msg_to,
              msg_from             : string[35];
              subj                 : string[72];
            end;


            MSGIDX.BBS     QuickBBS message index file

            QuickBBS_index = record
              message_number       : integer;
              area                 : byte
            end;


            MSGINFO.BBS    QuickBBS message summary file

            QuickBBS_info = record
              low_message,
              high_message,
              total_messages    : integer;
              active_messages   : array [1..200] of integer
            end;


            MSGTOIDX.BBS   QuickBBS message-to index file

            QuickBBS_to_index = string[35];


            MSGTXT.BBS     QuickBBS message text file

            QuickBBS_text = string[255];


    5.0  D'BRIDGE FILE STRUCTURES
    -----------------------------



    Following are Turbo-Pascal or text-file definitions of the data, history
    and control files used by D'Bridge.  These structures are subject to
    change in future releases...




       AREAS.BBS

       Each file area where requests are allowed may have an AREAS.BBS file.
       This contains single-line descriptions of each file and will be sent
       back to the requesting system in the file-request "status" message.
       This is a text file of one record per line with the following format:

       <filename> <description>




       AREAS.TXT

       This file contains a list of possible ECHOmail conferences and their
       respective descriptions.  In the Fidonet EMAIL network, a file called
       FIDONET.NA defines all the ECHOs available.  Rename FIDONET.NA to
       AREAS.TXT to use it with D'Bridge.  The file is used to automatically
       add descriptions to the ECHOmail areas when the are auto-added.  The
       following format is used:

         <area tag> <description>




       CALLER.INF

       When D'Bridge receives a function-request, it writes a text file
       called CALLER.INF in the current directory.  This file contains
       the following information about the caller online:

            <address>
            <system name>
            <system operator>
            <inbound files directory>


         LINExxx.CFG

         This file contains the modem/communication parameters.  The file-
         structure is as follows:

         communication =
           record
             active : record
                        dial_300,
                        dial_1200,
                        dial_2400,
                        dial_4800,
                        dial_9600,
                        dial_19200      : string[20];
                        connect_strings : pointer;
                      end;
           modem : array [1..3] of
                     record
                       portname       : string[4];
                       maxasyncbaud   : longint;
                       locked         : boolean;
                       modem_init     : pointer;
                       modem_answer   : string[40];
                       modem_timeout,
                       base,
                       irq            : word;
                       mcf            : string[8];
                       description    : string[34];
                     end;
             answer_method        : char;
             line_assignment      : array [1..3] of char;
             costguard_time,
             costguard_cost       : longint;
             collision_detect,
             offhook,
             dimesaver            : boolean;
             max_rings,
             autoInit_time        : word;
             printer_port         : string[40];
             pcf                  : string[8];
             fixed_font,
             proportional_font,
             title_font,
             start_bold,
             end_bold,
             start_italic,
             end_italic           : string[40];
             graphics             : boolean;
             fixed_indent,
             proportional_indent,
             title_indent         : byte;
           end;
       

         COSTBASE.DB1/DB2

         The COSTBASE files are created and maintained by the B-TREE FILER
         routines available from Turbo-Power Software.  They contain the
         cost and control data from the ACCOUNTING/TRANSLATION screen.


         costbase_structure =
           record
             del            : longint;
             RECTYPE        : char;
             prefix         : string[20];
             dial_as        : string[30];
             location       : string[20];
             reserved       : array [1..16] of
                                char;
             xref_prefix    : string[20];
             costing_source : char;
             CostMatrix     : costing_matrix
           END;



         costing_matrix =
           record
             start_time,
             end_time           : array [1..10] of
                                   longint;
             weekdays_holidays  : array [1..10] of
                                   string[8];
             first_time_unit,
             second_time_unit   : array [1..10] of
                                    word; {1/10 second}
             first_unit_cost,
             second_unit_cost   : array [1..10] of
                                    longint; {1/1000 cost unit}
             nci                : array [1..10] of
                                    string[3];
        end;



            The database key for the file is the PREFIX field.

              Key 1: PREFIX   (20, non-duplicatable)
       


         COSTING.XDC

         Every night at midnight, D'Bridge creates an exported costing file.
         This file is designed for compatibility between versions or to send
         costing data to another system.  This is a text file that contains
         a header line and two kinds of data lines.  A typical costing entry
         looks like this:


           1-418                1-418                          Quebec
            SMTWTFSH 0000 0800 NCI   0.3700  60.0   0.3300  60.0
             MTWTFS  1800 0000  CI   0.4800  60.0   0.4200  60.0
             MTWTF   0800 1800  CI   0.7500  60.0   0.6600  60.0
            S      H 1800 0000  CI   0.4800  60.0   0.4200  60.0
            S     SH 0000 2400 NCI   0.3700  60.0   0.3300  60.0



         The first line is the country code/city code for the entry.  It must
         start in column 1.  The next lines contain the actual costing data
         and start at column 2.  Following is the field definition:


         Field                  Column   Description
         --------------------------------------------------------------------

         PREFIX                    1     Country code - City code
         TRANSLATE TO             22     Dialing translation
         DESCRIPTION              53     Description or location
         WEEKDAYS                  2     Weekdays applicable
         START TIME               11     Starting time of costing entry
         END TIME                 16     Ending time of costing entry
         PRIORITIES               21     Applicable priorities
         FIRST PERIOD COST        25     Cost of the first accounting period
         FIRST PERIOD DURATION    33     Duration of the first period
         SECOND PERIOD COST       39     Cost of the other accounting periods
         SECOND PERIOD DURATION   48     Duration of the other periods

         
       DB-IO.DAT

       If the environment variable DB-IO-LOG is set, all communications data
       will be written to the file C:\DB-IO.DAT.  This is just a debugging
       tool, and keep in mind that it can fill a hard drive quickly...

       Each character sent to or recieved from the modem will be written to
       the file in the following two-byte format:

           Byte 0 - Data byte (if applicable)

           Byte 1 - Control byte

                    0 - Receive data
                    1 - Transmit data
                    2 - Output buffer purged
                    3 - Input buffer purged
                    4 - DTR
                    5 - Reserved
                    6 - CD
                    7 - Reserved


       DBRIDGE.ADF

       This file contains the LOCAL/ECHOMAIL AREA information in the format:

         EMAIL_address =
           record
             zone,
             net,
             node,
             point                : integer;
             Domain               : string[12]
           end;

        area_information_rec = record
          allocated           : boolean;
          alert_flag          : char;
          tag                 : string[16];
          area_name           : string[80];
          description         : string[40];
          group_access,
          group_sort,
          storage,
          processweb,
          webascii            : char;
          rescanlimit,
          qwk                 : integer;
          directory_path      : string[48];
          database            : string[8];
          kind                : char;
          quick_area          : word;
          default_private,
          strip_seenbys       : boolean;
          origin_line         : string[56];
          default_priority    : char;
          org_ADDR            : EMAIL_address;
          area_purge,
          area_preserve,
          area_security       : integer;
          area_archive        : string[80];
          highest,
          received,
          dupes               : integer;
          update_last_scanned : boolean;
          forward_to          : array [1..19] of
                                  string[76];
        end;



       DBRIDGE.AFF

       This the the AREAFIX-forwarding queue file.  AREAFIX requests that
       are forwarded to another system are stored here.  This text file has
       the following format on each line:

       <feed address> <remote address> <area tag> <priority> <password>



       DBRIDGE.AFQ

       This is the AREAFIX-forwarding holding file.  Pending AREAFIX requests
       are stored here until the timeout date.  The text file has this format
       on each line:

       <date> <area tag> <feed address> <remote address>

       DBRIDGE.DL1

       This is the inbound EMAIL history file:


            inbound_EMAIL_history =
              record
                log_date   : string[6];
                log_time   : string[4];
                zone,
                net,
                node,
                point      : integer;
                bytes_out,
                bytes_in,
                time       : longint
              end;




         DBRIDGE.DL2

         This is the outbound EMAIL history file:


            outbound_EMAIL_history =
              record
                log_date   : string[6];
                log_time   : string[4];
                zone,
                net,
                node,
                point      : integer;
                bytes_out,
                bytes_in,
                time,
                cost       : longint
              end;
       
         DBRIDGE.DL3

         This is the received ECHOmail history file:


            received_ECHOmail_history =
              record
                log_date   : string[6];
                log_time   : string[4];
                area_name  : string[16];
                zone,
                net,
                node,
                point,
                dups,
                received   : integer
              end;




         DBRIDGE.DL4

         This is the AREAFIX history file:

            AREAFIX_history =
              record
                log_date   : string[6];
                log_time   : string[4];
                zone,
                net,
                node,
                point      : integer;
                area_name  : string[16];
                action     : (added,added_scanned,removed,
                              security_violation,area_list)
              end;



         DBRIDGE.DSI

         The D'Bridge system information file is a read-only file for utility
         authors.  It may not be modified, as the information is secured by
         undocumented "protector" CRCs.  Following is the structure:

           dbridge_information =
             record
               info_version : array [1..2] of byte;
               protector_1,
               protector_2,
               protector_3 : integer;
               current_system_date : date;
               global_event,
               queue_event,
               atomic_factor,
               UTC_offset_factor,
               extra_byte : byte;
               UTC_certified_by : string[16];
               rebuild_queue,
               scan_aborted,
               system_crashed,
               outbound_calls,
               immediate_mail,
               daylight_savings_time,
               timebase_valid,
               extra_bool_1,
               extra_bool_2,
               extra_bool_3 : boolean;
               last_command : integer;
               utc_offset,
               DataSent_remainder,
               DataReceived_remainder : longint;
               queue_entries,
               shutdown_ut,
               startup_ut,
               total_time_online,
               shutdown_time,
               lastreset_time,
               lastcheck_time : longint;
               shutdown_date,
               lastreset_date,
               lastcheck_date : date;
               next_queue_key,
               last_queue_key,
               starting_queue_key : string[16];
               nextdecisionUT24 : longint;
               padit1 : byte;
               ScheduleStatus : array [0..64] of char;
               actual_key,
               demo_key_one,
               demo_key_two : string[6];
               stats : array [CallsReceived..Unused5] of
                         array [LastWeek..Forever] of
                            longint;
               clk_last_UTC_offset,
               clk_last_update_unixtime : longint;
               clk_history : array [1..17] of
                              record
                                adj_source : string[14];
                                adj_date : date;
                                adj_time,
                                adj_unix,
                                adj_diff,              (* Seconds *)
                                adj_hdiff : longint;   (* Hundredths *)
                              end;
                 clk_detail : array [1..36] of
                            record
                              zone,
                              net,
                              node,
                              point : integer;
                              used_for_average,
                              valid_UTC_offset : boolean;
                              location : string[17];
                              their_UTC_offset,
                              this_update_unixtime,
                              total_updates,
                              total_difference,
                              last_delta,
                              last_difference : longint;
                            end;
               clk_last_adjustment : longint;
               clk_adjustment_source : string[3];
               clk_chain : clocksync_chain;
               TimeGrid : TwentyFourHourGrid;
               katguard : boolean;
               registration_site : char;
               registration_address : integer;
                spare_space : array [1..100] of byte;
             end;

         DBRIDGE.DUP

         The QuickBBS duplicate-prevention file contains from 0-200 of the
         following records:


            quickbbs_duplicate_prevention =
              array [1..1024] of
                record
                  date_CRC,
                  header_CRC : integer
                end;


         The Fido-style DBRIDGE.DUP files are located in each message area
         and contain path information as well as duplicate data.


            duplicate_prevention =
              record
                dups : array [1..1024] of
                         record
                           date_CRC,
                           header_CRC : integer
                         end;
                links : array [1..512] of
                          record
                            net,
                            node : word;
                            paths : array [0..1] of
                                      set of 0..255;
                         end
              end;




         DBRIDGE.FRS

         The file-request limit file tracks file-requests for a 24-hour period.
         DBRIDGE.FRS is a text file with one line per record in the following
         format:

            Field                            Starting column
            ------------------------------------------------

            ADDRESS                                  1
            UNIX TIME STAMP                         21
            FILE-REQUEST TIME USED                  37
            FILE-REQUEST BYTES USED                 47
            FILE-REQUEST COUNT                      57


         DBRIDGE.HIS

         D'Bridge uses this file to track outbound XMAIL filenames:


           node_history =
             record
               NH_ADDR : EMAIL_address;
               updated : date;
               xmail_number,
               bad_connects : integer
             end;



         DBRIDGE.LRQ

         For QuickBBS, DBEDIT stores the LASTREAD pointers in this file:


            Quickbbs_lastread = record
              username  : string[36];
              last_read : array [1..200] of record
                                              message,
                                              rec : integer
                                            end
            end;



         DBRIDGE.MEH/UEH

         This is the mail-event (unevent) history file:

           event_history =
             record
               key : string[16];
               tries,
               sessions,
               bad_sessions : integer;
               temporary_hold : boolean;
               connect_time : longint;
               was_reset : string[3];
             end;



         DBRIDGE.PTR

         Both the ECHOmail and NETmail scanners update this file for QuickBBS
         storage method.  In order for D'Bridge to know where it left-off
         scanning, the following text file is used:


            <high QuickBBS record> <first QuickBBS NETmail message>





         DBRIDGE.REE

         This file tells the ECHOmail scanner which conferences and systems
         to use for a RESCAN of designated conferences.  This text file has
         the following format:


            <ECHO tag> <address> <priority>






         DBRIDGE.TRM

         The terminal-mode parameters are stored in this file.


           terminal_config =
             record
               baud_rate_over_ten : word;
               duplex,
               parity,
               databits,
               stopbits : char;
               comport : byte;
               emulation : char;
               directory : array [1..100] of
                             dialentry;
               capture_strip,
               auto_download : boolean;
               external_protocol : array [1..4] of
                                     string[30];
               external_send_protocol,
               external_receive_protocol : array [1..4] of
                                             string[40];
            end;


            dialentry =
              record
                name : string[25];
                baud_rate_over_ten : word;
                parity,
                databits,
                stopbits : char;
                phone : string[30];
              end;



         DBRIDGE.XMA

         This text file contains a list of packets that need to be compressed
         by the XMAIL processor.  Each line is in the following format:

            <queue name> <packet name>
            <queue name> <packet name>
            .
            .
            <queue name> <packet name>



         DBRIDGE.WIS

         The D'Bridge "wisdom control file" may contain a customized message
         to be displayed upon startup.  This replaces the standard definition
         that appears in the box at the bottom of the screen when the system
         is coming online.

	 This file may have 1-13 lines of text, 65 columns in width.


         ECHOMAIL.CTL

         If this text file exists, D'Bridge will only scan the ECHOmail areas
         listed within.  If it doesn't exist, all ECHOmail areas are scanned.


         FILEBASE.DB1/DB2

         The FILEBASE files are created and maintained by the B-TREE FILER
         routines available from Turbo-Power Software.  They contain the
         compiled filebase data.


           FILEbase_structure = record
             del : longint;
             net,
             node : word;
             filename : string[12];
             offset : longint;
             select : boolean;
             bs : byte;
           end;

            There is one database key for the filebase:

              Key 1: FILENAME+NET+NODE    (16,non-duplicatable)




         LASTREAD

         This file contains the lastread pointer for a Fido-style message
         area.  (SEAdog style)


           fido_lastread = word;




         LASTREAD.DBR

         This file contains the lastread pointer for a Fido-style message
         area when there are multiple users defined for the editor.


           dbridge_lastread =
             record
               username : string[36];
               last_read : integer
             end;

         NODEBASE.DB1/DB2

         The NODEBASE files are created and maintained by the B-TREE FILER
         routines available from Turbo-Power Software.  They contain the
         compiled nodelist database.


            nodelist_structure = record
              del             : longint;
              zone,
              net,
              node,
              point           : integer;
              nodelist_CRC    : word;
              nodelist_offset : longint;
              route_to_node   : integer;
              reserved        : array [1..6] of byte;
            end;

            There are two database keys for the nodelist file:

              Key 1: ZONE+NET+NODE+POINT    (8,non-duplicatable)
              Key 2: USERNAME+SEQ           (17,non-duplicatable)




         TASKQ.DB1/DB2

         The TASKQ files are created and maintained by the B-TREE FILER
         routines available from Turbo-Power Software.  They contain the
         current outbound queue.  This file is not critical.  It can be
         rebuilt at any time if it is deleted.


           outbound_queue =
             record
               del : longint;
               Q_ADDR : EMAIL_address;
               history_file_offset,
               actual_time,
               estimated_time,
               estimated_cost,
               total_size : longint;
               total_files,
               freqs_to_send,
               tries,
               sessions,
               bad_sessions : integer;
               event_poll,
               nocost,
               lowestcost,
               schedule_hold,
               send_everything,
               needs_work,
               unlisted,
               temporary_hold,
               forced : boolean;
               forced_priority : char;
               status : string[18];
               costing_key : string[20];
               kinds : array [1..6] of char; (* RTFPXM *)
               priorities : pritype; (* ICNH *)
               NCI,
               was_reset : string[3];
               entrydecisionUT24 : longint;
               phone_number : string[60];
               system_name : string[31];
               operator_name : string[31];
               system_city : string[31];
               system_flags : string[40];
               sizes : array [1..4] (* priorities *) of
                         array [1..3] of longint; (* netmail, xmail, files *)
               files : array [1..4] (* priorities *) of
                         array [1..3] of integer; (* netmail, xmail, files *)
               baud_rate : longint;
             end;


            There is one database key for this record:

              Key 1: ZONE+NET+NODE+POINT  (8,non-duplicatable)

       
    6.0  DISK-BASED QUEUE
    ---------------------


    D'Bridge has a disk-based queue for XMAIL, file-transfer and AREAFIX
    requests.  This queue works independently of the NETmail area and may
    be accessed by user-written programs.  All queue entries reside as files
    in the specified "queue" directory; the address is encoded in the file-
    name as base-36 numbers.


    The filenames of queue entries use the following format:

       t-zzzNNN.nnn           H-00102X.00G
           -or-                   -or-
       t-POINT-ppp            H-POINT.005


    Where: t     is the entry type (A/B/C/H/I/N/Q)
           zzz   is the base-36 ZONE address
           NNN   is the base-36 NET address
           nnn   is the base-36 NODE address
           ppp   is the base-36 POINT address



    Base-36 numbers use the digits 0-Z to represent the numbers.  You will
    notice from the structure that the address is either 3-dimensional (ZONE,
    NET and NODE) or a POINT-address.  It is impossible to have a queue entry
    for a point of another system.


    The following queue entry-types are currently defined:


       A - AREAFIX request packet

       An "A" queue entry is an outbound AREAFIX request; this is a NETmail
       message that is destined for the specified system.  It must always be
       associated with a "Q" entry-type that designates the packet priority.
       This packet is generated by using the REQUEST ECHOMAIL LINK, ALT-R
       option of D'Bridge.

       B - Inbound AREAFIX request/New ECHOmail link control file

       The "B" queue entry indicates either an inbound AREAFIX request or
       a request issued using the NEW ECHOMAIL LINK, ALT-N command.  These
       requests are usually processed immediately, but if there is a hold
       on ECHOmail forwarding because of a disk-space limit, these files may
       accumulate.  The "B" queue entries are text files in the following
       format:

          <priority><rescan><area listing><manual override>
          <area name>
          .
          .
          <area name>


          <priority>         is either N, I, C or H
          <rescan>           Should the area be rescanned?  Y or N
          <area listing>     Should an area listing be sent?  Y or N
          <manual override>  Is this a manual (ALT-N) entry?  Y or N
          <area name>        Either + or - then the ECHOmail tags to add
                             or remove from your LOCAL/ECHOMAIL AREAS screen.

       "B" queue entries are processed when an ECHOmail scan is done; any
       external program may add entries to the disk-based queue.


       C - Crash priority XMAIL

       "C" queue entries are XMAIL (compressed mail) packets with CRASH
       priority.  These will be sent during any event including the UNEVENT
       to the specified system.  This file contains any number of outbound
       mail packets.

       H - Hold priority XMAIL

       "H" queue entries are XMAIL packets with HOLD priority.  These will
       never be sent unless there is a forced priority override or the
       operator uses the VIEW/MODIFY QUEUE command to force D'Bridge to call
       the specified system.  Typically, HOLD priority XMAIL is picked up
       by a "poll" from the destination system.

       I - Immediate priority XMAIL

       "I" queue entries are XMAIL packets with IMMEDIATE priority.  These
       will be sent immediately during any event; this priority overrides
       crash and all immediate queue entries will be sent before any other
       outbound traffic.

       N - Normal priority XMAIL

       "N" queue entries are XMAIL packets with NORMAL priority.  They will
       never be transmitted during the UNEVENT unless a forced priority has
       been specified or the operator uses the VIEW/MODIFY QUEUE command to
       force it to send.



       Q - General purpose outbound queue

       A "Q" queue entry is a text file that contains any number of lines,
       each of which contains one of the following formats:


          <priority> P

          A "P" entry indicates a "poll" with the specified priority.


          <priority> T <file path> <transmit filename>

          A "T" entry indicates an outbound file transmission.   Wildcards
          are not allowed here; all entries must specify full filenames and
          whatever programs add entries to the queue must do the wildcard
          expansion themselves.  This queue structure requires that both the
          full path of the file be specified as well as the transmitted file-
          name; this allows files to be transmitted different filenames than
          they have on disk.


          <priority> F <filename>

          A "F" entry indicates a file request.  Filenames may include a
          path, but the file will be received into the inbound files
          directory unless you are requesting from a SEAdog or "Bark-style"
          system.  If the file exists in the specified path, an update-
          request will be generated, only receiving the file if a newer
          version exists.

          <priority> R <packet path> <transmit packet name>

          An "R" entry indicates an outbound AREAFIX request.  This is always
          associated with an "A" queue entry which contains an actual NETmail
          packet.

         The disk-based queue was designed to allow user-written programs to
         transmit files and XMAIL easily without using the DBUTIL program.
         Following is a sample routine to generate the queue entry filenames
         based on kind, ZONE, NET, NODE and POINT:


           function qname(kind : char;
                          zone,
                          net,
                          node,
                          point : integer) : string;

           function base36(n : integer) : maxstring;
           var d36 : string[36];
           i,j,k : integer;
           begin
             d36:='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ';
             i:=n div 1296;
             j:=n mod 1296;
             k:=n mod 36;
             j:=j div 36;
             base36:=d36[i+1]+d36[j+1]+d36[k+1]
           end;

           begin
             if point<>0 then
               qname:=kind+'-POINT.'+base36(point)
             else
               qname:=kind+'-'+base36(zone)+base36(net)+'.'+base36(node)
           end;


                    Environmental Variables for D'Bridge.

The following are "legacy" environment variables still supported by D'Bridge.
As of the 1.80 and version 2.x series, some of these variables are either
obsolete or no longer supported. Contact Nick Andre for more information.

  SET                         Description
  --------------------------------------------------------------------------
  COUNTOVR=Y                 Diagnostics to count overlay swaps
  DB-ALIAS-HOLD=Y            Do not transmit mail for outbound EMSI aliases
  DB-DATA=<directory>        D'Bridge DATA directory (database files)
  DB-IO-LOG=Y                Writes C:\DB-IO.DAT (debug file)
  DB-MODEM-ANSWER=ATA        Special answer string (sent to modem to answer)
  DB-MODEM-CDMASK=0080       Non-standard CD mask word (4 hexadecimal digits)
  DB-MODEM-OFFHOOK=ATM0H1    String to take modem offhook
  DB-QUEUEFP=<directory>     Directory to put DBRIDGE.UEH and DBRIDGE.MEH
  DB-SWAPFN=<filename>       D'Bridge swap file pathname (DBRIDGE.DRO)
  DB-TIMER-RES=<1-8>         D'Bridge int 08 timer resolution
  DBED-SWAPFN=<filename>     DBEDIT swap file pathname (DBEDIT.DRO)
  DBFREEMEM=<40-100>         WorkRAM free memory setting (debugging only)
  DBOVRBUFSIZ=<80-180>       Overlay buffer size in K  (affects performance)
  DBOVREMS=Y                 Loads D'Bridge overlay into EMS (not suggested)
  DIAL-IGNORE=<string>       Ignores response when dialing.  (ie. DIALTONE)
  DISKSTATS=Y                Displays disk statistics during processing
  DLE=Y                      A ZMODEM debug mode for older Opus systems.
  FILEBASE-INQ=N             Disables file-request inquiry into the filebase
  KATGUARD=Y                 Defaults KatGuard ON when D'Bridge starts
  NLBUFSIZE=<32-256>         Sets the nodelist compile buffer size (32-256)
  LASTCALL=N                 Disables the LASTCALL request feature
  LASTCALL-SAVE=Y            Causes LASTCALL.ZIP to NOT be killed at midnight
  RUSSIAN=Y                  Special handling of cyrillic characters (8a, 8d)
  SAVEAREALINE=Y             Saves the AREA: line in ECHOmail messages
  XMIT-PATH                  Controls the default search path for the ALT-T
                             (transmit files) command.
  UPDATE-PATH                This variable provides an alternate search path
                             for update requests.

(eof)

