home *** CD-ROM | disk | FTP | other *** search
/ World of OS/2 / W_OS_2.BIN / simpdocs.zip / simplex.doc next >
Text File  |  1992-08-16  |  127KB  |  3,126 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.            ┌───────┐ ┌─┐ ┌─────────┐ ┌──────┐ ┌─┐      ┌──────┐ ┌─┐   ┌─┐           ┌───────┐ ┌─┐ ┌─────────┐ ┌──────┐ ┌─┐      ┌──────┐ ┌─┐   ┌─┐
  8.            │ ┌─────┘ │ │ │ ┌─┐ ┌─┐ │ │ ┌──┐ │ │ │      │ ┌────┘ └┐└┐ ┌┘┌┘           │ ┌─────┘ │ │ │ ┌─┐ ┌─┐ │ │ ┌──┐ │ │ │      │ ┌────┘ └┐└┐ ┌┘┌┘
  9.            │ └─────┐ │ │ │ │ │ │ │ │ │ └──┘ │ │ │      │ └──┐    └┐└─┘┌┘           │ └─────┐ │ │ │ │ │ │ │ │ │ └──┘ │ │ │      │ └──┐    └┐└─┘┌┘
  10.            └─────┐ │ │ │ │ │ └─┘ │ │ │ ┌────┘ │ │      │ ┌──┘    ┌┘┌─┐└┐           └─────┐ │ │ │ │ │ └─┘ │ │ │ ┌────┘ │ │      │ ┌──┘    ┌┘┌─┐└┐
  11.            ┌─────┘ │ │ │ │ │     │ │ │ │      │ └────┐ │ └────┐ ┌┘┌┘ └┐└┐           ┌─────┘ │ │ │ │ │     │ │ │ │      │ └────┐ │ └────┐ ┌┘┌┘ └┐└┐
  12.            └───────┘ └─┘ └─┘     └─┘ └─┘      └──────┘ └──────┘ └─┘   └─┘           └───────┘ └─┘ └─┘     └─┘ └─┘      └──────┘ └──────┘ └─┘   └─┘
  13.  
  14.  
  15.                               Simplex BBS - (c) 1989-91
  16.                       Chris Laforet Software/Christopher Laforet
  17.                                 All Rights Reserved.
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.                          Chris Laforet can be contacted at:
  28.  
  29.                The Programmer's Oasis BBS - Graham, NC - 919/226-6984
  30.               The Programmer's Oasis 2 BBS - Graham, NC - 919/226-7136
  31.                 FidoNet Mail 1:151/401 or 1:151/402 as Chris Laforet
  32.                         CompuServe Email - User ID: 76120,110
  33.                            Genie Email - User ID: XTX74591
  34.                             BIX Email - User ID: laforet
  35.  
  36.  
  37.  
  38.  
  39.  
  40.                             Programming by Chris Laforet
  41.                        Unauthorized Selling/Renting Prohibited
  42.                Documentation Title Page/Help Files/Etc by Robbie Foust
  43.  
  44.  
  45.  
  46.  
  47.  
  48.           _________________________________________________________________
  49.  
  50.                                       Chapter 1                                      Chapter 1
  51.  
  52.                                Legalistic Mumbo-Jumbo                               Legalistic Mumbo-Jumbo
  53.           _________________________________________________________________
  54.  
  55.  
  56.  
  57.  
  58.           Simplex is copyright (c) 1989-91, Chris Laforet Software and/or
  59.           Christopher Laforet.  This copyright is waived for the
  60.           distribution of the executable files for Simplex.  This means
  61.           that you are free to distribute the Simplex executables as you
  62.           wish as long as they are contained in the original form in which
  63.           you received them.
  64.  
  65.           The source code for Simplex is available for purchase from Chris
  66.           Laforet Software.  When you purchase this code, you are granted
  67.           an exclusive license to modify it for your own use.  The
  68.           executables that you produce must never be distributed in place
  69.           of the original executables as compiled and distributed from
  70.           Chris Laforet Software unless you arrange a royalty system with
  71.           Chris Laforet Software.  During the course of your modifications,
  72.           should you develop a feature which you believe should be a part
  73.           of the distributed Simplex executables, you may submit the code
  74.           to Chris Laforet Software for review and for possible
  75.           incorporation into Simplex, as long as such incorporation does
  76.           not place Chris Laforet Software and/or Christopher Laforet under
  77.           any monetary obligations.  Your submitted code must include a
  78.           cover letter indicating that you are freely granting permission
  79.           to Chris Laforet Software for the incorporation of your code into
  80.           Simplex.
  81.  
  82.           There are no warranties of any kind, explicit or implied, on the
  83.           Simplex software.  Simplex's executables are provided on an "AS
  84.           IS" basis.  What this means is that if you decide to use Simplex,
  85.           it is at your own risk.  In plain English, this means that if you
  86.           use Simplex and your machine blows up, the developers and
  87.           distributors of Simplex are not responsible in any fashion.  If
  88.           you use Simplex and it loses all of the files on your disk, once
  89.           again the developers and distributors of Simplex are not to be
  90.           held accountable.  While these scenarios are rather extreme in
  91.           nature, they serve to indicate that Chris Laforet Software and/or
  92.           Christopher Laforet does not warrant, guarantee, or make any
  93.           other representations regarding the use, or results of use, of
  94.           Simplex or its documentation in terms of accuracy, reliability,
  95.           correctness, currentness, or otherwise.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.                   --------------------------------------------------
  104.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  105.                                         Page 2                                        Page 2
  106.  
  107.  
  108.  
  109.  
  110.  
  111.           _________________________________________________________________
  112.  
  113.                                       Chapter 2                                      Chapter 2
  114.  
  115.                                Introduction to Simplex                               Introduction to Simplex
  116.           _________________________________________________________________
  117.  
  118.  
  119.  
  120.  
  121.           Simplex is a package created for the running of a Bulletin Board
  122.           System (BBS).  The development of Simplex arose out of Chris'
  123.           personal gripes insofar as his inability to either fix bugs or
  124.           add features to other BBS packages.  From the outset, Simplex was
  125.           designed to be an easy-to-use BBS system, with source code
  126.           available (at a price!) to anyone who might be interested.  On
  127.           the other hand, Simplex's executables are meant to be distributed
  128.           as public-domain material.  There are many good BBSes out there,
  129.           ones which have cost their SYSOPs (System Operators) lots of
  130.           money to purchase the necessary hardware.  There is no reason on
  131.           earth why they also have to ante up lots of money for their BBS
  132.           software.
  133.  
  134.           Simplex is somewhat based on the user interface of QuickBBS.  It
  135.           is said that imitation is the sincerest form of praise, and it is
  136.           in praise of QuickBBS' logical user interface (like P for Pause!)
  137.           that Simplex emulates certain of its characteristics.
  138.  
  139.           Simplex is currently available for DOS or OS/2.  It is currently
  140.           being ported to UNIX also.  Simplex is going to be produced in a
  141.           multiuser version for OS/2 in the future.  There are no plans to
  142.           make the DOS version multiuser, but once it has been ported to
  143.           UNIX, Simplex should be multiuser there.
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.                   --------------------------------------------------
  167.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  168.                                         Page 3                                        Page 3
  169.  
  170.  
  171.  
  172.  
  173.  
  174.           _________________________________________________________________
  175.  
  176.                                       Chapter 3                                      Chapter 3
  177.  
  178.                                  Installing Simplex                                 Installing Simplex
  179.           _________________________________________________________________
  180.  
  181.  
  182.  
  183.  
  184.           DOS users of Simplex will require a FOSSIL driver such as Ray
  185.           Gwinn's excellent X00 package.  A FOSSIL driver is a special
  186.           program which provides an interface to communications ports.
  187.           OS/2 users do not have to use a fossil since OS/2 supports
  188.           communications ports with interrupt-driven drivers.
  189.  
  190.  
  191.  
  192.           3.1-Simplex and Answering the Phone          3.1-Simplex and Answering the Phone
  193.           _________________________________________________________________
  194.  
  195.  
  196.  
  197.  
  198.           Simplex will answer the phone by itself as long as your modem
  199.           returns string results (like Hayes).  In CONFIG you can configure
  200.           your modem's strings for Simplex to monitor.  If you are running
  201.           a FidoNet node, then you will probably have a front-end mailer
  202.           answer the phone for you.  See below for more details of using a
  203.           mailer.
  204.  
  205.           If you are running Simplex as a simple host program, you might
  206.           want to use the ringback feature.  This feature permits you to
  207.           use your voice line for your host and not have to worry too much
  208.           about your modem answering the phone and surprising one of your
  209.           friends!  How this works is that a person wishing to call your
  210.           host rings the number and allows it to ring less than 5 times.
  211.           This will then arm the answer feature.  They can then call back
  212.           in less than 40 to 50 seconds and the modem will answer them.
  213.           After they hang up, the system will be back in an unarmed state.
  214.  
  215.  
  216.  
  217.           3.2-Installing A Fidonet Node          3.2-Installing A Fidonet Node
  218.           _________________________________________________________________
  219.  
  220.  
  221.  
  222.  
  223.           If you want to use Simplex as a Fidonet node, you will need to
  224.           use some sort of a front-end mailer software such as BinkleyTerm
  225.           or FrontDoor.  This software is needed in order to handle mail
  226.  
  227.  
  228.  
  229.                   --------------------------------------------------
  230.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  231.                                         Page 4                                        Page 4
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.           transactions between your node and other fidonet nodes.  Whatever
  239.           mailer you use must comply with oMMM message bundle formatting
  240.           (unless you choose to write a message handling interface between
  241.           your mailer and Simplex).
  242.  
  243.           Simplex needs a special directory which it uses as an interface
  244.           to the front-end mailer.  Traditionally, this directory has been
  245.           named the MATRIX directory.  This directory is used during the
  246.           exportation/forwarding of messages from Simplex to other nodes.
  247.           The format of these messages is the standard FidoNet message
  248.           format as outlined in their FSC-0001 standard (1.MSG, 2.MSG,
  249.           etc.).  These messages are then taken by mail bundlers such as
  250.           oMMM or SMP and bundled for the front-end mailer.  It is
  251.           essential that this directory not be used for anything else.
  252.  
  253.           Simplex also needs a special directory where inbound bundles and
  254.           message packets are placed.  Traditionally, this directory has
  255.           been called INBOUND.  The front-end mailer will place the inbound
  256.           bundles in message packets here once they have been successfully
  257.           received.  Simplex's mail utilities will scan this directory for
  258.           any unpacked bundles or packets which it would proceed to unpack.
  259.           It is not essential that this area be used exclusively for
  260.           inbound mail since Simplex searches for bundles and packets based
  261.           on their file extensions.
  262.  
  263.           Simplex requires a special directory which can be used as a
  264.           "scratch" area.  This directory is essential and must be used
  265.           exclusively by Simplex.  It is suggested that you call this
  266.           directory PACKET since it is used to hold unarchived inbound mail
  267.           bundles.  This directory is essential because once the mail is
  268.           unarchived, the archives are deleted.  If the packets are not
  269.           unpacked for any reason, they will remain intact until Simplex's
  270.           mail utilities are run once again.  This directory along with the
  271.           inbound directory is searched for message packets every time
  272.           Simplex's mail utilities are run.
  273.  
  274.           All members of FidoNet are listed in a file called the Nodelist.
  275.           In order to be able to communicate with other nodes, BBS and
  276.           mailer software must have access to this nodelist.  Simplex is no
  277.           exception to this rule.  It requires that the nodelist be
  278.           compiled using any Version 6 nodelist compiler (Version 6
  279.           nodelists are used by BinkleyTerm, Opus, and many other FidoNet
  280.           utilities) such as ParseList.  Simplex must know exactly where to
  281.           find the compiled nodelist.
  282.  
  283.           Simplex requires a FidoNet node's address.  This address uniquely
  284.           identifies the node during communications with other FidoNet
  285.           nodes.  A FidoNet address consists of a Zone (read continent), a
  286.           Net, and a Node number such as 1:151/401 which identifies
  287.           Simplex's "home" node as being in Zone 1 (North America), Net 151
  288.           (Eastern North Carolina), and Node 401 in that net.  While use of
  289.  
  290.  
  291.  
  292.                   --------------------------------------------------
  293.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  294.                                         Page 5                                        Page 5
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.           the Zone number is not absolutely essential at this time and it
  302.           is perfectly acceptable to list your Zone number as 0, such use
  303.           should be frowned upon in a network which is worldwide in nature!
  304.           Hence Simplex does somewhat attempt to enforce the use of the
  305.           Zone number.
  306.  
  307.  
  308.  
  309.           3.3-Setting Up Simplex BBS Paths          3.3-Setting Up Simplex BBS Paths
  310.           _________________________________________________________________
  311.  
  312.  
  313.  
  314.  
  315.           Simplex should have a special directory for its configuration,
  316.           message, and userlist files.  This directory can be shared with
  317.           other programs if so desired (for example, with the front-end
  318.           mailer's configuration files).  It also requires a directory for
  319.           its menu files, a directory which should be used exclusively for
  320.           these files.  Simplex also requires a directory for its screen
  321.           files.  It is advisable to create 3 subdirectories, say \SIMPLEX
  322.           (for the configuration, message, and userlist files),
  323.           \SIMPLEX\MENUS (for the menu files), and \SIMPLEX\SCREENS (for
  324.           the screen files).
  325.  
  326.           Simplex and its utility programs respond to the SIMPLEX
  327.           environment variable (SET SIMPLEX=path of Simplex configuration
  328.           file).  It is advisable to place this set statement in your
  329.           autoexec.bat file (in DOS) or in your config.sys (in OS/2) so
  330.           that Simplex and its utilities can always find their home
  331.           directory.
  332.  
  333.           If you are planning to run a FidoNet node with Simplex, you also
  334.           need an inbound directory where your front-end mailer places
  335.           files bound for your node.  There also needs to be an outbound
  336.           directory in which your Simplex system will place files for your
  337.           front-end mailer to send to other nodes.  These could be called
  338.           \SIMPLEX\INBOUND and \SIMPLEX\OUTBOUND and must be set up in both
  339.           Simplex's configuration as well as your front-end mailer's
  340.           configuration.
  341.  
  342.           Simplex requires two other directories to handle its normal
  343.           FidoNet mail duties.  These are a matrix directory where it
  344.           tosses mail as standard FSC-0001 message files during
  345.           exportation/forwarding, and a packet directory which it uses as a
  346.           scratch area while unpacking inbound mail.  These could be called
  347.           \SIMPLEX\MATRIX and \SIMPLEX\PACKET.  Please notice that Simplex
  348.           maintains its packet directory and thus it should only be used by
  349.           Simplex itself.
  350.  
  351.  
  352.  
  353.  
  354.  
  355.                   --------------------------------------------------
  356.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  357.                                         Page 6                                        Page 6
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.           3.4-Configuring Simplex with CONFIG          3.4-Configuring Simplex with CONFIG
  365.           _________________________________________________________________
  366.  
  367.  
  368.  
  369.  
  370.           Configuration of Simplex is rather simple using CONFIG.EXE (in
  371.           OS/2 it is CONFIG2.EXE).  In DOS using some old CGA systems,
  372.           direct screen writes cause "snow" on the screen.  If you run
  373.           CONFIG and get snow, exit and then run it with CONFIG -S to
  374.           enable retrace ("snow") checking.
  375.  
  376.           Essentially Simplex is a menu-driven program which is
  377.           straightforward to use with the following exceptions:
  378.  
  379.                 1.  When you make changes on a text field you MUST hit
  380.                     Enter on the field to keep them.
  381.                 2.  When you change a screen of options, you may hit hit
  382.                     Alt-X, Alt-Q or ESC to exit back to the menu and keep
  383.                     the changes.
  384.                 3.  When editing menus, pressing PgUp, PgDn, or Alt-X will
  385.                     keep the changes.  Pressing ESC aborts the changes on
  386.                     the current menu page only.
  387.                 4.  To go forwards to a specific field without affecting
  388.                     the contents of any other fields, press Tab.  To go
  389.                     backwards use Shift-Tab.
  390.                 5.  On multiple choice options, you may select the
  391.                     letter/number corresponding to the choice that you
  392.                     wish, hit Enter or Tab to skip past it without making a
  393.                     change, or hit Shift-Tab to skip back to the previous
  394.                     option.
  395.                 6.  On scrolling, light-bar menus, use your Arrow keys to
  396.                     select the option that you wish.  You may also hit the
  397.                     first letter of an option to get to the first option
  398.                     matching that letter.  Ctrl-PgUp and Ctrl-PgDn move a
  399.                     "page" of options at a time.
  400.                 7.  Always remember that your ESC key backs you out without
  401.                     saving changes!
  402.  
  403.           Option 1:  You must enter your BBS Name and Sysop Name.  If you
  404.           provide your Sysop name in the same form as your login, messages
  405.           addressed to Sysop will be directed to you.  If you run a Fidonet
  406.           node, then you must also provide your address and origin line to
  407.           use in Echomail messages.  This origin line will be appended to
  408.           the bottom of Echomail messages along with your node number
  409.           unless you have configured a special origin line along with the
  410.           message area (see option 6).
  411.  
  412.           Option 2:  This screen allows you to configure your modem
  413.           parameters.  You also can indicate if your modem is slow to
  414.           respond to commands, and set the minimum baud rate a user has to
  415.  
  416.  
  417.  
  418.                   --------------------------------------------------
  419.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  420.                                         Page 7                                        Page 7
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.           have to log on to Simplex and the minimum baud a user has to have
  428.           in order to see ANSI color screens.  Notice that in modem
  429.           configuration strings the | character indicates Carriage Return
  430.           and the ~ character indicates a 0.5 second pause.
  431.  
  432.           Option 3:  This screen allows you to configure Simplex's usage
  433.           options.  Most are self-explanatory.  Private BBS operation means
  434.           that if someone is not on the nodelist they are not allowed to
  435.           log in.  Disable local keyboard means that by default the
  436.           keyboard is disabled from being active while someone is logged in
  437.           (this can be toggled on and off with Alt-K while Simplex is
  438.           running.
  439.  
  440.           Option 4:  This screen allows you to configure Simplex's paths.
  441.           Some of the paths are only for FidoNet mail paths and can be
  442.           ignored if you are not going to run a FidoNet node.
  443.  
  444.           Option 5:  This screen allows you to configure the archiver
  445.           command lines for archivers available on your system.  This
  446.           option is only needed for FidoNet nodes.
  447.  
  448.           Option 6:  This section permits you to edit/add/delete message
  449.           boards for your Simplex system.  Use PgUp and PgDn keys to scroll
  450.           through each message board.  The number of the message board is
  451.           used in menu options.  Message boards may be numbered any value
  452.           from 1 through 9999, depending on your preferences.  The message
  453.           board name is shown to the user while reading messages.  Message
  454.           board types may be Local, FidoNet Mail (should only be one area
  455.           for FidoNet mail), Echomail, or Local Fileattach.  Message boards
  456.           may allow messages which are private only, public only, or both
  457.           public and private.  The read and write privilege levels are the
  458.           minimum user levels to be able to read and post messages on the
  459.           board.  The sysop privilege level is the minimum user level
  460.           required to have access to sysop's message options like Export
  461.           and Move messages.  If the area is an Echomail area, you can also
  462.           specify a special origin line to be used in lieu of the default
  463.           origin line for that area only.
  464.  
  465.           Option 7:  This section permits you to edit/add/delete file
  466.           boards for your Simplex system.  As in option 6, use PgUp and
  467.           PgDn to scroll through each file board.  The number of the file
  468.           board is used in menu options.  File boards may be numbered from
  469.           1 to 9999.  The file board name is shown to the user during
  470.           searches across areas.  The search privilege level is the minimum
  471.           user level needed in order to get access to the file area in
  472.           searches across areas.  The file path is the path to the file
  473.           area.  This area should contain files for the area along with a
  474.           FILES.BBS file (see description below).  In most cases the
  475.           alternate path to FILES.BBS should be left blank (it defaults to
  476.           the file area path), it is only included for special systems such
  477.  
  478.  
  479.  
  480.  
  481.                   --------------------------------------------------
  482.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  483.                                         Page 8                                        Page 8
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.           as CD-ROM units which must have a FILES.BBS in a directory on the
  491.           hard drive separate from the regular file path.
  492.  
  493.           Option 8:  This section allows you to edit/add/delete events for
  494.           your Simplex system.  The event title will be shown to the user
  495.           if their online time is going to be cut short by a pending forced
  496.           system event.  You may select the weekdays and time that the
  497.           event is supposed to occur and the errorlevel that Simplex exits
  498.           with if the event occurs.  You may set an event to be forced or
  499.           not.  In Simplex, an event is "forced" if it will exit even if a
  500.           user is online.  If an event is not "forced", it will only exit
  501.           if Simplex is sitting idle when the event occurs.  Should you
  502.           wish to temporarily suspend an event without deleting, you may
  503.           mark it as not enabled.  PLEASE NOTICE THAT WHILE EVENTS DO NOT
  504.           EXIT WITH THIS RELEASE OF SIMPLEX, THEY WILL ACT TO LIMIT A USERS
  505.           TIME ONLINE AT SPECIAL TIMES OF THE DAY.
  506.  
  507.           Option 9:  This section allows you to edit/add/copy/delete menu
  508.           files.  Use of this section rather straightforward.  Follow the
  509.           prompts and help information.  While the menu editor is
  510.           convenient for small fixes, the Simplex Menu Compiler (SMC) is
  511.           more convenient for laying out complete menu systems.  Bear in
  512.           mind that some menu options require data to be provided in the
  513.           optional data field while others do not.  See below for more
  514.           details on menu types.  Two points that must be clarified here
  515.           are the use of the expert and autoexecute flags in menu lines.  A
  516.           user can toggle expert mode, a mode which should disable the
  517.           showing of menu options, only showing a list of hotkeys.
  518.           However, some lines of the menu should still show so that the
  519.           user knows where they are.  One of these should be the menu title
  520.           line.  Hence you can indicate with a "Yes" to the expert mode
  521.           question when you would like to show menu lines to the expert
  522.           mode user.  Autoexecuting menus options are done when the menu is
  523.           being shown.  Any menu type can be autoexecuting, however some
  524.           menu types do not make sense if they are automatic.  One use of
  525.           this feature is outlined in the description of the type 49 option
  526.           below.
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.                   --------------------------------------------------
  545.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  546.                                         Page 9                                        Page 9
  547.  
  548.  
  549.  
  550.  
  551.  
  552.           _________________________________________________________________
  553.  
  554.                                       Chapter 4                                      Chapter 4
  555.  
  556.                                  Simplex Menu Types                                 Simplex Menu Types
  557.           _________________________________________________________________
  558.  
  559.  
  560.  
  561.  
  562.           This chapter gives a brief rundown of the types of menu options
  563.           available for menu development.  Some of these require
  564.           information in the additional data fields, while others do not
  565.           and merely ignore the contents of said field.  Options in square
  566.           brackets ([]) are optional.
  567.  
  568.           Type 0: Show menu line.  This option will merely show the
  569.                contents of the menu line and will not respond to any
  570.                hotkeys.  Hence there is no need for a key value for this
  571.                kind of menu.  It is mostly used to give menu titles and/or
  572.                blank formatting lines.  Additional Data: None
  573.  
  574.           Type 1: Call new menu - Add to return stack.  This option will
  575.                show the contents of the menu line and if its corresponding
  576.                hotkey is triggered, it will attempt to call the menu name
  577.                specified in the data line.  The return is pushed on a stack
  578.                so that a subsequent call to menu type 3 will return to the
  579.                current menu.  If a password is provided, then the user will
  580.                be prompted for the password prior to being given access to
  581.                the system.  Additional Data: Menuname [Password]
  582.  
  583.           Type 2: Goto new menu - Clear return stack.  This option will
  584.                show the contents of the menu line and if its corresponding
  585.                hotkey is triggered, it will attempt to call the menu name
  586.                specified in the data line.  The return stack is cleared and
  587.                the new menu becomes the new base of the stack.  If a
  588.                password is provided, then the user will be prompted for the
  589.                password prior to being given access to the system.
  590.                Additional Data: Menuname [Password]
  591.  
  592.           Type 3: Return to previous menu.  This option pops the current
  593.                menu off of the stack and returns to the previous menu.
  594.                Additional Data: None
  595.  
  596.           Type 16: Enter a message on board.  This option permits the user
  597.                to enter a message on the specified message board.
  598.                Optionally the user may be logged off automatically after
  599.                exiting the message editor by specifying a /L on the data
  600.                line.  THe logoff is exactly as if a type 255 menu option
  601.                was executed.  The message may be forced to a specific user
  602.                by using the optional /T=user_name option.  Please note the
  603.                "_" (underbar) between the user's firat and last names.
  604.  
  605.  
  606.  
  607.                   --------------------------------------------------
  608.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  609.                                        Page 10                                       Page 10
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.                This will be exchanged for a space when the message is
  617.                actually entered.  Additional Data: board# [/L]
  618.                [/T=user_name]
  619.  
  620.           Type 17: Read messages on board.  This option permits the user to
  621.                read public messages or private messages to him/her on a
  622.                message board.  If the user's privilege level is greater or
  623.                equal to the message board's sysop privilege, then he/she
  624.                will be able to read all messages in the area.  Additional
  625.                Data: board#
  626.  
  627.           Type 18: Scan messages on board.  This option permits the user to
  628.                see the headers for public messages or private message to
  629.                him/her on a message board.  If the user's privilege is
  630.                greater or equal to the message board's sysop privilege,
  631.                then he/she will be able to see all the headers in the area.
  632.                Additional Data: board#
  633.  
  634.           Type 19: Quickscan messages on board.  This option permits the
  635.                user to see the basic headers for public messages or private
  636.                message to him/her on a message board.  If the user's
  637.                privilege is greater or equal to the message board's sysop
  638.                privilege, then he/she will be able to see all the basic
  639.                headers in the area.  Additional Data: board#
  640.  
  641.           Type 20: Search userlist.  This option permits the user to search
  642.                the userlist for a user's name and/or list all users on the
  643.                bbs.  Additional Data: None
  644.  
  645.           Type 21: Search for Fidonet address.  This option permits a user
  646.                to search for a specific FidoNet node in the nodelist.
  647.                Additional Data: None
  648.  
  649.           Type 22: Generate FREQ to Fidonet address.  This option permits
  650.                the user to generate network file-requests (in *.REQ files)
  651.                to a specific FidoNet node.  Additional Data: None
  652.  
  653.           Type 32: List files on file board.  This option opens the file
  654.                board's FILES.BBS and lists the files available in the area.
  655.                Additional Data: board#
  656.  
  657.           Type 33: Upload file to file board.  This option permits the user
  658.                to upload files to the specific file board.  Additional
  659.                Data: board#
  660.  
  661.           Type 34: Download file from file board.  This option permits the
  662.                user to download files from the specified file board.
  663.                Additional Data: board#
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.                   --------------------------------------------------
  671.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  672.                                        Page 11                                       Page 11
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.           Type 35: Raw directory list of file board.  This options permits
  680.                the user to get a raw directory of the files in the
  681.                specified file board.  Additional Data: board#
  682.  
  683.           Type 36: Contents of archive on file board.  This option permits
  684.                the user to see the contents of .ARC, .PAK, .ZIP, .LZH, and
  685.                .ZOO files in the specified file board.  Additional Data:
  686.                board#
  687.  
  688.           Type 37: Show new files across file boards.  This option searches
  689.                across file boards for files with dates later then the
  690.                user's last login or with dates later than a user-defined
  691.                date.  Additional Data: board#
  692.  
  693.           Type 38: Search for filename across file boards.  This option
  694.                searches across file boards for a specified file name.
  695.                Additional Data: board#
  696.  
  697.           Type 39: Search for keyword across file boards.  This option
  698.                searches across file boards for a specified keyword in the
  699.                descriptions.  Additional Data: board#
  700.  
  701.           Type 40: Delete file on file board.  This option permits the user
  702.                to delete files and description entries in the specified
  703.                file area.  Additional Data: board#
  704.  
  705.           Type 41: Read a text file on file board.  This option permits a
  706.                user to read the contents of a file contained in the
  707.                specified file area.  Additional Data: board#
  708.  
  709.           Type 42: Download ONE special file from board.  This option
  710.                permits a user to download a sysop-specified file from a
  711.                specified area.  Additional Data: board# filename.ext
  712.  
  713.           Type 43: Move file(s) from one file board to another.  This
  714.                option permits the user to move files and descriptions to a
  715.                different board.  Additional Data: source_board#
  716.  
  717.           Type 48: Show ascii/ansi file.  This option shows the user the
  718.                specified ansi or ascii file.  Do not include the extension,
  719.                only the base filename.  The file will not pause at the end.
  720.                Additional Data: filename
  721.  
  722.           Type 49: Show ascii/ansi file with menu hotkeys.  If this option
  723.                is used as an automatic executing menu option, the file
  724.                indicated in the data line will be shown to the user when
  725.                its menu line is being shown however the menu's hotkeys will
  726.                still be active!  This permits you to design free-form menus
  727.                using an ANSI screen editor.  As with a type 48 data line,
  728.                do not include the exension, just the base filename.  The
  729.                file will not pause at the end, but will continue showing
  730.  
  731.  
  732.  
  733.                   --------------------------------------------------
  734.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  735.                                        Page 12                                       Page 12
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.                any additional menu lines until the menu is finished.  If
  743.                someone actually provides a hotkey for this menu type, it
  744.                will behave exactly like a type 48 (i.e. hotkeys are only
  745.                active when it is an automatic executing option).
  746.                Additional Data: filename
  747.  
  748.           Type 50: Show ascii/ansi file with pause at end.  This option
  749.                shows the user the specified ansi or ascii file.  Do not
  750.                include the extension, only the base filename.  The file
  751.                will pause at the end and prompt the user for Enter.
  752.                Additional Data: filename
  753.  
  754.           Type 51: Answer questionaire file.  This option leads the user
  755.                through a questionaire file.  See below for more info on
  756.                Simplex's questionaire language.  Additional Data: filename
  757.  
  758.           Type 64: Change user's city/state.  This option permits the user
  759.                to change his/her city/state.  Additional Data: None
  760.  
  761.           Type 65: Change user's password.  This option permits the user to
  762.                change his/her password.  Prior to changing the password,
  763.                PASSWORD.A?? is shown (see below).  Additional Data: None
  764.  
  765.           Type 66: Change user's clearscreen status.  This option allows
  766.                the user to toggle on or off his/her sending of clear-screen
  767.                codes.  These are only sent is ANSI status is on.
  768.                Additional Data: None
  769.  
  770.           Type 67: Change user's MORE status.  This option allows the user
  771.                to toggle on or off his/her screen pausing status.  These
  772.                are only sent is ANSI status is on.  Additional Data: None
  773.  
  774.           Type 68: Change user's screen length.  This option allows the
  775.                user to toggle on or off his/her sending of clear-screen
  776.                codes.  These are only sent is ANSI status is on.
  777.                Additional Data: None
  778.  
  779.           Type 69: Change user's ANSI status.  This option allows the user
  780.                to toggle on or off his/her sending of ANSI codes.
  781.                Additional Data: None
  782.  
  783.           Type 70: Change user's default editor status.  This option allows
  784.                the user to toggle between using the line editor and the
  785.                full-screen ANSI editor.  The full-screen editor is only
  786.                entered if ANSI status is on.  Additional Data: None
  787.  
  788.           Type 71: Change user's novice/expert mode.  This option allows
  789.                the user to toggle between normal menu mode and expert mode
  790.                (where only option letters are shown).  Additional Data:
  791.                None
  792.  
  793.  
  794.  
  795.  
  796.                   --------------------------------------------------
  797.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  798.                                        Page 13                                       Page 13
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.           Type 72: Change user's home phone number.  This option allows the
  806.                user to change his/her home number.  Additional Data: None
  807.  
  808.           Type 73: Change user's data/work phone number.  This option
  809.                allows the user to change his/her data or work number.
  810.                Additional Data: None
  811.  
  812.           Type 80: Enter an advertisement in ad area.  This option permits
  813.                a user to enter an advertisement or user-posted bulletin in
  814.                an "ad" area.  Ads are placed in a special file which is
  815.                indicated in the data line.  The days argument indicates the
  816.                maximum amount of time that the "ad" can remain on the
  817.                system.  The optional /R argument indicates the message
  818.                board number where replies to "ads" will be posted.  If not
  819.                provided, the user is not prompted to permit replies.
  820.                Additional Data: filename /D=days [/R=board#]
  821.  
  822.           Type 81: Read advertisements in ad area.  This option permits a
  823.                user to read advertisements or user-posted bulletins in an
  824.                "ad" area.  The optional /R argument indicates the message
  825.                board number where replies to "ads" will be posted.
  826.                Additional Data: filename [/R=board#]
  827.  
  828.           Type 82: Scan advertisements in ad area.  This option permits a
  829.                user to scan the headers of advertisements or user-posted
  830.                bulletins in an "ad" area.  Additional Data: filename
  831.  
  832.           Type 240: Run a program from within SIMPLEX.  This option permits
  833.                a user to run an external program.  The data line contains
  834.                the command line to be passed to the command spawn function.
  835.                This function searches the path for the program to run.  The
  836.                following meta-commands can be used as arguments to the
  837.                program:
  838.  
  839.                     $r  = user's time left in minutes
  840.                     $d  = current date as mm/dd/yy
  841.                     $t  = current time as hh:mm
  842.                     $f  = user's first name
  843.                     $l  = user's last name
  844.                     $a  = user's ansi flag (ascii 1 if on or ascii 0 if
  845.                           off)
  846.                     $p  = In DOS: comm port number (ascii 1 for com1). In
  847.                           OS/2: comm file handle as a decimal ascii string
  848.                     $u  = user's number in userlist as ascii decimal string
  849.                           (0 is first)
  850.                     $b  = connect baud rate as ascii decimal string (0 is
  851.                           local keyboard)
  852.                     $*  = DOS only: leave fossil hot (do not deinitialize)
  853.                           before calling program (not considered an
  854.                           argument to the program)
  855.  
  856.  
  857.  
  858.  
  859.                   --------------------------------------------------
  860.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  861.                                        Page 14                                       Page 14
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.                     $e  = stop and wait for Enter after running program
  869.                           (not considered an argument to the program)
  870.                     $## = Passes the pathname for the file board specified
  871.                           by ##.  For example, if file board 100 has its
  872.                           path as d:\files\editors, then using $100 would
  873.                           substitute d:\files\editors.  Notice that the
  874.                           path name is NEVER backslash-terminated.  If the
  875.                           file board specified by ## does not exist, then a
  876.                           blank argument is passed (i.e. a nul-string).
  877.  
  878.                Additional Data: program.exe [options]
  879.  
  880.           Type 241: Exit to DOS with an errorlevel.  This option is not
  881.                currently implemented.
  882.  
  883.           Type 242: Show version/copyright information.  This option shows
  884.                the user information about Simplex BBS.  Additional Data:
  885.                None
  886.  
  887.           Type 243: Show user's usage statistics.  This option shows the
  888.                user some information about his/her first connect date, the
  889.                last connect date and time, upload and download statistics,
  890.                and time information for this call.  Additional Data: None
  891.  
  892.           Type 244: Yell for chat with Sysop.  This option permits the user
  893.                to summon the sysop for a chat if the current time is within
  894.                the configured yell time specified under option 3 in CONFIG.
  895.                Additional Data: None
  896.  
  897.           Type 245: Show current time of day.  This option shows the
  898.                current date and time until the user presses Enter.  This is
  899.                provided for systems with access to exact time.  Additional
  900.                Data: None
  901.  
  902.           Type 246: Check for mail.  This option checks for unreceived mail
  903.                addressed to the user.  It marks mail for later reading and
  904.                gives them the option of reading mail immediately.
  905.                Additional Data: None
  906.  
  907.           Type 247: Sysop's user-upgrade option.  This option permits the
  908.                user to access/modify userlist records.  It is not meant for
  909.                anyone other than Sysops.  The user must have ANSI enabled
  910.                to access this option.  Additional Data: None
  911.  
  912.           Type 255: Logoff/hangup connection.  This option logs the user
  913.                off of the system.  Additional Data: None
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.                   --------------------------------------------------
  923.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  924.                                        Page 15                                       Page 15
  925.  
  926.  
  927.  
  928.  
  929.  
  930.           _________________________________________________________________
  931.  
  932.                                       Chapter 5                                      Chapter 5
  933.  
  934.                                    Running Simplex                                   Running Simplex
  935.           _________________________________________________________________
  936.  
  937.  
  938.  
  939.  
  940.           Simplex may be started by merely typing Simplex on the command
  941.           line (OS/2 users use Simplex2) and pressing Enter in the assigned
  942.           Simplex directory.   However, it is doubtful that such simple use
  943.           would suffice for most applications of Simplex!  Hence Simplex
  944.           accepts a series of command line arguments that permit you to
  945.           call it under specified conditions, and it returns with specific
  946.           errorlevels to indicate that certain events have occurred.
  947.  
  948.           The Simplex command line may include any of the following
  949.           options.  A list of these options might be obtained by typing
  950.           Simplex -? on the command line.  Most of these options are meant
  951.           to be used when spawning Simplex from a front-end FidoNet mailer,
  952.           but some are even handy for use in simple host applications:
  953.  
  954.                   -Bxxxx  Startup at the specified baud (User is online)
  955.                   -H      Do not hangup before exiting
  956.                   -L      Startup in local mode (same as -B0)
  957.                   -Pxxx   DOS: Use the specified comm port *or*
  958.                   -Pxxx   OS/2: Use the specified comm handle
  959.                   -R      Do ringback model of call answering
  960.                   -Txxx   Set maximum time user is allowed on system
  961.                   -X      Exit after carrier is lost or after logoff
  962.  
  963.           Hence a mailer program might spawn Simplex with the following
  964.           command line in a batch file:
  965.  
  966.                   simplex2 -B%1 -P%2 -X
  967.  
  968.           or for a local session, it might use the following:
  969.  
  970.                   simplex2 -L -X
  971.  
  972.           In order to let batch files know what is causing Simplex to exit,
  973.           it returns different errorlevels.  The following errorlevels are
  974.           currently supported in Simplex.
  975.  
  976.                0    Normal Simplex exit prompted by Alt-X keystroke.
  977.                1    Simplex had an internal error.
  978.                2    Normal Simplex exit after user was on and -X was on
  979.                     command line.
  980.                3    Netmail was entered and Alt-X pressed or -X was on
  981.                     command line.
  982.  
  983.  
  984.  
  985.                   --------------------------------------------------
  986.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  987.                                        Page 16                                       Page 16
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.                4    Echomail was entered and Alt-X pressed or -X was on
  995.                     command line.
  996.                5    Netmail and Echomail were entered and Alt-X pressed or
  997.                     -X was on command line.
  998.                6+   Errorlevel generated by an event exit.
  999.  
  1000.           Errorlevel 2 is especially created for simple Simplex host
  1001.           applications which need to know if to run external utilities such
  1002.           as SRECENT or SUSAGE (see below).  Obviously, if you have exited
  1003.           from a waiting-state with Alt-X, there is no need to check to see
  1004.           if the last user has been added to the database.  Hence you could
  1005.           have a batch file similar to this:
  1006.  
  1007.                   set simplex=d:\host
  1008.                   :runhost
  1009.                   d:
  1010.                   cd \host
  1011.                   simplex2 -x
  1012.                   if errorlevel 3 goto runhost
  1013.                   if errorlevel 1 goto recent
  1014.                   if errorlevel 0 goto end
  1015.  
  1016.                   :recent
  1017.                   srecent 20
  1018.                   susage -G -I
  1019.                   goto runhost
  1020.  
  1021.                   :end
  1022.  
  1023.           while a FidoNet compatible BBS might have something like:
  1024.  
  1025.                   :runbbs
  1026.                   simplex -b%1 -x
  1027.                   if errorlevel 6 goto recent
  1028.                   if errorlevel 5 goto echomatrix
  1029.                   if errorlevel 4 goto echo
  1030.                   if errorlevel 3 goto matrix
  1031.                   goto recent
  1032.  
  1033.                   :echomatrix
  1034.                   smail -nx -ex
  1035.                   goto recent
  1036.  
  1037.                   :echo
  1038.                   smail -ex
  1039.                   goto recent
  1040.  
  1041.                   :matrix
  1042.                   smail -nx
  1043.  
  1044.                   :recent
  1045.  
  1046.  
  1047.  
  1048.                   --------------------------------------------------
  1049.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1050.                                        Page 17                                       Page 17
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.                   srecent 20
  1058.                   susage -G -I
  1059.                   goto runbbs
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.                   --------------------------------------------------
  1112.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1113.                                        Page 18                                       Page 18
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.           _________________________________________________________________
  1120.  
  1121.                                       Chapter 6                                      Chapter 6
  1122.  
  1123.                                Simplex Ancillary Files                               Simplex Ancillary Files
  1124.           _________________________________________________________________
  1125.  
  1126.  
  1127.  
  1128.  
  1129.           Simplex BBS requires a number of files to be provided by the user
  1130.           in order to do its normal work and to present a helpful and
  1131.           friendly interface to the user.  The following sections outline
  1132.           the files that Simplex looks for under various conditions.  These
  1133.           files are named with extensions for users who are using ANSI and
  1134.           those who are not.
  1135.  
  1136.           If the user is running ANSI, then the user is presented with the
  1137.           contents of filename.ANS.  If this file cannot be found, or if
  1138.           the user has ANSI off, the contents of filename.ASC are shown.
  1139.           This means that you can include as many ANSI sequences as you
  1140.           wish in the .ANS file but leave them out of the .ASC.  If you use
  1141.           the SANSI compiler, it will automatically prepare the two
  1142.           distinct files for you.
  1143.  
  1144.  
  1145.  
  1146.           6.1-Files for Help          6.1-Files for Help
  1147.           _________________________________________________________________
  1148.  
  1149.  
  1150.  
  1151.  
  1152.           The files that present help screens should attempt to be very
  1153.           helpful yet concise at the same time.  No user appreciates being
  1154.           swamped with information when they ask for help!  These files
  1155.           must be in the configured screen path.
  1156.  
  1157.           DLHELP.A??     This file presents help on the download protocols
  1158.                          available on your Simplex system.  It is accessed
  1159.                          by pressing H at the Download Menu.
  1160.  
  1161.           ULHELP.A??     This file presents help on the upload protocols
  1162.                          available on your Simplex system.  It is accessed
  1163.                          by pressing H at the Upload Menu.
  1164.  
  1165.           NODEHELP.A??   This file presents help on the choices in the
  1166.                          Search Nodelist Menu.
  1167.  
  1168.           READHELP.A??   This file presents help on the choices available
  1169.                          in the Read Messages Menu.
  1170.  
  1171.  
  1172.  
  1173.  
  1174.                   --------------------------------------------------
  1175.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1176.                                        Page 19                                       Page 19
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.           TOPICHLP.A??   This file is shown when a user presses H in the
  1184.                          Read Topics Menu.
  1185.  
  1186.           EDITHELP.A??   This file is invoked by requesting help from the
  1187.                          Line Editor Menu.  It should describe the options
  1188.                          available to the user of the Line Editor.
  1189.  
  1190.           ANSIHELP.A??   This file presents help when the user of the Full
  1191.                          Screen Editor presses ^K ?.  It should present a
  1192.                          list of the options available in that editor.
  1193.  
  1194.           QSHELP.A??     This file presents the user with help for using
  1195.                          the QuickScan option in a message area.
  1196.  
  1197.           SCANHELP.A??   This file is shown when a user requests help in
  1198.                          the Scan Menu of a message area.
  1199.  
  1200.           ADHELP.A??     This file is shown when in read mode while in an
  1201.                          Ad/User Bulletin area.
  1202.  
  1203.  
  1204.  
  1205.           6.2-General Files          6.2-General Files
  1206.           _________________________________________________________________
  1207.  
  1208.  
  1209.  
  1210.  
  1211.           These files are called upon in certain specific situations during
  1212.           the running of Simplex.  They are almost essential for providing
  1213.           a friendly interface between your BBS and the user.  These files
  1214.           must be in the configured screen path.
  1215.  
  1216.           TOOSLOW.ASC    This file does not have an ANSI flavor since the
  1217.                          user's ANSI preference is not known at the time it
  1218.                          is shown.  It is shown when a user has logged on
  1219.                          with a modem slower than your minimum baud rate
  1220.                          configured in CONFIG.
  1221.  
  1222.           LOGO.ASC       This file is shown before the user is asked for
  1223.                          his/her name.  Since the user's ANSI preference is
  1224.                          not yet known, there is no ANSI flavor of this
  1225.                          file.  It is not wise to embed ANSI codes in it
  1226.                          since it might cause undesirable side-effects on
  1227.                          the user's terminal.
  1228.  
  1229.           NOTFOUND.ASC   This file is shown after a user enters a name that
  1230.                          is not in the userlist, and before the user is
  1231.                          prompted if they entered the correct name.
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.                   --------------------------------------------------
  1238.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1239.                                        Page 20                                       Page 20
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.           PRIVATE.ASC    This file is shown only if the user's name is not
  1247.                          in the userlist and the BBS is configured for
  1248.                          preregistered operation.
  1249.  
  1250.           ANSI.ASC       This file is shown after a user has indicated that
  1251.                          their name was spelled correctly and it was not in
  1252.                          the userlist.  It is wise to indicate to the user
  1253.                          that they will be asked a few questions which will
  1254.                          help to configure the system to their liking, and
  1255.                          maybe to explain the meaning of ANSI to them.
  1256.  
  1257.           PASSWORD.A??   This file is sent before the new user enters
  1258.                          his/her password into the system, or when a user
  1259.                          opts to change his/her password.  It should
  1260.                          indicate that they must choose a password of at
  1261.                          least 4 characters and that it should be easy to
  1262.                          remember yet difficult for close friends to guess.
  1263.  
  1264.           NEWUSER.A??    This file is shown to a user after they have
  1265.                          finished filling out the new-user questionnaire
  1266.                          and before they are provided with the welcome
  1267.                          screen.  It is a good idea to welcome them to your
  1268.                          system and maybe to explain some of the rules of
  1269.                          conduct.
  1270.  
  1271.           NEWUSER2.A??   This file is shown to users who have called less
  1272.                          than 5 times.  It is a good idea to use it to give
  1273.                          a few pointers on the use of your system.
  1274.  
  1275.           WELCOME.A??    This file is shown to a user after logging in, or
  1276.                          to a new user after NEWUSER2.A??.  It precedes the
  1277.                          automatic mail check.  This is the place to put a
  1278.                          splashy logo screen.
  1279.  
  1280.           BULLETIN.A??   This file shows the latest news on the system to a
  1281.                          user logging in.  It is shown after the
  1282.                          WELCOME.A?? and the mail check.
  1283.  
  1284.           NOANSWER.A??   This file is shown after a user has yelled and the
  1285.                          Sysop did not answer immediately.  It should
  1286.                          explain to the user that the Sysop is unavailable
  1287.                          and that he/she might break in and chat while they
  1288.                          continue using the board normally.
  1289.  
  1290.           TOOMANY.A??    This file is shown after a user has attempted to
  1291.                          yell but does not have any remaining yells (as set
  1292.                          in CONFIG).
  1293.  
  1294.           NOYELL.A??     This file is shown when the user attempts to yell
  1295.                          but it is outside of the yell hours configured in
  1296.  
  1297.  
  1298.  
  1299.  
  1300.                   --------------------------------------------------
  1301.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1302.                                        Page 21                                       Page 21
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.                          CONFIG.  It should indicate to the user that they
  1310.                          should leave the Sysop a message instead.
  1311.  
  1312.           GOODBYE.A??    This is the last file that the user sees after
  1313.                          logging off of your BBS.  It is shown before the
  1314.                          modem is told to hang-up.
  1315.  
  1316.  
  1317.  
  1318.           6.3-Files Created by CONFIG          6.3-Files Created by CONFIG
  1319.           _________________________________________________________________
  1320.  
  1321.  
  1322.  
  1323.  
  1324.           The following files are normal in the Simplex home directory and
  1325.           are created by CONFIG.  They are not meant to be deleted or
  1326.           edited by any means other than with CONFIG.
  1327.  
  1328.           CONFIG.BBS     This file contains the configuration information
  1329.                          needed by Simplex and its utilities.  This
  1330.                          information includes the BBS name, the Sysop name,
  1331.                          the paths to different directories, and Fidonet
  1332.                          addresses.
  1333.  
  1334.           EVENTS.BBS     This file contains the event information used by
  1335.                          Simplex.
  1336.  
  1337.           FILEAREA.BBS   This file contains the path and file area name
  1338.                          information referenced by menus.
  1339.  
  1340.           MSGAREA.BBS    This file contains the message area information
  1341.                          which is referenced by menus.
  1342.  
  1343.  
  1344.  
  1345.           6.4-Files Needed by Simplex          6.4-Files Needed by Simplex
  1346.           _________________________________________________________________
  1347.  
  1348.  
  1349.  
  1350.  
  1351.           The following files are absolutely essential for Simplex's
  1352.           operations and must be in the Simplex home directory.
  1353.  
  1354.           TIMES.BBS      This file contains in ascending priority order,
  1355.                          the maximum amount of time in minutes per day that
  1356.                          allowed for each privilege level.  The maximum
  1357.                          amount is 1440 minutes (24 hours).  The file is
  1358.                          plain ASCII text organized like this:
  1359.  
  1360.  
  1361.  
  1362.  
  1363.                   --------------------------------------------------
  1364.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1365.                                        Page 22                                       Page 22
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.                          <level> <time>
  1373.  
  1374.                          as in the following:
  1375.  
  1376.                          1 30
  1377.                          100 60
  1378.                          200 120
  1379.                          255 180
  1380.  
  1381.                          This means that any user with level 1 through 99
  1382.                          has 30 minutes on the system.  Any user with level
  1383.                          100 through 199 has 60 minutes on the system.  Any
  1384.                          user with level 200 through 254 has 120 minutes on
  1385.                          the system, and any user with level 255 has 180
  1386.                          minutes on the system.
  1387.  
  1388.           USERLIST.BBS   This file contains the user records.  It is
  1389.                          maintained by using the USERLIST program or by
  1390.                          using the Sysop user-editor from within Simplex
  1391.                          itself.
  1392.  
  1393.           FILES.BBS      Each file directory needs a FILES.BBS.  This file
  1394.                          contains the names of the files along with a
  1395.                          description line as follows:
  1396.  
  1397.                          <filename> <description>
  1398.  
  1399.                          The filename should be in all caps and any amount
  1400.                          of spaces or tabs may separate it from the
  1401.                          description.  If a line begins with a hyphen then
  1402.                          it and all subsequent lines will be shown in
  1403.                          bright white.  If a line begins with a space or
  1404.                          hyphen, it is shown as is.  For example:
  1405.  
  1406.                          - My Main File Area
  1407.                            -----------------
  1408.  
  1409.                          FILENAME.DOC  A description of this file area for
  1410.                          my users.
  1411.                          SIMPLEX.ZIP   The latest Simplex programs.
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.                   --------------------------------------------------
  1427.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1428.                                        Page 23                                       Page 23
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.           6.5-Files Created by Simplex          6.5-Files Created by Simplex
  1436.           _________________________________________________________________
  1437.  
  1438.  
  1439.  
  1440.  
  1441.           The following files are found in the Simplex home directory and
  1442.           are created and maintained by Simplex and its utilities.  They
  1443.           are best left alone by the user.
  1444.  
  1445.           MSGHEAD.BBS    This file contains the header information (such as
  1446.                          to, from, subject) for each message in the Simplex
  1447.                          system.  It contains an offset pointer to the
  1448.                          relevant text in MSGBODY.BBS.
  1449.  
  1450.           MSGBODY.BBS    This file contains the text of messages in the
  1451.                          Simplex system.
  1452.  
  1453.           MSGLINK.BBS    This file contains abbreviated information about
  1454.                          each message in the Simplex system and is used for
  1455.                          quick searching.
  1456.  
  1457.           MSGDATA.BBS    This file contains information about the total
  1458.                          number of messages in Simplex and in each message
  1459.                          area.
  1460.  
  1461.           MSGREAD.BBS    This file contains the last-message-read pointers
  1462.                          for each user for each message area in the Simplex
  1463.                          system.
  1464.  
  1465.           USERINFO.BBS   This file contains information about the
  1466.                          last/current user for external utilities to use
  1467.                          (such as SRECENT).
  1468.  
  1469.           DORINFO1.DEF   This file is created by Simplex before running
  1470.                          external programs and contains information used by
  1471.                          certain games and utilities.
  1472.  
  1473.  
  1474.  
  1475.           6.6-Files used by Simplex Utilities          6.6-Files used by Simplex Utilities
  1476.           _________________________________________________________________
  1477.  
  1478.  
  1479.  
  1480.  
  1481.           The following files may be found in the Simplex home directory.
  1482.           They are files that are needed by external Simplex utilities and
  1483.           must be edited with a pure-ASCII text editor.  They will not be
  1484.           needed if you do not intend to run Fidonet mail.
  1485.  
  1486.  
  1487.  
  1488.  
  1489.                   --------------------------------------------------
  1490.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1491.                                        Page 24                                       Page 24
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.           AREAS.BBS      This file is used by SMAIL to Export/Import
  1499.                          echomail.  It is organized as follows:
  1500.  
  1501.                          <msgarea number> <echo-areaname> <destination
  1502.                          addresses>
  1503.  
  1504.                          The <msgarea number> is the Simplex message area
  1505.                          number as defined in CONFIG.  The special area
  1506.                          "number" P is reserved for "pass through" echomail
  1507.                          areas, that is areas which are not on your BBS but
  1508.                          which you might be passing on to other BBSes.  The
  1509.                          <echo-areaname> is the official echo "tag" for
  1510.                          that echo.  The destination addresses are the
  1511.                          addresses which your BBS "feeds".   Comment lines
  1512.                          in this file begin with a semicolon (;).  Here is
  1513.                          an example of an AREAS.BBS file:
  1514.  
  1515.                          ; This is a sample AREAS.BBS comment!
  1516.                          10 C_ECHO  1:151/401 1:151/403 1:151/404
  1517.                          1:151/1000
  1518.                          11 SIMPLEX 1:151/401 1:151/404 1:151/1000
  1519.                          12 LUNATIC 1:151/401
  1520.                          P  WRITING 1:151/404 1:151/1000
  1521.                          P  AMIGA   1:151/403 1:151/1000
  1522.  
  1523.                          C_ECHO, for example, is imported to area 10, and
  1524.                          is forwarded to the other addresses listed.  On
  1525.                          the other hand, AMIGA is not imported, but just
  1526.                          forwarded to the listed nodes.  Note the full use
  1527.                          of zone notation.  If you omit the zone and net
  1528.                          they will default to the same as your zone and net
  1529.                          number as configured in CONFIG (e.g. 10 C_ECHO 401
  1530.                          403 404 1000 is the same as above since my address
  1531.                          is 1:151/402).
  1532.  
  1533.           SMP.CTL        This file is used by SMP to export messages to
  1534.                          other systems.  It is similar to oMMM's CTL file
  1535.                          and uses the following keywords:
  1536.  
  1537.                          SCHED <letter>      This keyword delineates a
  1538.                                              schedule.  It is used as SCHED
  1539.                                              followed by a letter of the
  1540.                                              alphabet, as in SCHED A or
  1541.                                              SCHED Z.  Schedules are handy
  1542.                                              for doing special actions to
  1543.                                              outbound mail at certain times
  1544.                                              of the day.
  1545.  
  1546.                          LEAVE <addresses>   This keyword will mark any
  1547.                                              mail to the indicated
  1548.  
  1549.  
  1550.  
  1551.  
  1552.                   --------------------------------------------------
  1553.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1554.                                        Page 25                                       Page 25
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.                                              destinations in such a fashion
  1562.                                              that it will not be sent out.
  1563.  
  1564.                                              e.g. filename.?ut --->
  1565.                                              filename.n?t
  1566.                                                   filename.?lo --->
  1567.                                              filename.n?o
  1568.  
  1569.  
  1570.                          SEND <addresses>    This keyword will mark any
  1571.                                              mail that was previously left
  1572.                                              with the LEAVE keyword in such
  1573.                                              a fashion that it may be sent.
  1574.                                              LEAVE and SEND have opposite
  1575.                                              effects.
  1576.  
  1577.                                              e.g. filename.n?t --->
  1578.                                              filename.?ut
  1579.                                                   filename.n?o --->
  1580.                                              filename.?lo
  1581.  
  1582.  
  1583.                          DOCM <addresses>    This will mark any continuous
  1584.                                              mail packets to the addresses
  1585.                                              that had been left with LEAVE
  1586.                                              so that they can once again be
  1587.                                              continuous mail.
  1588.  
  1589.                                              e.g. filename.nct --->
  1590.                                              filename.cut
  1591.                                                   filename.nco --->
  1592.                                              filename.clo
  1593.  
  1594.  
  1595.                          POLL <addresses>    This will create a blank .flo
  1596.                                              file to the destinations
  1597.                                              providing there is not already
  1598.                                              continuous, direct or normal
  1599.                                              mail addressed to the same
  1600.                                              address.
  1601.  
  1602.  
  1603.                          HOSTROUTE           This command is very powerful
  1604.                                              and its use might have
  1605.                                              undesirable side-effects if
  1606.                                              you do not know how to use it.
  1607.                                              It will look for any remaining
  1608.                                              .out packets and will
  1609.                                              readdress them to their
  1610.                                              respective net hosts.
  1611.  
  1612.  
  1613.  
  1614.  
  1615.                   --------------------------------------------------
  1616.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1617.                                        Page 26                                       Page 26
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.                                              e.g. filename.out ---->
  1625.                                              file0000.out
  1626.  
  1627.  
  1628.                          ARCDIRECT <to> <addresses>
  1629.                          ZIPDIRECT <to> <addresses>
  1630.                          LZHDIRECT <to> <addresses>
  1631.                          ZOODIRECT <to> <addresses>
  1632.                                              These commands will archive
  1633.                                              using the specified archiver
  1634.                                              (as long as the archive
  1635.                                              command line is specified in
  1636.                                              CONFIG) the packets bound to
  1637.                                              <addresses> in a single
  1638.                                              archive bound to <to>.  The
  1639.                                              archive is then listed in a
  1640.                                              .DLO file addressed to the
  1641.                                              respective address.
  1642.  
  1643.                          UNDIRECT <addresses>
  1644.                                              This command will mark any
  1645.                                              direct mail to the respective
  1646.                                              addresses as normal mail.
  1647.  
  1648.                                              e.g. filename.dut --->
  1649.                                              filename.out
  1650.                                                   filename.dlo --->
  1651.                                              filename.flo
  1652.  
  1653.  
  1654.                          NORMDIRECT <addresses>
  1655.                                              This command will mark any
  1656.                                              normal mail to the respective
  1657.                                              addresses as direct mail.
  1658.  
  1659.                                              e.g. filename.out --->
  1660.                                              filename.dut
  1661.                                                   filename.flo --->
  1662.                                              filename.dlo
  1663.  
  1664.                          ARCHOLD <to> <addresses>
  1665.                          ZIPHOLD <to> <addresses>
  1666.                          LZHHOLD <to> <addresses>
  1667.                          ZOOHOLD <to> <addresses>
  1668.                                              These commands will archive
  1669.                                              using the specified archiver
  1670.                                              (as long as the archive
  1671.                                              command line is specified in
  1672.                                              CONFIG) the packets bound to
  1673.                                              <addresses> in a single
  1674.                                              archive bound to <to>.  The
  1675.  
  1676.  
  1677.  
  1678.                   --------------------------------------------------
  1679.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1680.                                        Page 27                                       Page 27
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.                                              archive is then listed in a
  1688.                                              .HLO file addressed to the
  1689.                                              respective address.
  1690.  
  1691.                          UNHOLD <addresses>
  1692.                                              This command will mark any
  1693.                                              hold mail to the respective
  1694.                                              addresses as normal mail.
  1695.  
  1696.                                              e.g. filename.hut --->
  1697.                                              filename.out
  1698.                                                   filename.hlo --->
  1699.                                              filename.flo
  1700.  
  1701.  
  1702.                          NORMHOLD <addresses>
  1703.                                              This command will mark any
  1704.                                              normal mail to the respective
  1705.                                              addresses as hold mail.
  1706.  
  1707.                                              e.g. filename.out --->
  1708.                                              filename.hut
  1709.                                                   filename.flo --->
  1710.                                              filename.hlo
  1711.  
  1712.  
  1713.                          ARCCM <to> <addresses>
  1714.                          ZIPCM <to> <addresses>
  1715.                          LZHCM <to> <addresses>
  1716.                          ZOOCM <to> <addresses>
  1717.                                              These commands will archive
  1718.                                              using the specified archiver
  1719.                                              (as long as the archive
  1720.                                              command line is specified in
  1721.                                              CONFIG) the packets bound to
  1722.                                              <addresses> in a single
  1723.                                              archive bound to <to>.  The
  1724.                                              archive is then listed in a
  1725.                                              .CLO file addressed to the
  1726.                                              respective address.
  1727.  
  1728.                          UNCM <addresses>
  1729.                                              This command will mark any
  1730.                                              continuous mail to the
  1731.                                              respective addresses as normal
  1732.                                              mail.
  1733.  
  1734.                                              e.g. filename.cut --->
  1735.                                              filename.out
  1736.                                                   filename.clo --->
  1737.                                              filename.flo
  1738.  
  1739.  
  1740.  
  1741.                   --------------------------------------------------
  1742.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1743.                                        Page 28                                       Page 28
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.                          NORMCM <addresses>
  1751.                                              This command will mark any
  1752.                                              normal mail to the respective
  1753.                                              addresses as continuous mail.
  1754.  
  1755.                                              e.g. filename.out --->
  1756.                                              filename.cut
  1757.                                                   filename.flo --->
  1758.                                              filename.clo
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.                   --------------------------------------------------
  1805.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1806.                                        Page 29                                       Page 29
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.           _________________________________________________________________
  1813.  
  1814.                                       Chapter 7                                      Chapter 7
  1815.  
  1816.                            Simplex External Mail Utilities                           Simplex External Mail Utilities
  1817.           _________________________________________________________________
  1818.  
  1819.  
  1820.  
  1821.  
  1822.           This chapter describes all of the external mail utilities for
  1823.           Simplex.  These utilities are basically of two types, utilities
  1824.           to maintain Simplex's message base, and utilities to handle
  1825.           incoming and outgoing FidoNet mail.
  1826.  
  1827.           Simplex's message base is contained in a series of files
  1828.           contained in the Simplex root directory.  The message files are
  1829.           described above.  FidoNet mail is exported from the message base
  1830.           in standard FSC-0001 message format.  Incoming FidoNet mail may
  1831.           be either in standard FSC-0001 packed message packets or in
  1832.           archived format.  Outgoing FidoNet mail is prepared in standard
  1833.           FSC-0001 packed message packets and then archived by SMP.
  1834.  
  1835.  
  1836.  
  1837.           7.1-SCLEAN: Simplex Mail Cleaning Utility          7.1-SCLEAN: Simplex Mail Cleaning Utility
  1838.           _________________________________________________________________
  1839.  
  1840.  
  1841.  
  1842.  
  1843.           SCLEAN.EXE (or SCLEAN2.EXE for OS/2) is a message base
  1844.           maintenance program which cleans out messages from message
  1845.           boards.  Messages can be cleaned out completely from message
  1846.           boards, deleted if received, or deleted if older than a specified
  1847.           number of days.  SCLEAN has the following options:
  1848.  
  1849.                   -dxx    Sets maximum days for message killing to xx
  1850.                   -kaxx   Kill ALL messages on board #xx
  1851.                   -kdxx   Kill messages prior to maximum days on board #xx
  1852.                   -krxx   Kill all received messages on board #xx
  1853.  
  1854.           SCLEAN can be used to kill messages older than 10 days on message
  1855.           boards 1, 7 and 12 and kill all received messages on board 8 with
  1856.           the following command line:
  1857.  
  1858.                   sclean -d10 -kd1 -kd7 -kd12 -kr8
  1859.  
  1860.           The -ka option will normally be used to remove a defunct message
  1861.           board's messages from the message base.  Notice that SCLEAN
  1862.           merely deletes messages and does not actually remove them from
  1863.           the message base.
  1864.  
  1865.  
  1866.  
  1867.                   --------------------------------------------------
  1868.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1869.                                        Page 30                                       Page 30
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.           7.2-SPACK: Simplex Message Base Deletion          7.2-SPACK: Simplex Message Base Deletion
  1877.           _________________________________________________________________
  1878.  
  1879.  
  1880.  
  1881.  
  1882.           SPACK.EXE (or SPACK2.EXE for OS/2) is a message base compression
  1883.           program.  It will analyse the message base and determine how many
  1884.           messages have been deleted, then check file space prior to
  1885.           packing.  Packing may optionally be done in-place instead of in
  1886.           duplicate files if disk space is at a premium, however this
  1887.           method is frowned upon since it might be dangerous should a power
  1888.           failure occur.
  1889.  
  1890.           SPACK has the following command line options:
  1891.  
  1892.                   -P      Pack message base
  1893.                   -W      Write message base files in place
  1894.  
  1895.           In order to pack the message base, use the following command
  1896.           line:
  1897.  
  1898.                   spack -p
  1899.  
  1900.  
  1901.  
  1902.           7.3-SLINK: Simplex Message Thread Linker          7.3-SLINK: Simplex Message Thread Linker
  1903.           _________________________________________________________________
  1904.  
  1905.  
  1906.  
  1907.  
  1908.           SLINK.EXE (or SLINK2.EXE for OS/2) is a message base thread
  1909.           linker program which will link messages by topic by message
  1910.           board.  What SLINK loads all the message topics for a board,
  1911.           removes all RE's from the topic lines, then links matching
  1912.           message topics into threads.  By default, SLINK links ALL message
  1913.           boards, however if a file called SLINK.BBS is located in the root
  1914.           Simplex directory, only the board numbers contained in that file
  1915.           are linked (SLINK.BBS is a series of 16-bit ints with each board
  1916.           number to link).  This file is generally created by SMAIL when it
  1917.           is importing FidoNet mail so that SLINK would not waste time
  1918.           uselessly relinking boards that were not imported.
  1919.  
  1920.           There are no options to SLINK.  To run it, merely type SLINK (or
  1921.           SLINK2) on the command line and hit Enter.
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929.  
  1930.                   --------------------------------------------------
  1931.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1932.                                        Page 31                                       Page 31
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.           7.4-SMAIL: Simplex FidoNet Mail Utility          7.4-SMAIL: Simplex FidoNet Mail Utility
  1940.           _________________________________________________________________
  1941.  
  1942.  
  1943.  
  1944.  
  1945.           SMAIL.EXE (or SMAIL2.EXE for OS/2) is a FidoNet mail importation
  1946.           and exportation utility.  SMAIL is used to export FidoNet mail
  1947.           and Echomail to other systems after mail has been entered, a
  1948.           situation which can be determined by Simplex's exit errorlevel.
  1949.           Incoming FidoNet and echomail can be imported into the Simplex
  1950.           message base when your front-end mailer detects incoming mail
  1951.           packets.
  1952.  
  1953.           The command line options for SMAIL are the following:
  1954.  
  1955.                   -ua     unarc inbound mail packets
  1956.                   -it     import/toss net and echo mail
  1957.                   -ib     import/toss net and echo mail in bad messages
  1958.           area
  1959.                   -nx     export netmail to other systems
  1960.                   -ex     export echomail to other systems
  1961.                   -s      disable conversion of "sysop" messages to sysop's
  1962.           name
  1963.                   -c###   clean out signatures over ### days old
  1964.  
  1965.           SMAIL uses the unarchiver command lines from CONFIG's option 5 if
  1966.           you specify the -ua flag.  It also uses the packet path from
  1967.           CONFIG's option 4 as the destination directory for the contents
  1968.           of the archived mail.
  1969.  
  1970.           SMAIL handles Echomail signatures, which are files containing
  1971.           data from messages which have passed through the system.  These
  1972.           are kept in order to stop duplicate messages from being passed
  1973.           along.  These signatures are kept in the Simplex directory in
  1974.           files called SMAILxxx.SIG where where xxx is the Julian date of
  1975.           the year when the signature file is created.  These files can be
  1976.           maintained by using the SMAIL -c command.  This deletes signature
  1977.           files older then the specified number of days.  A reasonable
  1978.           period to keep signatures is between 3 and 10 days.  Too short a
  1979.           period might allow duplicates to slip through, and too long a
  1980.           period will slow the system down excessively while loading the
  1981.           files.  The best time in your setting will be best left to
  1982.           experimentation!
  1983.  
  1984.           SMAIL, by default, converts any messages addressed to "Sysop"
  1985.           over to messages addressed to the sysop's name as specified in
  1986.           CONFIG.  This behavior might be considered annoying by some
  1987.           Sysops and therefore can be disabled using the -s switch on the
  1988.           command line.
  1989.  
  1990.  
  1991.  
  1992.  
  1993.                   --------------------------------------------------
  1994.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  1995.                                        Page 32                                       Page 32
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.           Here are some sample parts of a FidoNet mail compatible system's
  2003.           batch file which illustrate using SMAIL for exporting entered
  2004.           mail:
  2005.  
  2006.                   :runbbs
  2007.                   simplex -b%d -x
  2008.                   if errorlevel 6 goto runbbs
  2009.                   if errorlevel 5 goto echomatrix
  2010.                   if errorlevel 4 goto echo
  2011.                   if errorlevel 3 goto matrix
  2012.                   goto runbbs
  2013.  
  2014.                   :echomatrix
  2015.                   smail -nx -ex
  2016.                   smp -p
  2017.                   goto end
  2018.  
  2019.                   :echo
  2020.                   smail -ex
  2021.                   smp -p
  2022.                   goto end
  2023.  
  2024.                   :matrix
  2025.                   smail -nx
  2026.                   smp -p
  2027.                   goto end
  2028.  
  2029.                   :end
  2030.  
  2031.           Here is a sample of a front-end mailer's batch file,
  2032.           demonstrating the use of SMAIL for importing and forwarding
  2033.           incoming mail.
  2034.  
  2035.                   :runmailer
  2036.                   mailer
  2037.                   if errorlevel 2 goto runmailer
  2038.                   if errorlevel 1 goto import
  2039.                   goto end
  2040.  
  2041.                   :import
  2042.                   smail -ua -it
  2043.                   smp -p
  2044.                   goto runmailer
  2045.  
  2046.                   :end
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.                   --------------------------------------------------
  2057.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2058.                                        Page 33                                       Page 33
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.           7.5-SMP: Simplex Mail Packer          7.5-SMP: Simplex Mail Packer
  2066.           _________________________________________________________________
  2067.  
  2068.  
  2069.  
  2070.  
  2071.           SMP (or SMP2 for OS/2) is a FidoNet compatible mail
  2072.           router/packer/archiver.  It uses the archiver command lines from
  2073.           CONFIG's option 5.  Essentially SMP reads the messages in the
  2074.           matrix directory, and based on the rules in the SMP.CTL file (see
  2075.           above), packs the messages in packets and optionally archives
  2076.           them to their ultimate destinations.
  2077.  
  2078.           SMP will delete truncated (i.e. 0-length) files in the outbound
  2079.           directories before it begins packing.  Notice that it will not
  2080.           delete truncated files for the current day of the week, only for
  2081.           the other 6 days.
  2082.  
  2083.           SMP's options are the following:
  2084.  
  2085.                   -p      Pack and route files in matrix and outbound areas
  2086.                   -s(tag) Use information for sched (tag) in SMP.CTL where
  2087.                           (tag) is a letter from A to Z
  2088.  
  2089.           Use of SMP is demonstrated in the sample batch files under SMAIL
  2090.           above.
  2091.  
  2092.  
  2093.  
  2094.           7.6-SMAILFIX: Simplex Mail Fixer          7.6-SMAILFIX: Simplex Mail Fixer
  2095.           _________________________________________________________________
  2096.  
  2097.  
  2098.  
  2099.  
  2100.           Occasionally, systems crash and lock up.  That is almost a rule
  2101.           in the world of computing.  Unfortunately, these crashes and
  2102.           lock-ups have a nasty habit of occurring at the worst possible
  2103.           moment, and in the case of Simplex, the worst possible moment is
  2104.           when the message base is being manipulated!  Since the message
  2105.           base files are so intertwined, any corruption to any of the files
  2106.           could be quite disasterous.
  2107.  
  2108.           Hence the raison d'etre of SMAILFIX.  Should your message base
  2109.           appear to have become corrupted, SMAILFIX gives you a chance to
  2110.           attempt to restore/rebuild some of the message files so that you
  2111.           can recover as much of the message base as possible.  OS/2 users
  2112.           should ensure that no utilities are able to manipulate the
  2113.           message files while SMAILFIX is running, and both DOS and OS/2
  2114.           users should ensure that their systems do not shut down or reboot
  2115.           before SMAILFIX is finished.
  2116.  
  2117.  
  2118.  
  2119.                   --------------------------------------------------
  2120.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2121.                                        Page 34                                       Page 34
  2122.  
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128.           To run SMAILFIX, just type it's name on the command line and hit
  2129.           Enter.  Notice that you should be in your Simplex root directory
  2130.           when you do this.  SMAILFIX will prompt you if you are sure that
  2131.           you want to run it.  Answer Y and it will begin attempting to
  2132.           recover your message base.  Once it is finished it will inform
  2133.           you if you need to run SLINK and/or SPACK on the message base.
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.                   --------------------------------------------------
  2183.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2184.                                        Page 35                                       Page 35
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.           _________________________________________________________________
  2191.  
  2192.                                       Chapter 8                                      Chapter 8
  2193.  
  2194.                      SUSAGE and SRECENT: Simplex Screen Builders                     SUSAGE and SRECENT: Simplex Screen Builders
  2195.           _________________________________________________________________
  2196.  
  2197.  
  2198.  
  2199.  
  2200.           There are two utilities which can be used by Simplex in order to
  2201.           generate special screens.  These are SUSAGE, a utility which
  2202.           generates an hourly usage chart for your system, and SRECENT, a
  2203.           utility which creates and maintains a recent callers listing.  In
  2204.           order to take advantage of these utilities, one must have the BBS
  2205.           exit after each user has logged off.  Both of these utilities
  2206.           read and utilize the USERINFO.BBS file created when a user logs
  2207.           in.
  2208.  
  2209.           SUSAGE must have the -G option enabled in order to generate usage
  2210.           files.  These files are placed in the screens directory and are
  2211.           appropriately named SUSAGE.ANS and SUSAGE.ASC.  These files
  2212.           normally use normal 7-bit ASCII characters to build the bar
  2213.           charts, but should you prefer to use IBM 8-bit characters, you
  2214.           can specify that with the optional -I switch.
  2215.  
  2216.           SRECENT must have a numeric option which specifies the number of
  2217.           last callers that you want to keep up with.  SRECENT 30 will keep
  2218.           information on 30 users and will build the screens with that
  2219.           information.  The resulting screens are placed in the screens
  2220.           directory and are called SRECENT.ANS and SRECENT.ASC.
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.                   --------------------------------------------------
  2246.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2247.                                        Page 36                                       Page 36
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.           _________________________________________________________________
  2254.  
  2255.                                       Chapter 9                                      Chapter 9
  2256.  
  2257.                             Simplex Questionaire Language                            Simplex Questionaire Language
  2258.           _________________________________________________________________
  2259.  
  2260.  
  2261.  
  2262.  
  2263.           Simplex has a rather simple but powerful questionaire language.
  2264.           A questionaire file is an ascii file with a .QF extension which
  2265.           is placed in the screen files directory.  This file can be
  2266.           created using a flat-ascii text editor.
  2267.  
  2268.           The answer file is placed in the same directory and has the same
  2269.           base name as the questionaire file, however it sports an .AF
  2270.           extension.
  2271.  
  2272.           The following is an alphabetical list of questionaire commands.
  2273.           Commands are case-insensitive.  Strings are included in double
  2274.           quotes like this "string".
  2275.  
  2276.                ASK (variable) (len) :  This will accept up to the maximum
  2277.                     length specified of a user's input and store it in the
  2278.                     variable specified.  After hitting Enter, the system
  2279.                     will go to the next line.
  2280.  
  2281.                CHOOSE (variable) (choices) :  This will load the variable
  2282.                     specified with the choice letter selected from the list
  2283.                     of choices.
  2284.  
  2285.                CLS :  Clears the screen to the current color.
  2286.  
  2287.                COLOR (foreground) [(background)] :  Sets the current color
  2288.                     to the specified foreground/background (optional)
  2289.                     color.
  2290.  
  2291.                EXIT :  Immediately exits the questionnaire file.
  2292.  
  2293.                GOTO (labelname) :  Jumps to the label specified.  If label
  2294.                     is not found, it will exit.
  2295.  
  2296.                IF (variable) = ("string")  *or*
  2297.                IF (variable) != ("string") *or*
  2298.                IF (variable) = (variable)  *or*
  2299.                IF (variable) != (variable)
  2300.                ENDIF :  If the case is true, the questionnaire will fall
  2301.                     into the if-endif.  If it is not true, it will skip
  2302.                     over it.  *Warning* Do not "nest" ifs!  The !=
  2303.                     indicates "not equal to".
  2304.  
  2305.  
  2306.  
  2307.  
  2308.                   --------------------------------------------------
  2309.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2310.                                        Page 37                                       Page 37
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.                LABEL (labelname) :  Sets the labelname as a point to which
  2318.                     the GOTO will jump.  If a label is reused, then it will
  2319.                     replace the previous use.
  2320.  
  2321.                PRINT ("string") *or*
  2322.                PRINT (variable) :  Shows a string of contents of a variable
  2323.                     on the screen.  Does not go to the next line.
  2324.  
  2325.                PRINTLINE ("string") *or*
  2326.                PRINTLINE (variable) :  Shows a string of contents of a
  2327.                     variable on the screen.  This will then go to the next
  2328.                     line.
  2329.  
  2330.                SET (variable) = ("string") *or*
  2331.                SET (variable) = (variable) :  Sets a variable to a string
  2332.                     value or to the value of another variable.
  2333.  
  2334.                SHOW ("filename") : Shows a file (filename.ans if ansi is
  2335.                     on, otherwise filename.asc if it is not.
  2336.  
  2337.                WRITEINFO :  Writes the user's name, time and date, and
  2338.                     other info to the questionnaire answer file.
  2339.  
  2340.                WRITE ("string") *or*
  2341.                WRITE (variable) :  Writes the string or variable to the
  2342.                     questionnaire answer file.  This does not add a CR-LF
  2343.                     pair at the end.
  2344.  
  2345.                WRITELINE ("string") *or*
  2346.                WRITELINE (variable) :  Writes the string or variable to the
  2347.                     questionnaire answer file.  This adds a CR-LF pair at
  2348.                     the end.
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.                   --------------------------------------------------
  2372.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2373.                                        Page 38                                       Page 38
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.           _________________________________________________________________
  2380.  
  2381.                                      Chapter 10                                     Chapter 10
  2382.  
  2383.                             SANSI: Simplex Ansi Compiler                            SANSI: Simplex Ansi Compiler
  2384.           _________________________________________________________________
  2385.  
  2386.  
  2387.  
  2388.  
  2389.           In order to assist you in preparing your ANSI and ASCII files,
  2390.           Simplex includes a compiler and a high-level language.  This
  2391.           system is called SANSI.  You can write a single "source" file
  2392.           which includes all of the information for screens which can be
  2393.           compiled into the respective .ANS and .ASC files.  The compiler
  2394.           will leave any ANSI statements out of of the .ASC files.
  2395.  
  2396.           The SANSI language will also access to special Simplex features
  2397.           as well as ANSI codes.  Special SANSI codes are introduced with `
  2398.           (forward single quote) in the .ANS and .ASC files (`` is
  2399.           interpreted by Simplex as being a `), however, use of the high-
  2400.           level language is strongly recommended for ease of maintenance.
  2401.  
  2402.           SANSI keywords are encoded in text in curly braces as in
  2403.           {sequence}.  Any number of SANSI keywords may be included in the
  2404.           curly braces separated by spaces (like {stopoff cls bell}).  To
  2405.           encode an true opening curly brace, simply type two in a row like
  2406.           this {{.  Following is a list of SANSI keywords and codes.
  2407.  
  2408.  
  2409.  
  2410.           10.1-SANSI User's Personal Information          10.1-SANSI User's Personal Information
  2411.           _________________________________________________________________
  2412.  
  2413.  
  2414.  
  2415.  
  2416.           Code   Representation                             SANSI Keyword
  2417.           -----  -----------------------------------------  -------------
  2418.           `A     User's Full Name                           name
  2419.           `B     User's First Name                          first
  2420.           `C     User's Last Name                           last
  2421.           `D     User's City-State                          citystate
  2422.           `E     User's Home Number                         homephone
  2423.           `F     User's Work/Data Number                    dataphone
  2424.           `G     User's Password                            password
  2425.           `H     User's Privilege Level (1 to 255)          priv
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.                   --------------------------------------------------
  2435.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2436.                                        Page 39                                       Page 39
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.           10.2-SANSI User's BBS Settings          10.2-SANSI User's BBS Settings
  2444.           _________________________________________________________________
  2445.  
  2446.  
  2447.  
  2448.  
  2449.           Code   Representation                             SANSI Keyword
  2450.           -----  -----------------------------------------  -------------
  2451.           `M     User's Baud Rate (300 -> 19200 or Local)   baud
  2452.           `N     User's Ansi Setting (On or Off)            ansi
  2453.           `O     User's More Setting (On or Off)            more
  2454.           `P     User's Clearscreen Setting (On or Off)     clear
  2455.           `Q     User's Editor Setting (Line or Ansi)       editor
  2456.           `R     User's Expert-mode Setting (On or Off)     expert
  2457.           `S     Length of User's Screen Page (for More)    pagelen
  2458.           `T     User's Netmail Credit ($x.xx)              credit
  2459.  
  2460.  
  2461.  
  2462.           10.3-SANSI User's Time/File Information          10.3-SANSI User's Time/File Information
  2463.           _________________________________________________________________
  2464.  
  2465.  
  2466.  
  2467.  
  2468.           Code   Representation                             SANSI Keyword
  2469.           -----  -----------------------------------------  -------------
  2470.           `a     Date of User's First Call (MM/DD/YY)       firstdate
  2471.           `b     Date of User's Last Call (MM/DD/YY)        lastdate
  2472.           `c     Time of User's Last Call (HH:MM)           lasttime
  2473.           `d     User's Total Daily Time (M mins S secs)    totaltime
  2474.           `e     Total Time Used Today (M mins S secs)      timeused
  2475.           `f     Time Remaining for Today (M mins S secs)   timeleft
  2476.           `g     Time Used During This Call (M mins S secs) timeon
  2477.           `h     User's Total Uploads (Number of Files)     ul
  2478.           `i     User's Total Uploaded Bytes (Kilobytes)    ulkb
  2479.           `j     User's Total Downloads (Number of Files)   dl
  2480.           `k     User's Total Downloaded Bytes (Kilobytes)  dlkb
  2481.           `l     Number of User's Calls to System           calls
  2482.  
  2483.  
  2484.  
  2485.           10.4-SANSI System Information          10.4-SANSI System Information
  2486.           _________________________________________________________________
  2487.  
  2488.  
  2489.  
  2490.  
  2491.           Code   Representation                             SANSI Keyword
  2492.           -----  -----------------------------------------  -------------
  2493.           `p     Day of Week (Monday, Tuesday, ... Sunday)  day
  2494.  
  2495.  
  2496.  
  2497.                   --------------------------------------------------
  2498.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2499.                                        Page 40                                       Page 40
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.           `q     Short Day of Week (Mon, Tue, ... Sun)      shortday
  2507.           `r     Date (MM/DD/YY)                            date
  2508.           `s     Time (HH:MM:SS)                            time
  2509.           `t     Number of Times User Yelled for Chat       yells
  2510.           `u     Total Number of Users on System            users
  2511.           `v     Last User on System                        lastuser
  2512.  
  2513.  
  2514.  
  2515.           10.5-SANSI System Control          10.5-SANSI System Control
  2516.           _________________________________________________________________
  2517.  
  2518.  
  2519.  
  2520.  
  2521.           Code   Representation                             SANSI Keyword
  2522.           -----  -----------------------------------------  -------------
  2523.           `0     Turn [More] Off                            moreoff
  2524.           `1     Turn [More] back On (If user allows it)    moreon
  2525.           `2     Turn [Stop] Off                            stopoff
  2526.           `3     Turn [Stop] On                             stopon
  2527.           `4     Pause and Wait for [Enter] to be Pressed   enter
  2528.           `5     Clearscreen code (FF character)            cls
  2529.           `6     Bell                                       bell
  2530.           `7     Backspace                                  bs
  2531.  
  2532.  
  2533.  
  2534.           10.6-SANSI ANSI Sequences          10.6-SANSI ANSI Sequences
  2535.           _________________________________________________________________
  2536.  
  2537.  
  2538.  
  2539.  
  2540.           Representation                                SANSI Keyword
  2541.           --------------------------------------------  -------------
  2542.           Set black foreground                          black
  2543.           Set red foreground                            red
  2544.           Set green foreground                          green
  2545.           Set brown foreground                          brown
  2546.           Set blue foreground                           blue
  2547.           Set magenta foreground                        magenta
  2548.           Set cyan foreground                           cyan
  2549.           Set white foreground                          white or lightgray
  2550.           Set gray foreground                           gray or lightblack
  2551.           Set light red foreground                      lightred
  2552.           Set light green foreground                    lightgreen
  2553.           Set yellow foreground                         yellow or
  2554.           lightbrown
  2555.           Set light blue foreground                     lightblue
  2556.           Set light magenta foreground                  lightmagenta
  2557.  
  2558.  
  2559.  
  2560.                   --------------------------------------------------
  2561.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2562.                                        Page 41                                       Page 41
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.           Set light cyan foreground                     lightcyan
  2570.           Set bright white foreground                   lightwhite
  2571.           Set black background                          onblack
  2572.           Set red background                            onred
  2573.           Set green background                          ongreen
  2574.           Set brown background                          onbrown
  2575.           Set blue background                           onblue
  2576.           Set magenta background                        onmagenta
  2577.           Set cyan background                           oncyan
  2578.           Set white background                          onwhite
  2579.           Set blinking characters                       blink
  2580.           Erase to End of Line                          erasetoeol
  2581.           Erase to End of Screen                        erasetoeos
  2582.           Erase to cursor from top of screen            erasefromtos
  2583.           Erase screen                                  erasescreen
  2584.           Move cursor up one line                       cursorup
  2585.           Move cursor down one line                     cursordown
  2586.           Move cursor left one character                cursorleft
  2587.           Move cursor right one character               cursorright
  2588.           Home cursor                                   home
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.                   --------------------------------------------------
  2624.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2625.                                        Page 42                                       Page 42
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.           _________________________________________________________________
  2632.  
  2633.                                      Chapter 11                                     Chapter 11
  2634.  
  2635.                         SMC: Simplex Menu Compiler/Decompiler                        SMC: Simplex Menu Compiler/Decompiler
  2636.           _________________________________________________________________
  2637.  
  2638.  
  2639.  
  2640.  
  2641.           In order to speed up development of menus on big Simplex
  2642.           applications, it might be easier to use SMC, the Simplex Menu
  2643.           Compiler.  This allows you to use a text editor to build menu
  2644.           source files, and thus be able to use the block-copy and
  2645.           find/replace facilities of the editor to ease the burden of menu
  2646.           development.
  2647.  
  2648.           Keywords are the following:
  2649.  
  2650.             menu "STRING" :  This sets the name of the menu file and resets
  2651.                     the line number counter.
  2652.                     e.g.  menu "main"
  2653.  
  2654.             prompt "STRING" : Sets the string as the prompt and all
  2655.                     subsequent information before the next "menu" or "line"
  2656.                     keywords will refer to the prompt.
  2657.                     e.g.  prompt "[^$r min^] What is your choice? "
  2658.  
  2659.             line "STRING" :  Sets the string as a menu line and all
  2660.                     subsequent information before the next "menu",
  2661.                     "prompt", or "line" keywords will refer to the new
  2662.                     line.
  2663.                     e.g.  line "<^M^> Go to Message Areas"
  2664.  
  2665.             define DEFINITION NUMBER *or*
  2666.             define DEFINITION "string" :  Allows the definition of a
  2667.                     constant value, either numeric or string.  Later use of
  2668.                     the definitions will be substitued for the
  2669.                     representative number or string by the compiler.
  2670.                     e.g. define WHITE 15
  2671.                          define RETURN "<^M^> Return to main menu"
  2672.  
  2673.             type NUMBER :  This is only valid in a "line" clause and sets
  2674.                     the type of the menu item to the specified value.  For
  2675.                     a list of menu types see above or type SMC without
  2676.                     parameters.
  2677.                     e.g.  type 0  /* show a menu line */
  2678.  
  2679.             priv VALUE :  This is only valid in a "line" clause and sets
  2680.                     the user privilege needed to see/access the menu item.
  2681.                     This value may be between 0 and 255.
  2682.                     e.g.  priv 255
  2683.  
  2684.  
  2685.  
  2686.                   --------------------------------------------------
  2687.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2688.                                        Page 43                                       Page 43
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.             color VALUE :  This is valid in a "line" clause or a "prompt"
  2696.                     clause.  It sets the non-highlighted color for either
  2697.                     the current line or the current prompt.  The value is a
  2698.                     normal IBM color value from 0 to 255.  See below for a
  2699.                     list of color values.
  2700.                     e.g.  color 10
  2701.  
  2702.             hilite VALUE :  This is valid in a "line" clause or a "prompt"
  2703.                     clause.  It sets the hilighted color for either the
  2704.                     current line or the current prompt.  The value is a
  2705.                     normal IBM color value from 0 to 255.  See below for a
  2706.                     list of color values.
  2707.                     e.g.  hilite 14
  2708.  
  2709.             key "CHARACTER" :  This is valid only in a "line" clause and it
  2710.                     sets the value of the hotkey to trigger the option for
  2711.                     that menu line.  A character is any value >= ASCII 32
  2712.                     decimal.  To specify a non-keyed line, use key "" with
  2713.                     nothing between the quotes.  The character may be upper
  2714.                     or lowercase, however when a character is receieved by
  2715.                     the menu handler, it is case does not matter (i.e.
  2716.                     there is no difference between key "A" and key "a").
  2717.                     e.g.  key "A"
  2718.  
  2719.             auto :  This is valid only in a "line" clause and indicates
  2720.                     that the menu item autoexecutes when its line is being
  2721.                     shown.  See menu type 49 above for an example of using
  2722.                     autoexecution.
  2723.                     e.g.  auto
  2724.  
  2725.             expert :  This is valid only in a "line" clause and indicates
  2726.                     that the menu item is shown even if a user has expert
  2727.                     mode toggled on.  At least menu titles should be
  2728.                     qualified with the expert keyword so that a user can
  2729.                     know where they are on your system.
  2730.                     e.g.  expert
  2731.  
  2732.             data "STRING" :  This is valid only in a "line" clause.  It is
  2733.                     used to provide the additional data line needed by
  2734.                     various menu types (see above).
  2735.                     e.g.  data "logoff password"
  2736.  
  2737.           Using the SMC compiler will permit you to use the script language
  2738.           to put together a series of menus (you can have more than one
  2739.           menu in a .SMC file) and avoid the overhead of using the line-
  2740.           by-line menu editor in CONFIG.  Should you wish to decompile an
  2741.           already existant menu, you can do it with the command line:
  2742.  
  2743.                   SMC /d file.mnu > file.smc
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.                   --------------------------------------------------
  2750.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2751.                                        Page 44                                       Page 44
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.           which will redirect the decompiler's output into the required
  2759.           file which can then be editord and then recompiled using the
  2760.           following command line:
  2761.  
  2762.                   SMC file[.SMC]
  2763.  
  2764.  
  2765.           Color values in the IBM machine consist of an 8 bit number which
  2766.           is broken up as follows:
  2767.  
  2768.                   High   | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |   Low
  2769.                            ^ | Background| ^ | Foreground|
  2770.                          Blink          Hilight
  2771.  
  2772.           The background and foreground colors range from 0 to 7 and
  2773.           represent the following:
  2774.  
  2775.                   0  Black                4  Red
  2776.                   1  Blue                 5  Magenta
  2777.                   2  Green                6  Brown (Dark Yellow)
  2778.                   3  Cyan                 7  Light Gray (Dark White)
  2779.  
  2780.           The highlight bit refers to the foreground color so that
  2781.           essentially the following color numbers in the lower 4 bits
  2782.           indicate the following colors:
  2783.  
  2784.                   8  Dark Gray            12 Light Red
  2785.                   9  Light Blue           13 Light Magenta
  2786.                   10 Light Green          14 Yellow
  2787.                   11 Light Cyan           15 White
  2788.  
  2789.           The blink bit will make the foreground color blink.  Here is a
  2790.           list of all of the possible combinations using a black
  2791.           foreground:
  2792.  
  2793.                   0   Black on black      128 Blink black on black
  2794.                   16  Black on blue       144 Blink black on blue
  2795.                   32  Black on green      160 Blink black on green
  2796.                   48  Black on cyan       176 Blink black on cyan
  2797.                   64  Black on red        192 Blink black on red
  2798.                   80  Black on magenta    208 Blink black on magenta
  2799.                   96  Black on brown      224 Blink black on brown
  2800.                   112 Black on white      240 Blink black on white
  2801.  
  2802.           Using this table, merely add your desired foreground color to the
  2803.           base value given, and you will have the number for that color.
  2804.           For example, light red on white is 12 + 112 = 124!
  2805.  
  2806.           In strings, to encode a literal " (double quote), use the
  2807.           sequence \".  For example, "this is a \"string\"" will become:
  2808.  
  2809.  
  2810.  
  2811.  
  2812.                   --------------------------------------------------
  2813.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2814.                                        Page 45                                       Page 45
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.                   this is a "string"
  2822.  
  2823.           after it is compiled.
  2824.  
  2825.           In menu lines and menu data lines, the following meta commands
  2826.           are recognized and are substituted accordingly:
  2827.  
  2828.                   $$  Dollar sign         $r  Time left for call (mins)
  2829.                   $f  User's first name   $l  User's last name
  2830.                   $d  Current date        $t  Current time
  2831.                   $a  User's ANSI flag    $u  User's number on system
  2832.                   $b  User's baud rate    $## File board's directory
  2833.  
  2834.           In menu lines the following have special significance:
  2835.  
  2836.                   $c  As the final two chars of a line means "continue"
  2837.                       next menu line without going to next line.
  2838.                   ^   Indicates a change of color from normal to hilight or
  2839.                       vice versa.
  2840.                   ^^  Means show a caret (^) mark.
  2841.  
  2842.           In data lines the following have special significance:
  2843.  
  2844.                   $*  Shell with hot fossil (DOS only).  Do not
  2845.                       deinitialize fossil driver before executing program.
  2846.                       Note that this option is not passed as a parameter to
  2847.                       the program in a type 240 menu option.
  2848.                   $e  After executing program, pause and wait for Enter
  2849.                       before continuing.  Note that this option is not
  2850.                       passed as a parameter to the program in a type 240
  2851.                       menu option.
  2852.  
  2853.           Here is a sample fragment of an SMC script for a menu:
  2854.  
  2855.           /* Comments are done like this and can span
  2856.           ** multiple lines. */
  2857.  
  2858.  
  2859.           menu "logoff"   /* this begins the menu called logoff */
  2860.             prompt "[^$r min^] What is your choice?"
  2861.                   color 15        hilite 14
  2862.  
  2863.             line "[ ^Log Off Menu ^ >----------------------"
  2864.                   type 0  expert  priv 0  color 13  hilite 14
  2865.  
  2866.             line ""       /* blank "space holder" line */
  2867.                   type 0  priv 0  color 7  hilite 15
  2868.  
  2869.             line ""
  2870.                   type 0  priv 0  color 7  hilite 15
  2871.  
  2872.  
  2873.  
  2874.  
  2875.                   --------------------------------------------------
  2876.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2877.                                        Page 46                                       Page 46
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.             line "<^Y^> Yes, log me off right now!"
  2885.                   type 255  key "Y"  priv 0  color 11  hilite 14
  2886.  
  2887.             line "<^N^> No, do not log me off!"
  2888.                   type 3  key "N"  priv 0  color 10  hilite 14
  2889.  
  2890.             line "<^L^> Leave a message to Sysop and log off!"
  2891.                   type 16  key "L"  data "1 /T=Chris_Laforet /L"
  2892.                   priv 0  color 12  hilite 14
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914.  
  2915.  
  2916.  
  2917.  
  2918.  
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.                   --------------------------------------------------
  2939.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  2940.                                        Page 47                                       Page 47
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.           _________________________________________________________________
  2947.  
  2948.                                      Chapter 12                                     Chapter 12
  2949.  
  2950.                                   Revision History                                  Revision History
  2951.           _________________________________________________________________
  2952.  
  2953.  
  2954.  
  2955.  
  2956.           Version 1.00:  Released Jan 3, 1991.  This was the first non-beta
  2957.                          version of Simplex.  Events are not completed.
  2958.                          ANSI editor can have some additional features
  2959.                          added.  External protocols are not yet
  2960.                          implemented.
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978.  
  2979.  
  2980.  
  2981.  
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.                   --------------------------------------------------
  3002.           Simplex BBS                                       A User's Manual          Simplex BBS                                       A User's Manual
  3003.                                        Page 48                                       Page 48
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.           ____________________________________________________________
  3010.  
  3011.  
  3012.                                Table of Contents                               Table of Contents
  3013.           ____________________________________________________________
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.                Chapter 1  Legalistic Mumbo-Jumbo                     2               Chapter 1
  3020.  
  3021.                Chapter 2  Introduction to Simplex                    3               Chapter 2
  3022.  
  3023.                Chapter 3  Installing Simplex                         4               Chapter 3
  3024.                   3.1   Simplex and Answering the Phone  . . . . . . 4                  3.1
  3025.                   3.2   Installing A Fidonet Node  . . . . . . . . . 4                  3.2
  3026.                   3.3   Setting Up Simplex BBS Paths . . . . . . . . 6                  3.3
  3027.                   3.4   Configuring Simplex with CONFIG  . . . . . . 7                  3.4
  3028.  
  3029.                Chapter 4  Simplex Menu Types                        10               Chapter 4
  3030.  
  3031.                Chapter 5  Running Simplex                           16               Chapter 5
  3032.  
  3033.                Chapter 6  Simplex Ancillary Files                   19               Chapter 6
  3034.                   6.1   Files for Help . . . . . . . . . . . . . .  19                  6.1
  3035.                   6.2   General Files  . . . . . . . . . . . . . .  20                  6.2
  3036.                   6.3   Files Created by CONFIG  . . . . . . . . .  22                  6.3
  3037.                   6.4   Files Needed by Simplex  . . . . . . . . .  22                  6.4
  3038.                   6.5   Files Created by Simplex . . . . . . . . .  24                  6.5
  3039.                   6.6   Files used by Simplex Utilities  . . . . .  24                  6.6
  3040.  
  3041.                Chapter 7  Simplex External Mail Utilities           30               Chapter 7
  3042.                   7.1   SCLEAN: Simplex Mail Cleaning Utility  . .  30                  7.1
  3043.                   7.2   SPACK: Simplex Message Base Deletion . . .  31                  7.2
  3044.                   7.3   SLINK: Simplex Message Thread Linker . . .  31                  7.3
  3045.                   7.4   SMAIL: Simplex FidoNet Mail Utility  . . .  32                  7.4
  3046.                   7.5   SMP: Simplex Mail Packer . . . . . . . . .  34                  7.5
  3047.                   7.6   SMAILFIX: Simplex Mail Fixer . . . . . . .  34                  7.6
  3048.  
  3049.                Chapter 8  SUSAGE and SRECENT: Simplex Screen               Chapter 8
  3050.                           Builders                                  36
  3051.  
  3052.                Chapter 9  Simplex Questionaire Language             37               Chapter 9
  3053.  
  3054.                Chapter 10  SANSI: Simplex Ansi Compiler             39               Chapter 10
  3055.                   10.1   SANSI User's Personal Information . . . .  39                  10.1
  3056.                   10.2   SANSI User's BBS Settings . . . . . . . .  40                  10.2
  3057.                   10.3   SANSI User's Time/File Information  . . .  40                  10.3
  3058.                   10.4   SANSI System Information  . . . . . . . .  40                  10.4
  3059.                   10.5   SANSI System Control  . . . . . . . . . .  41                  10.5
  3060.                   10.6   SANSI ANSI Sequences  . . . . . . . . . .  41                  10.6
  3061.  
  3062.  
  3063.  
  3064.                                           i
  3065.  
  3066.  
  3067.  
  3068.  
  3069.  
  3070.  
  3071.                Chapter 11  SMC: Simplex Menu Compiler/Decompiler    43               Chapter 11
  3072.  
  3073.                Chapter 12  Revision History                         48               Chapter 12
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082.  
  3083.  
  3084.  
  3085.  
  3086.  
  3087.  
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.  
  3111.  
  3112.  
  3113.  
  3114.  
  3115.  
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125.                                          ii
  3126.