home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / arcutil / sharc876.arc / SHARC.DOC next >
Encoding:
Text File  |  1989-01-18  |  20.2 KB  |  420 lines

  1.  
  2.  
  3.                                    SHARC v8.76
  4.                                      1/18/89
  5.  
  6.                                The SHell for ARC's
  7.  
  8.                                   By:  Jim Derr
  9.                 Member of Association of Shareware Professionals
  10.  
  11.  
  12.  
  13.                                 LIMIT OF LIABILITY
  14.  
  15.      SHARC is distributed as-is.  The author disclaims all warranties,
  16.      expressed or implied.  The author will assume no liability for damages
  17.      either from the direct use of this product or as a consequence of the
  18.      use of this product.
  19.  
  20.  
  21.      SHARC is a shell program to make viewing and working with ARC files
  22.      user friendly.  It is written in TURBOC with some screen I/O routines
  23.      written in ASM.  In order for SHARC do function you must have Phil
  24.      Katz's PKARC and PKXARC (or PKPAK/PKUNPAK) programs, and Vern Buerg's
  25.      LIST program.
  26.  
  27.      Please note that these programs are copyrighted and they can be obtain-
  28.      ed from most BBS's.
  29.  
  30.      PKARC.COM/PKXARC.COM/PKARC.EXE/PKXARC.EXE/PKPAK.EXE/PKUNPAK.EXE
  31.  
  32.      PKWARE, INC.
  33.      7032 Ardara Ave.
  34.      Glendate, WI. 53209
  35.  
  36.      LIST.COM, by Vernon Buerg
  37.      456 Lakeshire Drive
  38.      Daly City, CA. 94015
  39.  
  40.      ARC is a trademark of System Enhancement Associates Inc. Wayne, NJ
  41.  
  42.      When running on a EGA or VGA system SHARC now supports 43 and 50 line
  43.      modes!!
  44.  
  45.      SHARC is fast and lean.  With it you can View, Extract, Add, Freshen,
  46.      Update, Test, and do about most everything that you've become accus-
  47.      tomed to doing with archive files. SHARC will search your path looking
  48.      for PKARC/PKXARC and/or PKPAK/PKUNPAK, and LIST.  If these can not be
  49.      found, an error message will be displayed, and the program will
  50.      terminate.
  51.  
  52.      To start-up SHARC simply enter "SHARC [d:\path\filespec]".  You may
  53.      specify wild cards in the filespec. If you use wild cards in the
  54.      filespec SHARC will present you with a scrollable list of files that it
  55.      found matching the filespec. Also included in the file list will be any
  56.      directories that SHARC found.  The directory names will be enclosed in
  57.      greater than and less than symbols. I.E. <DIR1>.  You can position the
  58.      highlite bar on a directory name and press the enter key to view the
  59.      files and directories that are contained in that directory.  To move up
  60.      one level in the directory tree highlite the directory entry that
  61.      appears as <..>.  As you change directories the full disk:\pathname
  62.      will be displayed on the main screen.  In addition the disk:\path that
  63.      will receive extracted files is also displayed on the main screen. You
  64.      can than choose the file you wish to work on by moving the highlite bar
  65.      with the cursor keys and pressing the enter key. SHARC will then
  66.      present you with a screen showing the contents of the ARC file.
  67.  
  68.  
  69.      To perform a function, simply position the highlight bar and press the
  70.      key(s) that corresponds to the function you want to perform on that
  71.      member.  Pressing the F1 key will open a window showing all valid
  72.      command keys.
  73.  
  74.      The following functions are currently supported:
  75.  
  76.      Viewing a file - Simply press the return key or the ALT-V keys.
  77.         This will temporarily unpack the file and will invoke the list
  78.         program allowing you to view the file on your screen.  The temporary
  79.         copy of the extracted file will be placed in the current disk and
  80.         directory unless you specified a work disk to be used by using the
  81.         configuration program.
  82.  
  83.      Extracting a single file - E.
  84.         This will extract the file that is being pointed to.  The extracted
  85.         file will be placed on the current disk in the current directory.
  86.         You may optionally use the ALT-P command to direct the extracted
  87.         files to a different disk and/or directory.
  88.  
  89.      Testing archive integrity - ALT-T
  90.         This will test the integrity of the archive file and will report the
  91.         results on the screen.
  92.  
  93.      Display Info about archive file - I
  94.         This will display information about the archive file in a small
  95.         pop-up window at the top of the screen.  The information will
  96.         include the number of files in the archive, the date of the newest
  97.         file in the archive,  the total size of all the files in the archive
  98.         including the total expanded size and total compressed size.
  99.  
  100.      Delete a file from the archive - D
  101.         This will delete the selected file from the archive file.
  102.         Before the file is deleted a prompt will appear asking for
  103.         verification of the delete. In addition any files that were
  104.         previously tagged will have the tag cleared.
  105.  
  106.      Delete a group of files from an archive - CTL-D
  107.         This command will prompt the user to enter a file-specification
  108.         pattern for the files to be deleted.  I.E. *.DAT will delete
  109.         all files in the archive that have an extension of DAT.  Before
  110.         the files are deleted a prompt will appear asking for verification
  111.         of the delete.
  112.  
  113.      Print a file from the archive - P
  114.         This will print the selected file from the archive file. The file
  115.         will be printed to lpt1.
  116.  
  117.      Add file(s) to archive     - A
  118.      Update files(s) in archive - U
  119.      Move files(s) to archive   - M
  120.      Freshen file(s) in archive - F
  121.         Each of these options will cause a small window to open at the
  122.         bottom of the screen.  The window will prompt you to enter a
  123.         filespec.  This filespec can include drive, path, and a filespec
  124.         with wild cards.  All files matching the indicated filespec will be
  125.         added, updated, moved or freshened in the current archive file
  126.         depending on which option you initially picked.
  127.         Any files that were previously tagged will have the tag cleared.
  128.  
  129.         For example if you enter a U to update files in the archive and you
  130.         enter c:\source\*.c when prompted to enter a filespec, than all
  131.         files on the C drive in the source directory that have a file
  132.         extension of C will be updated in the current archive file.
  133.  
  134.      List of files to add to archive     - ALT-A
  135.      List of files to freshen in archive - ALT-F
  136.      List of files to move to archive    - ALT-M
  137.      List of files to update in archive  - ALT-U
  138.         Again each of these options will cause a small window to open at the
  139.         bottom of the screen.  The window will prompt you to enter a
  140.         filespec.  This filespec can include drive, path, and a filespec
  141.         with wild cards.  When you press the return key another window will
  142.         pop-up on the left side of the screen showing you all the files that
  143.         were found that matched the filespec you entered on the specified
  144.         disk in the specified directory.  You can then use the cursor keys
  145.         to scroll the file list.  Pressing the space bar will toggle the
  146.         tagged status of the current highlighted file.  When you are done
  147.         tagging file press the return key and all files that you tagged will
  148.         be added, freshened, moved, or updated in the current archive file.
  149.  
  150.      Specify where to put extracted files - ATL-P
  151.         This options will prompt you to enter a drive and directory of where
  152.         to place files that you extract from the archive.  This location
  153.         will remain in effect until you enter the ATL-P command again and
  154.         clear the drive and directory or you change to another archive file.
  155.         This command is used when you want to place extracted files in a
  156.         location other than the current drive and directory.
  157.  
  158.      Extract all files from archive - ATL-X
  159.         This command will extract all files from the archive file and place
  160.         them in the current disk:\directory unless you specified a different
  161.         extract location by using the ALT-P command.
  162.  
  163.      Delete all extracted files - ALT-D
  164.         This command will delete all files in the current disk:\directory,
  165.         or the one specified by the ALT-P command, that are also contained
  166.         in the archive file.  NOTE: it does not delete anything from the
  167.         archive file.  This is useful when you extract file from the
  168.         archive file and then you want to quickly delete all the extracted
  169.         files.
  170.  
  171.      Execute a file in an archive file - R
  172.         This command will execute the EXE or COM file that is currently
  173.         highlighted on the archive file list.  The EXE or COM file will be
  174.         extracted from the archive file and will be placed on the current
  175.         disk in the current directory. You will then be prompted to enter
  176.         any optional command line parameters that the program is expecting.
  177.         The selected program will then be executed.  After the program is
  178.         run the extracted file will be deleted.
  179.         NOTE: You can specify a different disk drive to place the extracted
  180.         file on by using the SHARCFG program.  This is useful when working
  181.         with archive files that are on floppy disks.  If you specify disk C
  182.         as the work disk in the SHARCFG program the extracted file will be
  183.         placed on the C drive, will be executed from the C drive, and then
  184.         will be deleted from the C drive.
  185.  
  186.      Speed search - ALT-S
  187.         This option will allow you to quickly find a file in an archive. A
  188.         window will pop-up asking you to enter the first letter of the file
  189.         you wish to find.  The list of files on the screen will then be
  190.         scrolled to the first file that starts with the letter you entered.
  191.  
  192.      Extract all tagged files - CTRL-E
  193.         This option will extract all files that you tagged in the archive
  194.         file.  To tag a file simply press the space bar to toggle the tagged
  195.         status.  When a file is tagged it will be highlighted on the screen.
  196.  
  197.      Untag all tagged files - CTRL-U
  198.         This option will untag all files that you previously tagged.
  199.  
  200.      Update the archive files time and date - CTRL-T
  201.         This option will change the archive file's time and date to match
  202.         the time and date of the newest file in the archive file.
  203.  
  204.      Show archive file comments - ALT-I
  205.         This option will display the archive file comment and each comment
  206.         that corresponds to every file in the archive file.
  207.  
  208.      Add/update the archive file comment - CTRL-X
  209.         This option will allow you to add and/or update the comment
  210.         information for the archive file.
  211.  
  212.      Add/update file comments - CTRL-C
  213.         This option will allow you to add and/or update the comment
  214.         information for each file contained in the archive file.
  215.  
  216.      Get password for the archive file - G
  217.         This option will pop-up a window and will ask you to enter a
  218.         password for the archive file.  This password is used when extracted
  219.         or viewing files in the archive file.  If the archive file was
  220.         initially built without a password do not enter a password.  The
  221.         password remains in effect until you clear it by entering this
  222.         option again or until you change to a different archive file.
  223.  
  224.      Create a new archive file - C  or F7
  225.         (USE C WHEN IN AN ARCHIVE DISPLAY WINDOW)
  226.         (USE F7 FROM THE MAIN DISPLAY WINDOW)
  227.         This option allows you to create a new archive file. First you will
  228.         be prompted to enter the drive, directory, and name of the new
  229.         archive file.  Then you will asked if you want to add or move files
  230.         into the new archive file.  You will also be asked to enter an
  231.         optional password.  (If you enter a password all files added or
  232.         moved to the archive file will be encrypted using the password. Do
  233.         not forget the password you can not extract files from the archive
  234.         file without the password and there is no way to determine the
  235.         password if you forget it.)
  236.         A window will then be opened and it will ask you to enter the
  237.         filespec of the files you wish to add or move into the new archive
  238.         file. This filespec can include a disk, directory, and filespec with
  239.         wild cards.  Another window will then pop-up on the left side of the
  240.         screen showing all files that matched the filespec you entered.  Tag
  241.         the files you wish to add or move to the new archive file by
  242.         pressing the space bar.  When you are done tagging file press the
  243.         return key and all tagged files will be added or moved into the new
  244.         archive file.
  245.  
  246.      Show help screen - F1
  247.         This will display a help screen showing all currently supported
  248.         commands.  Any command can be entered while the help screen is
  249.         displayed.
  250.  
  251.      Temporary exit to DOS - F10
  252.         This will temporarily clear the screen and exit to DOS. You can then
  253.         execute and command you want.  To return to SHARC type in EXIT at
  254.         the DOS prompt and press return.
  255.  
  256.      Select a new archive file from original list - N
  257.  
  258.      Select a new archive file - F2
  259.         This option will prompt you to enter a new disk, directory, and
  260.         filespec to find another archive file to work with.
  261.  
  262.      View a file - F3        (AVAILABLE ON INITIAL SCREEN ONLY)
  263.         This option will allow you to view any file that is listed in the
  264.         main file window.  Simply highlight the file you wish to view
  265.         by using the cursor keys then press the F3 key.  The list program
  266.         will be invoked allowing you to view the contents of the file.
  267.  
  268.      Delete a file - F4      (AVAILABLE ON INITIAL SCREEN ONLY)
  269.         This option allows you to delete the file that is currently
  270.         highlighted in the file window.  Please note will be asked if
  271.         you want to delete the file. Respond Y if you wish to delete
  272.         the file, anything else will abort the delete.
  273.  
  274.      Display files statistics - F5 (AVAILABLE ON INITIAL SCREEN ONLY)
  275.         This option will display the highlighted file's Date, Time, and
  276.         Size.
  277.  
  278.      Sort the file list - F6       (AVAILABLE ON INITIAL SCREEN ONLY)
  279.         This option will sort the file list that appears on the left side
  280.         of the screen in ascending order.  Any directories that are found
  281.         will be sorted on top.
  282.  
  283.      Sort the Archive file list - F9
  284.         This option will allow you to sort the archive file list by Name,
  285.         Extension, or Date.  A small window will open up asking you how
  286.         you want the list sorted.  Enter a N, E, or D.
  287.  
  288.      Edit the selected file - F8
  289.         This option will extract the selected file onto either the
  290.         default disk or the work disk specified via the configuration
  291.         program.  It will then invoke the editor specified via the
  292.         configuration program passing the selected filename.ext to the
  293.         editor.  When you exit your editor SHARC will then MOVE the
  294.         extracted file back into the archive and delete the extracted copy.
  295.  
  296.      Specify an ARCHIVE file mask - Z
  297.         This option allows you to display only the files in the archive
  298.         that match the file mask.  The file mask uses the same wild card
  299.         conventions as DOS.
  300.  
  301.      Toggle overwrite mode - O
  302.         This option toggle overwrite mode on and off.  When overwrite mode
  303.         is in effect an 'O' will apppear in the upper right hand corner
  304.         of the screen.  When overwrite mode is in effect, and you extract
  305.         a file from an archive, it extract the file even if it already
  306.         exists on the traget disk:\path.
  307.  
  308.  
  309.  
  310.      Exit SHARC - ESC
  311.  
  312.                        ENVIRONMENT VARIABLES
  313.  
  314.     Sharc will recognize the following environment variables if they are
  315.     set:
  316.     BIOS    This will force SHARC to use BIOS for writting to the screen.
  317.     MONO    This will force SHARC to run in monochrome mode.
  318.     SHARCEX You can set this variable to the disk and path where you want
  319.             SHARC to write extrated file to.
  320.  
  321.     Examples:
  322.         SET BIOS=Y
  323.         SET MONO=Y
  324.         SET SHARCEX=D:\WORK
  325.             (This tells sharc to write extracted files onto the D disk in
  326.             the \work directory.  You can change this at any time after
  327.             executing sharc by using the ALT-P command.)
  328.  
  329.                        THE SHARCFG PROGRAM
  330.  
  331.     I have provided a program that will create a configuration file that is
  332.     used by SHARC.  The configuration program will allow you to modify
  333.     SHARC'S default color setting, tell SHARC the name of the archive
  334.     program you are using and the extract program you are using, customize
  335.     the number of file per archive file SHARC can handle, customize the
  336.     number of files per directory SHARC can handle, and specify a work disk
  337.     to use when viewing and executing file from an archive file.  This last
  338.     item needs a little further explanation.
  339.  
  340.     When you start up SHARC it records the current disk and directory.  When
  341.     you view or execute a file from an archive file SHARC temporarily
  342.     extract the file onto the current disk and directory.  This work fine as
  343.     long as the current disk is your hard disk.  However if your current
  344.     disk is a floppy and there is not enough room on the floppy to build the
  345.     extracted file than SHARC will not let you view or execute the file.  To
  346.     get around this use the configuration program and when the prompt:
  347.  
  348.     ENTER WORK DISK DRIVE LETTER TO USE WHEN VIEWING/RUNNING FILE->
  349.  
  350.     appears enter the disk drive letter of your hard disk or of your second
  351.     floppy disk drive.  SHARC will then use this disk to build the temporary
  352.     extract files and will delete them when you are finished viewing or
  353.     running the selected file from the archive.
  354.  
  355.     When running under EGA or VGA you can now tell SHARC to go into 43
  356.     line mode for EGA'S, and 43 or 50 line mode for VGA's.  This is done
  357.     via the configuration program.
  358.  
  359.                        COMPATIBILITY ISSUES
  360.     Sharc achives fast screen updates buy writing directly to video buffer
  361.     memory.  If your machine is not 100% compatible you can force SHARC to
  362.     use BIOS routines to update the screen.  This is accomplished by setting
  363.     an environment variable BIOS equal to Y.  I.E. SET BIOS=Y. Do this
  364.     before executing sharc.
  365.  
  366.     For monochrome monitors a similar method is employed set the environment
  367.     variable MONO equal to Y.  I.E.  SET MONO=Y.
  368.  
  369.  
  370.  
  371.     Please let me know how you like SHARC.
  372.  
  373.                          Jim Derr
  374.                          2425 Santa Cruz Ct.
  375.                          Santa Rosa, Ca. 95401
  376.                          CSERVE ID 76266,2634
  377.  
  378.  
  379.  
  380.      As usual any and all comments are welcome. If there are some features
  381.      that are missing, drop me a note and I'll try to accommodate you if I
  382.      think the feature is generally useful.                                                   
  383.  
  384.  
  385.                      WHERE TO FIND THE MOST CURRENT VERSION
  386.  
  387.      The following BBS's will have the most current version of SHARC:
  388.  
  389.      EXEC-PC  .....................  414-964-5160
  390.      MicroSellar  .................  201-239-1346
  391.      AV-SYNC  .....................  404-320-6202
  392.      Turbo Search  ................  617-545-9131
  393.      Vern Buerg's Bit Boutique  ...  707-778-8944
  394.      Sonoma BBS  ..................  707-792-0963
  395.      COM-ONE  .....................  415-284-9151
  396.  
  397.      In addition it can also be found on COMPUSERVE in the IBMSW forum.             
  398.  
  399.                                 Additional Stuff                                     
  400.  
  401.      I have spent many hours on this program trying to make it as easy to use
  402.      as possible and reasonably fast. I have also tried to be responsive to
  403.      user comments and requests.  Also note that the program is not crippled
  404.      in any way.  It is a fully functional program.
  405.  
  406.      Since this program has developed into a major undertaking all I ask is
  407.      if you use it regularly PLEASE SEND A CONTRIBUTION OF $7.00, and keep
  408.      shareware alive.
  409.  
  410.      Let your conscience be your guide.
  411.  
  412.             Jim Derr
  413.             2425 Santa Cruz Ct.
  414.             Santa Rosa, Ca. 95401
  415.  
  416.      Many thanks to the people that have given me feed back, comments, and
  417.      suggestions for improving SHARC, especially Bob Jacobson and Mark Rapp
  418.      of the Micro Sellers BBS.
  419.  
  420.