home *** CD-ROM | disk | FTP | other *** search
/ Merciful 1 / Merciful - Disc 1.iso / software / a / archivers_collection / archiverscollection.lha / GuiArc / GuiArc.doc.eng < prev    next >
Encoding:
Text File  |  1993-05-29  |  23.3 KB  |  529 lines

  1.           93/5/29       GuiArc 1.15 Users's Reference Manual.        Page 1
  2.  
  3.  
  4.  
  5.           
  6.  
  7.  
  8.                                       GuiArc V1.15
  9.           
  10.                          Graphical User Interface for Achivers.
  11.  
  12.  
  13.  
  14.           1. Copy-rights.
  15.            
  16.           This program is spread as  FreeWare.  It  means  you  may  freely
  17.           distribute and copy this program, as  long  as  everything  stays
  18.           unchanged and all documentation and other files are  spread  with
  19.           it. 
  20.            
  21.           It also means, that this  program  is  Copy-righted  by  me,  the
  22.           author of this program.  You are not allowed to change  anything,
  23.           ask money for the program or use the program commericaly.  Nobody
  24.           but myself is allowed to make money with this program.  This also
  25.           implicates that  this  program  may  not  be  included  with  any
  26.           commercial product without  written  permission  of  the  author.
  27.           This programm may be included on  non-commercial  PD  disks  like
  28.           Fish Disks.
  29.  
  30.  
  31.           2. Distribution contents.
  32.            
  33.           The distribution should contain at least: 
  34.                   GuiArc
  35.                   GuiArc.info
  36.                   GuiArc.doc
  37.                   GuiArc.doc.info
  38.                   GuiArc.doc.eng
  39.                   GuiArc.doc.eng.info
  40.                   ArcTypes
  41.                   ArcTypes.info
  42.            
  43.           The file 'GuiArcConfig' may absolutely NOT  be  included  in  any
  44.           distribution. When this file is present, the requester  which  is
  45.           shown at the start of the programm, will be disabled, and I think
  46.           every body should see this requester at least one time :-).
  47.  
  48.  
  49.           3. What's the program for.
  50.            
  51.           This program is written, to give you a user friendly and easy  to
  52.           use method of dealing with archivers. The main archiver  where  I
  53.           wrote this program for, is 'Lha'  from  Stefan  Boberg,  but  the
  54.           program is fully configurable  to  use  an  unlimited  number  of
  55.           different archivers at once.
  56.  
  57.           The program recocnizes different types  of  archives  automaticly
  58.           from  their  file  pattern.  When  you,  for  example,  select  5
  59.           archives, of different  types,  and  shoose  'extract'  from  the
  60.           gadgets menu, all archives will  get  unpacked,  with  their  own
  61.           archiver. The program automaticly selects the  correct  archiver.
  62.           This is also  done  with  all  other  actions,  like  adding  and
  63.           listing. When you create a  new  archive,  and  don't  explicitly
  64.           specify the type, the first defined type (default 'lha') will  be
  65.           chosen.
  66.  
  67.           93/5/29       GuiArc 1.15 Users's Reference Manual.        Page 2
  68.  
  69.  
  70.  
  71.           4. How to use the program.
  72.            
  73.           You can start the program from CLI or WorkBench. After  that,  it
  74.           will open a window on the WB-screen, that looks like this:
  75.  
  76.           +--------------------+  +--------------------+
  77.           |                    |  |                    |
  78.           :         A          :  :         B          :
  79.           :                    :  :                    :
  80.           |                    |  |                    |
  81.           +--------------------+  +--------------------+
  82.           |         C          |  |         D          |
  83.           +--------------------+  +--------------------+
  84.            
  85.           +------------+ +-----+  +------------+ +-----+
  86.           |            | |     |  |            | |     |
  87.           |     E      | |  F  |  |      G     | |  H  |
  88.           +------------+ +-----+  +------------+ +-----+
  89.            
  90.            
  91.           The blocks A and B will contain  the  contents  of  the  selected
  92.           directory or archive for the left and right work area.  C  and  D
  93.           contains the path for A and B. They're editable. Blocks E  and  G
  94.           are short-cuts for the paths  C  and  D.  The  right-bottom  most
  95.           gadget of each block is  configurable.  And  at  last,  F  and  H
  96.           contain gadgets for all different actions you can perform on  the
  97.           archives.
  98.  
  99.  
  100.           5. Possible actions.
  101.            
  102.           In this chapter, I will discuss all actions you  can  perform  on
  103.           archives with this program. Therefore,  I  will  first  introduce
  104.           some terms.
  105.  
  106.           The source area is always the block (A or B) whose  contents  are
  107.                used to perform the actions on. If you selected an action in
  108.                F, block A is the source area, and the same with H and B. If
  109.                you selected the action by double  clicking,  the  area  you
  110.                first clicked in, is the source area. 
  111.            
  112.           The target area is the block where the results of the action  are
  113.                placed. This is always the other block. 
  114.            
  115.           The source archive is a selected archive in the source area. This
  116.                can be the source area itself (if you are 'in' a archive) or
  117.                one or more selected archives in the source area. 
  118.            
  119.           Source files are the selected files  and/or  directories  in  the
  120.                source area. This can be files/directories in a directory or
  121.                from the archive you're 'in'. This depends on the action you
  122.                want to perform. 
  123.            
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.           93/5/29       GuiArc 1.15 Users's Reference Manual.        Page 3
  134.  
  135.  
  136.           A target archive is the selected  archive  in  the  targed  area.
  137.                Again, this can be the target area itself (if you're 'in' an
  138.                archive) or exactly one selected archive in the target area.
  139.                If not, the program will ask for the name of a new file. 
  140.            
  141.           Some actions can be activated with an other method than  clicking
  142.           the gadget or  pressing  the  underlined  letter.  This  will  be
  143.           mentioned at the action. An action is always performed  from  the
  144.           source area, to the destenation area, or, is case no result  will
  145.           show up, in the  source  area.  This  actions  are  possible  (if
  146.           supported by the archiver, Lha supports them all...)
  147.  
  148.           Add  
  149.                With add, you can add files to an archive  (surprise!).  The
  150.                source files are added to the destenation archive,  wich  is
  151.                created, if nessesary. When a new archive  is  created,  the
  152.                default type is the one of the first defined  archive  type.
  153.                Ofcourse you can  force  the  program  to  use  a  different
  154.                archiver, by adding the right file-extension (or so) to  the
  155.                name.  For  example,  if  you  type  'test',   the   archive
  156.                'test.lha' will be created with 'Lha'  (supposing  'lha'  is
  157.                the first defined type) but,  if  you  type  'test.zoo'  the
  158.                archive 'test.zoo' will be created, with the archiver 'Zoo'.
  159.                This way, you can select all different archivers. 
  160.                You can also start adding files to  an  archive,  by,  after
  161.                selecting the last file to add, clicking in the  destenation
  162.                archive within the time of a double-click. You must be  'in'
  163.                the destenation archive in the destenation area. 
  164.            
  165.           Move  
  166.                Similair to add, but all added files will  be  deleted  from
  167.                the source. This action can not be  activated  in  an  other
  168.                way. 
  169.            
  170.           Ext/Cp  
  171.                Ext means Extract. All selected  source  archives,  will  be
  172.                unpacked and the result will be in the destenation area.  If
  173.                you are 'in' a source archive, only  those  files  wich  are
  174.                selected, will be unpacked. 
  175.                Cp means Copy. This will copy all (non-archive) files and/or
  176.                directorys to the destenation area. The  programm  uses  the
  177.                cli 'Copy' instruction for  this  action,  so  this  command
  178.                should be  available  in  your  path  (normally  in  the  C:
  179.                directory). 
  180.                You can also activate extract by,  after  you  selected  the
  181.                last  source  archive  (source  file  within  an   archive),
  182.                clicking in the  destenation  area  within  the  time  of  a
  183.                double-click. 
  184.            
  185.           View  
  186.                View lets the archiver show you the contents of the  archive
  187.                in an  output  window.   This  action  acts  on  the  source
  188.                archives.  If you select non-archive files and then activate
  189.                'View' (or double-click on  non-archive  files),  the  files
  190.                will be showd, using  the  'File  viewer'  selected  in  the
  191.                Configuration menu (default:  "Sys:Utilities/More"). 
  192.                List can also be activated  by  double  clicking  within  an
  193.                archive or on a non-archive file. 
  194.            
  195.           Test  
  196.                Test acts as if the archive will be extracted, but will  not
  197.                extract. Just to test. All source archives will  be  tested.
  198.                No other activation method is possible. 
  199.           93/5/29       GuiArc 1.15 Users's Reference Manual.        Page 4
  200.  
  201.  
  202.            
  203.           Delete  
  204.                Delete will delete  files.  This  can  be  files  within  an
  205.                archive, or plain files or directories. When you are 'in' an
  206.                archive, all selected source files will be deleted from  the
  207.                archive. When you are in a directory, all selected files and
  208.                directories will be deleted from that directory. Deletion of
  209.                non-empty directories is not possible. 
  210.                Before the programm deletes files or  directories,  it  asks
  211.                your to confirm this deletion, to avoid  unwanted  deletions
  212.                of files. This option can be disabled in  the  configuration
  213.                menu. 
  214.            
  215.  
  216.           6. The menu's.
  217.            
  218.           The program has only three menu-items. 'Quit' is easy.  It  quits
  219.           the program (same as the close gadget).  'About'  will  give  you
  220.           some 'on-line' information about the program.
  221.  
  222.           And finaly, 'Configure' lets you adjust  some  things  about  the
  223.           program. You can ajust: 
  224.              - The path-short-cut gadgets  at  the  bottom  right  of  both
  225.                blocks, can be adjusted. You can type in your own  name  and
  226.                path. 
  227.              - When the program  starts,  both  areas  can  be  automaticly
  228.                filled with the contents of an archive or directory. You can
  229.                give in these default paths/archives here.  When  you  leave
  230.                this empty, nothing is read. 
  231.              - The viewer  used  for  viewing  non-archive  files,  can  be
  232.                entered in the 'File viewer' gadget. Please,  use  the  full
  233.                path and name of the viewer. 
  234.              - The next to gadgets let you disable the confirmation  before
  235.                deletion of files from archives or of files and  directories
  236.                from directories. 
  237.              - The gadget 'Archive flags' will bring you to a window  where
  238.                you can (de)select eleven options for the  archivers.  These
  239.                options are specific for Lha, but some other archivers  also
  240.                support them. 
  241.                When you  select  'OK',  the  flags  are  active.  Selecting
  242.                'Cancel' in the configuration windown, will not  cancel  the
  243.                flag settings. 
  244.              - With the gadget 'Save' you can save the settings to the file
  245.                'GuiArcConfigure', wich is located in the same directory  as
  246.                the program. 
  247.            
  248.  
  249.           7. Different types of archive(r)s.
  250.            
  251.           As mentioned before, the  program  is  able  to  deal  with  many
  252.           different  file  archivers.  You  can  configure   the   diffente
  253.           archivers, by editing (or creating) the file 'ArcTypes', which is
  254.           placed  in  the  same  directory  as  the  program  itself.   The
  255.           distribution of the program, contains  an  'ArcTypes'  file  with
  256.           definitions for: Lha 1.42, Zoo 2.1 Beta, Ape 1.35 and  Arc  0.23.
  257.           Unfortunately, Zoo is verry bad programmed. So bad, it ain't even
  258.           possible to redirect it's output to an anther file, and thus  you
  259.           can't enter the archive by doubble clicking it.  With  all  other
  260.           archivers, this is possible, and I think, this is the strength of
  261.           GuiArc! 
  262.           I think the settings will do for new versions of these archivers,
  263.           however, you can change them yourself easily. The description  of
  264.           the 'lha'  type  below,  is  integrated  in  the  program.  These
  265.           93/5/29       GuiArc 1.15 Users's Reference Manual.        Page 5
  266.  
  267.  
  268.           settings are used when the file 'ArcTypes' can't be found.
  269.           The  format  of  the  'ArcTypes''s  archiver's  descriptions   is
  270.  
  271.           described below.
  272.  
  273.           Each entry MUST exist of ALL of the fields described  below,  and
  274.           in THAT order.  Lines  starting  with  a  semi-collon  (';')  are
  275.           considered comments, and  are  ignored.  Inline  comments  aren't
  276.           possible. Empty lines are ignored. Before each new type-name, you
  277.           must place a '@'.  This  is  character  is  used  to  synchronise
  278.           everything. In this way, it's easier  to  locate  errors  in  the
  279.           configuration file. 
  280.           The %s in the command line, will be substituted with the  choosen
  281.           options in GuiArc, preceded by a '-'. Note that not all archivers
  282.           support these options. The flags are given as  'lha'  flags.  (So
  283.           generally this options are only use-full with 'Lha'...)
  284.  
  285.           Example configuration for Lha:
  286.           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  287.           @LHA                    '@' + Name, max. 5 characters
  288.           #?.(lha|lzh)            Recognision file pattern.
  289.           lha %s x                Command to unpack the archive
  290.           lha -2Y %s u                ,,  to add files
  291.           lha -2Y %s m                ,,  to move files into the archive
  292.           lha v                       ,,  to list the archive
  293.           lha t                       ,,  to test the archive
  294.           lha d                       ,,  to delete files from the archive
  295.           lha v                       ,,  to list files for 'entering'
  296.           -1                      Lines to skip at the top of the listing.
  297.           -1                      Lines at the bottom of the listing
  298.           44                      Start position of names on the line
  299.           0                       End position of names on the line
  300.            
  301.            
  302.           Whenever a command is not available, place a '-' on the line  (no
  303.           spaces before or after the '-'!)  If  you  want  to  be  able  to
  304.           'enter' an archive, the last command and the 4  offsets  must  be
  305.           available. The program uses these to filter the file names out of
  306.           the archive list. Lines starting with a  ':'  are  ignored.  Most
  307.           archivers (at least, lha) use this to indicate a file-comment.
  308.  
  309.           If you use a negative number as top or bottom skip,  the  program
  310.           skips all lines before/after a line wich starts with a '-'  or  a
  311.           '='. This is very usefull for archivers who use lines of  '-'  or
  312.           '=' to indicate the start of the file list.  You  don't  have  to
  313.           count lines, and the program will be able to deal with a variable
  314.           number of lines before/after the file list  (for  example,  error
  315.           texts or something like that).
  316.  
  317.           When you enter a 0 for the end position of the file name  on  the
  318.           line, the program assumes the name of the file ends at the end of
  319.           the line. Always use this, if the file name is placed at the  end
  320.           of the line in the file list.
  321.  
  322.           Note that when files can't be entered due to the specification of
  323.           the archiver (yet only  Zoo  is  strugling,  but  that's  nog  my
  324.           fault...) you're  still  able  to  perform  all  actions  on  the
  325.           archive, except deleting files from the archive.
  326.  
  327.  
  328.  
  329.  
  330.  
  331.           93/5/29       GuiArc 1.15 Users's Reference Manual.        Page 6
  332.  
  333.  
  334.           8. General information and something about the PATH.
  335.            
  336.           To create some work-space on the workbench screen, without having
  337.           to quit the program, I've made it possible to  iconify  it.  When
  338.           you press the 'Help'-key or the 'I'-key, the program will  become
  339.           in-active,  closes  the  window  and  create  an  'icon'  on  the
  340.           work-bench. A double click on the icon  will  bring  the  program
  341.           back on the screen in it's original state. No buffers are cleared
  342.           on iconifying.
  343.  
  344.           It is very important, that the archivers you use, can be  reached
  345.           by the program.  Therefore,  be  sure  the  directory  where  the
  346.           archivers are placed is added in the PATH of the program. C: will
  347.           be a fine place to put the archivers. 
  348.           If, for one or another reason, it is  not  possible  to  add  the
  349.           right dir to the path, you can enter the  full  path  before  the
  350.           name of the archiver in the configuration file. However, this  is
  351.           not the best way to do this, since the available  space  for  the
  352.           commands in the configuration file is limmited to 30  characters.
  353.           If you use this method, don't use  relative  paths,  because  the
  354.           programm switches internally between directories.
  355.  
  356.            
  357.  
  358.           Some characters in the gadgets, are underlined. These can be used
  359.           as short-cut for that specific item. I've arranged them in such a
  360.           way, that you can use them best if you leave all your archives in
  361.           the left area, and every thing else in the right area.
  362.  
  363.           And last, but not least: In case you  haven't  discovered  it  by
  364.           now, by double  clicking  on  an  archive,  you  can  enter  that
  365.           archive, as if it was a directory! (That is, if it  can  be  done
  366.           with the archiver you use.)
  367.  
  368.           I would like to thank: 
  369.              - Marcel  Duyn,  for  testing  the  program  and  reading  the
  370.                documentation and editing/correcting it. 
  371.              - Frank Sloep, for testing the program. 
  372.              - Jan van den Baard, for writing the program GadToolsBox. 
  373.              - Michiel Willems, for providing the nessecery  utilities  and
  374.                information trough  his  BBS  (Amiga  Bs  Online  Heemstede,
  375.                +31-23-282002), connecting me to  the  different  mail-areas
  376.                and discouraging me in this project :-(( 
  377.              - CSA, for manufacturing the Derringer! 
  378.              - The brewers of Arcener tarwe white beer, Duvel and Maredsous
  379.                and of course the Amstel beer brewer :-)) 
  380.              - And of course all coders of those great file archivers! 
  381.            
  382.            
  383.           Changes in version 1.01: 
  384.  
  385.              - Extended the line-buffer for 'entering' an archive from  100
  386.                to 256 characters. Pretty handy for looooong paths... 
  387.            
  388.            
  389.           Changes in version 1.10: 
  390.  
  391.              - The 'Delete' function know also works  on  plain  files  and
  392.                directories. 
  393.              - With the 'Ext/Cp' funtion, it now is posible to  copy  files
  394.                and directories. 
  395.              - With the 'View' option, you now can vies archives and  files
  396.                (for example those 'ReadMe' files). 
  397.           93/5/29       GuiArc 1.15 Users's Reference Manual.        Page 7
  398.  
  399.  
  400.                (Remark: Despite the above options, this program is and  has
  401.                been an util to handle archivers. Therefore, the  posibility
  402.                to handle plain files, will be restricted.) 
  403.              - It has made easier to select multiple files and directories,
  404.                by holding down the left mouse button during selection,  and
  405.                moving the mouse up and/or down. 
  406.              - When changing the active path in a  scroller,  or  rereading
  407.                the scroller after some actions, the current position of the
  408.                scroller, will be kept as much  as  possible.  (An  idea  of
  409.                Marcel Duyn.) 
  410.              - If you enter an empty path for a scroller (or click  on  the
  411.                'Drives' gadget), a list of available  volumes  and  assigns
  412.                will be shown. (An idea of Michiel Willems.) 
  413.              - Optimized the internal structure of the  program.  This  has
  414.                made  the   program   relative   smaller   and   easier   to
  415.                exetend/adjust. 
  416.            
  417.            
  418.           Changes in version 1.15: 
  419.  
  420.              - Made scrollerbars 8 pixels smaller and added the room to the
  421.                list-view, so one more character can be displayed :-)) Gives
  422.                a nicer look. 
  423.              - Fixed the ugly look when you  used  a  "default  screentext"
  424.                other than 8 pts. topaz. 
  425.              - Fixed the 'text-mixing' if  you  chainged  the  configurable
  426.                gadgets when you worked on a screen smaller than 256  pixels
  427.                high. 
  428.              - Fixed  the  placing  of   the   string-requester   and   the
  429.                output-window, when you work on BIG WorkBenches. 
  430.              - Changed the system-requester style  about  requester,  to  a
  431.                custom-made one with a kind of a logo. This one will  pop-up
  432.                every time the programm is executed. You can  disable  this,
  433.                by selecting 'Configure' in the menu  and  then  select  the
  434.                'Save' gadget. 
  435.              - Improved the control possibilities on the external commands,
  436.                using the new dos System  function,  in  stead  of  the  old
  437.                Execute function. 
  438.            
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.           93/5/29       GuiArc 1.15 Users's Reference Manual.        Page 8
  464.  
  465.  
  466.  
  467.           9. And finaly.
  468.            
  469.           I made this program as part of my hobby. That's why its FreeWare,
  470.           and why I absolutely do not ask you for any share in  the  costs.
  471.           But I would like to know if you like this program, and  how  many
  472.           people like it. So, if you like it, please let me know by sending
  473.           me a post-card or net-mail or something like that.   Ofcourse  in
  474.           case you like the program so  very  much,  and  want  to  make  a
  475.           donation, you're welcome!  :-)) And I  do  appreciate  eventually
  476.           bug reports.
  477.  
  478.           You can reach me at the address below (  although  I'm  doing  my
  479.           military duty for the rest of this year (1993) so  I'm  only  the
  480.           weekends at home... :-((( )
  481.  
  482.            
  483.  
  484.           Fido: 2:280/464.2 or Amy: 39:151/1.2 or
  485.            
  486.           Patrick van Beem
  487.           Parlevinker 5
  488.           2152 LC  Nieuw-Vennep
  489.           The Netherlands
  490.            
  491.            
  492.           © Februari, April, May 1993 by,
  493.             _             _
  494.            /_)           /_)
  495.           /  atrick van /_)eem
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.