home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / RU103.ZIP / RU.DOC < prev   
Text File  |  1993-08-12  |  15KB  |  315 lines

  1.  
  2.  
  3.                                  Ravitz Utilities 1.03
  4.  
  5.                       Miscellaneous Utilities for IBM/DOS systems
  6.  
  7.                       (C) Copyright Ravitz Software Inc. 1990,1993
  8.  
  9.  
  10.          Ravitz Software Inc.                              BBS/FAX 606-268-0577
  11.          P.O. Box 25068
  12.          Lexington, KY  40524-5068
  13.          USA                                  Compuserve Cary Ravitz [70431,32]
  14.  
  15.  
  16.          Introduction ....................................................... 2
  17.          License                                                              2
  18.          Installation ....................................................... 2
  19.          FLSIG                                                                3
  20.          PIC2GL ............................................................. 5
  21.          AUTOPGL                                                              6
  22.          ATKBFIX and ENKBFIX ................................................ 7
  23.          Compatibility and Technical Information                              8
  24.          User Support ....................................................... 9
  25.  
  26.                                                                             p-2
  27.          Introduction ---------------------------------------------------------
  28.  
  29.            Ravitz Utilities (RU) is a collection of miscellaneous utilities.
  30.  
  31.            FLSIG is a file signature program that lets you easily set up a disk
  32.            security test.
  33.  
  34.            PIC2GL translates  Lotus  PIC  files  to  HP-GL,  which may then  be
  35.            printed with PrintGL. You can print directly from PIC2GL if PrintCAD
  36.            is installed.
  37.  
  38.            AUTOPGL runs in a window of  a multitasking system such  as DESQview
  39.            or  Windows.  It watches for the  creation  of plotfiles and when it
  40.            sees one it runs PrintGL on the file and then deletes it. To print a
  41.            plotfile  from  another  application,  just  create a  plotfile  and
  42.            AUTOPGL will print it as an unattended background task.
  43.  
  44.            ATKBFIX  and ENKBFIX are TSRs that improve the  ergonmics  of AT and
  45.            Enhanced keyboards.
  46.  
  47.          License --------------------------------------------------------------
  48.  
  49.            RU is provided as is. There are no warranties expressed or implied.
  50.  
  51.            You may use Ravitz Utilities without charge.
  52.  
  53.            You may  distribute  RU  if  you keep the  entire  package together,
  54.            unchanged, including this  license  explanation,  and do not  charge
  55.            more than $10.
  56.  
  57.          Installation ---------------------------------------------------------
  58.  
  59.            The RU package consists of these files:
  60.  
  61.              ATKBFIX.EXE  AT Keyboard Fix
  62.              AUTOPGL.EXE  Automatic PrintGL
  63.              ENKBFIX.EXE  Enhanced Keyboard Fix
  64.              FLSIG.EXE    file signature program
  65.              PIC2GL.EXE   Lotus PIC to HP-GL translator
  66.              RU.DOC       documentation
  67.  
  68.            To  install RU  copy the distribution  files to your working disk or
  69.            directory.  Each of the .EXE files is a stand alone  program and may
  70.            be copied individually.
  71.  
  72.            RU.DOC is this manual. You can print it with "COPY RU.DOC PRN".     
  73.  
  74.                                                                             p-3
  75.          FLSIG ----------------------------------------------------------------
  76.  
  77.            FLSIG is  a utility  that calculates five  file  signatures for  any
  78.            file, or the partition record or boot record of a disk. This has two
  79.            uses.  First, you can  check four standard signatures against values
  80.            from  other  programs.  These  standard signatures  are:  file size,
  81.            checksum, CRC-16, and CRC-32. Second, and the true reason for FLSIG,
  82.            is to do a security check on critical files in your system.  To help
  83.            with this, FLSIG has two features. First, the input/output format is
  84.            set up to let you easily create and run  a  security test .BAT file.
  85.            Second,  the  fifth signature is individualized by you via password.
  86.            There  is no way for a person or virus to  corrupt a file  and  then
  87.            compensate to  produce  the  same signature, because  the  signature
  88.            algorithm is specified by your password.
  89.  
  90.            To get a file signature from  FLSIG, use this syntax:
  91.  
  92.              FLSIG password filename ?
  93.  
  94.            To get a signature for the boot record, use .bootrec[disk name]  for
  95.            disks under 32 meg  and .lgbtrec[disk  name]  for larger disks.  For
  96.            example for C: use .bootrecc.  To get a  signature for the partition
  97.            record, use .partrec[physical fixed disk  number].  For example, for
  98.            the first physical disk use .partrec1.  The password is  capitalized
  99.            by FLSIG so it is case independent. The result is:
  100.  
  101.              FLSIG password filename size.checksum.CRC-16.CRC-32.pwsig
  102.  
  103.            where pwsig is the signature resulting from your password.
  104.  
  105.            To verify a file signature, use this syntax:
  106.  
  107.              FLSIG password filename size.checksum.CRC-16.CRC-32.pwsig
  108.  
  109.            This  calculates  the  file's  signature  and  compares  it  to  the
  110.            signature  that you  entered.  If they  do not match  then  you  are
  111.            prompted to press Enter or Esc to continue.
  112.  
  113.            If  it seems a bit difficult to verify a file from the command line,
  114.            don't worry - that  is  not  the  expected use.  Here is how  to use
  115.            FLSIG. Begin by preparing a list of file signatures on your disk and
  116.            saving the result to a .BAT file:
  117.  
  118.              flsig password .partrec1    ? >>check.bat
  119.              flsig password .lgbtrecc    ? >>check.bat
  120.              flsig password \io.sys      ? >>check.bat
  121.              flsig password \msdos.sys   ? >>check.bat
  122.              flsig password \command.com ? >>check.bat
  123.              flsig password \flsig.exe   ? >>check.bat
  124.              flsig password anyfile      ? >>check.bat                         
  125.  
  126.                                                                             p-4
  127.            This creates the file  CHECK.BAT.  Now any time you  run CHECK, each
  128.            file is  signature checked against  the original signature, with the
  129.            specified  password.  If you  are concerned with other  people using
  130.            your  system, edit CHECK.BAT, replacing the  password with %1.  Then
  131.            run CHECK password. DOS replaces the %1 with the password as it runs
  132.            the .BAT file, and your password is not on the disk. You can add new
  133.            files to CHECK.BAT just like you first created it. You might want to
  134.            put CHECK.BAT  and FLSIG.EXE on  a personal floppy disk, to  prevent
  135.            anyone from corrupting them.
  136.  
  137.            The BAT  file  listed here generates CHECK.BAT based on a file mask.
  138.            For  example call  it  with  parameter  *.*  and  it  will  generate
  139.            CHECK.BAT  with  checks  for  every  file in the  current  directory
  140.            (except CHECK.BAT).
  141.  
  142.              @echo off
  143.              if Z%1==Z goto exit
  144.              if Z%2==ZREENTER goto reenter
  145.              for %%F in (%1) do call flsigm %%F REENTER
  146.              goto exit
  147.              :reenter
  148.              if Z%1==ZCHECK.BAT goto exit
  149.              echo on
  150.              flsig PASSWORD %1 ? >>CHECK.BAT
  151.              @echo off
  152.              :exit
  153.  
  154.            A good way  to use FLSIG  is to  run a small number of tests in your
  155.            AUTOEXEC.BAT including critical operating system files:
  156.  
  157.               .partrec1
  158.               .lgbtrecc
  159.               io.sys or ibmbio.com
  160.               msdos.com or ibmdos.com
  161.               command.com
  162.  
  163.            and  a more  comprehensive test, including all  commonly  used .EXE,
  164.            .COM, .SYS, and .BAT files, after using any new software.
  165.  
  166.            FLSIG  makes no  attempt  to reconstruct files or fix problems.  Its
  167.            only goal is to inform you of file corruption.                      
  168.  
  169.                                                                             p-5
  170.          PIC2GL ---------------------------------------------------------------
  171.  
  172.            PIC2GL reads a Lotus .PIC file and writes an equivalent HP-GL  file.
  173.            This HP-GL file may be printed with PrintGL.
  174.  
  175.            The syntax for PIC2GL is:
  176.  
  177.              PIC2GL picfile hpglfile
  178.  
  179.            Unlike Lotus  Printgraph, which  lets you  select  from  a number of
  180.            fonts  for  each  type  of text, PIC2GL  translates text  into HP-GL
  181.            labels with no choice of font.
  182.  
  183.            For  direct printing  from PIC2GL, install  PrintCAD and use "PIC2GL
  184.            picfile PCAD".
  185.  
  186.            LIMITATIONS
  187.  
  188.              The translation has been verified on a limited number of files.
  189.  
  190.              Characters  are translated into  HP-GL labels  -  there is no font
  191.              information included.                                             
  192.  
  193.                                                                             p-6
  194.          AUTOPGL --------------------------------------------------------------
  195.  
  196.            AUTOPGL  lets  you  set  up  a  background  plotter  emulator  in  a
  197.            multitasking environment.  With AUTOPGL running as a background task
  198.            under  DESQview or Windows,  you can  print  a  plot by  creating  a
  199.            plotfile  with  the right name or copying  a plotfile  to  the right
  200.            name.  You  must  have  PrintGL installed in your  DOS PATH  so that
  201.            AUTOPGL can call it as needed.
  202.  
  203.            AUTOPGL  uses the same calling syntax as PrintGL.  AUTOPGL takes the
  204.            plotfile name  or  mask, and continuously  looks for any  files that
  205.            match and have a non-zero length.  Sequentially written files have a
  206.            length of 0 until  they are  closed,  so partially written files are
  207.            ignored.  When such a file is found, it is renamed PLOT.TMQ (thereby
  208.            moving it to the current directory), and PrintGL is called with  the
  209.            AUTOPGL  parameters  (the   plotfile  parameter  is   replaced  with
  210.            PLOT.TMQ).
  211.  
  212.            AUTOPGL  should be  started on  the  same  disk as  specified in the
  213.            plotfile mask because it cannot rename files across different disks.
  214.  
  215.            Esc or Ctrl-Break stops AUTOPGL.
  216.  
  217.            If you use a network and want to dedicate one PC  to PrintGL, you do
  218.            not need a multitasking system. Run AUTOPGL from the DOS prompt. The
  219.            network software  will  take  create the plotfiles  as directed from
  220.            other PCs.
  221.  
  222.            Always  take  care not to overwrite a plotfile before AUTOPGL has  a
  223.            chance  to work on it.  As soon as AUTOPGL  finds a new plotfile  it
  224.            renames it,  so  that  file  cannot  be  overwritten.  However while
  225.            PrintGL is working  on the  current file  another  plotfile  may  be
  226.            created and then overwritten.                                       
  227.  
  228.                                                                             p-7
  229.          ATKBFIX and ENKBFIX --------------------------------------------------
  230.  
  231.            ATKBFIX is a TSR program that intercepts the keyboard interrupt.  It
  232.            is intended for use on AT type  keyboards and should be installed in
  233.            your AUTOEXEC.BAT. It has these effects:
  234.  
  235.              Num Lock is set off.
  236.  
  237.              Caps Lock, Num Lock, and Scroll Lock presses are disabled.
  238.  
  239.              Alt Caps Lock, Alt Num Lock, and Alt Scroll Lock are functional.
  240.  
  241.              The Esc and `/~ keys are  swapped.  You can change the key caps to
  242.              match on most keybords.
  243.  
  244.            ENKBFIX is the same as ATKBFIX  except that it does not swap the Esc
  245.            and `/~ keys.
  246.  
  247.            LIMITATIONS
  248.  
  249.              ATKBFIX and ENKBFIX cannot uninstall themselves.
  250.  
  251.              Programs that take over the  keyboard handling  (such  as Windows)
  252.              defeat these programs.
  253.  
  254.                                                                             p-8
  255.          Compatibility and Technical Information ------------------------------
  256.  
  257.            The algorithm used for FLSIG's password signature is:
  258.  
  259.              file: array[1..n] of byte
  260.              sig: longint
  261.              pwi,i: integer
  262.  
  263.              sig:=0; pwi:=1; password:=uppercase(password);
  264.              for i:=1 to filelength do begin
  265.                sig:=sig+file[i]*password[pwi];
  266.                pwi:=pwi+1;
  267.                if pwi>length(password) then begin
  268.                  pwi:=1;
  269.                  sig:=sig rotateleft 1
  270.                end;
  271.              end;
  272.  
  273.            FLSIG's CRC-16 and CRC-32  algorithms are from C  Programmer's Guide
  274.            to NetBIOS, by W. David Schwaderer.
  275.  
  276.            FLSIG reads the partition record by calling  interrupt 13h  with ax=
  277.            201h, cx= 1,  and  dx= 80h + physical drive number - 1.  FLSIG reads
  278.            the boot record on a small disk by calling interrupt hex 25 with ax=
  279.            drive name - 65, cx = 1, and dx = 0.  FLSIG reads the boot record on
  280.            a large  disk by calling interrupt hex 25 with  ax= drive name - 65,
  281.            cx= -1, and beginning sector= 0.
  282.  
  283.            FLSIG, PIC2GL, AUTOPGL, and ATKBFIX were written by Cary Ravitz  and
  284.            compiled with Borland's Turbo Pascal 6.0.                           
  285.  
  286.                                                                             p-9
  287.          User Support ---------------------------------------------------------
  288.  
  289.            Correspondence  about  these programs may be  sent  via the  support
  290.            bulletin board, fax, Compuserve, or mail.
  291.  
  292.            BBS:        606-268-0577  1200..14400,N,8,1  24 hours/day
  293.  
  294.              To ask a question, prepare an ASCII  text file with the details of
  295.              your question.  Then call the bulletin board and choose the upload
  296.              question option.  XMODEM  file  transfer protocol is  required for
  297.              this.  Your question will  be assigned a number (such  as  1015) -
  298.              remember  this  number.  An answer file (with the assigned number)
  299.              will  be posted, usually  within 24 hours on  weekdays.  To get an
  300.              answer, call the bulletin board,  choose the download option, then
  301.              the answer option, and then enter the answer number.
  302.  
  303.            Compuserve: Cary Ravitz [70431,32]
  304.  
  305.            Fax:        606-268-0577
  306.  
  307.              If  your fax machine does not send the fax calling signal, the BBS
  308.              will  answer and  hang  up (about  30  seconds), then the  call is
  309.              routed to the fax.  Faxes from outside the USA may be answered via
  310.              letter. The fax may be unavailable sometimes.
  311.  
  312.            Mail:       Ravitz Software Inc.
  313.                        P.O. Box 25068
  314.                        Lexington, KY  40524-5068
  315.                        USA