home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / bbs_opus / sfued108.arj / README17.SFU < prev    next >
Text File  |  1992-05-29  |  19KB  |  396 lines

  1.  
  2.               StormFront User Editor for the Opus CBCS
  3.                    Copyright 1992 by Kevin Silcox
  4.  
  5.                                                            May 29, 1992
  6.  
  7. Disclaimer
  8. ----------
  9.     This software is available "AS IS".  It is not guaranteed to work at
  10. all. If it trashes your system or ruins your life, you have been warned.
  11. I am not responsible for any damages incurred from the use or misuse of
  12. this software.  There is also no fee to use this software to keep with
  13. the spirit of Opus.
  14.  
  15.     You will have to get by without any real documentation until I, or
  16. someone else writes some for this program.  If you know Opus and how it
  17. works, then this program should be pretty much self-explanatory as far
  18. as what the actual changes to the user database do.  So for now, there's
  19. only a brief description of how to use the actual functions of the program.
  20. Even though SFUE17 doesn't have the most user-friendly interface, I think
  21. that its flexibility is worth the struggle you *may* go through when you
  22. first start to use it.  Enjoy!
  23.  
  24.   WARNING: If you're running Opus in a multi-tasking environment then make
  25.   sure that you DO NOT Sort or Zap the database when there is a potential
  26.   for Opus to need to use the user database! (i.e. If a user calls and
  27.   tries to login.)
  28.  
  29.  
  30. --=={*-------------------------------------------------*}==--
  31.     This version: 1.08  --->  For Opus v1.7x
  32.  
  33.     Requires approximately 125K of Available RAM.  Requires
  34.     more if using the Sort option (based on number of records
  35.     in your database --> about 28 bytes for each record, up to
  36.     a maximum of about 2300 records, plus 8 bytes per CWF). The
  37.     maximum memory requirement should be about 200K.
  38.  
  39. **> I recommend you use an EXE compressor such as PKlite in
  40.     order to reduce the program size. (About 52% with PKlite v1.13)
  41.  
  42.     This program is for maintaining the user database used with
  43. Opus.  It is capable of adding users, marking them to be ReUsed,
  44. Purged, Normal, and even Removing users marked to be Purged (Zap),
  45. along with many other nifty features.
  46.  
  47. -*-
  48.     The program accepts a command-line argument for local and non-
  49. local use.  Entering an argument other than those arguments listed
  50. will display a brief help screen.  The arguments are as follows:
  51.  -M force Mono mode              -C force Color mode     -A AutoDetect
  52.  -D force DOS Output             -B force BIOS Writes
  53.  -U to use a specific User file  -Z to Zap the database
  54.  -X Translate IBM Graphics to    -I Install defaults
  55.     Normal characters
  56.  
  57.     The -M and -C options are only to force the memory address for the
  58. direct-screen writes if the program doesn't recognize the correct video
  59. mode.  If no arguments are entered, the program will AutoDetect which
  60. video mode to use for the direct-screen writes.  If you use the DOS
  61. option then I/O may be redirected.
  62.     The -U allows you to specify the name of the User Database file
  63. that you want to use instead of the default USER.DAT.  If you specify
  64. just the full path without a filename, USER.DAT will be assumed (you
  65. must have a "\" after the path though).
  66.     You may either use the -X (Translate) option from the command-line,
  67. or use CTRL-X to toggle IBM Graphics translation ON and OFF from the
  68. user edit screen. NOTE: When translation is turned ON, the IBM Graphics
  69. characters in the Report will be translated also.
  70.     Use -I to change the default parameters.  NOTE: Not all parameters
  71. saved in the INI file get priority.  For example, if the OPUS environment
  72. variable is pointing to a PRM file, it will be used instead of the name
  73. stored in the INI file.  The INI file is mainly used as a backup method
  74. to locate all the files it needs.
  75.  
  76. *--===--*
  77.  
  78.     Whenever there has been a modification to the current user record,
  79. SFUE17 will place an asterisk '*' at the top right-hand side of the
  80. screen.  There are two things that SFUE17 *may* change automatically.
  81. If the number of times a user has called the system is zero (0), it will
  82. be changed to one (1).  Also, if the user has QkMenu (Return to Last
  83. Menu) turned on, SFUE17 will try to make sure the menu is valid to prevent
  84. Opus from choking. :-)
  85.  
  86.     There are now two new indicators in ScrnSect 1 (as of v1.08).  The
  87. one that you probably won't see is the '[COPY]' indicator.  This indicates
  88. that you are NOT currently editing the database that Opus uses.  If you
  89. are editing the actual database that Opus uses, then you won't see the
  90. '[COPY]'.  The other indicator is '*CWF*' which indicates that the user
  91. being displayed has a CWF file in the Opus root directory (#.?BS).  This
  92. is displayed whether you're editing a copy of the database or the real one.
  93.  
  94.     When using the Inactivity timer, the program will beep at 5 second
  95. intervals starting 20 seconds before exiting.
  96.  
  97. **==--==**
  98.  
  99.  ** NOTE:  SFUE17 will always try to show the users' Real Name in
  100.         the Name field and their Alias in the Alias field as of
  101.         v1.08 (based on the information in the PRM file).
  102.  
  103.     In the lower right-hand corner of the User Screen are the commands
  104. that are available in all ScreenSections.  Below is a brief description
  105. of what they do:
  106.  
  107.     R)  Record Number:  This allows you to go to a specific record number
  108.         within the database.
  109.  
  110.     !)  User Status:  This allows you to modify the status of a user's
  111.         record.  The Status can be one of the following:
  112.             Normal: This is a normal record.
  113.             Reuse : As new users are added, they will be placed in records
  114.                      marked with this status instead of being added to the
  115.                      end of the database.
  116.             Purge : This means that if you use the Zap function, the record
  117.                      will be removed from the database.  Also used by OMAN.
  118.         Update ID : This will update the caller ID number but should only be
  119.                      used if the caller_ID is all zero's or in conflict with
  120.                      another record.
  121.  
  122.     *)  Utilities:   This is for maintaining the database.  Options are:
  123.             Adduser: If you need to add a user, this is what you'll use.
  124.                       It has gives you the option of just adding a record
  125.                       at the end of the database, or searching for a record
  126.                       marked with the "Reuse" status.  If you choose to
  127.                       search for a record to Reuse, and there is a record
  128.                       marked with the Reuse status, then that record will be
  129.                       cleared of its information and you may start entering
  130.                       the new user information in that record.
  131.  
  132.             Global : Allows you to make certain changes to specific (or all)
  133.                       users.  You may specify to set only a certain privilege
  134.                       level, or the default is all records (record #1 will
  135.                       NOT be touched).  There are also sub-levels that I
  136.                       don't have time to go into.
  137.                       -=***=-
  138.                       I feel that the options for changing Keys and Sections
  139.                       may cause some confusion.  With those two options there
  140.                       are 4 sub-options [Exact/Set/Toggle/Unselect]:
  141.  
  142.                         Exact:    Set each user to exactly the keys you
  143.                                   specify.  If you only select the 'A' key,
  144.                                   that's the only key the users' will have
  145.                                   no matter what they started out with.
  146.                         Set:      All keys you specify will be turned ON for
  147.                                   each user.
  148.                         Toggle:   Exactly what it says...  If you select the 'A'
  149.                                   key each users' keys will be set to the
  150.                                   opposite it started out as.
  151.                         Unselect: The opposite of Set.  It will make sure each
  152.                                   key you select is turned OFF.
  153.  
  154.             Import : This is if you want to add the users in USER.SAV back into
  155.                       the database.  If successful, USER.SAV will be deleted
  156.                       and a new USER.SAV will be created with a size of zero
  157.                       bytes.  This will allow you to Undelete the old savefile
  158.                       if necessary.
  159.  
  160.             Search : This allows you to search certain fields for a string.
  161.                       It's useful for finding a specific user quickly, among
  162.                       other things.
  163.  
  164.             sOrt   : This will sort your database based on the keys you
  165.                       select, and whether you select Ascending or Descending
  166.                       order for each key.  You may select up to two keys to
  167.                       sort by.  If the database you're sorting is the same
  168.                       one pointed to by the PRM file, then the CWF's will
  169.                       be updated accordingly.  If there is a problem renaming
  170.                       a CWF, it will be most probably be renamed with a .BAK
  171.                       extension.
  172.  
  173.             sWap   : This allows you to swap any two records with each other.
  174.  
  175.             Report : This generates a report for all users and sends it either
  176.                       to the Screen, Printer, or a File.  You can Pause the
  177.                       output by pressing 'P', or have an option to Abort by
  178.                       pressing 'ESC'.  You are asked several questions about
  179.                       how the report should be, but I don't have the time to
  180.                       go into detail explaining it...  However, I will state
  181.                       that SFUE17 will NOT send control codes to the printer,
  182.                       but only format the report appropriately.  Setting your
  183.                       printer into the proper font size and LPI setting is
  184.                       up to you.  When sending to the printer or a file, there
  185.                       will be a progress indicator (percent complete).
  186.  
  187.             Zap    : This removes any records marked with the Purge status.
  188.                       Also you can specify the number of days a user can go
  189.                       without calling the system before he/she is removed
  190.                       from the database.  This option is also available from
  191.                       the command-line.  By default a file called USER.SAV
  192.                       will be used to place any deleted records into.  You
  193.                       may restore the records by using the Import option.
  194.                       If the database you're zapping is the same one pointed
  195.                       to by the PRM file, then the CWF's will be updated
  196.                       accordingly.  The CWF's of user's that are removed
  197.                       from the database will be renamed from #.BBS to #.OLD.
  198.  
  199.  
  200.   +/-)  Change Record Number:
  201.                      You can use either the plus and minus keys to
  202.                       increment/decrement the record number respectively,
  203.                       or use the right and left arrow keys to do the same
  204.                       thing.  Home and End will place you at the first and
  205.                       last records respectively.
  206.  
  207.   ESC)  Quit:   If you have made any changes to the current record without
  208.                  going to another record, you will be asked if you want to
  209.                  save the user information before exiting.  ** Anytime you
  210.                  change to another record, the current record is saved to
  211.                  disk if it has been modified. **
  212.  
  213. SPACE)  {SpaceBar} ScrnSect:
  214.                 Changes the current Screen Section.  The active ScrnSect is
  215.                  displayed at the top of the screen.  The Screen Sections are
  216.                  at the left side of each box border.  A ScrnSect must be
  217.                  active in order for its commands to be active.  Also when a
  218.                  ScrnSect is active, the number next to the active box will
  219.                  BLINK.
  220.                 The ScrnSect can also be changed with the up and down arrow
  221.                  keys to decrement/increment the ScrnSect number respectively.
  222.  
  223.     0)  Continue Search:
  224.                 Only valid/displayed if you have already specified a search
  225.                  key.  This allows you to continue searching on the previously
  226.                  entered search key.
  227.  
  228.    F9)  DOS Shell:  Exactly what it says, and the User Editor IS swapped out
  229.                  of memory.
  230.  
  231. CTRL-I) Update Index:
  232.                 Forces the NDX file to be updated (via index program).
  233.  
  234. CTRL-S) Save Defaults:
  235.                 Saves the current options as the defaults to the INI file.
  236.  
  237. CTRL-X) Toggle IBM Graphics:
  238.                 Toggles IBM Graphics conversion ON/OFF.
  239.  
  240. CTRL-H) Toggle Hidden Passwords:
  241.                 Toggles Privilege to not display passwords for.  Either
  242.                  Normal or Sysop access.  Default is Normal.
  243.  
  244.  
  245. ***=>   If you have the inactivity timer set, SFUE17 will save the current
  246. record and update the index *if necessary* (and nobody is online) before
  247. exiting.
  248.  
  249. **==--==**
  250.  
  251. STRING EDITING:
  252. --------------
  253.     When using either BIOS or DIRECT screen writes you now have full
  254. editing capabilities when entering in strings.  Valid keys are:
  255.  
  256. Left/Right Arrow Keys:  Moves cursor one character left/right within string.
  257.              HOME/END:  Places the cursor at the beginning/end of the
  258.                         string being edited.
  259.                INSert:  Toggles Insert mode ON/OFF.  When ON the cursor
  260.                         will change to more of a block cursor, and when
  261.                         not in insert mode the cursor will appear normal.
  262.                DELete:  Deletes the character under the cursor.
  263.                    F6:  Deletes everything from the cursor to the end of
  264.                         the string.
  265.  
  266.     When using DOS mode you can clear the string by pressing the SPACEBAR
  267. for the first character and then pressing ENTER.
  268.  
  269. **==--==**
  270.  
  271.     I hope this is enough of a program description to get you familiar with
  272. the program.  For Opus v1.7x the ScrnSect is not the same as the "Section" in
  273. Opus.
  274.     Currently this Editor doesn't contain an internal index updating function.
  275. You will need to use the USERNDX program that is distributed with Opus v1.7x.
  276. The Editor will call USERNDX when exiting whenever it thinks the Index needs
  277. to be updated.  USERNDX will only be called when you have made changes inside
  278. the Editor that might change the NDX file.  USERNDX should either be located
  279. in the PATH, or in the same directory as your user database, or in your Opus
  280. Home Directory.  Once all the drive/path information has been found once, it's
  281. stored in an INI file so SFUE17 can always find the needed files (unless
  282. they're moved). ;-)
  283.  
  284. ------------------------------------------------------
  285.  
  286. ***********************
  287. * Report Information: *
  288. ***********************
  289.  
  290. **
  291. Report Detail Info (80-column output):
  292. ------------------------------------------------------
  293. 1:
  294.  A = User Record Number                 (Width =  5)
  295.  B = User Name (Real)                   (Width = 26)
  296.  C = Phone Number                       (Width = 15)
  297.  D = City, State                        (Width = 25)
  298. --
  299. 2:
  300.  E = Street Address                     (Width = 26)
  301.  F = Answer to SysOp Question           (Width = 43)
  302. --
  303. 3:
  304.  G = SysOp Comment                      (Width = 44)
  305.  H = Birthdate                          (Width =  9)
  306.  I = Access Privilege                   (Width =  9)
  307.  J = Language Number                    (Width =  1)
  308. --
  309. 4:
  310.  K = Keys                               (Width = 32)
  311.  L = Download:Upload Ratio              (Width =  9)
  312.  M = Days Since Last Call               (Width =  4)
  313.  N = Password (optional)                (Width = 15)
  314.  
  315. ------------------------------------------------------
  316.  
  317. **
  318. Report Detail Info (132-column output):
  319. ------------------------------------------------------
  320. 1:
  321.  A = User Record Number                 (Width =  5)
  322.  B = User Name (Real)                   (Width = 26)
  323.  C = Phone Number                       (Width = 15)
  324.  D = City, State                        (Width = 25)
  325.  E = Street Address                     (Width = 25)
  326.  F = Alias                              (Width = 20)
  327. --
  328. 2:
  329.  G = Answer to SysOp Question           (Width = 44)
  330.  H = SysOp Comment                      (Width = 45)
  331.  I = Birthdate                          (Width =  9)
  332.  J = Password (optional)                (Width = 15)
  333. --
  334. 3:
  335.  K = Access Privilege                   (Width =  9)
  336.  L = Keys                               (Width = 32)
  337.  M = Download:Upload Ratio              (Width =  9)
  338.  N = Days Since Last Call               (Width =  4)
  339.  O = First Call to System               (Width = 11)
  340.  P = Language                           (Width = 10)
  341.  
  342. ------------------------------------------------------
  343.  
  344. Errorlevels:
  345.   8: User Currently Online
  346.   7: Writing INI Structure
  347.   6: Creating INI File
  348.   5: Error Opening User Database
  349.   4: User Database NOT Found
  350.   3: Writing Record
  351.   2: Reading Record
  352.   1: Unsuccessful (General Error)
  353.  
  354.  
  355. ------------------------------------------------------
  356.  
  357. Credits:
  358. ~~~~~~~
  359.         This product uses the SPAWNO routines by Ralf Brown to minimize
  360. memory usage while shelling to DOS and running other programs.
  361.  
  362.         Sort routine written by R. Gardner and supplied within Bob Stout's
  363. SNIPPETS file.
  364.  
  365.         PKLITE Copyright PKWARE, Inc.
  366.  
  367. -={**}=-
  368.     Thank You for taking your time to read this, and use my program.
  369. If you have any comments or suggestions, I'd like to hear from you.
  370. Please contact me if you have any problems with the program, or you
  371. would like to see any added features.  You may contact me (via NetMail)
  372. at the phone number (or FidoNet Address) listed below.  I also read the
  373. NEWOPUS and MEADOW Echo's.  The latest version of my software is also
  374. available on my BBS.  It may be requested with the magic name of "SFUE17"
  375. for the Opus 1.7x version, and "SFUE11" for the Opus 1.1x version.
  376.  
  377.                                 --=={ Kevin Silcox ------
  378.                                 SysOp of:
  379.                                     StormFront
  380.                                     in Orangevale, California
  381.                                     (916) 988-0407
  382.                                     FidoNet (1:203/407.0)
  383.  
  384.                                 BBS Hours:
  385.                                     Conditionally 23 hours a day,
  386.                                       but definately between:
  387.                                       11:00 p.m. and 11:00 a.m
  388.                                     excluding National Mail Hour:
  389.                                       2:00 a.m to 3:00 a.m PDT
  390.  
  391.     Special Thanks to my Beta Test Team, the Opus Utility Team, and the
  392. users for making suggestions that have increased the flexibility and
  393. power of SFUE17, and especially for finding those little critters that
  394. lurk around in software!
  395.  
  396.