home *** CD-ROM | disk | FTP | other *** search
/ synchro.net / synchro.net.tar / synchro.net / main / BBS / DB341.ZIP / TECHSPEC.TXT < prev   
Encoding:
Text File  |  2009-03-12  |  74.9 KB  |  1,907 lines

  1.  
  2.  
  3. D'Bridge 2.95 Technical Information                        15 December 2007
  4. ---------------------------------------------------------------------------
  5.  
  6.     1.0  SYSTEM FILES
  7.     -----------------
  8.  
  9.     D'Bridge is a complex program that uses quite a few control, storage
  10.     and history files to store system information.  This document lists
  11.     these file structures so that programmers may access them in utility
  12.     programs.
  13.  
  14.     Structures will be listed in the following sections, but here is a brief
  15.     summary of all files used directly by D'Bridge:
  16.  
  17.  
  18.     Filename          Description
  19.     -----------------------------------------------------------------------
  20.  
  21.     AREAS.BBS         Requestable file descriptions
  22.     AREAS.TXT         ECHOmail area name file (user-supplied)
  23.     BADECHO     <dir> Fido-style bad/duplicate ECHOmail directory (default)
  24.     BADPWD.TXT        Text file to send after bad password notice
  25.     CALLER.INF        Function-request caller information file
  26.     COMM.CFG          D'Bridge communication parameters
  27.     COSTBASE.DB1      Costing data file
  28.     COSTBASE.DB2      Costing index file
  29.     COSTING.XDC       Automatically exported accounting/translation data
  30.     DATA        <dir> Databases, BinkD domains, filebase directory (default)
  31.     DB.EXE            D'Bridge mailer (executable)
  32.     DB-IO.LOG         Communication log file (C:\DB-IO.LOG, if activated)
  33.     DB01.version      D'Bridge mailer
  34.     DB02.version      FTSC mailer list
  35.     DB03.version      D'Bridge mailer
  36.     DB04.version      D'Bridge editor
  37.     DB05.version      D'Bridge editor
  38.     DB06.version      D'Bridge Fido Plug and Play system
  39.     DB07.version      D'Bridge Echofile processor subsystem
  40.     DBCONFIG.ZIP      Backup configuration archive (7 day history)
  41.     DBEDIT.DRO        Memory "swap file" for DBEDIT
  42.     DBEDIT.FND        Last search string for DBEDIT
  43.     DBHELP.IDX        D'Bridge help index
  44.     DBHELP.TXT        D'Bridge help file
  45.     DBINS.CTL         Installation country/area code definition file
  46.     DBNL.AUT          D'Bridge automatic nodelist
  47.     DBRIDGE.ACT       D'Bridge Echofile Actions database (Version 3 series)
  48.     DBRIDGE.ADF       Local/ECHOmail area definition file
  49.     DBRIDGE.AFF       AREAFIX request queue file
  50.     DBRIDGE.AFQ       AREAFIX request queue file
  51.     DBRIDGE.AUT       Automatic exported configuration
  52.     DBRIDGE.CON       Keeps track of what systems were called during an event
  53.     DBRIDGE.DL1       Inbound EMAIL history file
  54.     DBRIDGE.DL2       Outbound EMAIL history file
  55.     DBRIDGE.DL3       Received ECHOmail history file
  56.     DBRIDGE.DL4       AREAFIX history file
  57.     DBRIDGE.DRO       Memory "swap file" for DBMAILER
  58.     DBRIDGE.DSI       System information file
  59.     DBRIDGE.DUP       QuickBBS ECHOmail duplicate-prevention file
  60.     DBRIDGE.ECF       D'Bridge Echofile configuration (Version 3 series)
  61.     DBRIDGE.EMO       Semaphore for checking EMAIL only and not Usenet
  62.     DBRIDGE.EMW       ECHOmail waiting flag file
  63.     DBRIDGE.ERR       Status-line error display text file
  64.     DBRIDGE.FCN       Forced nodelist compile activation file
  65.     DBRIDGE.FRS       File-request limit file  (Stores 24-hour limits)
  66.     DBRIDGE.HIS       Outbound XMAIL control file (tracks filenames)
  67.     DBRIDGE.INS       Installation pathname default file
  68.     DBRIDGE.LOG       D'Bridge system log file (default)
  69.     DBRIDGE.LRQ       QuickBBS lastread pointers (for DBEDIT)
  70.     DBRIDGE.MAR       NETmail "mark/delete" pointers
  71.     DBRIDGE.MEH       Mail-event queue progress file
  72.     DBRIDGE.NMW       NETmail waiting flag file
  73.     DBRIDGE.NSP       Created when D'Bridge has not been shut down properly
  74.     DBRIDGE.PNP       D'Bridge Fido Plug And Play (FPNP)
  75.     DBRIDGE.PRM       D'Bridge parameter file
  76.     DBRIDGE.PTR       QuickBBS EMAIL pointer file
  77.     DBRIDGE.QIP       QueueScan In Progress semaphore control file
  78.     DBRIDGE.QSD       Rescan semaphore control file (Internet Rex only)
  79.     DBRIDGE.R$$       Received files (internal control file)
  80.     DBRIDGE.REE       AREAFIX rescan queue file
  81.     DBRIDGE.REG       D'Bridge registration data
  82.     DBRIDGE.RII       Automatic nodelist temporary file
  83.     DBRIDGE.RSE       ECHOmail scan activation file
  84.     DBRIDGE.RSN       NETmail scan activation file
  85.     DBRIDGE.TCN       Test/compile nodelist activation file
  86.     DBRIDGE.TIC       D'Bridge Echofile database (Version 3 series)
  87.     DBRIDGE.TRM       Terminal-mode parameter file
  88.     DBRIDGE.TWT       TWIT file for the internal message editor
  89.     DBRIDGE.UEH       UN-EVENT queue progress file
  90.     DBRIDGE.UFM       Unpack/forward mail activation file
  91.     DBRIDGE.XCF       ECHOmail cycle delay control file
  92.     DBRIDGE.XMA       Outbound XMAIL control file (tracks outbound packets)
  93.     DBRIDGE.WIS       Wisdom display control file
  94.     DBUTIL.EXE        D'Bridge utilities and Echofile setup program
  95.     DBUTIL.BSY        Created when DBUTIL is busy working
  96.     DBUTIL.DRF        Tells DBUTIL not to remove the Busy flag file if there
  97.     DBUTIL.NLG        Tells DBUTIL not to make a log file
  98.     ECHOMAIL.CTL      ECHOmail scan control file
  99.     FILEBASE.DB1      FILEBASE data file
  100.     FILEBASE.DB2      FILEBASE index file
  101.     INBOUND     <dir> Inbound files directory (default)
  102.     FREQ.TXT          Text file to send after file-request report
  103.     INBOUND.REQ       Inbound file-request (erased before each call)
  104.     INTERCOM.LOG      Intercom conversation log
  105.     LASTEMSI.DAT      Last EMSI data from remote system
  106.     LASTREAD.DBR      D'Bridge/Fido-style lastread pointers (for DBEDIT)
  107.     LASTREAD          SEAdog-style lastread pointers (for compatibility)
  108.     LICENSE.REG       Registration data file
  109.     MCFILES.LST       Modem control file (MCF) list
  110.     MCFILES.ZIP       Modem control file archive
  111.     MESSAGES    <dir> Fido-style NETmail and Echomail directories (default)
  112.     MSGHDR.BBS        QuickBBS message header file
  113.     MSGIDX.BBS        QuickBBS message index file
  114.     MSGINFO.BBS       QuickBBS message summary file
  115.     MSGTOIDX.BBS      QuickBBS message-to index
  116.     MSGTXT.BBS        QuickBBS message text file
  117.     NODEBASE.DB1      NODELIST data file
  118.     NODEBASE.DB2      NODELIST index file
  119.     PACKETS     <dir> Temporary queue path (default)
  120.     PCFILES.LST       Printer control file (PCF) list
  121.     PCFILES.ZIP       Printer control file archive
  122.     QUEUE       <dir> Queue directory (default)
  123.     READ.ME           A message from the author
  124.     RESTART     <dir> ZMODEM receive temporary directory
  125.     SCRIPTS     <dir> Dialing script directory (default)
  126.     TASKQ.DB1         Outbound queue data file
  127.     TASKQ.DB2         Outbound queue index file
  128.     THISCALL.TXT      Post-call activity report
  129.     THISCOMM.TXT      Post-call modem register dump file
  130.     USA-EAST.COS      United states accounting/translation data (default)
  131.     
  132.     2.0  PARAMETER FILE
  133.     -------------------
  134.  
  135.  
  136.     D'Bridge uses a text-file called DBRIDGE.PRM to store its parameters.
  137.     The structure of this file will change in future versions, but this
  138.     is the definition for version 2.95.  When using this chart, make sure
  139.     that you understand that "Line" doesn't really mean the literal line
  140.     of the text file, but the currently processed line.  Fields that have
  141.     an asterisk (*) in the in "Column" field are called LISTS.
  142.  
  143.     LISTS are fields that contain any number of lines.  The first line of
  144.     a list contains the number of lines in the list.  If a zero is found,
  145.     the list is empty.
  146.  
  147.  
  148.  
  149.     Field                  Line/Column   Description
  150.     -----------------------------------------------------------------------
  151.  
  152.     PARAMETER FILE VERSION    1   1      Current software version
  153.     NETWORK MAIL STORAGE      2   1      NETmail storage method: F, T or Q
  154.     DBMAILER OVERLAY EMS      2   2      Copy DBMAILER.OVR to EMS?  1 or 0
  155.     DBEDIT OVERLAY EMS        2   3      Copy DBEDIT.OVR to EMS? 1 or 0
  156.     DBMAILER PROGRAM SIZE     2   4      Total memory (in K)
  157.     DBMAILER WORKRAM SIZE     2  11      WorkRAM (in K)
  158.     ECHOMAIL RAM SIZE         2  18      Required amount computer by D'bridge
  159.     NETWORK MAIL DIRECTORY    3   1      Fido-style NETmail directory path
  160.     INBOUND FILES DIRECTORY   4   1      Inbound files directory path
  161.     PACKET DIRECTORY          5   1      Temporary packet directory path
  162.     QUEUE DIRECTORY           6   1      Disk-based queue directory path
  163.     SCRIPT DIRECTORY          7   1      Script file directory path
  164.     BADECHO DIRECTORY         8   1      BADECHO directory path (Fido-style)
  165.     NEWECHO DIRECTORY         9   1      New ECHOmail base directory path
  166.     DFB DIRECTORY            10   1      D'Bridge FileBase directory path
  167.     QUICKBBS DIRECTORY       11   1      QuickBBS directory path
  168.     DOWNLOAD DIRECTORY       12   1      Terminal download directory path
  169.     OUTBOUND MAIL ARCHIVE    13   1      Outbound NETmail archive filename
  170.     NETWORK MAIL ARCHIVE     14   1      NETmail archive filename
  171.     PRIMARY EMAIL ADDRESS    15   1      Primary system address
  172.     SYSTEM NAME              16   1      Primary system name
  173.     OPERATOR NAME            17   1      Primary operator name
  174.     DATA PHONE NUMBER        18   1      System telephone number (1-nnn-...)
  175.     SYSTEM FLAGS             19   1      Nodelist flags defined for system
  176.     SYSTEM LOG LEVEL         20   1      0=None, 1=Terse, 2=Verbose, 3=Debug
  177.     LOG DAYS                 20   8      Not used at this time
  178.     HISTORY DAYS             20  15      Days history to keep in DL? files
  179.     FAKE POINTNET            20  36      Fake pointnet address (NET number)
  180.     NETMAIL PURGE            20  43      Days/messages for purge of NETmail
  181.     NETMAIL AREA NUMBER      20  50      QuickBBS NETmail area number
  182.     AREAFIX DAYS             20  57      Areafix cycle timeout days
  183.     XMAIL CYCLE DELAY        20  64      XMAIL processing interval minutes
  184.     ALIAS ADDRESSES          21   *      Alias EMAIL address list
  185.     BACKGROUND COLORS        22   1      Screen/text/brite/highlite/border
  186.     LOG WINDOW COLORS        23   1      "
  187.     ACTIVITY WINDOW COLORS   24   1      "
  188.     QUEUE WINDOW COLORS      25   1      "
  189.     SCHEDULE WINDOW COLORS   26   1      "
  190.     COMMAND WINDOW COLORS    27   1      "
  191.     SPARE WINDOW COLORS      28   1      "
  192.     SPARE WINDOW COLORS      29   1      "
  193.     MODEM PORT 1             30   1      Modem: Port/Address/IRQ/MCF
  194.     MODEM PORT 2             31   1      "
  195.     MODEM PORT 3             32   1      "
  196.     PRINTER PORT             33   1      Printer device/filename
  197.     PRINTER CONTROL FILE     34   1      PCF name
  198.     ANSWERING METHOD         35   1      Hard/Soft/RingMaster/Modem/Disabled
  199.     LINE ASSIGNMENT 1        35   2      1/2/3/Voice
  200.     LINE ASSIGNMENT 2        35   3      "
  201.     LINE ASSIGNMENT 3        35   4      "
  202.     COSTGUARD TIME           35   5      CostGuard time minutes
  203.     COSTGUARD COST           35  15      Costguard cost cents
  204.     AUTO-INIT TIME           35  25      Automatic modem init time minutes
  205.     MAX RINGS                35  35      Maximum rings allowed while dialing
  206.     COLLISION DETECT         35  45      S=ON, 0=OFF
  207.     DIMESAVER                35  46      1=ON, 0=OFF
  208.     BUSY WHEN OFFLINE        35  47      1=YES, 0=NO
  209.     SYSTEM CITY              36   1      City or location of system
  210.     LOG FILENAME             37   1      System log filename
  211.     ABOUT FILENAME           38   1      File-request "ABOUT" filename
  212.     FILES FILENAME           39   1      File-request "FILES" filename
  213.     CONFIG PASSWORD          40   1      Configuration password (XOR 97h)
  214.     POINTLIST                41   1      Pointlist filename
  215.     ADDITIONAL USER FILE     42   1      Additional user filename
  216.     DEFAULT ROUTING          43   1      Direct/Hub/None
  217.     TRANSLATION TABLE 1/14   44   1      Displayed/Stored/Displayed/Stored
  218.     TRANSLATION TABLE 2/15   45   1      "
  219.     TRANSLATION TABLE 3/16   46   1      "
  220.     TRANSLATION TABLE 4/17   47   1      "
  221.     TRANSLATION TABLE 5/18   48   1      "
  222.     TRANSLATION TABLE 6/19   49   1      "
  223.     TRANSLATION TABLE 7/20   50   1      "
  224.     TRANSLATION TABLE 8/21   51   1      "
  225.     TRANSLATION TABLE 9/22   52   1      "
  226.     TRANSLATION TABLE 10/23  53   1      Displayed/Stored/Displayed/Stored
  227.     TRANSLATION TABLE 11/24  54   1      "
  228.     TRANSLATION TABLE 12/25  55   1      "
  229.     TRANSLATION TABLE 13/26  56   1      "
  230.     KEYBOARD MACRO ALT-F1    57   *      Editor keyboard macro
  231.     KEYBOARD MACRO ALT-F2    58   *      "
  232.     KEYBOARD MACRO ALT-F3    59   *      "
  233.     KEYBOARD MACRO ALT-F4    60   *      "
  234.     KEYBOARD MACRO ALT-F5    61   *      "
  235.     KEYBOARD MACRO ALT-F6    62   *      "
  236.     KEYBOARD MACRO ALT-F7    63   *      "
  237.     KEYBOARD MACRO ALT-F8    64   *      "
  238.     KEYBOARD MACRO ALT-F9    65   *      "
  239.     KEYBOARD MACRO ALT-F10   66   *      "
  240.     KEYBOARD MACRO CTL-F1    67   *      "
  241.     KEYBOARD MACRO CTL-F2    68   *      "
  242.     KEYBOARD MACRO CTL-F3    69   *      "
  243.     KEYBOARD MACRO CTL-F4    70   *      "
  244.     KEYBOARD MACRO CTL-F5    71   *      "
  245.     KEYBOARD MACRO CTL-F6    72   *      "
  246.     KEYBOARD MACRO CTL-F7    73   *      "
  247.     KEYBOARD MACRO CTL-F8    74   *      "
  248.     KEYBOARD MACRO CTL-F9    75   *      "
  249.     KEYBOARD MACRO CTL-F10   76   *      "
  250.     SESSION PASSWORDS        77   *      Session password list
  251.     AREAFIX INFORMATION      78   *      AREAFIX information list
  252.     USERNAMES                79   *      DBEDIT username list
  253.     ADDRESS SYNONYMS         80   *      Synonym definition list
  254.     FILE-REQUEST PATHS       81   *      File-request directory list
  255.     MAGIC FILENAMES          82   *      MAGIC request filename list
  256.     PHONE NUMBER OVERRIDES   83   *      Phone number override list
  257.     FLAG OVERRIDES           84   *      Flag override list
  258.     ST LOUIS NODELISTS       85   *      St. Louis format nodelist list
  259.     PRIVATE NODELISTS        86   *      Private nodelist list
  260.     DISPLAY TIMEOUT          87   1      Blankout timer minutes
  261.     MAX XMAIL FILE SIZE      87  15      Not used at this time
  262.     MIN BBS BAUD RATE        87  29      Minimum speed for BBS calls
  263.     MAX PACKET SIZE          87  43      Maximum size of XMAIL packets
  264.     CLOCK WARNING THRESHOLD  87  50      Clock warnings minimum minutes
  265.     FREQ TIME LIMIT          87  64      File-request time limit
  266.     FREQ SIZE LIMIT          87  71      File-request size limit
  267.     FREQ FILE LIMIT          87  78      File-request file count limit
  268.     HUMAN CALLER TIMEOUT     87  85      Timeout before passing to BBS
  269.     FREQ MINIMUM BAUD        87  92      Minimum baud rate for file-request
  270.     FAX TONE DIALING         88   1      Not used at this time
  271.     FAX RECEIVE ALLOWED      88   2      "
  272.     FAX INSTALLED            88   3      "
  273.     FAX ANSWER OFFLINE       88   4      "
  274.     FAX DEFAULT RESOLUTION   88   5      "
  275.     FAX DEFAULT FONT         88   6      "
  276.     FAX BOARD TYPE           88   7      "
  277.     FAX RINGS TO ANSWER      88   9      "
  278.     FAX SOFTWARE DIRECTORY   89   1      "
  279.     FAX ID                   90   1      "
  280.     BBS SOFTWARE INSTALLED   91   1      1=YES, 0=NO
  281.     KILL NULL MESSAGES       91   2      "
  282.     ALARMS ACTIVE            91   3      "
  283.     EDITOR SCAN NETMAIL      91   4      "
  284.     CREATE USERNAME INDEX    91   5      "
  285.     USE ZONEGATES            91   6      "
  286.     EDITOR SOUND EFFECTS     91   7      "
  287.     REJECT UNAUTH. MAIL      91   8      "
  288.     RENAME UNAUTH. FILES     91   9      "
  289.     TOUCH-TONE DIALING       91  10      "
  290.     DEFAULT PRIVATE          91  11      "
  291.     DEFAULT KILL-SENT        91  12      "
  292.     DEFAULT CRASH            91  13      "
  293.     EDITOR EXEC METHOD       91  14      Not used at this time
  294.     SNOW SUPPRESSION         91  15      1=Enabled, 0=Disabled
  295.     TOP SECRET               91  16      Reserved for D'Bridge security
  296.     DISPLAY TIME DATA        91  17      1=Yes, 0=No
  297.     RING SIGNAL              91  18      "
  298.     ALLOW UNLISTED NODES     91  20      "
  299.     ALLOW UNLISTED FREQS     91  21      "
  300.     ENFORCE LIMIT OVERNIGHT  91  22      "
  301.     CHECK LIMITS BEFORE      91  23      "
  302.     INBOUND MAIL HANDLING    91  24      Automatic/Manual/External/Disabled
  303.     HANG-UP ON VIOLATION     91  25      1=Yes, 0=No
  304.     DEFAULT INSERT           91  26      "
  305.     DEFAULT COMPRESSION FMT  91  27      0-6
  306.     RENAME INCOMING FILES    91  29      1=Yes, 0=No
  307.     KILL IN-TRANSIT MAIL     91  30      "
  308.     DISPLAY QUEUE            91  34      "
  309.     DEFAULT IMMEDIATE        91  35      "
  310.     DEFAULT HOLD             91  36      "
  311.     DEFAULT ARCHIVE-SENT     91  37      "
  312.     DEFAULT XMAIL            91  38      "
  313.     DEFAULT INTL ADDRESSING  91  39      "
  314.     EDITOR SCAN ECHOMAIL     91  40      "
  315.     BBS SCAB ECHOMAIL        91  41      "
  316.     AUTO-ADD ECHOMAIL AREAS  91  42      Fido/QuickBBS/None
  317.     LEAVE SEENBYS            91  43      1=Yes, 0=No
  318.     ACCEPT AREAFIX REQUESTS  91  44      "
  319.     KEEP DUPLICATE MESSAGES  91  46      "
  320.     AUTOMATIC ALIAS          91  47      "
  321.     43-50 LINE MODE          91  49      1=43/50-line mode, 0=25-line mode
  322.     LIMIT NO-COST CALLS      91  50      1=Yes, 0=No
  323.     BLANKOUT GRAPHICS        91  51      "
  324.     IN-TRANSIT RESCAN        91  52      "
  325.     SECURED ECHOMAIL ONLY    91  54      "
  326.     QUOTE SEENBYS            91  55      "
  327.     REMOVE EMPTY PASSTHRUS   91  56      "
  328.     OBSERVE DAYLIGHT TIME    91  59      "
  329.     ADJUST MAIL EVENTS       91  60      Not used at time time
  330.     ADJUST TIMESYNC EVENTS   91  61      "
  331.     ADJUST EXTERNAL EVENTS   91  62      "
  332.     TRANSFER SPEED           91  65      CPS/BPS/KPS
  333.     NODELIST COMPILE MODE    91  66      Midnight/Startup/Never
  334.     THIS LINE BLANK          92   1      Not used at this time
  335.     OUTBOUND GATEWAY         93   1      Outbound gateway address
  336.     COUNTRY CODE             94   1      Country code
  337.     NO-COST PREFIX           95   1      No-cost dialing prefix
  338.     DOMESTIC PREFIX          96   1      Domestic dialing prefix
  339.     INTERNATIONAL PREFIX     97   1      International dialing prefix
  340.     PARM FILE SYNC FLAG      98   1      Used for control purposes "DBedit"
  341.     EXTERNAL EDITOR PATH     99   1      Path for external editor
  342.     EMAIL ONLY TEXT         100   1      Text for EMAIL-only operation
  343.     PRESS ESC TEXT          101   1      Text for "Press ESC twice to load"
  344.     LOADING BBS TEXT        102   1      Text displayed before loading BBS
  345.     LOADING BBS FILENAME    103   1      File to display before loading BBS
  346.     PRIMARY SUPPORT PHONE   104   1      Not used at this time
  347.     ZIP COMPRESS COMMAND    105   1      DOS command
  348.     LHA COMPRESS COMMAND    106   1      "
  349.     ARJ COMPRESS COMMAND    107   1      "
  350.     PAK COMPRESS COMMAND    108   1      "
  351.     ARC COMPRESS COMMAND    109   1      "
  352.     ZOO COMPRESS COMMAND    110   1      "
  353.     ZIP DECOMPRESS COMMAND  111   1      "
  354.     LHA DECOMPRESS COMMAND  112   1      "
  355.     ARJ DECOMPRESS COMMAND  113   1      "
  356.     PAK DECOMPRESS COMMAND  114   1      "
  357.     ARC DECOMPRESS COMMAND  115   1      "
  358.     ZOO DECOMPRESS COMMAND  116   1      "
  359.     TOO SLOW FILENAME       117   1      File sent when BBS caller too slow
  360.     AFTER-HOURS FILENAME    118   1      File sent outside defined BBS hours
  361.     BBS FROM                119   1      HHMM starting BBS operation
  362.     BBS TO                  119   5      HHMM ending BBS operation
  363.     ALARM FROM              119   9      HHMM starting alarm operation
  364.     ALARM TO                119  13      HHMM ending alarm operation
  365.     PACKET PRE-PROCESSOR    120   1      Packet pre-processing command
  366.     EXCLUDE NETS            121   *      Nodelist exluded ZONES:NETS
  367.     NET TRANSLATION         122   *      ZONE:NET translations
  368.     SPECIAL ALARMS          123   *      Special alarms for inbound calls
  369.     KEY COMMANDS F1         124   *      Not used at this time
  370.     KEY COMMANDS F2         125   *      DOS commands
  371.     KEY COMMANDS F3         126   *      "
  372.     KEY COMMANDS F4         127   *      "
  373.     KEY COMMANDS F5         128   *      "
  374.     KEY COMMANDS F6         129   *      "
  375.     KEY COMMANDS F7         130   *      "
  376.     KEY COMMANDS F8         131   *      "
  377.     KEY COMMANDS F9         132   *      "
  378.     KEY COMMANDS F10        133   *      "
  379.     KEY COMMANDS ALT-F1     134   *      "
  380.     KEY COMMANDS ALT-F2     135   *      "
  381.     KEY COMMANDS ALT-F3     136   *      "
  382.     KEY COMMANDS ALT-F4     137   *      "
  383.     KEY COMMANDS ALT-F5     138   *      "
  384.     KEY COMMANDS ALT-F6     139   *      "
  385.     KEY COMMANDS ALT-F7     140   *      "
  386.     KEY COMMANDS ALT-F8     141   *      "
  387.     KEY COMMANDS ALT-F9     142   *      "
  388.     KEY COMMANDS ALT-F10    143   *      "
  389.     BBS DOS COMMANDS        144   *      BBS loading DOS commands
  390.     EDITOR DOS COMMANDS     145   *      DOS commands for loading editor
  391.     CLOCK DATA FOR          146   *      Filter for clock data aquisition
  392.     FUNCTION REQUEST        147   *      Function request list
  393.     EXTERNAL RECEIVERS      148   *      External receiver list
  394.     EXTERNAL GATEWAYS       149   *      External gateway list
  395.     ISOLATE DATA FROM       150   *      Not used at this time
  396.     ALT COMPRESSION FMTS    151   *      Alternate compression formats
  397.     CLOCKSYNC SYSTEM        152   1      Default ClockSync system
  398.     AUTOMATIC SYNC SYSTEM   153   1      Automatic ClockSync system
  399.     SET CLOCK COMMAND       154   1      DOS command to set XT/Network clock
  400.     OUTBOUND HISTORY FILE   155   1      Outbound history filename
  401.     INBOUND HISTORY FILE    156   1      Inbound history filename
  402.     AREAFIX HISTORY FILE    157   1      AREAFIX history filename
  403.     ECHOMAIL HISTORY FILE   158   1      ECHOmail history filename
  404.     UNLISTED REQUEST HUB    159   1      Blind AREAFIX request hub
  405.     CALL ALARM              160   1      ANSI-music for call alarm
  406.     FLAG DIAL               161   *      Dial strings for specific flags
  407.     SPECIFIC DIAL           162   *      Dial strings for specific systems
  408.     FIDONET FOR             163   *      Filter for Fidonet protocol
  409.     WAZOO FOR               164   *      Filter for WaZOO/ZEDZAP protocol
  410.     FORCED PRIORITIES       165   *      System-specific forced priorities
  411.     FAKE POINTNET FOR       166   *      List of points using fake pointnet
  412.     AUTOMATIC PWD FOR       167   *      Filter for automatic passwords
  413.     ALLOW PWD REQ FROM      168   *      Filter for password requests
  414.     C: DRIVE                169   1      Operation/BBS/Unpack-forward
  415.     D: DRIVE                170   1      "
  416.     E: DRIVE                171   1      "
  417.     F: DRIVE                172   1      "
  418.     G: DRIVE                173   1      "
  419.     H: DRIVE                174   1      "
  420.     STARTING BLOCK SIZE     175   1      300/1200/2400/4800/9600/14400
  421.     MAXIMUM BLOCK SIZE      176   1      "
  422.     RECOVERY BLOCK SIZE     177   1      "
  423.     BLOCK STEP RATE         178   1      "
  424.     DIRECT ZMODEM           179   1      "
  425.     DAYLIGHT TIME STARTS    180   1      YYMMDD starting daylight time
  426.     DAYLIGHT TIME ENDS      180   8      YYMMDD ending daylight time
  427.     DAYLIGHT TIME CHANGES   181   1      HHMM time of daylight time change
  428.     LST ABBREVIATION        182   1      Abbreviation for Standard Time
  429.     LST NAME                182   8      Name of Standard Time
  430.     LDT ABBREVIATION        183   1      Abbreviation for Daylight Time
  431.     LDT NAME                183   8      Name of Daylight Time
  432.     LOG HIGHLIGHT KEYWORDS  184   *      Log viewer highlight keywords
  433.     NUMBER OF EVENTS        185   1      Number of events (excluding UNEVENT)
  434.     EVENT 0                 186   **     Event records as defined below.
  435.     .                       .
  436.     .                       .
  437.     EVENT N
  438.     EVENT TAG/START/END       1   1      Event tag, starting and ending times
  439.     ACTIVE SUNDAY             2   1      1=Active, 0=Inactive
  440.     ACTIVE MONDAY             2   2      "
  441.     ACTIVE TUESDAY            2   3      "
  442.     ACTIVE WEDNESDAY          2   4      "
  443.     ACTIVE THURSDAY           2   5      "
  444.     ACTIVE FRIDAY             2   6      "
  445.     ACTIVE SATURDAY           2   7      "
  446.     EVENT CRITICAL            2   8      1=Yes, 0=No
  447.     EVENT ENABLED             2   9      "
  448.     HOST-ROUTE PRIVATES       2  10      "
  449.     EVENT TYPE                2  11      External/ClockSync/DOS/Mail
  450.         IF EXTERNAL EVENT
  451.     ERRORLEVEL                3   1      Errorlevel to use for exit
  452.         IF DOS EVENT
  453.     DOS COMMANDS              3   *      DOS commands to execute
  454.         IF CLOCKSYNC EVENT
  455.     CLOCKSYNC TIMEBASE        3   1      Address of ClockSync TimeBase
  456.     MAX CLOCKSYNC TRIES       4   1      Maximum tries for ClockSync event
  457.     MAX CLOCKSYNC FAILURES    5   1      Maximum failures for ClockSync event
  458.         IF MAIL EVENT
  459.     MINIMUM IDLE TIME         3   1      Minimum seconds idle before call
  460.     MAXIMUM IDLE TIME         3   8      Maximum seconds idle before call
  461.     TRIES ALLOWED             3  15      Maximum tries allowed per entry
  462.     SESSIONS ALLOWED          3  22      Maximum sessions allowed per entry
  463.     FAILURES ALLOWED          3  29      Maximum failures allowed per entry
  464.     EVENT DYNAMIC             4   1      1=Yes, 0=No
  465.     PROCESS FILE-REQUESTS     4   2      "
  466.     ACCEPT HUMAN CALLERS      4   3      "
  467.     CM FLAG ACTION            4   4      CM/Non-CM/Both
  468.     ACCEPT EMAIL CALLS        4   5      1=Yes, 0=No
  469.     ACCEPT FAX CALLS          4   6      Not used at this time
  470.     SCAN ECHOMAIL             4   7      1=Yes, 0=No
  471.     ALLOW XMAIL               4   8      "
  472.     PRIORITIES ALLOWED        4   9      NCI
  473.     EVENT ALIAS               5   1      Alias address for event
  474.     PACKETS FOR               6   *      Filter controlling who gets mail
  475.     HOLD FOR                  7   *      Filter for holding mail traffic
  476.     POLL                      8   *      List of systems to poll this event
  477.     PICKUP FROM               9   *      Filter controlling mail pickup
  478.     ALLOW PICKUP FROM        10   *      Filter controlling remote pickup
  479.     ROUTE TO                 11   *      Filter for routing
  480.     FORWARD FOR              12   *      Filter controlling mail forwarding
  481.     FORWARD TO               13   *      "
  482.     FAX TO                   14   *      Not used at this time
  483.     INTL FAX FWD FOR         15   *      "
  484.     LOCAL FAX FWD FOR        16   *      "
  485.     FILE FORWARDING FOR      17   *      Filter controlling file forwarding
  486.     FORWARD FILES TO         18   *      "
  487.     FILE ROUTING FOR         19   *      Filter controlling file routing
  488.     DOS COMMANDS             20   *      DOS commands after mail received
  489.  
  490.     DBRIDGE.PRM must begin and end the same way it began.  Specifically, the
  491.     first and last lines should read something like:
  492.  
  493.     Version 2.95 Pre-release Beta / 15 December 2007
  494.  
  495.     If it does not, then you cannot assume that this information is correct.
  496.     This document will be revised as D'Bridge does.  This data is provided
  497.     for your information only.  Do not count on it to remain stable through
  498.     future releases.  This is changed even during the beta cycle; only the
  499.     first 20 fields will never be changed.
  500.  
  501.     DBRIDGE.AUT is a more stable, but not as timely source of information.
  502.     The import format is easier to read because it is keyword, not position
  503.     sensitive.  Refer to the following section for keyword information.
  504.  
  505.     3.0  EXPORTED CONFIGURATION LANGUAGE
  506.     ------------------------------------
  507.  
  508.     To maintain compatibilty between versions of D'Bridge, an "exported
  509.     configuration language" has been established as a means of upgrading
  510.     without losing parameters.  When a new version is installed, D'Bridge
  511.     will import the configuration from a file called DBRIDGE.AUT.
  512.  
  513.     Following is a syntax chart of all the keywords used in the current
  514.     software version:
  515.  
  516.  
  517.       ABOUT FILE <filename>
  518.       ACCEPT HUMAN CALLERS
  519.       ACCEPTING EMAIL ONLY TEXT <text>
  520.       ACTIVITY COLORS <screen> <dim> <brite> <highlight> <border>
  521.       ADD ECHOMAIL AREAS <FIDO|QUICKBBS|NO>
  522.       ADDITIONAL USER FILE <filename>
  523.       AFTER HOURS FILENAME <filename>
  524.       ALARM
  525.       ALARM HOURS FROM <starting time> TO <ending time>
  526.       ALIAS <address>
  527.       ALLOW PASSWORD REQUESTS FROM <filter>
  528.       ALLOW PICKUP FROM <filter>
  529.       ALTERNATE COMPRESSION FORMATS <ZIP|LHA|ARJ|PAK|ARC|ZOO> <filter>
  530.       ANSWER MODE <H|S|R|M|D> <pattern 1> <pattern 2> <pattern 3>
  531.       ARC COMPRESS COMMAND <DOS command>
  532.       ARC DECOMPRESS COMMAND <DOS command>
  533.       AREA ARCHIVE <filename>
  534.       AREAFIX FORWARDING DAYS <number of days>
  535.       AREAFIX HISTORY FILE <filename>
  536.       AREAFIX INFORMATION <areafix data>
  537.       ARJ COMPRESS COMMAND <DOS command>
  538.       ARJ DECOMPRESS COMMAND <DOS command>
  539.       AUTO-ADJUST TO <address>
  540.       AUTO-ALIAS
  541.       AUTO-COMPILE NODELIST <NEVER|MIDNIGHT|STARTUP>
  542.       AUTO-INIT TIME <minutes>
  543.       BAD ECHOMAIL PATH <directory>
  544.       BANNER FILENAME <filename>
  545.       BAUD RATE OVERRIDE <address> <baud rate>
  546.       BBS CALL TIMEOUT <seconds>
  547.       BBS DOS COMMANDS <DOS command>
  548.       BBS HOURS FROM <starting time> TO <ending time>
  549.       BBS SCAN ECHOMAIL
  550.       BETWEEN CALLS <minimum seconds> <maximum seconds>
  551.       BUSY WHEN OFFLINE
  552.       BYPASS ZONEGATES
  553.       CALL ALARM <music codes>
  554.       CHECK LIMITS <BEFORE|AFTER>
  555.       CLOCK SYNC SYSTEM <address>
  556.       CLOCK WARNING THRESHOLD <minutes>
  557.       CM-ONLY
  558.       COLLISION DETECT
  559.       COMMAND <key> <DOS command>
  560.       COMMAND COLORS <screen> <dim> <brite> <highlight> <border>
  561.       CONFIG PASSWORD <password>
  562.       COSTGUARD <minutes> <cost>
  563.       COUNTRY PREFIX <country code>
  564.       CRITICAL
  565.       DATA FLAGS <nodelist flags>
  566.       DATA PHONE <phone number (countrycode-citycode-number)>
  567.       DATA/1 <port name> <address> <irq> <mcf name>
  568.       DATA/2 "
  569.       DATA/3 "
  570.       DAYLIGHT TIME <abbreviation> <name>
  571.       DEBUG LOG <filename>
  572.       DEFAULT ARCHIVE/SENT
  573.       DEFAULT CRASH
  574.       DEFAULT HOLD
  575.       DEFAULT IMMEDIATE
  576.       DEFAULT INSERT
  577.       DEFAULT KILL/SENT
  578.       DEFAULT PRIVATE
  579.       DEFAULT ROUTING <D|H|N>
  580.       DFB FILE PATH <directory>
  581.       DIMESAVER
  582.       DISABLE AREAFIX
  583.       DISABLED
  584.       DISK-BASED QUEUE <directory>
  585.       DISPLAY SCHEDULE
  586.       DISPLAY TIME DATA
  587.       DISPLAY TIMEOUT <minutes>
  588.       DOMAIN <domain name>
  589.       DOMESTIC PREFIX <dialing prefix>
  590.       DOS COMMANDS <DOS command>
  591.       DOWNLOAD DIRECTORY <directory>
  592.       DST [<DISABLED>] <from date> <to date> <time of change> [<M|T|X>]
  593.       DYNAMIC
  594.       ECHO ALIAS <address>
  595.       ECHO AREA <number> <tag> <path> <F|Q|N> <priority> <alert flag> <descr>
  596.       ECHO TO  <address list>
  597.       ECHOMAIL HISTORY FILE <filename>
  598.       EDITOR DOS COMMANDS <DOS command>
  599.       EDITOR EMS
  600.       EDITOR GOLDED
  601.       EDITOR OTHER
  602.       EDITOR SCAN ECHOMAIL
  603.       EDITOR SCAN NETMAIL
  604.       EDITOR TRANSLATION <alt-key> <display as> <store as>
  605.       END
  606.       ERROR LEVEL <errorlevel>
  607.       EVENT <tag> <C|D|E|M> <start time> <ending time> <ALL or days of week>
  608.       EVENT ALIAS <address>
  609.       EXCLUDE NET <zone:net to exclude>
  610.       EXTERNAL EDITOR PATH <directory>
  611.       EXTERNAL GATEWAY <hex codes> <DOS COMMAND>
  612.       EXTERNAL RECEIVER <modem response> <DOS command>
  613.       FAILURES ALLOWED <max failures>
  614.       FAKE POINTNET <net number>
  615.       FAKE POINTNET FOR <point number(s)>
  616.       FAX ANSWER OFFLINE
  617.       FAX AUTO-PRINT
  618.       FAX FONT <COMPRESSED|NORMAL>
  619.       FAX ID <id>
  620.       FAX INSTALLED
  621.       FAX PULSE DIALING
  622.       FAX RECEIVE ALLOWED
  623.       FAX RESOLUTION <NORMAL|HIGH>
  624.       FAX RINGS <rings to answer>
  625.       FAX ROOT DIRECTORY <directory>
  626.       FAX TO <filter>
  627.       FAX TYPE <board type>
  628.       FIDONET PROTOCOL FOR <filter>
  629.       FILE-REQUEST LIMIT <kilobytes> K
  630.       FILE-REQUEST LIMIT <minutes> MINUTES
  631.       FILE-REQUEST LIMIT <number of files> FILES
  632.       FILE-REQUEST LIMITS 24-HOURS
  633.       FILES FILE <filename>
  634.       FLAG DIAL <flag> <dial string>
  635.       FLAG OVERRIDE <address> <nodelist flags>
  636.       FORCE INTL ADDRESSING
  637.       FORCED PRIORITY <address> <HOLD|CRASH|IMMEDIATE>
  638.       FORWARD FILES FOR <filter>
  639.       FORWARD FILES TO <filter>
  640.       FORWARD FOR <filter>
  641.       FORWARD TO <filter>
  642.       FUNCTION REQUEST <activation file> <return file> <DOS command>
  643.       GROUP ACCESS <groups allowed>
  644.       GROUP SORT <sort code>
  645.       HANG-UP ON VIOLATION
  646.       HISTORY DAYS <number of days>
  647.       HOLD FOR <filter>
  648.       HOLD PRIVATE
  649.       HOST ROUTE PRIVATE
  650.       IGNORE EMAIL CALLS
  651.       IGNORE FAX CALLS
  652.       INBOUND FILES PATH <directory>
  653.       INBOUND HISTORY FILE <filename>
  654.       INTERNATIONAL PREFIX <dialing prefix>
  655.       INTL FAX-FORWARD FOR <filter>
  656.       KEEP DUPS
  657.       KILL IN-TRANSIT
  658.       KILL NULL
  659.       LHA COMPRESS COMMAND <DOS command>
  660.       LHA DECOMPRESS COMMAND <DOS command>
  661.       LIMIT NOCOST CALLS
  662.       LISTED NODES ONLY
  663.       LOADING THE BBS TEXT <text>
  664.       LOCAL AREA <number> <tag> <path> <F|Q|N> <alert flag> <description>
  665.       LOCAL FAX-FORWARD FOR <filter>
  666.       LOG COLORS <screen> <dim> <brite> <highlight> <border>
  667.       LOG DAYS <number of days>
  668.       LOG HIGHLIGHT TEXT <$color code$> <keyword>
  669.       MACRO <key> <string>
  670.       MAIL HANDLING <AUTOMATIC|MANUAL|DISABLED|EXTERNAL>
  671.       MAILER EMS
  672.       MAIN COLORS <screen> <dim> <brite> <highlight> <border>
  673.       MAX RINGS <number of rings allowed>
  674.       MAXIMUM PACKET SIZE <kilobytes>
  675.       MAXIMUM XMAIL SIZE <kilobytes>
  676.       MINIMUM BBS <drive> <kilobytes>
  677.       MINIMUM BBS BAUD <baud rate>
  678.       MINIMUM FILE-REQUEST BAUD <baud rate>
  679.       MINIMUM OPERATION <drive> <kilobytes>
  680.       MINIMUM UNPACK <drive> <kilobytes>
  681.       NET <net number>
  682.       NET TRANSLATION <zone:net> <zone:net>
  683.       NETMAIL PURGE AFTER <number of days> DAYS
  684.       NETMAIL PURGE ALL EXCEPT <number of messages> MESSAGES
  685.       NETWORK MAIL ARCHIVE <filename>
  686.       NETWORK MAIL AREA <quickbbs area number>
  687.       NETWORK MAIL PATH <fido-style .MSG directory>
  688.       NETWORK MAIL STORAGE <QUICKBBS|FIDO>
  689.       NEW ECHOMAIL PATH <directory>
  690.       NO BLANKOUT GRAPHICS
  691.       NO IN-TRANSIT RESCAN
  692.       NO SOUND EFFECTS
  693.       NO USER LIST
  694.       NO XMAIL ALLOWED
  695.       NO-COST PREFIX <dialing prefix>
  696.       NODE <node number>
  697.       NODELIST <directory> <nodelist> <nodediff> <crc> <day number>
  698.       NON-CM-ONLY
  699.       OPERATOR NAME <name>
  700.       ORIGIN <origin line>
  701.       OUTBOUND GATEWAY <address>
  702.       OUTBOUND HISTORY FILE <filename>
  703.       OUTBOUND MAIL ARCHIVE <filename>
  704.       PACKET PATH <directory>
  705.       PACKETS FOR <filter>
  706.       PAK COMPRESS COMMAND <DOS command>
  707.       PAK DECOMPRESS COMMAND <DOS command>
  708.       PASSWORD REQUESTS FOR <filter>
  709.       PCF <pcf name>
  710.       PHONE NUMBER OVERRIDE <address> <phone number> <costing prefix>
  711.       PICKUP FROM <filter>
  712.       POINT <point number>
  713.       POINTLIST <filename>
  714.       POLL <address list>
  715.       PRE-UNPACK COMMAND <DOS command>
  716.       PRESERVE <number>
  717.       PRESS-ESC FOR BBS TEXT <text>
  718.       PRINTER DEVICE <device or file name>
  719.       PRIORITIES <any or all of N, C and I>
  720.       PRIVATE
  721.       PRIVATE NODELIST <filename>
  722.       PROCESS REQUESTS
  723.       PULSE DIALING
  724.       PURGE AFTER <days> DAYS
  725.       PURGE ALL EXCEPT <number> MESSAGES
  726.       QUEUE COLORS  <screen> <dim> <brite> <highlight> <border>
  727.       QUICK DIRECTORY PATH <directory>
  728.       QUOTE SEENBYS
  729.       REJECT UNAUTHORIZED MAIL
  730.       REJECT UNAUTHORIZED REQUESTS
  731.       REMOVE EMPTY PASSTHRUS
  732.       RENAME INCOMING FILES
  733.       RENAME UNAUTHORIZED FILES
  734.       REQUEST PATH <directory>
  735.       RING SIGNAL OFF
  736.       ROUTE FILES TO <filter>
  737.       ROUTE TO <address> FOR <filter>
  738.       SAVE SEENBYS
  739.       SCAN ECHOMAIL
  740.       SCHEDULE COLORS <screen> <dim> <brite> <highlight> <border>
  741.       SCHEDULED CLOCKSYNC <max tries> <max failures> <address>
  742.       SCRIPT FILE PATH <directory>
  743.       SECURE ECHOMAIL ONLY
  744.       SECURITY LEVEL <number>
  745.       SESSION PASSWORD <address> <password>
  746.       SESSIONS ALLOWED <max sessions>
  747.       SET CLOCK COMMAND <DOS command>
  748.       SOFTWARE VERSION <version>
  749.       SPECIAL ALARMS <address> <music codes>
  750.       SPECIFIC DIAL <address> <dial string>
  751.       SPECIFIC REQUEST <magic filename> <filespec>
  752.       STANDARD TIME <abbreviation> <name>
  753.       STRIP SEEN-BYS
  754.       SUPPRESS SNOW
  755.       SYNONYM <abbreviation> <address>
  756.       SYSTEM CITY <location>
  757.       SYSTEM NAME <name>
  758.       TERSE LOG <filename>
  759.       TOO SLOW FILENAME <filename>
  760.       TRANSFER SPEED <cps|kpm|bps|%>
  761.       TRIES ALLOWED <max tries>
  762.       UNKNOWN AREAFIX REQUESTS <address>
  763.       USING BBS
  764.       UTC OFFSET <offset from GMT>
  765.       VALID USER <origin address> <user name>
  766.       VERBOSE LOG <filename>
  767.       WAZOO PROTOCOL FOR <filter>
  768.       XMAIL COMPRESSION FORMAT <ZIP|LHA|ARJ|PAK|ARC|ZOO>
  769.       XMAIL CYCLE DELAY <minutes>
  770.       ZIP COMPRESS COMMAND <DOS command>
  771.       ZIP DECOMPRESS COMMAND <DOS command>
  772.       ZMODEM BLOCK STEP RATE <factors for each baud rate>
  773.       ZMODEM DIRECT <1 or 0 for each baud rate>
  774.       ZMODEM MAXIMUM BLOCK SIZE <sizes for each baud rate>
  775.       ZMODEM RECOVERY BLOCK SIZE <sizes for each baud rate>
  776.       ZMODEM STARTING BLOCK SIZE <sizes for each baud rate>
  777.       ZONE <zone number>
  778.       ZOO COMPRESS COMMAND <DOS command>
  779.       ZOO DECOMPRESS COMMAND <DOS command>
  780.  
  781.  
  782.       4.0 MESSAGE STORAGE STRUCTURES
  783.       ------------------------------
  784.  
  785.       D'Bridge can use two completely different storage methods to store
  786.       EMAIL messages on disk.  These particular methods were chosen for
  787.       compatibility with popular bulletin board systems.  Following are
  788.       the file-structures used by D'Bridge for EMAIL message storage:
  789.  
  790.  
  791.  
  792.          FIDO
  793.  
  794.          When Fido-style storage is chosen for an area, a dedicated sub-
  795.          directory will be created.  This directory will contain one file
  796.          for each message stored.  The format for the filenames is:
  797.  
  798.             <message#>.MSG    ie. 1.MSG, 2.MSG ... 9999.MSG
  799.  
  800.  
  801.          Following is the Turbo-Pascal definition of the .MSG file format:
  802.  
  803.  
  804.             FIDO_message = record
  805.               msg_from,
  806.               msg_to         : array [1..36] of char;
  807.               subj           : array [1..72] of char;
  808.               msg_date       : array [1..20] of char;
  809.               times_read,
  810.               dest_node,
  811.               orig_node,
  812.               cost,
  813.               orig_net,
  814.               dest_net       : integer;
  815.               date_written,
  816.               date_arrived   : longint;
  817.               reply          : integer;
  818.               attributes     : word;
  819.                             (* Bit 0    Private
  820.                                    1    Crash
  821.                                    2    Message read
  822.                                    3    Message sent
  823.                                    4    File-attach
  824.                                    5    Forwarded
  825.                                    6    Orphan
  826.                                    7    Kill/sent
  827.                                    8    Local message
  828.                                    9    Hold
  829.                                   10    ???
  830.                                   11    File-request
  831.                                   12    Return-receipt requested
  832.                                   13    Return-receipt
  833.                                   14    Audit-trail requested
  834.                                   15    Update-request  *)
  835.               unreply        : integer;
  836.               message_text   : array [1..???] of char;
  837.                             (* The message text field contains text of
  838.                                any length, terminated with a null (0) byte *)
  839.             end;
  840.  
  841.  
  842.  
  843.        QUICKBBS
  844.  
  845.        When QuickBBS-style storage is chosen for an area, messages are stored
  846.        in a 5-file database designed by Adam Hudson.  The file-formats are
  847.        defined in the following Turbo-Pascal definition:
  848.  
  849.  
  850.             MSGHDR.BBS     QuickBBS message header file
  851.  
  852.             QuickBBS_header = record
  853.               message_number,
  854.               reply,
  855.               unreply,
  856.               times_read,
  857.               starting_record,
  858.               number_of_records,
  859.               dest_net,
  860.               dest_node,
  861.               orig_net,
  862.               orig_node            : integer;
  863.               dest_zone,
  864.               orig_zone            : byte;
  865.               cost                 : integer;
  866.               msg_attributes,     (* Bit 0   Deleted
  867.                                          1   Outbound NETmail message
  868.                                          2   NETmail message
  869.                                          3   Private
  870.                                          4   Received
  871.                                          5   Outbound ECHOmail message
  872.                                          6   Local
  873.                                          7   Reserved  *)
  874.               net_attributes,     (* Bit 0   Kill/sent
  875.                                          1   Sent
  876.                                          2   File-attach
  877.                                          3   Crash
  878.                                          4   Request-receipt requested
  879.                                          5   Audit requested
  880.                                          6   Return receipt
  881.                                          7   Reserved  *)
  882.               area                 : byte;
  883.               message_time         : string[5];
  884.               message_date         : string[8];
  885.               msg_to,
  886.               msg_from             : string[35];
  887.               subj                 : string[72];
  888.             end;
  889.  
  890.  
  891.             MSGIDX.BBS     QuickBBS message index file
  892.  
  893.             QuickBBS_index = record
  894.               message_number       : integer;
  895.               area                 : byte
  896.             end;
  897.  
  898.  
  899.             MSGINFO.BBS    QuickBBS message summary file
  900.  
  901.             QuickBBS_info = record
  902.               low_message,
  903.               high_message,
  904.               total_messages    : integer;
  905.               active_messages   : array [1..200] of integer
  906.             end;
  907.  
  908.  
  909.             MSGTOIDX.BBS   QuickBBS message-to index file
  910.  
  911.             QuickBBS_to_index = string[35];
  912.  
  913.  
  914.             MSGTXT.BBS     QuickBBS message text file
  915.  
  916.             QuickBBS_text = string[255];
  917.  
  918.  
  919.     5.0  D'BRIDGE FILE STRUCTURES
  920.     -----------------------------
  921.  
  922.  
  923.  
  924.     Following are Turbo-Pascal or text-file definitions of the data, history
  925.     and control files used by D'Bridge.  These structures are subject to
  926.     change in future releases...
  927.  
  928.  
  929.  
  930.  
  931.        AREAS.BBS
  932.  
  933.        Each file area where requests are allowed may have an AREAS.BBS file.
  934.        This contains single-line descriptions of each file and will be sent
  935.        back to the requesting system in the file-request "status" message.
  936.        This is a text file of one record per line with the following format:
  937.  
  938.        <filename> <description>
  939.  
  940.  
  941.  
  942.  
  943.        AREAS.TXT
  944.  
  945.        This file contains a list of possible ECHOmail conferences and their
  946.        respective descriptions.  In the Fidonet EMAIL network, a file called
  947.        FIDONET.NA defines all the ECHOs available.  Rename FIDONET.NA to
  948.        AREAS.TXT to use it with D'Bridge.  The file is used to automatically
  949.        add descriptions to the ECHOmail areas when the are auto-added.  The
  950.        following format is used:
  951.  
  952.          <area tag> <description>
  953.  
  954.  
  955.  
  956.  
  957.        CALLER.INF
  958.  
  959.        When D'Bridge receives a function-request, it writes a text file
  960.        called CALLER.INF in the current directory.  This file contains
  961.        the following information about the caller online:
  962.  
  963.             <address>
  964.             <system name>
  965.             <system operator>
  966.             <inbound files directory>
  967.  
  968.  
  969.          LINExxx.CFG
  970.  
  971.          This file contains the modem/communication parameters.  The file-
  972.          structure is as follows:
  973.  
  974.          communication =
  975.            record
  976.              active : record
  977.                         dial_300,
  978.                         dial_1200,
  979.                         dial_2400,
  980.                         dial_4800,
  981.                         dial_9600,
  982.                         dial_19200      : string[20];
  983.                         connect_strings : pointer;
  984.                       end;
  985.            modem : array [1..3] of
  986.                      record
  987.                        portname       : string[4];
  988.                        maxasyncbaud   : longint;
  989.                        locked         : boolean;
  990.                        modem_init     : pointer;
  991.                        modem_answer   : string[40];
  992.                        modem_timeout,
  993.                        base,
  994.                        irq            : word;
  995.                        mcf            : string[8];
  996.                        description    : string[34];
  997.                      end;
  998.              answer_method        : char;
  999.              line_assignment      : array [1..3] of char;
  1000.              costguard_time,
  1001.              costguard_cost       : longint;
  1002.              collision_detect,
  1003.              offhook,
  1004.              dimesaver            : boolean;
  1005.              max_rings,
  1006.              autoInit_time        : word;
  1007.              printer_port         : string[40];
  1008.              pcf                  : string[8];
  1009.              fixed_font,
  1010.              proportional_font,
  1011.              title_font,
  1012.              start_bold,
  1013.              end_bold,
  1014.              start_italic,
  1015.              end_italic           : string[40];
  1016.              graphics             : boolean;
  1017.              fixed_indent,
  1018.              proportional_indent,
  1019.              title_indent         : byte;
  1020.            end;
  1021.        
  1022.  
  1023.          COSTBASE.DB1/DB2
  1024.  
  1025.          The COSTBASE files are created and maintained by the B-TREE FILER
  1026.          routines available from Turbo-Power Software.  They contain the
  1027.          cost and control data from the ACCOUNTING/TRANSLATION screen.
  1028.  
  1029.  
  1030.          costbase_structure =
  1031.            record
  1032.              del            : longint;
  1033.              RECTYPE        : char;
  1034.              prefix         : string[20];
  1035.              dial_as        : string[30];
  1036.              location       : string[20];
  1037.              reserved       : array [1..16] of
  1038.                                 char;
  1039.              xref_prefix    : string[20];
  1040.              costing_source : char;
  1041.              CostMatrix     : costing_matrix
  1042.            END;
  1043.  
  1044.  
  1045.  
  1046.          costing_matrix =
  1047.            record
  1048.              start_time,
  1049.              end_time           : array [1..10] of
  1050.                                    longint;
  1051.              weekdays_holidays  : array [1..10] of
  1052.                                    string[8];
  1053.              first_time_unit,
  1054.              second_time_unit   : array [1..10] of
  1055.                                     word; {1/10 second}
  1056.              first_unit_cost,
  1057.              second_unit_cost   : array [1..10] of
  1058.                                     longint; {1/1000 cost unit}
  1059.              nci                : array [1..10] of
  1060.                                     string[3];
  1061.         end;
  1062.  
  1063.  
  1064.  
  1065.             The database key for the file is the PREFIX field.
  1066.  
  1067.               Key 1: PREFIX   (20, non-duplicatable)
  1068.        
  1069.  
  1070.  
  1071.          COSTING.XDC
  1072.  
  1073.          Every night at midnight, D'Bridge creates an exported costing file.
  1074.          This file is designed for compatibility between versions or to send
  1075.          costing data to another system.  This is a text file that contains
  1076.          a header line and two kinds of data lines.  A typical costing entry
  1077.          looks like this:
  1078.  
  1079.  
  1080.            1-418                1-418                          Quebec
  1081.             SMTWTFSH 0000 0800 NCI   0.3700  60.0   0.3300  60.0
  1082.              MTWTFS  1800 0000  CI   0.4800  60.0   0.4200  60.0
  1083.              MTWTF   0800 1800  CI   0.7500  60.0   0.6600  60.0
  1084.             S      H 1800 0000  CI   0.4800  60.0   0.4200  60.0
  1085.             S     SH 0000 2400 NCI   0.3700  60.0   0.3300  60.0
  1086.  
  1087.  
  1088.  
  1089.          The first line is the country code/city code for the entry.  It must
  1090.          start in column 1.  The next lines contain the actual costing data
  1091.          and start at column 2.  Following is the field definition:
  1092.  
  1093.  
  1094.          Field                  Column   Description
  1095.          --------------------------------------------------------------------
  1096.  
  1097.          PREFIX                    1     Country code - City code
  1098.          TRANSLATE TO             22     Dialing translation
  1099.          DESCRIPTION              53     Description or location
  1100.          WEEKDAYS                  2     Weekdays applicable
  1101.          START TIME               11     Starting time of costing entry
  1102.          END TIME                 16     Ending time of costing entry
  1103.          PRIORITIES               21     Applicable priorities
  1104.          FIRST PERIOD COST        25     Cost of the first accounting period
  1105.          FIRST PERIOD DURATION    33     Duration of the first period
  1106.          SECOND PERIOD COST       39     Cost of the other accounting periods
  1107.          SECOND PERIOD DURATION   48     Duration of the other periods
  1108.  
  1109.          
  1110.        DB-IO.DAT
  1111.  
  1112.        If the environment variable DB-IO-LOG is set, all communications data
  1113.        will be written to the file C:\DB-IO.DAT.  This is just a debugging
  1114.        tool, and keep in mind that it can fill a hard drive quickly...
  1115.  
  1116.        Each character sent to or recieved from the modem will be written to
  1117.        the file in the following two-byte format:
  1118.  
  1119.            Byte 0 - Data byte (if applicable)
  1120.  
  1121.            Byte 1 - Control byte
  1122.  
  1123.                     0 - Receive data
  1124.                     1 - Transmit data
  1125.                     2 - Output buffer purged
  1126.                     3 - Input buffer purged
  1127.                     4 - DTR
  1128.                     5 - Reserved
  1129.                     6 - CD
  1130.                     7 - Reserved
  1131.  
  1132.  
  1133.        DBRIDGE.ADF
  1134.  
  1135.        This file contains the LOCAL/ECHOMAIL AREA information in the format:
  1136.  
  1137.          EMAIL_address =
  1138.            record
  1139.              zone,
  1140.              net,
  1141.              node,
  1142.              point                : integer;
  1143.              Domain               : string[12]
  1144.            end;
  1145.  
  1146.         area_information_rec = record
  1147.           allocated           : boolean;
  1148.           alert_flag          : char;
  1149.           lastreceiveddate    : string[8]; { YYYYMMDD }
  1150.           tag                 : string[16];
  1151.           area_name           : string[80];
  1152.           description         : string[40];
  1153.           group_access,
  1154.           group_sort,
  1155.           storage,
  1156.           processweb,
  1157.           webascii            : char;
  1158.           rescanlimit,
  1159.           qwk                 : integer;
  1160.           directory_path      : string[48];
  1161.           database            : string[8];
  1162.           kind                : char;
  1163.           quick_area          : word;
  1164.           default_private,
  1165.           strip_seenbys       : boolean;
  1166.           origin_line         : string[56];
  1167.           default_priority    : char;
  1168.           org_ADDR            : EMAIL_address;
  1169.           area_purge,
  1170.           area_preserve,
  1171.           area_security       : integer;
  1172.           area_archive        : string[80];
  1173.           highest,
  1174.           received,
  1175.           dupes               : integer;
  1176.           update_last_scanned : boolean;
  1177.           forward_to          : array [1..19] of
  1178.                                   string[76];
  1179.         end;
  1180.  
  1181.  
  1182.  
  1183.        DBRIDGE.AFF
  1184.  
  1185.        This the the AREAFIX-forwarding queue file.  AREAFIX requests that
  1186.        are forwarded to another system are stored here.  This text file has
  1187.        the following format on each line:
  1188.  
  1189.        <feed address> <remote address> <area tag> <priority> <password>
  1190.  
  1191.  
  1192.  
  1193.        DBRIDGE.AFQ
  1194.  
  1195.        This is the AREAFIX-forwarding holding file.  Pending AREAFIX requests
  1196.        are stored here until the timeout date.  The text file has this format
  1197.        on each line:
  1198.  
  1199.        <date> <area tag> <feed address> <remote address>
  1200.  
  1201.        DBRIDGE.DL1
  1202.  
  1203.        This is the inbound EMAIL history file:
  1204.  
  1205.  
  1206.             inbound_EMAIL_history =
  1207.               record
  1208.                 log_date   : string[6];
  1209.                 log_time   : string[4];
  1210.                 zone,
  1211.                 net,
  1212.                 node,
  1213.                 point      : integer;
  1214.                 bytes_out,
  1215.                 bytes_in,
  1216.                 time       : longint
  1217.               end;
  1218.  
  1219.  
  1220.  
  1221.  
  1222.          DBRIDGE.DL2
  1223.  
  1224.          This is the outbound EMAIL history file:
  1225.  
  1226.  
  1227.             outbound_EMAIL_history =
  1228.               record
  1229.                 log_date   : string[6];
  1230.                 log_time   : string[4];
  1231.                 zone,
  1232.                 net,
  1233.                 node,
  1234.                 point      : integer;
  1235.                 bytes_out,
  1236.                 bytes_in,
  1237.                 time,
  1238.                 cost       : longint
  1239.               end;
  1240.        
  1241.          DBRIDGE.DL3
  1242.  
  1243.          This is the received ECHOmail history file:
  1244.  
  1245.  
  1246.             received_ECHOmail_history =
  1247.               record
  1248.                 log_date   : string[6];
  1249.                 log_time   : string[4];
  1250.                 area_name  : string[16];
  1251.                 zone,
  1252.                 net,
  1253.                 node,
  1254.                 point,
  1255.                 dups,
  1256.                 received   : integer
  1257.               end;
  1258.  
  1259.  
  1260.  
  1261.  
  1262.          DBRIDGE.DL4
  1263.  
  1264.          This is the AREAFIX history file:
  1265.  
  1266.             AREAFIX_history =
  1267.               record
  1268.                 log_date   : string[6];
  1269.                 log_time   : string[4];
  1270.                 zone,
  1271.                 net,
  1272.                 node,
  1273.                 point      : integer;
  1274.                 area_name  : string[16];
  1275.                 action     : (added,added_scanned,removed,
  1276.                               security_violation,area_list)
  1277.               end;
  1278.  
  1279.  
  1280.  
  1281.          DBRIDGE.DSI
  1282.  
  1283.          The D'Bridge system information file is a read-only file for utility
  1284.          authors.  It may not be modified, as the information is secured by
  1285.          undocumented "protector" CRCs.  Following is the structure:
  1286.  
  1287.            dbridge_information =
  1288.              record
  1289.                info_version : array [1..2] of byte;
  1290.                protector_1,
  1291.                protector_2,
  1292.                protector_3 : integer;
  1293.                current_system_date : date;
  1294.                global_event,
  1295.                queue_event,
  1296.                atomic_factor,
  1297.                UTC_offset_factor,
  1298.                extra_byte : byte;
  1299.                UTC_certified_by : string[16];
  1300.                rebuild_queue,
  1301.                scan_aborted,
  1302.                system_crashed,
  1303.                outbound_calls,
  1304.                immediate_mail,
  1305.                daylight_savings_time,
  1306.                timebase_valid,
  1307.                extra_bool_1,
  1308.                extra_bool_2,
  1309.                extra_bool_3 : boolean;
  1310.                last_command : integer;
  1311.                utc_offset,
  1312.                DataSent_remainder,
  1313.                DataReceived_remainder : longint;
  1314.                queue_entries,
  1315.                shutdown_ut,
  1316.                startup_ut,
  1317.                total_time_online,
  1318.                shutdown_time,
  1319.                lastreset_time,
  1320.                lastcheck_time : longint;
  1321.                shutdown_date,
  1322.                lastreset_date,
  1323.                lastcheck_date : date;
  1324.                next_queue_key,
  1325.                last_queue_key,
  1326.                starting_queue_key : string[16];
  1327.                nextdecisionUT24 : longint;
  1328.                padit1 : byte;
  1329.                ScheduleStatus : array [0..64] of char;
  1330.                actual_key,
  1331.                demo_key_one,
  1332.                demo_key_two : string[6];
  1333.                stats : array [CallsReceived..Unused5] of
  1334.                          array [LastWeek..Forever] of
  1335.                             longint;
  1336.                clk_last_UTC_offset,
  1337.                clk_last_update_unixtime : longint;
  1338.                clk_history : array [1..17] of
  1339.                               record
  1340.                                 adj_source : string[14];
  1341.                                 adj_date : date;
  1342.                                 adj_time,
  1343.                                 adj_unix,
  1344.                                 adj_diff,              (* Seconds *)
  1345.                                 adj_hdiff : longint;   (* Hundredths *)
  1346.                               end;
  1347.                  clk_detail : array [1..36] of
  1348.                             record
  1349.                               zone,
  1350.                               net,
  1351.                               node,
  1352.                               point : integer;
  1353.                               used_for_average,
  1354.                               valid_UTC_offset : boolean;
  1355.                               location : string[17];
  1356.                               their_UTC_offset,
  1357.                               this_update_unixtime,
  1358.                               total_updates,
  1359.                               total_difference,
  1360.                               last_delta,
  1361.                               last_difference : longint;
  1362.                             end;
  1363.                clk_last_adjustment : longint;
  1364.                clk_adjustment_source : string[3];
  1365.                clk_chain : clocksync_chain;
  1366.                TimeGrid : TwentyFourHourGrid;
  1367.                katguard : boolean;
  1368.                registration_site : char;
  1369.                registration_address : integer;
  1370.                 spare_space : array [1..100] of byte;
  1371.              end;
  1372.  
  1373.          DBRIDGE.DUP
  1374.  
  1375.          The QuickBBS duplicate-prevention file contains from 0-200 of the
  1376.          following records:
  1377.  
  1378.  
  1379.             quickbbs_duplicate_prevention =
  1380.               array [1..1024] of
  1381.                 record
  1382.                   date_CRC,
  1383.                   header_CRC : integer
  1384.                 end;
  1385.  
  1386.  
  1387.          The Fido-style DBRIDGE.DUP files are located in each message area
  1388.          and contain path information as well as duplicate data.
  1389.  
  1390.  
  1391.             duplicate_prevention =
  1392.               record
  1393.                 dups : array [1..1024] of
  1394.                          record
  1395.                            date_CRC,
  1396.                            header_CRC : integer
  1397.                          end;
  1398.                 links : array [1..512] of
  1399.                           record
  1400.                             net,
  1401.                             node : word;
  1402.                             paths : array [0..1] of
  1403.                                       set of 0..255;
  1404.                          end
  1405.               end;
  1406.  
  1407.  
  1408.  
  1409.  
  1410.          DBRIDGE.FRS
  1411.  
  1412.          The file-request limit file tracks file-requests for a 24-hour period.
  1413.          DBRIDGE.FRS is a text file with one line per record in the following
  1414.          format:
  1415.  
  1416.             Field                            Starting column
  1417.             ------------------------------------------------
  1418.  
  1419.             ADDRESS                                  1
  1420.             UNIX TIME STAMP                         21
  1421.             FILE-REQUEST TIME USED                  37
  1422.             FILE-REQUEST BYTES USED                 47
  1423.             FILE-REQUEST COUNT                      57
  1424.  
  1425.  
  1426.          DBRIDGE.HIS
  1427.  
  1428.          D'Bridge uses this file to track outbound XMAIL filenames:
  1429.  
  1430.  
  1431.            node_history =
  1432.              record
  1433.                NH_ADDR : EMAIL_address;
  1434.                updated : date;
  1435.                xmail_number,
  1436.                bad_connects : integer
  1437.              end;
  1438.  
  1439.  
  1440.  
  1441.          DBRIDGE.LRQ
  1442.  
  1443.          For QuickBBS, DBEDIT stores the LASTREAD pointers in this file:
  1444.  
  1445.  
  1446.             Quickbbs_lastread = record
  1447.               username  : string[36];
  1448.               last_read : array [1..200] of record
  1449.                                               message,
  1450.                                               rec : integer
  1451.                                             end
  1452.             end;
  1453.  
  1454.  
  1455.  
  1456.          DBRIDGE.MEH/UEH
  1457.  
  1458.          This is the mail-event (unevent) history file:
  1459.  
  1460.            event_history =
  1461.              record
  1462.                key : string[16];
  1463.                tries,
  1464.                sessions,
  1465.                bad_sessions : integer;
  1466.                temporary_hold : boolean;
  1467.                connect_time : longint;
  1468.                was_reset : string[3];
  1469.              end;
  1470.  
  1471.  
  1472.  
  1473.          DBRIDGE.PTR
  1474.  
  1475.          Both the ECHOmail and NETmail scanners update this file for QuickBBS
  1476.          storage method.  In order for D'Bridge to know where it left-off
  1477.          scanning, the following text file is used:
  1478.  
  1479.  
  1480.             <high QuickBBS record> <first QuickBBS NETmail message>
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.          DBRIDGE.REE
  1487.  
  1488.          This file tells the ECHOmail scanner which conferences and systems
  1489.          to use for a RESCAN of designated conferences.  This text file has
  1490.          the following format:
  1491.  
  1492.  
  1493.             <ECHO tag> <address> <priority>
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.          DBRIDGE.TRM
  1501.  
  1502.          The terminal-mode parameters are stored in this file.
  1503.  
  1504.  
  1505.            terminal_config =
  1506.              record
  1507.                baud_rate_over_ten : word;
  1508.                duplex,
  1509.                parity,
  1510.                databits,
  1511.                stopbits : char;
  1512.                comport : byte;
  1513.                emulation : char;
  1514.                directory : array [1..100] of
  1515.                              dialentry;
  1516.                capture_strip,
  1517.                auto_download : boolean;
  1518.                external_protocol : array [1..4] of
  1519.                                      string[30];
  1520.                external_send_protocol,
  1521.                external_receive_protocol : array [1..4] of
  1522.                                              string[40];
  1523.             end;
  1524.  
  1525.  
  1526.             dialentry =
  1527.               record
  1528.                 name : string[25];
  1529.                 baud_rate_over_ten : word;
  1530.                 parity,
  1531.                 databits,
  1532.                 stopbits : char;
  1533.                 phone : string[30];
  1534.               end;
  1535.  
  1536.  
  1537.  
  1538.          DBRIDGE.XMA
  1539.  
  1540.          This text file contains a list of packets that need to be compressed
  1541.          by the XMAIL processor.  Each line is in the following format:
  1542.  
  1543.             <queue name> <packet name>
  1544.             <queue name> <packet name>
  1545.             .
  1546.             .
  1547.             <queue name> <packet name>
  1548.  
  1549.  
  1550.  
  1551.          DBRIDGE.WIS
  1552.  
  1553.          The D'Bridge "wisdom control file" may contain a customized message
  1554.          to be displayed upon startup.  This replaces the standard definition
  1555.          that appears in the box at the bottom of the screen when the system
  1556.          is coming online.
  1557.  
  1558.      This file may have 1-13 lines of text, 65 columns in width.
  1559.  
  1560.  
  1561.          ECHOMAIL.CTL
  1562.  
  1563.          If this text file exists, D'Bridge will only scan the ECHOmail areas
  1564.          listed within.  If it doesn't exist, all ECHOmail areas are scanned.
  1565.  
  1566.  
  1567.          FILEBASE.DB1/DB2
  1568.  
  1569.          The FILEBASE files are created and maintained by the B-TREE FILER
  1570.          routines available from Turbo-Power Software.  They contain the
  1571.          compiled filebase data.
  1572.  
  1573.  
  1574.            FILEbase_structure = record
  1575.              del : longint;
  1576.              net,
  1577.              node : word;
  1578.              filename : string[12];
  1579.              offset : longint;
  1580.              select : boolean;
  1581.              bs : byte;
  1582.            end;
  1583.  
  1584.             There is one database key for the filebase:
  1585.  
  1586.               Key 1: FILENAME+NET+NODE    (16,non-duplicatable)
  1587.  
  1588.  
  1589.  
  1590.  
  1591.          LASTREAD
  1592.  
  1593.          This file contains the lastread pointer for a Fido-style message
  1594.          area.  (SEAdog style)
  1595.  
  1596.  
  1597.            fido_lastread = word;
  1598.  
  1599.  
  1600.  
  1601.  
  1602.          LASTREAD.DBR
  1603.  
  1604.          This file contains the lastread pointer for a Fido-style message
  1605.          area when there are multiple users defined for the editor.
  1606.  
  1607.  
  1608.            dbridge_lastread =
  1609.              record
  1610.                username : string[36];
  1611.                last_read : integer
  1612.              end;
  1613.  
  1614.          NODEBASE.DB1/DB2
  1615.  
  1616.          The NODEBASE files are created and maintained by the B-TREE FILER
  1617.          routines available from Turbo-Power Software.  They contain the
  1618.          compiled nodelist database.
  1619.  
  1620.  
  1621.             nodelist_structure = record
  1622.               del             : longint;
  1623.               zone,
  1624.               net,
  1625.               node,
  1626.               point           : integer;
  1627.               nodelist_CRC    : word;
  1628.               nodelist_offset : longint;
  1629.               route_to_node   : integer;
  1630.               reserved        : array [1..6] of byte;
  1631.             end;
  1632.  
  1633.             There are two database keys for the nodelist file:
  1634.  
  1635.               Key 1: ZONE+NET+NODE+POINT    (8,non-duplicatable)
  1636.               Key 2: USERNAME+SEQ           (17,non-duplicatable)
  1637.  
  1638.  
  1639.  
  1640.  
  1641.          TASKQ.DB1/DB2
  1642.  
  1643.          The TASKQ files are created and maintained by the B-TREE FILER
  1644.          routines available from Turbo-Power Software.  They contain the
  1645.          current outbound queue.  This file is not critical.  It can be
  1646.          rebuilt at any time if it is deleted.
  1647.  
  1648.  
  1649.            outbound_queue =
  1650.              record
  1651.                del : longint;
  1652.                Q_ADDR : EMAIL_address;
  1653.                history_file_offset,
  1654.                actual_time,
  1655.                estimated_time,
  1656.                estimated_cost,
  1657.                total_size : longint;
  1658.                total_files,
  1659.                freqs_to_send,
  1660.                tries,
  1661.                sessions,
  1662.                bad_sessions : integer;
  1663.                event_poll,
  1664.                nocost,
  1665.                lowestcost,
  1666.                schedule_hold,
  1667.                send_everything,
  1668.                needs_work,
  1669.                unlisted,
  1670.                temporary_hold,
  1671.                forced : boolean;
  1672.                forced_priority : char;
  1673.                status : string[18];
  1674.                costing_key : string[20];
  1675.                kinds : array [1..6] of char; (* RTFPXM *)
  1676.                priorities : pritype; (* ICNH *)
  1677.                NCI,
  1678.                was_reset : string[3];
  1679.                entrydecisionUT24 : longint;
  1680.                phone_number : string[60];
  1681.                system_name : string[31];
  1682.                operator_name : string[31];
  1683.                system_city : string[31];
  1684.                system_flags : string[40];
  1685.                sizes : array [1..4] (* priorities *) of
  1686.                          array [1..3] of longint; (* netmail, xmail, files *)
  1687.                files : array [1..4] (* priorities *) of
  1688.                          array [1..3] of integer; (* netmail, xmail, files *)
  1689.                baud_rate : longint;
  1690.              end;
  1691.  
  1692.  
  1693.             There is one database key for this record:
  1694.  
  1695.               Key 1: ZONE+NET+NODE+POINT  (8,non-duplicatable)
  1696.  
  1697.        
  1698.     6.0  DISK-BASED QUEUE
  1699.     ---------------------
  1700.  
  1701.  
  1702.     D'Bridge has a disk-based queue for XMAIL, file-transfer and AREAFIX
  1703.     requests.  This queue works independently of the NETmail area and may
  1704.     be accessed by user-written programs.  All queue entries reside as files
  1705.     in the specified "queue" directory; the address is encoded in the file-
  1706.     name as base-36 numbers.
  1707.  
  1708.  
  1709.     The filenames of queue entries use the following format:
  1710.  
  1711.        t-zzzNNN.nnn           H-00102X.00G
  1712.            -or-                   -or-
  1713.        t-POINT-ppp            H-POINT.005
  1714.  
  1715.  
  1716.     Where: t     is the entry type (A/B/C/H/I/N/Q)
  1717.            zzz   is the base-36 ZONE address
  1718.            NNN   is the base-36 NET address
  1719.            nnn   is the base-36 NODE address
  1720.            ppp   is the base-36 POINT address
  1721.  
  1722.  
  1723.  
  1724.     Base-36 numbers use the digits 0-Z to represent the numbers.  You will
  1725.     notice from the structure that the address is either 3-dimensional (ZONE,
  1726.     NET and NODE) or a POINT-address.  It is impossible to have a queue entry
  1727.     for a point of another system.
  1728.  
  1729.  
  1730.     The following queue entry-types are currently defined:
  1731.  
  1732.  
  1733.        A - AREAFIX request packet
  1734.  
  1735.        An "A" queue entry is an outbound AREAFIX request; this is a NETmail
  1736.        message that is destined for the specified system.  It must always be
  1737.        associated with a "Q" entry-type that designates the packet priority.
  1738.        This packet is generated by using the REQUEST ECHOMAIL LINK, ALT-R
  1739.        option of D'Bridge.
  1740.  
  1741.        B - Inbound AREAFIX request/New ECHOmail link control file
  1742.  
  1743.        The "B" queue entry indicates either an inbound AREAFIX request or
  1744.        a request issued using the NEW ECHOMAIL LINK, ALT-N command.  These
  1745.        requests are usually processed immediately, but if there is a hold
  1746.        on ECHOmail forwarding because of a disk-space limit, these files may
  1747.        accumulate.  The "B" queue entries are text files in the following
  1748.        format:
  1749.  
  1750.           <priority><rescan><area listing><manual override>
  1751.           <area name>
  1752.           .
  1753.           .
  1754.           <area name>
  1755.  
  1756.  
  1757.           <priority>         is either N, I, C or H
  1758.           <rescan>           Should the area be rescanned?  Y or N
  1759.           <area listing>     Should an area listing be sent?  Y or N
  1760.           <manual override>  Is this a manual (ALT-N) entry?  Y or N
  1761.           <area name>        Either + or - then the ECHOmail tags to add
  1762.                              or remove from your LOCAL/ECHOMAIL AREAS screen.
  1763.  
  1764.        "B" queue entries are processed when an ECHOmail scan is done; any
  1765.        external program may add entries to the disk-based queue.
  1766.  
  1767.  
  1768.        C - Crash priority XMAIL
  1769.  
  1770.        "C" queue entries are XMAIL (compressed mail) packets with CRASH
  1771.        priority.  These will be sent during any event including the UNEVENT
  1772.        to the specified system.  This file contains any number of outbound
  1773.        mail packets.
  1774.  
  1775.        H - Hold priority XMAIL
  1776.  
  1777.        "H" queue entries are XMAIL packets with HOLD priority.  These will
  1778.        never be sent unless there is a forced priority override or the
  1779.        operator uses the VIEW/MODIFY QUEUE command to force D'Bridge to call
  1780.        the specified system.  Typically, HOLD priority XMAIL is picked up
  1781.        by a "poll" from the destination system.
  1782.  
  1783.        I - Immediate priority XMAIL
  1784.  
  1785.        "I" queue entries are XMAIL packets with IMMEDIATE priority.  These
  1786.        will be sent immediately during any event; this priority overrides
  1787.        crash and all immediate queue entries will be sent before any other
  1788.        outbound traffic.
  1789.  
  1790.        N - Normal priority XMAIL
  1791.  
  1792.        "N" queue entries are XMAIL packets with NORMAL priority.  They will
  1793.        never be transmitted during the UNEVENT unless a forced priority has
  1794.        been specified or the operator uses the VIEW/MODIFY QUEUE command to
  1795.        force it to send.
  1796.  
  1797.  
  1798.  
  1799.        Q - General purpose outbound queue
  1800.  
  1801.        A "Q" queue entry is a text file that contains any number of lines,
  1802.        each of which contains one of the following formats:
  1803.  
  1804.  
  1805.           <priority> P
  1806.  
  1807.           A "P" entry indicates a "poll" with the specified priority.
  1808.  
  1809.  
  1810.           <priority> T <file path> <transmit filename>
  1811.  
  1812.           A "T" entry indicates an outbound file transmission.   Wildcards
  1813.           are not allowed here; all entries must specify full filenames and
  1814.           whatever programs add entries to the queue must do the wildcard
  1815.           expansion themselves.  This queue structure requires that both the
  1816.           full path of the file be specified as well as the transmitted file-
  1817.           name; this allows files to be transmitted different filenames than
  1818.           they have on disk.
  1819.  
  1820.  
  1821.           <priority> F <filename>
  1822.  
  1823.           A "F" entry indicates a file request.  Filenames may include a
  1824.           path, but the file will be received into the inbound files
  1825.           directory unless you are requesting from a SEAdog or "Bark-style"
  1826.           system.  If the file exists in the specified path, an update-
  1827.           request will be generated, only receiving the file if a newer
  1828.           version exists.
  1829.  
  1830.           <priority> R <packet path> <transmit packet name>
  1831.  
  1832.           An "R" entry indicates an outbound AREAFIX request.  This is always
  1833.           associated with an "A" queue entry which contains an actual NETmail
  1834.           packet.
  1835.  
  1836.          The disk-based queue was designed to allow user-written programs to
  1837.          transmit files and XMAIL easily without using the DBUTIL program.
  1838.          Following is a sample routine to generate the queue entry filenames
  1839.          based on kind, ZONE, NET, NODE and POINT:
  1840.  
  1841.  
  1842.            function qname(kind : char;
  1843.                           zone,
  1844.                           net,
  1845.                           node,
  1846.                           point : integer) : string;
  1847.  
  1848.            function base36(n : integer) : maxstring;
  1849.            var d36 : string[36];
  1850.            i,j,k : integer;
  1851.            begin
  1852.              d36:='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ';
  1853.              i:=n div 1296;
  1854.              j:=n mod 1296;
  1855.              k:=n mod 36;
  1856.              j:=j div 36;
  1857.              base36:=d36[i+1]+d36[j+1]+d36[k+1]
  1858.            end;
  1859.  
  1860.            begin
  1861.              if point<>0 then
  1862.                qname:=kind+'-POINT.'+base36(point)
  1863.              else
  1864.                qname:=kind+'-'+base36(zone)+base36(net)+'.'+base36(node)
  1865.            end;
  1866.  
  1867.  
  1868.                     Environmental Variables for D'Bridge.
  1869.  
  1870. The following are "legacy" environment variables still supported by D'Bridge.
  1871. As of the 1.80 and version 2.x series, some of these variables are either
  1872. obsolete or no longer supported. Contact Nick Andre for more information.
  1873.  
  1874.   SET                         Description
  1875.   --------------------------------------------------------------------------
  1876.   COUNTOVR=Y                 Diagnostics to count overlay swaps
  1877.   DB-ALIAS-HOLD=Y            Do not transmit mail for outbound EMSI aliases
  1878.   DB-DATA=<directory>        D'Bridge DATA directory (database files)
  1879.   DB-IO-LOG=Y                Writes C:\DB-IO.DAT (debug file)
  1880.   DB-MODEM-ANSWER=ATA        Special answer string (sent to modem to answer)
  1881.   DB-MODEM-CDMASK=0080       Non-standard CD mask word (4 hexadecimal digits)
  1882.   DB-MODEM-OFFHOOK=ATM0H1    String to take modem offhook
  1883.   DB-QUEUEFP=<directory>     Directory to put DBRIDGE.UEH and DBRIDGE.MEH
  1884.   DB-SWAPFN=<filename>       D'Bridge swap file pathname (DBRIDGE.DRO)
  1885.   DB-TIMER-RES=<1-8>         D'Bridge int 08 timer resolution
  1886.   DBED-SWAPFN=<filename>     DBEDIT swap file pathname (DBEDIT.DRO)
  1887.   DBFREEMEM=<40-100>         WorkRAM free memory setting (debugging only)
  1888.   DBOVRBUFSIZ=<80-180>       Overlay buffer size in K  (affects performance)
  1889.   DBOVREMS=Y                 Loads D'Bridge overlay into EMS (not suggested)
  1890.   DIAL-IGNORE=<string>       Ignores response when dialing.  (ie. DIALTONE)
  1891.   DISKSTATS=Y                Displays disk statistics during processing
  1892.   DLE=Y                      A ZMODEM debug mode for older Opus systems.
  1893.   FILEBASE-INQ=N             Disables file-request inquiry into the filebase
  1894.   KATGUARD=Y                 Defaults KatGuard ON when D'Bridge starts
  1895.   NLBUFSIZE=<32-256>         Sets the nodelist compile buffer size (32-256)
  1896.   LASTCALL=N                 Disables the LASTCALL request feature
  1897.   LASTCALL-SAVE=Y            Causes LASTCALL.ZIP to NOT be killed at midnight
  1898.   RUSSIAN=Y                  Special handling of cyrillic characters (8a, 8d)
  1899.   SAVEAREALINE=Y             Saves the AREA: line in ECHOmail messages
  1900.   XMIT-PATH                  Controls the default search path for the ALT-T
  1901.                              (transmit files) command.
  1902.   UPDATE-PATH                This variable provides an alternate search path
  1903.                              for update requests.
  1904.  
  1905. (eof)
  1906.  
  1907.