home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / STATSC11.ZIP / STATUSC.DOC < prev    next >
Text File  |  1993-07-08  |  21KB  |  459 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                         Network Mail Status - Cam-Mail Version
  8.           =================================================================
  9.  
  10.                First off I would like to thank those users who have offered
  11.           suggestions and  made comments to  this and  the original  Status
  12.           program (Postlink  version). Some functions and  displays are the
  13.           direct result of this input.
  14.  
  15.                Works  with  Cam  DeBuck's  Cam-Mail  (copyright  Cam DeBuck
  16.           Software)  door  which  imports  and exports  .QWK  mail  packets
  17.           received from your   Network Hub(s). It uses the  log(s) produced
  18.           by EXPORT.EXE and IMPORT.EXE log options.
  19.  
  20.                (1) Generates a network  Export mail status bulletin showing
  21.           each conference  (full 24  characters in conference  names), 1000
  22.           maximum, and the  total number of  messages exported for  current
  23.           date and  total to date  for each conferences,  total conferences
  24.           and the total messages to date for the specified network.
  25.  
  26.                (2) Generates a network Import mail status bulletin with the
  27.           same  format as  the Export  bulletin. Since  the export  routine
  28.           contains all conference names it is run first to  get those names
  29.           so  that conferences with zero imports are still displayed in the
  30.           import  bulletin. I  could  not  find  another  way  to  get  all
  31.           conference names.
  32.  
  33.                (3)  Generates last  import  bulletin  showing  last  import
  34.           information: date, time, total messages import in last import and
  35.           total messages imported to date.
  36.  
  37.                (4)  Generates, or appends to  the end of,  a monthly totals
  38.           bulletin called  network.TOT with  each  rollover. This  bulletin
  39.           contains  the  total  lines   from  previous  Export  and  Import
  40.           bulletins.
  41.  
  42.                Supports multiple  networks.  This program  uses  Cam-Mail's
  43.           export/import  log(s). Single  log  file or  separate Import  and
  44.           Export  logs.  It does  a monthly  rollover  of the  LOG(s) using
  45.           PKZIP.EXE.
  46.  
  47.                This archive should contain the following files:
  48.  
  49.                DOORS.TXT.............. Current list of James Huckabey doors
  50.                FILE_ID.DIZ............ BBS description file
  51.                READ.ME................ Update/changes information
  52.                STATUSC.EXE............ Actual StatusC program
  53.                STATUSC.DOC............ Instructions for running StatusC
  54.                STATUSC.CFG............ Sample configuration file     
  55.                STATUSC2.CFG........... Sample configuration file
  56.                STATUSC3.CFG........... Sample configuration file
  57.                STATUSC.BAT............ Sample batch file
  58.                SUPPORT.TXT............ Location of Support BBS
  59.                ARCHIVE.TXT............ This list of files
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                Syntax is pretty straight forward:
  66.  
  67.                                  STATUSC STATUSC.CFG
  68.  
  69.                Full path  to STATUSC.EXE may be  used if not in  path or in
  70.           current  directory.  If  you do  use  a  path  statement in  your
  71.           execution of StatusC (not in current dir or in path)  you need to
  72.           set the  environment variable  "SET STATUSC=path  to STATUSC.EXE"
  73.           (SET STATUSC=C:\UTILITY\OTHER, etc. no ending slash is needed).
  74.  
  75.                It  is  not  necessary  to  add  a  path  statement  to  the
  76.           configuration file since the program  finds itself. Of course the
  77.           file must be  in location  of STATUSC.EXE.  If the  configuration
  78.           file is not  in the same location then use  the path statement to
  79.           it's location. 
  80.  
  81.                "STATUSC.CFG" and can have any  file name with the following
  82.           format. You can use up  to 8 characters of your network  name for
  83.           the  name  of your  .CFG file  if  that helps  keep multi-network
  84.           configurations clearer. This would  be the easiest way to  do it.
  85.           Each  line must  be  populated  with  a  valid  entry.  Paths  to
  86.           bulletins or logs are not needed if they are in or written to the
  87.           current directory:
  88.  
  89.                          (1) Unregistered BBS
  90.                          (2) 0000
  91.                          (3) Network
  92.                          (4) CAM-MAIL.LOG
  93.                          (5) C:\BBS\BLT7
  94.                          (6) CAM-MAIL.LOG
  95.                          (7) C:\BBS\BLT77
  96.                          (8) C:\BBS\BLT777
  97.                          (9) PCB
  98.  
  99.                                      CFG line #1
  100.  
  101.                "Unregistered BBS", system name if registered
  102.  
  103.                                      CFG line #2
  104.  
  105.                "0000", valid serial number if registered.
  106.  
  107.                                      CFG line #3
  108.  
  109.                "Network" should be the  name of the actual network  you are
  110.           using, one word  and case sensitive  (Intelec, UNINET, etc.).  18
  111.           characters max,  longer names are  truncated. Say you  are making
  112.           two different network mail runs with the same software, you would
  113.           use those names here, each in it's own configuration file.
  114.            
  115.                                      CFG line #4
  116.  
  117.                "CAM-MAIL.LOG" is the path and  name of your Cam-Mail Export
  118.           log.  Lines #4  and #6  can contain  the same  file name  if your
  119.  
  120.  
  121.  
  122.  
  123.  
  124.           Export and Import logs are in one file. I believe  this is normal
  125.           for the Cam-Mail generated log.  (At this time I have  no details
  126.           on how Cam-Mail does logs or multiple logs)
  127.  
  128.                                      CFG line #5
  129.  
  130.                "C:\BBS\BLT7" is the path and name for your Export bulletin.
  131.  
  132.                                      CFG line #6
  133.  
  134.                "CAM-MAIL.LOG" is  the path and name of your Cam-Mail Import
  135.           log.  Lines #4  and #6  can contain  the same  file name  if your
  136.           Export and Import logs are in one file. I believe  this is normal
  137.           for the  Cam-Mail generated log,  but have maintained  the format
  138.           used in the Postlink version of Status.
  139.  
  140.                                      CFG line #7
  141.  
  142.                "C:\BBS\BLT77"  is  the  path   and  name  for  your  Import
  143.           bulletin.
  144.  
  145.                                      CFG line #8
  146.  
  147.                "C:\BBS\BLT777"  is the path  and name for  your Last Import
  148.           bulletin.
  149.  
  150.                                      CFG line #9
  151.  
  152.                Color  and characters  used are  setup to  give you  as much
  153.           control over the output as possible.  Not all users can read  and
  154.           handle IBM extended graphic characters (like sight impaired users
  155.           and voice  hardware).  Program  can  use either  "=/-"  or  IBM's
  156.           extended  graphic characters "═/─".  Line #9 must  contain one of
  157.           the following options:
  158.  
  159.                "PCB" use IBM extended  graphic characters and PCBoard's @X0
  160.           colorizing codes.
  161.  
  162.                "PCB0" use no IBM  extended graphic characters and PCBoard's
  163.           @X0 colorizing codes.
  164.  
  165.                "ANSI"  use   colorizing   and  no   IBM  extended   graphic
  166.           characters.
  167.  
  168.                "ANSI2" use colorizing and IBM extended graphic characters.
  169.  
  170.                "ASCII"  use  no  colorizing  and no  IBM  extended  graphic
  171.           characters.
  172.  
  173.                "ASCII2"  use no  colorizing, but  use IBM  extended graphic
  174.           characters.
  175.  
  176.  
  177.  
  178.  
  179.  
  180.                                 STATUSC TOTALS FILE(s)
  181.  
  182.                This  file,  StatusC  Totals,  is  written  to  the  current
  183.           directory only. Current directory is the directory where you call
  184.           STATUSC.EXE  from. The file name is  the first eight alphabetical
  185.           characters  of  your network  name. That  way  if you  are making
  186.           multiple network mail runs each network will have it's own totals
  187.           file. The extension is always "TOT".
  188.  
  189.                Please  make  note  that if  your  copy  of  StatusC is  not
  190.           registered that  the total file  will have "Unregistered  BBS" in
  191.           the BBS line of the  bulletin. If you keep the file  and register
  192.           StatusC you will  have to edit  the top line  of the bulletin  or
  193.           erase the file and start over.
  194.  
  195.                This file/bulletin  has unlimited possibilities.  If you are
  196.           making  more  than  one  StatusC  execution,  say  for  different
  197.           formats, only the first  one will be executed with  the rollover.
  198.           So this file  will only contain that color format. It is complete
  199.           with whatever color codes  existed in the original bulletin.  The
  200.           colors can be removed  or replaced with whatever colors  you want
  201.           manually using a text editor.
  202.  
  203.                The file has  a three  line header when  first created,  (1)
  204.           line with BBS name in it, (2) an explanation of what it is, (3) a
  205.           header  termination line. It then  has one line  for Export total
  206.           and  one line  for Import  total followed  by a  blank separation
  207.           line. Each successive  appendage is three  lines total. A  year's
  208.           worth of information would have a total of thirty-nine lines.
  209.  
  210.                What you do with this information is up to you. Just another
  211.           friendly option added to the program.  If you are going to use it
  212.           as an  active bulletin it  can be copied anywhere  you want. Just
  213.           make sure that if you want the next rollover appended  to the end
  214.           that you keep the file in the current directory for the execution
  215.           of  StatusC. If you change this directory  make sure you move the
  216.           total bulletin(s) to your new directory.
  217.  
  218.                It should be noted that when you start using StatusC for the
  219.           first  time that if your Cam-Mail log(s) are not just the current
  220.           month's log(s) that the log does not roll over until the month in
  221.           the log  equals your  system's current month.  The first  archive
  222.           will contain everything  to date. The new  log will start at  the
  223.           first current month's  date StatusC finds in  the current month's
  224.           part of the log. Bulletins  generated will show information  only
  225.           for  the current  month  and from  this  point on  each  rollover
  226.           archive will contain only the previous month's log.
  227.  
  228.  
  229.  
  230.  
  231.  
  232.                                         Errors
  233.  
  234.                Errors are written to the same directory as STATUSC.EXE in a
  235.           file called  STATUSC.ERR. If  the file already  exists additional
  236.           errors are  appended to the  end of the  file. It may  be deleted
  237.           after you have  made note of  any errors. It's  existence it  not
  238.           required by the program.
  239.  
  240.                During  the  start  up  procedures  that  program   displays
  241.           "Searching!" while it is looking for the directory STATUSC.EXE is
  242.           located  in.  Also  "Configuring!" while  it  is  reading  in and
  243.           verifying all information in the configuration file. These are to
  244.           show you  what the program is  doing should lockups  occur. I had
  245.           problems in these areas  and took some time  to isolate them.  At
  246.           least now these problem areas can be isolated. Normally these two
  247.           displays should be  very quick and unreadable depending on system
  248.           speed and StatusC's configuration.
  249.  
  250.                If StatusC  has trouble  with  the log  files, like  finding
  251.           it/them, it first tries to create  a "no data bulletin" and do an
  252.           normal error exit. If  it cannot create these bulletins  is makes
  253.           the error exit  that displays  the help screen.  These two  exits
  254.           would normally be an error in the configuration file: wrong path,
  255.           wrong file name, configuration file name not used, etc.
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                          Cam-Mail's EXPORT.EXE and IMPORT.EXE
  262.  
  263.                Follow  your instructions  in CAM-MAIL.DOC  on calling  your
  264.           EXPORT.EXE  and IMPORT.EXE  programs and your  network definition
  265.           setup(s).  Make sure  you  have  the  /LOG  switch  on  both  the
  266.           IMPORT.EXE and EXPORT.EXE. Examples follow:
  267.  
  268.                EXPORT INTELEC /LOG
  269.  
  270.                IMPORT INTELEC /LOG
  271.  
  272.                Other options may be  used on the command line.  My examples
  273.           are just to make sure you have the log option  turned on. StatusC
  274.           must  find both Exports and Imports in  the log(s). You then call
  275.           StatusC with a configuration  file that contains the name  of the
  276.           network definition  produced log.  Example shows Intelec  as both
  277.           the  network name and network definition name and these might not
  278.           actually be the same:
  279.  
  280.                          (1) Unregistered BBS
  281.                          (2) 0000
  282.                          (3) Intelec
  283.                          (4) INTELEC.LOG
  284.                          (5) C:\BBS\BLT7
  285.                          (6) INTELEC.LOG
  286.                          (7) C:\BBS\BLT77
  287.                          (8) C:\BBS\BLT777
  288.                          (9) ANSI2
  289.  
  290.                If   you  have  more  than  one  network  you  must  have  a
  291.           configuration file or files  for each one. Line #3  would contain
  292.           the next network name and lines #4 and #6 would contain the names
  293.           of  the next  network  log. This  would be  repeated for  as many
  294.           networks as you have Cam-Mail configured for.
  295.  
  296.  
  297.  
  298.  
  299.  
  300.                Perhaps you want  to make  a bulletin with  the PCBoard  @X0
  301.           codes  and one using straight  ASCII codes and  yet another using
  302.           ANSI codes. The .CFG  files would contain the bulletin  names and
  303.           the form setting (#9):
  304.  
  305.                STATUSC STATUSC.CFG
  306.                (.CFG with PCB, uses ANSI codes and IBM extended graphic
  307.                 characters)
  308.  
  309.                STATUSC STATUSC2.CFG
  310.                (.CFG with ASCII, ASCII and no IBM extended graphic
  311.                 characters)
  312.  
  313.                STATUSC STATUSC3.CFG
  314.                (.CFG with ANSI, ANSI colors and no IBM extended graphic
  315.                 characters)
  316.  
  317.                You  just call StatusC as many times as needed, with as many
  318.           configuration files  as needed  to generate whatever  formats you
  319.           want for each  network that you have. On my  386/33 it takes less
  320.           than twenty seconds to run  the program on a 6,500 line  test log
  321.           (from three BBS systems).
  322.  
  323.  
  324.                                  The StatusC Program
  325.  
  326.                If you don't like the program please write to me and explain
  327.           why. Send me any suggestions you might have. If they  enhance the
  328.           overall program I will try to incorporate part, some, all, in the
  329.           next release.
  330.  
  331.                 The program package  represents many hours  of programming,
  332.           testing,  updating and more testing as well as LD telephone calls
  333.           to  distribute the  beta and  release copies.  Please  support my
  334.           efforts and register your copy.
  335.  
  336.  
  337.  
  338.  
  339.  
  340.                         PKZIP.EXE used by the StatusC Program
  341.  
  342.                "PKZIP.EXE" must be somewhere in your path or in the current
  343.           directory. When the month changes in the CAM-MAIL.LOG the program
  344.           archives the current log into a file using 'ML'+ the current date
  345.           (ML010193.ZIP, etc.). It also  includes the current log (1  or 2)
  346.           and  all three bulletins. It  creates this in  the directory that
  347.           contains the log  file (import log if two logs used). The program
  348.           then  rewrites the log using  only the current  new month's data.
  349.           This way there  is only  one month's  log data  in your  Cam-Mail
  350.           log(s).
  351.  
  352.                I  have corrected  the  archiving problems  with the  log(s)
  353.           while SHARE.EXE is loaded.  This was not my error,  but something
  354.           with DOS,  Share and  Borland's Pascal.  I don't  know who  is at
  355.           fault.
  356.  
  357.                The  bulletins  are  added  to  the  archive   so  the  last
  358.           information posted on the BBS before rollover is available should
  359.           this information be required by the you.
  360.  
  361.                If you do not want the previous month's log(s) simply delete
  362.           the archive from your hard drive. In your calling batch file  you
  363.           can  add "IF EXIST ML*.ZIP DEL ML*.ZIP" and this will auto-delete
  364.           the archive.
  365.  
  366.                If the program  has any  problems with your  log(s) such  as
  367.           file not  found, no  exported  conferences found,  a bulletin  is
  368.           generated showing that there was an  error in the log and that no
  369.           imported/exported  messages were  found.  The program  aborts  on
  370.           these errors. The program confirms each item in the configuration
  371.           file before it does anything else. See errors below
  372.  
  373.                There must  be at least one  meg of free disk  space for the
  374.           archive to be executed. I have  no idea the possible sizes and if
  375.           anyone has problems with  the archive with one meg as the minimum
  376.           please let me know and I will increase the size of the free space
  377.           required. I have been unable to trap PKZIP.EXE errors from within
  378.           my  Turbo Pascal 7.0 programs.  I believe PKZIP  handles them and
  379.           does not pass them along to operating system.
  380.  
  381.  
  382.  
  383.  
  384.  
  385.                                  StatusC Registration
  386.  
  387.                Send BBS information and one of the following in $ U.S.
  388.  
  389.                (1) Registration only via routed Rime node ID.........$10
  390.                Not a safe or reliable form of registration.
  391.  
  392.                (2) Registration only via mail........................$10
  393.                (outside U.S. please add $2) Better registration.
  394.  
  395.                (3) Registration and latest version via mail......... $12
  396.                (outside U.S. please add $4) Include diskette size.
  397.  
  398.                (4) Registration and latest version via mail and
  399.                copy of all James Huckabey Doors and PC software..... $15
  400.                (outside U.S. please add $5) Include diskette size.
  401.  
  402.                (5)  Limited Special Registration of Status and StatusC
  403.                add $5 to any of the above options. *** Offer good only
  404.                through August 15, 1993 ***
  405.  
  406.                Option: 1: [ ]   2: [ ]     3: [ ]     4: [ ]     5: [ ]
  407.  
  408.                Diskette Size: 360: [ ]   1.2: [ ]   720: [ ]  1.44: [ ]
  409.  
  410.                Your current version number: [     ]
  411.  
  412.              Please supply name of BBS to be added to program,  up to sixty
  413.           characters.  Anything longer  will be  truncated, no  exceptions.
  414.           This is to be on one line  of code and must be legible since  the
  415.           serial number is based  on exact syntax. I cannot  be responsible
  416.           for unreadable data. Please print. Case sensitive!
  417.  
  418.           Example:  "Jim's Graphic  BBS". In  StatusC it  comes out  as the
  419.           following in all bulletins generated:
  420.  
  421.                ==================(Jim's Graphic BBS)==================
  422.  
  423.  
  424.            [-------------------------------------------------------------]
  425.  
  426.           FROM: 
  427.              Your Name: 
  428.                        ---------------------------------------------------
  429.                Address:  
  430.                        ---------------------------------------------------
  431.                   City: 
  432.                        ---------------------------------------------------
  433.            State & Zip: 
  434.                        ---------------------------------------------------
  435.                 HUB ID:                       NODE ID:
  436.                        ----------------------         --------------------
  437.           Phone(voice):                        (data)
  438.                        ---------------------         ---------------------
  439.  
  440.  
  441.  
  442.  
  443.  
  444.                Your registration  number and  any diskettes,  if requesting
  445.           current version or other software, are sent by return mail or via
  446.           Rime  and routed Node  ID if this  is your choice.  E-Mail is not
  447.           that reliable.
  448.  
  449.                     James Huckabey
  450.                     3621-A Fraser Street
  451.                     Bellingham, Washington 98226 U.S.A.
  452.                     (206) 671-2868 (voice) I do have a USR 14.4 DS!
  453.  
  454.                You can also contact me at:
  455.  
  456.                     Corporate Headquarters BBS
  457.                     Sysop: Bob Neal
  458.                     RelayNet (tm): CHQBBS (#1255)
  459.                     (815) 886-3233 or 886-9381 (14400 V32bis)