home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / 125ADEV.ZIP / 125A.DEV next >
Encoding:
Text File  |  1993-08-08  |  25.5 KB  |  943 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                   POWERBOARD BBS 1.25A DEVELOPER'S KIT
  8.  
  9.  
  10.  
  11.                              First Edition
  12.  
  13.  
  14.  
  15.  
  16.                    Copyright 1993 NuIQ Software, Inc.
  17.  
  18.  
  19.  
  20.  
  21.                           All Rights Reserved
  22.  
  23.  
  24.  
  25. CORRESPONDENCE:
  26.  
  27. NUIQ SOFTWARE, INC
  28. 415-A Richbell Road
  29. Larchmont, New York 10538
  30.  
  31. Tel: (914) 833-3479  Fax: (914) 833-3623
  32.  
  33. BBS: (914) 834-7830 (hst) (914) 833-1479 (v32bis) FIDO 1:272/37 RIME 'THESWING'
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48. INTRODUCTION:
  49.  
  50. This package is meant for professional software developers only.  This package
  51. is not intended for the amateur bulletin board operator or programmer.  There
  52. will not be any attempts made for the documentation to be understandable by
  53. "non-programmers".  For those interested in running a BBS using the Powerboard
  54. software, please be aware that the software is completely configurable without
  55. the need of using a lower level programming language.  Please call NuIQ
  56. Software for information on the Powerboard software.
  57.  
  58. Information provided herein is intended for Third Party authors who are
  59. developing add-ons for the Powerboard software.  All other uses are strictly
  60. forbidden.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.                                 PREFACE
  72.                                 -------
  73.  
  74. Our goal at NUIQ SOFTWARE has always been to offer the highest quality
  75. software available.  The Powerboard Source Code and Record Formats that
  76. are provided with this package are done so in good faith.
  77.  
  78. FREE REGISTRATION
  79.  
  80. Any third party author who will be using the information provided in this
  81. package for a long period of time is expected to register with NUIQ SOFTWARE
  82. by filling out the Third Party Author Registration Form.  NUIQ SOFTWARE keeps
  83. on file a list of current Third Party Authors, contact information, and the
  84. products they produce.
  85.  
  86. Information provided is subject to change.  When releasing a new version of
  87. the Powerboard Software, NUIQ SOFTWARE does not make any guarantees as to
  88. backward compatibility.  Registered Third Party Authors will recieve updates
  89. to the Powerboard file layouts and other helpful information.
  90.  
  91. POWERBOARD SOFTWARE PACKAGE
  92.  
  93. Third Party Authors who have not already purchased the Powerboard software
  94. may do so at a reduced rate.  The software is available (one per author)
  95. at a 25% discount.  Contact NUIQ SOFTWARE for details.
  96.  
  97. LOW-LEVEL CODE & FILE LAYOUTS
  98.  
  99. Code for low-level operations in Powerboard is available at an additional
  100. cost after signing a non-disclosure agreement.  Without purchasing the
  101. Powerboard software, the extended developer's kit costs $100.  Authors
  102. who have purchased the Powerboard software are entitled to recieve the
  103. extended developer's kit for $50.
  104.  
  105. EXTENDED DEVELOPER'S KIT INCLUDES INFORMATION ON:
  106.  
  107.  o Multinode Interaction
  108.  o Powermail Door
  109.  o Bottom Status Line Configuration
  110.  o Menu Developer Codes
  111.  o Waiting-For-Calls Screen Pull Down Menu Codes
  112.  o EXTERN.LIB External Command Library examples
  113.  o File Area .NDX (File Index), .SZ, .DTB and .DTX Files
  114.  
  115.  
  116.  
  117.  
  118.                            TABLE OF CONTENTS
  119.                            -----------------
  120.  
  121. Node Settings (NodeX.INF)  ..........................................  8
  122.  
  123. BBS Log Files  ......................................................  13
  124.  
  125. PROTOCOL Files  .....................................................  15
  126.  
  127. Modem String Files  .................................................  18
  128.  
  129. Security Files  .....................................................  19
  130.  
  131. PBANSI Standard  ....................................................  22
  132.  
  133. Time Bank  ..........................................................  24
  134.  
  135. Message Area  .......................................................  25
  136.  
  137. Doors  ..............................................................  26
  138.  
  139. User File Access  ...................................................  27
  140.  
  141. File Area/Conference Setup  .........................................  28
  142.  
  143. File Area Listing File (FILES.BBS)  .................................  31
  144.  
  145. Multinode Network User Listing File  ................................  32
  146.  
  147. BBS Vital Data File (BBS.DAT)  ......................................  34
  148.  
  149. Last Caller Information File  .......................................  35
  150.  
  151. Event Configuration File  ...........................................  39
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.                        NODE SETTINGS (NodeX.INF)
  165.                        -------------------------
  166.   Line  Description
  167.   ----  -----------
  168.   1     Sysop First Name
  169.   2     Sysop Last Name
  170.   3     Sysop's Password in user file
  171.   4     BBS Name
  172.   5     Full path to DOOR.SYS for this node
  173.   6     Full path to error log
  174.   7     Full path to callers log
  175.   8     Number of seconds until keyboard timeout disconnect
  176.   9     Path to chat log
  177.   10    Main BBS path
  178.   11    Locked baudrate (NONE if none)
  179.   12    Allow hardware (cts/rts) flow control?
  180.   13    Allow software (xon/xoff) flow control?
  181.   14    Main waiting for calls screen
  182.   15    2nd waiting for calls screen
  183.   16    Hercules main waiting for calls screen
  184.   17    hercules secondary waiting for calls screen
  185.   18    Basic prompts text file (basic.txt)
  186.   19    basic prompt ansi file (basic.ans)
  187.   20    ANSI  Screen to show when sysop presses F8 disconnect
  188.   21    ASCII Screen to show when sysop presses F8 disconnect
  189.   22    Com port to use
  190.   23    Baud rate
  191.   24    Inital control file to load at log-on
  192.   25    Max characters for waiting for screen modem stats box
  193.   26    Blank screen allowed?
  194.   27    Time until blank
  195.   28    Seconds to wait after send to modem
  196.   29    Answer on modem ring?
  197.   30    string to send for answering (ATA)
  198.   31    Allow printing?
  199.   32    Re-init modem time... 0=no re-init
  200.   33    Allow abortion of screens?
  201.   34    Show box when screen is blanked?
  202.   35    Beeps enabled? (ON,OFF)
  203.   36    ASCII screen to show if user must be disconnected due to event
  204.   37    ANSI  screen to show if user must be disconnected due to event
  205.   38    Local only? (not use modem)
  206.   39    ANSI  screen to show if user does not press key for a long time and is disconnected
  207.   40    ASCII screen to show if user does not press key for a long time and is disconnected
  208.   41    ANSI  screen to show if user does not press key for a long time (warning)
  209.   42    ASCII screen to show if user does not press key for a long time (warning)
  210.   43    ANSI  screen to show when initalizing CHAT
  211.   44    ASCII screen to show when initalizing CHAT
  212.   45    ANSI  screen to show when ending CHAT
  213.   46    ASCII screen to show when ending CHAT
  214.   47    ANSI  screen to show when user runs out of time
  215.   48    ASCII screen to show when user runs out of time
  216.   49    Number of seconds of inactivity before "keyboard timout" warning
  217.   50    Slow down display for old CGAs (flickering)
  218.   51    Allow screen restore in chat?
  219.   52    Conceal password?
  220.   53    Beep at connect?
  221.   54    Clear scren at connect?
  222.   55    Invalid keys at Yes/No ask before defaulting
  223.   56    Yes/No default
  224.   57    Show ansi when user is in ascii?
  225.   58    New user security
  226.   59    Show bottom status line?
  227.   60    New user time limit
  228.   61    Message area database path
  229.   62    Aborting character for screens (32=space, -1=any)
  230.   63    Tab length in message entry
  231.   64    Default file area listing file (usually areas\farea1)
  232.   65    Function key screen path
  233.   66    Allow 300 baud?
  234.   67    If no, 300 baud disallowed screen filename (with path)
  235.   68    <<blank line here>>
  236.   69    Min disk space
  237.   70    ascii switch
  238.   71    Multinode chat/work path
  239.   72    Sec needed to override private mail flag
  240.   73    ANSI  screen to show for multinode chat help
  241.   74    ASCII screen to show for multinode chat help
  242.   75    ANSI  screen to show for "time on" in multinode chat
  243.   76    ASCII screen
  244.   77    ANSI  screen to show for "/who is on" in multichat
  245.   78    ASCII screen to show for "/who is on" in multichat
  246.   79    Minutes before time warning (default 3)
  247.   80    ANSI  time warning screen
  248.   81    ASCII
  249.   82    file attached to msgs dir
  250.   83    show dots in multinode chat
  251.   84    Color for sysop in sschat
  252.   85    Color for user in sschat
  253.   86    Number of welcome screens (welcome command)
  254.   87    Sysop password
  255.   88    Sysop Sec
  256.   89    Instant windows?
  257.   90    Default filename extention (zip)
  258.   91    Use true baudrate from door.sys?
  259.   92    Ansi filename extention
  260.   93    ascii filename extention
  261.   94    oldest file accepted day
  262.   95    oldest file accepted month
  263.   96    oldest file accepted year
  264.   97    Allow swap to disk?
  265.   98    Comment to sysop if invalid password?
  266.   99
  267.   100   Kill Lines? (Yes)
  268.   101
  269.   102   Base address value (eg. &h02e8, 0=use default)
  270.   103   IRQ (0=default)
  271.   104   Allow handles? (use first & last name when %fname% is called)
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.                              BBS LOG FILES
  279.                              -------------
  280.  
  281. CALLERS.NODE - List of general reports while callers are online.  Text
  282. file (variable record length), each line terminated by cr/lf.  Line format:
  283.  
  284.    Start  Length  Description
  285.    -----  ------  -----------
  286.      1      3     Code for activity type.  Example: !!=Startup, --=General,
  287.                   **=Connect Message, >>=Log On, <<=Log out
  288.      5      10    Date in format MM-DD-YYYY
  289.      16     8     Time in format HH:MM:SS, 24-hour
  290.      24     1     Ascii 58 (':')
  291.      26     EOL   Log Entry
  292.  
  293. ERROR.NODE - Error Log.  Logs fatal errors.  No standard format.
  294.  
  295. CHAT.NODE - Chat Log.  If Sysop turns chat log on, the log will be written to
  296. this file.
  297.  
  298. UPLOAD.NODE - Upload Log.  All uploads are logged to this text file.  Format:
  299.  
  300. FILENAME uploaded at HH:MM on MM-DD-YY by NAME.
  301.  
  302. Example:
  303.  
  304. DRWY220.ZIP uploaded at 23:35 on 02-23-92 by John Smith.
  305.  
  306. DOWNLOAD.NODE - Download Log.  All downloads are logged to this file.
  307.  
  308. For batch downloads, the format is:
  309.  
  310. PATH\FILENAME downloaded by NAME at HH:MM on MM-DD-YY.
  311.  
  312. Example:
  313.  
  314. \bbs\files\pbsw\HAKCTLS.LZH downloaded by John Smith at 23:04 on 10-26-92.
  315.  
  316. For single-file downloads, the format is:
  317.  
  318. FILENAME downloaded by NAME at HH:MM on MM-DD-YY.
  319.  
  320. PB120-1.ZIP downloaded by John Smith at 08:43 on 11-09-92.
  321.  
  322.  
  323.  
  324.  
  325.                              PROTOCOL FILES
  326.                              --------------
  327.  
  328. Powerboard protocols are executed from batch files.  These batch files
  329. are created from template files (called .BT files).  The .BT files are
  330. stored in the PROTOCOL\ directory that branches off of the main
  331. Powerboard directory.  A list of available protocols for a given
  332. operation can be obtained by getting a directory listing of the PROTOCOL\
  333. directory.  Valid operations are as follows:
  334.  
  335.     Code    Function
  336.     ----    --------
  337.     -D      Download File
  338.     -U      Upload File
  339.     -AU     Attach Upload (single-file only)
  340.     -AD     Attach Download (single-file only)
  341.     -VD     Zipview Download (single-file only)
  342.  
  343. Example:
  344.  
  345.   Template File    Function
  346.   -------------    --------
  347.   ZB-D.BT          Zmodem Batch Download
  348.   Z-D.BT           Zmodem Single-File Download
  349.   ZB-U.BT          Zmodem Batch Upload
  350.   Z-U.BT           Zmodem Single-File Upload
  351.   Z-AD.BT          Zmodem Attached File Download
  352.   Z-AU.BT          Zmodem Attached File Upload
  353.   Z-VT.BT          Zmodem Zipview Download
  354.  
  355. The characters before the operation represent the calling keys for the
  356. protocol.  They can be as long as filenames permit, however, should not
  357. be longer than 2 characters because of the fact that Powerboard stores only
  358. 2 character keys in the DEFAULT PROTOCOL field in the user record.
  359.  
  360. COMMONLY USED IMBEDDED TEXT CODES
  361.  
  362.       Code         Function
  363.       ----         --------
  364.       %BAUD%       Current Baudrate
  365.       %LBAUD%      Locked Baudrate
  366.       %PORT%       Com Port (1,2,3,4,5, etc)
  367.       %BBSP%       BBS Path
  368.       %NODE%       Node Number
  369.       ^:1^         Batch Upload file #1
  370.       ^:2^         Batch Upload file #2
  371.       %FILPATH%    Download Path
  372.       %VAR%D       Filename
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.                       MODEM STRING & RESULT FILES
  395.                       ---------------------------
  396.  
  397. MODEM.NODE - Initalization string to send.
  398.  
  399. OFFHOOK.NODE - String to send to take phone off the hook.
  400.  
  401. ONHOOK.NODE - String to send to put phone on the hook.
  402.  
  403. CONNECT.NODE - Connect messages in format:
  404.  
  405. CONNECT MESSAGE,BAUDRATE
  406.  
  407. Example:
  408.  
  409. CONNECT 19200,19200
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.                              SECURITY FILES
  418.                              --------------
  419.  
  420. SECS.BBS - Defines securities.  Format:
  421.  
  422. SEC,Desc
  423.  
  424. Example:
  425.  
  426. 100,Sysop
  427.  
  428. Default Powerboard configuration:
  429.  
  430. 10,New User
  431. 20,Verified User
  432. 30,Visiting Sysop
  433. 50,Subscriber
  434. 100,Sysop/CoSysop
  435.  
  436. RATIOS.BBS - Upload to download ratios.  Format:
  437.  
  438. SEC,DOWNLOADS_BEFORE_UPLOAD
  439.  
  440. Example:
  441.  
  442. 10,15
  443.  
  444. Gives a 15:1 ratio to security 10 users.
  445.  
  446. TIMELIMS.NODE - Time limits for users.  Format:
  447.  
  448. SEC,TIME
  449.  
  450. Example:
  451.  
  452. 10,45
  453.  
  454. Gives 45 minute per day limit to Security 10 users.
  455.  
  456. PHONES.DAT - List of all phone numbers currently being used.  If a user tries
  457. to log on using a number in here, their account is sent to review by the
  458. Sysop.  Their name is then automatically added to BADNAMES.BBS.
  459.  
  460. BADNAMES.BBS - List of names that cannot be contained in user names, Example:
  461.  
  462. Doctor
  463. Death
  464. Screw
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.                             PBANSI STANDARD
  488.                             ---------------
  489.  
  490. Powerboard control files, messages and displays where the first line says
  491. PBANSI
  492. use PBANSI display codes.  If the current user is in ASCII, PBANSI codes
  493. are ignored.  If the current user is in ANSI, they are interpeted.
  494.  
  495.    Code   Function                Code   Function
  496.    ----   --------                ----   --------
  497.    $0$    Black Background        &0&    Black Foreground
  498.    $1$    Blue Background         &1&    Blue Foreground
  499.    $2$    Green Background        &2&    Green Foreground
  500.    $3$    Cyan Background         &3&    Cyan Foreground
  501.    $4$    Red Background          &4&    Red Foreground
  502.    $5$    Purple Background       &5&    Purple Foreground
  503.    $6$    Brown Background        &6&    Brown Foreground
  504.    $7$    White Background        &7&    Dark White Foreground
  505.                                   &8&    Gray Foreground
  506.                                   &9&    Bright Blue Foreground
  507.                                   &10&   Bright Green Foreground
  508.                                   &11&   Bright Cyan Foreground
  509.                                   &12&   Pink Foreground
  510.                                   &13&   Bright Purple Foreground
  511.                                   &14&   Yellow Foreground
  512.                                   &15&   White Foreground
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.                                TIME BANK
  532.                                ---------
  533.  
  534. The internal time bank for Powerboard has no limit for the ammount of
  535. time that can be stored, unless a MAXLIMIT.DAT file exists in the
  536. BANK\ directory, in which case the first line of the text file represents
  537. the number of minutes that can be stored at maximum.
  538.  
  539. Each user has no time stored in the bank, unless a file exists with the
  540. filename of their user record number plus the .DAT extension.  Example:
  541.  
  542. 1.DAT
  543.  
  544. Means user #1 has the ammount of time specified on line 1 of 1.DAT stored
  545. in the bank.
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.                      BBS VITAL DATA FILE (BBS.DAT)
  556.                      -----------------------------
  557.  
  558. If your program absoultely must modify the BBS.DAT file, it should first
  559. back it up to an UNUSED filename (i.e. don't assume that there is no
  560. .BAK, .OLD, etc).  The format for BBS.DAT is as follows:
  561.  
  562. BBS Start Date
  563. Number of callers
  564. Last Message Written Date
  565. Last Message Written Time
  566. Last File Uploaded Date
  567. Last File Uploaded Time
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.                         EVENT CONFIGURATION FILE
  581.                         ------------------------
  582.  
  583. If events are active for a given node, the file NODE.EVT will exist in the
  584. main BBS directory.  The format is as follows:
  585.  
  586. HH:MM DESCRIPTION ,ERRORLEVEL,DAY,KICKOFF
  587.  
  588. Example:
  589.  
  590. 00:00 Test Event ,000,00,Y
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.                       LAST CALLER INFORMATION FILE
  606.                       ----------------------------
  607.  
  608. LASTUSER.DAT - Contains information about the last user on the system.  When
  609. a user logs off any node on the system, this file is written to the main
  610. BBS directory.  Format:
  611.  
  612.     Offset   Length    Description
  613.     ------   ------    -----------
  614.       0        40      User Name
  615.       40       25      Phone Number
  616.       65       40      Calling From
  617.       105      40      Sysop's Memo on User
  618.       145      2       Signed Integer - Uploads
  619.       147      2       Signed Integer - Downloads
  620.  
  621.  
  622.  
  623.  
  624.                                  DOORS
  625.                                  -----
  626.  
  627. To add a door to the BBS, first create a batch file called DOOR<N>.BAT.
  628. Next, modify the doors menu display, usually in the DISPLAY directory,
  629. filename DOORS.ANS/.ASC.  The BBS will exit with error level 80 and type
  630. in "DOOR" at the DOS prompt, which executes a template-created DOOR.BAT.
  631. The batch file needs to re-load Powerboard on the same node that it came
  632. in on.  If developing a door program, suggest that in the inital batch
  633. file for loading Powerboard set an environment variable such as NODE.
  634.  
  635. Powerboard creates the DORINFO<NODE>.DEF and DOOR.SYS files on exit.  If
  636. the BBS is run on a single-node (no network/sharing capability), the
  637. file is called DORINFO0.DEF.  On multinode, nodes start with 1 (DORINFO1.DEF).
  638. The format for the Powerboard DORINFO0.DEF is as follows:
  639.  
  640. BBS Name
  641. Sysop First Name
  642. Sysop Last Name
  643. COM Port                        (COM1, COM2, etc.  COM0=Local)
  644. <SPEED> BAUD,N,8,1              <SPEED> = Baudrate
  645. <SPEED>
  646. User's First Name
  647. User's Last Name
  648. City, State
  649. 0
  650. Security Level
  651. Time Left
  652. 0
  653. <blank>
  654. Powerboard Serial Number
  655.  
  656. Example:
  657.  
  658. The Swing BBS
  659. NUIQ
  660. SOFTWARE
  661. COM3
  662. 14400 BAUD,N,8,1
  663. 14400
  664. Scott
  665. Brown
  666. Larchmont, NY
  667. 0
  668. 51
  669. 29
  670. 0
  671.  
  672. - SN#1
  673.  
  674. When Powerboard returns from a door program, it reads in the file PBDOOR.NODE.
  675. The format for PBDOOR.NODE is:
  676.  
  677. BAUD RATE - LOCAL if local mode, otherwise baudrate to open port at
  678. USER NAME
  679. USER PASSWORD
  680. CALLING FROM
  681. TIME LEFT
  682. USER NUMBER
  683. MINUTES PAST MIDNIGHT WHEN ENTERED DOOR
  684. DATE WHEN ENTERED DOOR
  685. GRAPHICS MODE (ANSI,ASCII,RIP)
  686. COMMANDLINE USED TO LOAD POWERBOARD
  687. TIME LIMIT PER DAY
  688. CHAT REQUESTED TEXT (Blank if user did not req. chat)
  689. LAST CONTROL FILE LOADED
  690. BPS CONNECTED AT (If different from port speed)
  691.  
  692.                   MULTINODE NETWORK USER LISTING FILE
  693.                   -----------------------------------
  694.  
  695.      Offset    Length    Description
  696.      ------    ------    -----------
  697.        0          1      Available for chat? (Y/N)
  698.        1          40     User Name
  699.        41         40     Calling From
  700.        81         10     Baud Rate
  701.        91         40     Current Activity
  702.  
  703. REFER TO: WHO.BAS, WHO.EXE
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.                        FILE AREA/CONFERENCE SETUP
  718.                        --------------------------
  719.  
  720. Message area names and data are specified in the MSGAREAS.BBS data file.
  721. The format for MSGAREAS.BBS is as follows:
  722.  
  723.      Offset    Length    Description
  724.      ------    ------    -----------
  725.         0        60      Message Area Name
  726.         60       2       Security Level Required for access
  727.         62       1       Private Allowed? (Y/N)
  728.         63       1       Forced Private? (Y/N)
  729.         64       1       Forced Public? (Y/N)
  730.         65       1       Netmail Allowed? (Y/N)
  731.         66       1       Ignore Scan Flags? (Y/N)
  732.         67       1       Forced Netmail? (Y/N)
  733.  
  734. REFER TO: AREASEE.BAS, AREASEE.EXE
  735.  
  736. File areas branch off of message areas.  File areas are defined in the file
  737. FAREA<CONFERENCE>.BBS, stored in the AREAS\ sub-dir.  The format for this
  738. text file is:
  739.  
  740. Area Name
  741. Security,Path
  742.  
  743. REFER TO: FAREASEE.BAS, FAREASEE.EXE
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.                    FILE AREA LISTING FILE (FILES.BBS)
  763.                    ----------------------------------
  764.  
  765. The File Area Listing file is in the following format:
  766.  
  767. FILENAME.EXT FILESIZE  FILEDATE  DESCRIPTION
  768.  
  769. Example:
  770.  
  771. DM57.ZIP       123092  07-19-93  Doormaster door conversion utility.
  772.  
  773. If the description is more than one line, the next line in FILES.BBS for
  774. a given file area will not contain a filename, filesize, and file date.
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.                             USER FILE ACCESS
  787.                             ----------------
  788.  
  789. The user file format is as follows:
  790.  
  791.     Offset    Length    Description
  792.     ------    ------    -----------
  793.        0        5       Last Time Online
  794.        5        1       Mail Waiting? (Y/N)
  795.        6        1       Locked Out? (Y/N)
  796.        7        1       Length of user's name
  797.        8        40      User Name
  798.        48       1       Street Line 1 Length
  799.        49       40      Street Line 1
  800.        89       1       City,St Length
  801.        90       40      City,St
  802.        130      1       Password Length
  803.        131      20      Password
  804.        151      1       Phone Number Length
  805.        152      15      Phone Number
  806.        167      1       Work Number Length
  807.        168      15      Work Phone Number
  808.        183      1       Birthdate Length
  809.        184      9       Birthdate
  810.        193      1       Last On Length
  811.        194      9       Last On Date
  812.        203      2       Time Left on last call
  813.        205      2       Number of times on
  814.        207      2       Number of Uploads
  815.        209      2       Number of Downloads
  816.        211      1       Length of first call date
  817.        212      9       First Call Date Length
  818.        221      1       Subscriber (Y/N)?
  819.        222      1       Subscription Date Length
  820.        223      9       Subscription Expiration Date
  821.        232      2       Last Download Area
  822.        234      2       Last Upload Area
  823.        236      2       Last Message Area
  824.        238      2       User Security Level
  825.        240      2       Kbytes Downloaded
  826.        242      2       Kbytes Uploaded
  827.        244      1       Expert Mode? (Y/N)
  828.        245      1       Length of graphics mode text
  829.        246      15      Graphics mode text
  830.        261      2       Screen Length
  831.        263      1       Length of Memo text
  832.        264      40      Memo text
  833.        304      1       Length of Last Baudrate text
  834.        305      10      Last Baudrate text
  835.        315      1       Computer Using Text Length
  836.        316      20      Computer Using Text
  837.        336      2       Carrier Dropped Times
  838.        338      2       Chat Req Times
  839.        340      2       Times disconnected by Sysop
  840.        342      2       Default Protocol Text
  841.        344      1       Length of last New Files check text
  842.        345      8       New Files Check text
  843.        353      1       Default Multinode Available for Chat
  844.        354      39      Reserved for future use
  845.  
  846. REFER TO: USERINFO.BAS, USERINFO.EXE
  847.  
  848. USERFILE.NDX Index File:
  849.  
  850. The User Index file for Powerboard is a text file, in the format:
  851.  
  852. USER NAME<179>PASSWORD<179>CALLING FROM<179>RECORD<179>LOCKEDOUT
  853.  
  854. The User's Name MUST be in all capital letters.  LOCKEDOUT is either 0 for
  855. not locked out, or 1 for locked out.  RECORD is the user's record in the
  856. USERFILE.DAT, starting with record 1.
  857.  
  858. Example:
  859.  
  860. SCOTT BROWN│MYBBS│Larchmont, New York│1│0
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.                               MESSAGE AREA
  878.                               ------------
  879.  
  880. READING USER'S CONFERENCE SETTINGS
  881.  
  882. The Message Area sub-directory is defined in NODE<NODE>.INF (discussed
  883. earlier), however, it is most often referred to as the MESSAGES\ dir.
  884.  
  885. Users define their conference settings.  The conference settings are
  886. stored in the <CONFERENCE>.USR, located in the MESSAGES\ dir.  The
  887. format for <CONFERENCE>.USR is as follows:
  888.  
  889.  
  890.     Offset    Length    Description
  891.     ------    ------    -----------
  892.        0         4      High Read Number
  893.        4         4      High Scan Number (Obsolete in v1.25A+)
  894.        8         1      Selected? (Y/N)
  895.        9         1      Mail Waiting? (Y/N)
  896.  
  897. REFER TO: USERCONF.BAS, USERCONF.EXE
  898.  
  899. MESSAGE HEADER FILES
  900.  
  901. The format for the message header file, <CONFERENCE>.MES is as follows:
  902.  
  903.    Offset    Length    Description
  904.    ------    ------    -----------
  905.      0         1       User From Length
  906.      40        40      User From
  907.      41        1       To Name Length
  908.      42        40      To Name
  909.      82        1       Private? (Y/N)
  910.      83        1       Sent-Date Length
  911.      84        8       Sent-Date
  912.      92        1       Sent-Time Length
  913.      93        8       Sent-Time
  914.      101       2       Replies? 0=No
  915.      103       1       Start Line in .TX file
  916.      107       4       End Line in .TX file
  917.      111       1       Message Subject Length
  918.      112       50      Message Subject
  919.      162       1       Flagged for deletion? (Y/N)
  920.      163       1       Message has been recieved (Y/N)
  921.      164       2       Times message has been read
  922.      166       1       Has been sent Netmail? (Y/N)
  923.      167       3       Reserved
  924.      170       1       File Attached? (Y/N)
  925.      171       2       Reserved
  926.      173       13      Attach Filename
  927.      186       1       Send by Netmail? (Y/N)
  928.      187       4       Message Number
  929.      191       4       Previous (Rev. Thread) Message #
  930.      195       61      Reserved
  931.  
  932. .TX Database file (stores actual message text) is in following format:
  933.  
  934.    Offset   Length    Description
  935.    ------   ------    -----------
  936.       0        1      String Length
  937.       1        127    String Text
  938.  
  939.  
  940. If an ascii #1 is at the end of a text line, it signifies a line-feed.
  941.  
  942. REFER TO: MESSREAD.BAS, MESSREAD.EXE
  943.