home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / screenut / maytag.zip / MAYTAG.DOC < prev    next >
Text File  |  1993-05-29  |  18KB  |  433 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                         MAYTAG
  14.  
  15.  
  16.  
  17.                                Tagline Display Programs
  18.  
  19.  
  20.  
  21.                MAYTAG-D.EXE - Display Taglines under DOS.
  22.                MAYTAG-S.EXE - SABER Menu Add-in tagline displayer.
  23.                FILECNV.EXE  - Utility to convert text files into MAYTAG.
  24.                MAYTAG.DAT   - The data file used by the main programs.
  25.                MAYTAG.TXT   - An ASCII text file with the original quotes.
  26.  
  27.  
  28.  
  29.                               Copyright (C)1993 by Grant Warkentin.
  30.                                    All rights reserved.
  31.  
  32.  
  33.  
  34.                Command:  MAYTAG-D [/H] or MAYTAG-S [/H]
  35.                         FILECNV  [/H] inputfile.txt [/R]
  36.  
  37.  
  38.                Purpose:  I originally wrote this program as an add-in to
  39.                          the Saber Software Corporation's SABER MENU (R)
  40.                          program. Its purpose is to modify Saber's message
  41.                          line on a random basis.  I also choose to include
  42.                          a DOS version as well.
  43.  
  44.  
  45.               Prereqs: IBM Compatible AT/386/486 running DOS 3.3 or higher.
  46.                        Sorry, I do not support the XT class of computer.
  47.                        (8086/8088 CPU's).
  48.  
  49.  
  50.               Archive Name:   MAYTAG1.ZIP
  51.  
  52.  
  53.               Associated Programs:
  54.                            MAYTAG-D and FILECNV are stand alone programs.
  55.                            MAYTAG-S requires SABER MENU from Saber Software
  56.                            Corporation.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                     MAYTAG 1.2                                     - 2 -   
  71.  
  72.  
  73.  
  74.  
  75.  
  76.                                         DISCLAIMER OF WARRANTY
  77.  
  78.                These programs are provided AS  IS. Grant Warkentin MAKES NO
  79.                WARRANTY  OF  ANY  KIND,  EXPRESSED  OR  IMPLIED,  INCLUDING
  80.                WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY AND/OR
  81.                FITNESS FOR A PARTICULAR PURPOSE.
  82.  
  83.                The entire and exclusive liability and  remedy for breach of
  84.                this Limited  Warranty shall  be limited  to replacement  of
  85.                defective diskette(s) or documentation and shall not include
  86.                or extend  to any claim  for or  right to recover  any other
  87.                damages, including but not limited to, loss of profit, data,
  88.                or  use  of   the  software,  or  special,   incidental,  or
  89.                consequential damages or other similar claims, even if Grant
  90.                Warkentin has  been specifically advised  of the possibility
  91.                of such damages. In no  event will Grant's liability for any
  92.                damages to you or any other person  ever exceed the lower of
  93.                suggested list price or actual price paid for the license to
  94.                use the software, regardless of any form of the claim.
  95.  
  96.                GRANT WARKENTIN SPECIFICALLY DISCLAIMS ALL OTHER WARRANTIES,
  97.                EXPRESS  OR IMPLIED,  INCLUDING  BUT  NOT  LIMITED  TO,  ANY
  98.                IMPLIED  WARRANTY OF  MERCHANTABILITY AND/OR  FITNESS FOR  A
  99.                PARTICULAR PURPOSE.
  100.  
  101.  
  102.                                               LICENSE
  103.  
  104.                The  MAYTAG programs  are  distributed as  free, copyrighted
  105.                software.    What this  means  is  that  you can  use  these
  106.                programs for as long as you like without cost or obligation.
  107.                What you cannot do is to sell this software or make a profit
  108.                off of  it (except as  described below) without  the express
  109.                written permission of the author.
  110.  
  111.                MAYTAG-S.EXE,  MAYTAG-D.EXE, and  FILECNV.EXE  are the  sole
  112.                property  of Grant Warkentin.   The Quotes  contained in the
  113.                data files are,  to the best of my knowledge,  in the public
  114.                domain.  These programs may be freely copied and transferred
  115.                to individual parties.  They may be posted on Bulletin Board
  116.                systems (BBS)  for electronic  access as long  as NO  FEE is
  117.                charged  for   its  distribution  except  for   private  BBS
  118.                operations  that charge  a  regular user  subscription  fee.
  119.                Computer  information  services  such  as Compuserve  (CIS),
  120.                GEnie, and  others are authorized  to post this  product for
  121.                subscriber access.   The MAYTAG Programs may  be distributed
  122.                on  diskette by users groups which do not charge more than a
  123.                nominal fee  ($5) to cover  the costs of distribution.   Any
  124.                changes to  these policies  must be made  in writing  by the
  125.                author.
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                     MAYTAG 1.2                                     - 3 -   
  137.  
  138.  
  139.                                             TECHNICAL SUPPORT
  140.  
  141.  
  142.                     Since this program is a freebie, I'm not going to make
  143.                     any guarantees here with respect to bug fixes or other
  144.                     technical support.  Having said that, I do like my
  145.                     programs to be as bug-free as possible, so feel free to
  146.                     report any problems which you run across.
  147.  
  148.  
  149.                          Contact via:
  150.  
  151.                     GEnie                  G.Warkentin (See Note 1)
  152.                     Internet               G.WARKENTIN@GENIE.GEIS.COM
  153.                     Logical Solutions BBS  (403) 299-9900 300-2400 bps
  154.                                            (403) 299-9912 9600 - 16.8K bps
  155.                     Compuserve User ID#    75020,3645  (See Note 1)
  156.  
  157.                     Mail                   407, 315 - 9A St. N.W.
  158.                                            Calgary, Alberta  T2N 1T7
  159.                     Telephone              (403) 283-1553 (before 10:30
  160.                                                         pm Mountain time)
  161.  
  162.                  The above are roughly in order of preference (i.e. how
  163.                  quickly I'm likely to see your message and be able to
  164.                  respond).  I check GEnie and Logical Solutions once per
  165.                  week. I am on COMPUSERV only once every couple of months
  166.                  (more or less).
  167.  
  168.                  Note 1:
  169.                  When contacting me via GEnie or Compuserve, please use the
  170.                  Email system since I do not regularly monitor any of the
  171.                  IBM SIG message bases.
  172.  
  173.  
  174.  
  175.                     1.0     Why MAYTAG?
  176.                     -------------------
  177.  
  178.                     I  wrote this  program in  the month  of May and  it is
  179.           meant  to display  Taglines.   This program  is similar  to other
  180.           Quote-of-the-Day type programs but it  is limited to 78 character
  181.           X 1 line taglines.
  182.  
  183.                For those who  don't know, taglines are appended  to the end
  184.           of  messages seen  in the  message bases  of many  IBM  based BBS
  185.           systems.  Most  taglines are limited to 52  characters in length.
  186.           This  program will  display  taglines that  are 78  characters in
  187.           length.
  188.  
  189.                     I originally wrote  this program as an  add-in to Saber
  190.           Software Corporation's SABER MENU (r)(c) program.  I needed a way
  191.           to  modify  the  message  area  in  Saber  Menu.     Maytag-S.EXE
  192.           accomplishes  this task.  I also  decided (later)  to make  a DOS
  193.           version of the program so people who do not run Saber  Menu could
  194.           benefit from these  words of wisdom.  (Thank GOD for  conditional
  195.           compilation directives.)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.                     MAYTAG 1.2                                     - 4 -   
  203.  
  204.  
  205.                     2.0     Getting Started
  206.                     -----------------------
  207.  
  208.                     First, copy  the files to  an appropriate sub-directory
  209.           on  your hard drive.  Saber Menu users  must put the files in the
  210.           Saber Menu  directory (Saber's  default name  is NETUTILS).  Next
  211.           type MAYTAG-D, or  MAYTAG-S.  That's all  there is to it.   (well
  212.           not quite...).
  213.  
  214.  
  215.                     3.0    MAYTAG-D
  216.                     ----------------
  217.  
  218.                     The program file  can go in any directory  but the data
  219.           file  MAYTAG.DAT should  be  able  to be  located  via your  PATH
  220.           command  in  the  autoexec.bat  file.    Execution speed  can  be
  221.           increased if  the executable and  the data file  are in the  same
  222.           directory.  (It only  makes  a  couple  hundredths  of  a  second
  223.           difference but speed is speed).
  224.  
  225.  
  226.           NOTE:   ***** DR DOS 6 USERS *****
  227.  
  228.                You can  use the PROMPT  command to have the  MAYTAG program
  229.           run every time  a DOS prompt is displayed  (external DOS commands
  230.           only).  Enter the following into your Autoexec.bat file:
  231.  
  232.                     SET PEXEC=C:\sub-dir\MAYTAG-D
  233.                     PROMPT $X$P$G
  234.  
  235.                The $X parameter  does not  print.   It just  points to  the
  236.           environment variable named PEXEC.  DR DOS 6 will  run the program
  237.           referenced by  PEXEC each  time a dos  prompt is  displayed. (I'd
  238.           like to see Microsoft's DOS-6 do that!) ):-)
  239.  
  240.  
  241.  
  242.  
  243.                     3.1    MAYTAG-S
  244.                     ---------------
  245.  
  246.                This  is the  Saber Menu  version of  MAYTAG.   This program
  247.           changes the  message line of Saber Menu at  random.  It does this
  248.           by re-writing a file called  SABER.MSG.  The files MAYTAG.EXE and
  249.           MAYTAG.DAT must be copied  to your Saber Menu sub-directory.  You
  250.           will have to modify the batch file that runs Saber Menu (menu.bat
  251.           or saber.bat or m.bat).  If you choose, you can run MAYTAG-S from
  252.           any DOS prompt as well.
  253.  
  254.           ******* Directory rights & security issues.
  255.  
  256.                In Netware  version  3.11 you  must  assign your  users  the
  257.           following rights to the Saber Menu directory:
  258.  
  259.                Read, Filescan, Write, Erase, Create
  260.  
  261.           These are excessive rights you say? Please read on... 
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.                     MAYTAG 1.2                                     - 5 -   
  269.  
  270.  
  271.                To prevent  your users  from modifying  your menu  settings,
  272.           FLAG all the files to  READ ONLY status (except SABER.MSG). Since
  273.           you  have not  granted the  Modify right,  your settings  will be
  274.           safe.  The best way to flag all  the files Read Only is to make a
  275.           batch file that calls Saber Edit or another editor (see below).
  276.  
  277.           SABERSRC.BAT
  278.                @ECHO OFF
  279.                FLAG * RW           ;Give the files a read write attribute.
  280.                EDITOR SABER1.SRC   ;Call an editor to modify the menu code.
  281.                CREATDAT SABER1.SRC ;Compile the edited menu.
  282.                PAUSE               ;Pause to read compiler messages.
  283.                FLAG * RO S         ;Make all files read only and Shareable.
  284.                FLAG SABER.MSG RW S ;Make SABER.MSG Read/Write and Shareable
  285.  
  286.           I recommend  adding  the Shareable  attribute as  it provides  an
  287.           extra  measure   of  protection  against  any   possible  Sharing
  288.           Violation errors.  I have included code in the program to prevent
  289.           sharing violations and the program execution time is 1/2 a second
  290.           or less. File access takes about  .22 seconds maximum (MAYTAG.DAT
  291.           = 0.1 seconds and SABER.MSG = 0.200 seconds). Also, don't include
  292.           the comments in the batch file.
  293.  
  294.  
  295.  
  296.  
  297.                     4.0    FILECNV
  298.                     --------------
  299.  
  300.                This program converts  a text file into MAYTAG  format.  The
  301.           input file (text) should be a plain ASCII text file and each line
  302.           must be terminated by a  carriage return - line feed combination.
  303.           IBM extended  ASCII characters are  allowed in the file  as well.
  304.           Please see the supplied MAYTAG.TXT file for an example.
  305.  
  306.                I  choose to  go  with a  special file  format  in order  to
  307.           increase the speed of the program.  With a text file, the program
  308.           run time was  about two seconds  on a 386/40.   A slower  machine
  309.           took longer than  two seconds to run.   I have decreased  the run
  310.           time  to less  than 1/2  a second  with the special  file format.
  311.           This time does  not change significantly, if at all,  on a slower
  312.           computer.
  313.  
  314.                The command to convert a text file is:
  315.                     FILECNV infile.txt
  316.                This command  appends new quotes  to the end of  an existing
  317.           MAYTAG.DAT data file.
  318.  
  319.                Rebuilding the quote  file is accomplished by  the following
  320.           command:
  321.                     FILECNV infile.txt /R
  322.                This command starts a new MAYTAG.DAT data file.
  323.  
  324.                As  with  the  display utilities,  you  can  obtain  help by
  325.           entering:
  326.                     FILECNV /H
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.                     MAYTAG 1.2                                     - 6 -   
  335.  
  336.  
  337.                5.0     Technical and Acknowledgments.
  338.                --------------------------------------
  339.  
  340.                     MAYTAG-D,  MAYTAG-S,  and  FILECNV were  written  using
  341.           Borland  Pascal version  7.01,  Turbo  Debugger  3.2,  and  Turbo
  342.           Profiler  3.2.   I had  some help with  the in-line  assembler op
  343.           codes from the SID utility (Symbolic Instruction Debugger version
  344.           3.2)  in  DR DOS  6.   The  hardware environment  is a  Heintz 57
  345.           variety  386 running at 40  Mhz (Long live AMD!  :] ) with an AMI
  346.           BIOS.  I run OS/2 2.01 (hopefully soon to be OS/2 2.1) and DR-DOS
  347.           6 for operating systems.
  348.  
  349.                Saber  Menu  is  a registered  trademark  of  Saber Software
  350.           Corporation makers of  the BEST little menu package  in Texas (or
  351.           anywhere else).  They can be reached at the following address:
  352.  
  353.                     Saber Software Corporation
  354.                     P.O. Box 9088
  355.                     Dallas, TX  75209
  356.                     Sales: (800) 338-8754 or (214) 361-8086
  357.  
  358.                Netware  and DR DOS are registered trademarks of Novell Inc.
  359.           in Provo,  Utah.  MS-DOS  is a registered trademark  of Microsoft
  360.           Corporation in Redmond, Washington.  The Far Side is a registered
  361.           trademark of Garry Larson.
  362.  
  363.                Last, but  certainly not  least, thanks  to  my good  friend
  364.           Bryce  Hansen for  allowing me  full access to  his network  so I
  365.           could test this program and for putting up with my interruptions,
  366.           silly requests, and The Far Side obsession.
  367.  
  368.  
  369.  
  370.                     6.0     Other Programs from Grant Warkentin:
  371.                     --------------------------------------------
  372.  
  373.                None...  (YET).
  374.                     Okay, there is an  electronic resume in progress.   I'm
  375.           currently seeking  a position as  a Network  Administrator or  PC
  376.           Support Technician.
  377.  
  378.  
  379.  
  380.                  7.0     History:
  381.                  ----------------
  382.  
  383.                     Maytag Programs:
  384.                     ----------------
  385.                     Rev. 0.01  Started coding 1st version.
  386.                     Rev. 0.1   Speed concerns required a special data file.
  387.                                Changed code to accommodate data file and
  388.                                FILECNV.exe was born
  389.                     Rev. 1.0   Added code to generate a DOS version program
  390.                     Rev. 1.1   Added PATH searching for data file
  391.                                Added error reporting routines
  392.                                Added code to support network sharing
  393.                     Rev. 1.2   Fixed DR DOS PROMPT $X printing bug.
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.                     MAYTAG 1.2                                     - 7 -   
  401.  
  402.  
  403.                8.0     Plans for the future?
  404.                -----------------------------
  405.  
  406.                Future  plans for  these  programs  are  dependent  on  user
  407.           response.  I do  not want to issue a version that  will run on XT
  408.           computers,  but  I  will upon  request.    If  an XT  version  is
  409.           required, please  send  $10 and  disk  size requirements  to  the
  410.           address below to cover  the cost of shipping.  Any  bug fixes and
  411.           modifications will be performed on  an as reported basis.  Please
  412.           send any comments, suggestions,  complaints, donations, or flames
  413.           to the address below.
  414.  
  415.                          Contact via:
  416.  
  417.                      GEnie                  G.Warkentin
  418.  
  419.                      Internet               G.WARKENTIN@GENIE.GEIS.COM
  420.  
  421.                      Logical Solutions BBS  (403) 299-9900 300-2400 bps
  422.                                             (403) 299-9912 9600 - 16.8K bps
  423.  
  424.                      Compuserve User ID#    75020,3645
  425.  
  426.  
  427.                      Mail                   407, 315 - 9A St. N.W.
  428.                                             Calgary, Alberta  T2N 1T7
  429.  
  430.                      Telephone              (403) 283-1553 (before
  431.                                                   10:30pm Mountain time)
  432.  
  433.