home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d9xx / d929 / megad.lha / MegaD / docsArc / Rambling_On.lha / Rambling_On next >
Text File  |  1993-07-10  |  17KB  |  327 lines

  1.  
  2.  
  3.            The Concept of MegaD and it's design.
  4.  
  5. MegaD started from wanting something to label disk with,
  6. something quick and easy, that I would not have to type a single
  7. line in if I did not want to.  I wanted it to have the ability
  8. to display as many volumes at one time as I wanted to,  thus the
  9. multiple window format.  At the time I was using DiskMaster(tm)
  10. as my directory utility.  I had one very large complaint.  My
  11. system only had two floppy drives, no hard drive and waiting for
  12. a directory to be loaded that had been loaded once before was a
  13. waist of my time. Thus, buffered or cache reads of the directory
  14. were a must in my program.  After the multiple, cache
  15. directories were working, I was saving my work to disk with
  16. DiskMaster(tm) and the thought hit me.  Why not just add a few
  17. directory utility type commands to this and I would solve my
  18. complaints of reading a disk directory more than once.  Almost a
  19. year latter MegaD still would not print labels but it was doing
  20. a nice job working with files.
  21.  
  22. Finally after a couple of years writing and learning. (Yes I'm
  23. just a novice programer.)  MegaD 1.00 was released, then MegaD
  24. 1.01.  MegaD 1.10 was then created from suggestions and comments
  25. from the registered users.  It had some more good ideas
  26. implemented such as a print spooler.  This version, MegaD 1.10,
  27. was never released to shareware.  Registered users received it
  28. but I did not feel like giving my work away anymore.  This
  29. version, MegaD 2.00, was release as Try-ware.  If it is
  30. unregistered it will not save or read it's internal preferences.
  31. I received many complaints about the crippling of MegaD 2.0 and
  32. with 3.0 I decided that this would be toned down to limiting the
  33. user a buffer limit of five volumes.
  34.  
  35. MegaD 2.00 was a complete rewrite of the original program.  I
  36. learned though the years, as we all do, and when I went back
  37. into the code of MegaD to make it Workbench 2.0 compatible I
  38. found that for it to do what I wanted it to do in the future it
  39. would require major code changes. This recoding took more than a
  40. full year.  The added feature to MegaD 3.0 are Gadget Sets, full
  41. ARexx support, Hot Keys and extensive use of the AmigaGuide
  42. library.
  43.  
  44. Due to it's history, MegaD is very unique in it's design and
  45. structure.  It does not go along with the general rules of other
  46. directory utilities.  The very first and most obvious is the
  47. multiple window format. One of the advantages of this is MegaD
  48. will coexist easily on the Workbench.  It allows windows to be
  49. place or moved out of the way to reach icons.  Under 2.0 this
  50. makes the main control window usable as an Application Window.
  51. It gives you the ability to work in more than two directories.
  52. With this multiple window concept, the limit of just deleting
  53. files from one directory was removed.  This is a word of
  54. warning. MEGAD WILL DELETE ALL MARKED FILES IN ALL OPEN WINDOWS!
  55. It will warn you if doing so unless you tell it not to with the
  56. 'Warn before delete' flag found in the Set defaults.
  57. There are some disadvantages to this.  Multiple windows tend to
  58. become very confusing if your not use to them.  Thus the two
  59. window mode was added.  This tends to work like the average
  60. directory utility.  Two windows, left and right, Device gadgets
  61. up the center and command gadget across the bottom.  Even in
  62. this mode extra windows can be forced out by use of the 'Lock'
  63. gadget at the top.  If both window are locked and a new
  64. directory is requested, a free floating window will be opened to
  65. give it a home.
  66.  
  67. The below answers to the questions, assume some familiarity with
  68. the program, MegaD.  If you are new to MegaD, I suggest that you
  69. read the MegaD.Tutorial for step by step instructions.  There is
  70. also the MegaD.Doc file that explains each function without the
  71. step by step approach that tutorial file provides.
  72.  
  73. NOTE:  Most of the below questions were asked by users or beta
  74. testers.
  75.  
  76. Why can't I copy within the same volume?
  77. MegaD comes default with a menu set in the Windows menu 'Use
  78.      limits'.  The limits are found just above this item in the
  79.      same menu.  They default to 2 volumes per screen and one 1
  80.      window per volume.  This tells MegaD that you can only have
  81.      1 window open for the volume, this makes it difficult to
  82.      work within the volume in more than one directory.  There
  83.      are a number of ways to change this or override the 'Use
  84.      limits'.
  85.  
  86.      'Lock' override. (my favorite)     Move within the volume
  87.           until one of the directories you want to work from is
  88.           being displayed in the directory window.  Select the
  89.           'Lock' gadget of that window.  On the first request
  90.           for a new directory list, a new window will open to
  91.           work within.  Continue moving within the volume to
  92.           reach the second directory you wish to work in.
  93.           Should you need more that just two windows you may
  94.           continue repeating the steps 'Lock'ing windows you
  95.           want to keep on the screen as you go.
  96.  
  97.      User 'Dest'ination override.  This requires that at least
  98.           two Directory Windows are open to the screen.  First
  99.           move to one of the directories you want to work from.
  100.           Then select the 'Dest'ination gadget of the other
  101.           volume window that you do not need on the screen.  Now
  102.           within the directory window you want to work out of
  103.           select a sub-directory or parent directory of the
  104.           volume.  The user defined 'Dest'ination gadget will
  105.           force the directory to be loaded into the other
  106.           window.  Now you may move within the other window to
  107.           locate the directory you want to work in.  Remember
  108.           that the window is a destination window and you may
  109.           need to change the destination gadget to do what you
  110.           want once both directory window are on the screen that
  111.           you want to work from.
  112.  
  113.      Change limits or uncheck the 'Use limits' menu.   The
  114.           varieties are endless here and make it difficult to
  115.           describe all the ways that you may move to your needed
  116.           window.  Sometimes it will be a simple move to a
  117.           directory to get the windows you want, some times you
  118.           may need to move though 20 directories to get to where
  119.           you want.  
  120.  
  121.      Two simple rules to follow for all of the above. 
  122.  
  123.      One, once you've found a directory you want to work out of,
  124.           'Lock' it.  This way you may continue looking though
  125.           directories and MegaD will not close that window.
  126.  
  127.      Two, Should you come across the directory that you want to
  128.           be the destination directory of the task you going to
  129.           perform, select both the 'Dest'ination and the 'Lock'
  130.           gadget of that window (follow rule One.)  This forces
  131.           destination, yet prevents MegaD from trying to place
  132.           any other directory list in that window.
  133.  
  134.  
  135.      Can MegaD replace the Workbench?
  136.           There are some specialty that Workbench handles and
  137.           MegaD does not such as changing or reading .info
  138.           files.   You can execute almost any .info file that is
  139.           a TOOL (Executable) or a PROJECT (Data) .info file.
  140.           By double clicking any of these .info file (Activate
  141.           Auto Boot must be checked in you Option Menu.)  You
  142.           will be given the option to Auto Boot that file. This
  143.           works much the same way as actually double clicking
  144.           the Icon of the file if you were working from the
  145.           Workbench.  Should you double click a directory .info
  146.           file then MegaD will load that directory as if you
  147.           double clicked the directory entry itself.
  148.  
  149. How can I keep the .info files with my copied files?
  150.      The Keep .info with file option in the Option menu does
  151.      what it says.  If this option is checked you will be
  152.      telling MegaD to do just that.  If you are using the Hide
  153.      .info option and the info files are omitted from the list,
  154.      the .info files will still be worked on. When commands are
  155.      called to work on the actual file such as Copy, Move,
  156.      Delete, Rename.  If you call Copy on a selected file and
  157.      the file has a hidden .info file. It will be copied along
  158.      with the file.  If you delete a file. Its corresponding
  159.      file will be deleted.  If the Hide .info option is not in
  160.      use you will be able to override this option by deselecting
  161.      the .info file once it is automatically selected.
  162.      NOTE: the Keep extension option only select and unselects
  163.      the extension files.  If they are hidden in the list they
  164.      will not be worked on like the .info files are.
  165.  
  166. Can MegaD replace the CLI or SHELL?
  167.      Not as well as it replaces the Workbench, but you can
  168.      execute CLI type programs from within MegaD by a simple
  169.      double click.  In fact any executable file can be started
  170.      by a double click.  What happens, is a window will open
  171.      with a string gadget to enter what you would like to attach
  172.      to the line that will execute the double clicked file.  (Do
  173.      not use the Multitasking Workbench (No IO!) option if doing
  174.      this!)  An example of this would be to go to your C:
  175.      directory.  Double click the date program.  A Program
  176.      Control window will open.  Set the execute type to
  177.      Multitasking Execute W/Hold.  If your not using Workbench
  178.      2.0 you will have to set the Workbench screen to front at
  179.      start and the MegaD screen to front at end checks.  Hit the
  180.      Use gadget.  A CON: window will open for the command to run
  181.      in.  The date will be displayed and being you used the Hold
  182.      option the window will wait for a return.  Hit return and
  183.      the CON: window will close.
  184.  
  185.      Should the C command needs some type of argument it can be
  186.      added in the Flags to add after Program Name.  To create an
  187.      example of this double click the Avail program in your C:
  188.      directory.  The Program Control requester will open.  Once
  189.      again set the execute type to Multitasking Execute W/Hold.
  190.      This time in the Flags to add after Program Name string
  191.      gadget type FAST.  Hit the Use gadget.  A CON: window will
  192.      open and should everything go right you will see a number
  193.      printed on the first line.  Press return to close this
  194.      window.
  195.  
  196.      This set of events can be use on any executable file that
  197.      is used on a command line.  It is actually easier to do
  198.      this type of work from a CLI or SHELL but It can be done
  199.      within MegaD.
  200.  
  201. How do I add flags before or after the command line?
  202.      MegaD Program Controls can call programs that need Flags
  203.      before the data file name or after the data file name or
  204.      both.  This means you may do some pretty handy things from
  205.      a double clicked AutoBoot, User Gadget, or Menu Set.  You
  206.      can train it to archives, compile programs,  and other task
  207.      by a quick call.  One of the best uses I have found for it
  208.      is Unpacking .lzh files.  LhArc, LHA, and LZ are a few
  209.      archivers that allow you to define the destination
  210.      directory for the unpacked files.  This is a quick session
  211.      of setting an Auto Boot Definition to do this.
  212.  
  213.      1.   Select a few .lzh files in a directory window. 
  214.      2.   Select LhArc from the directory that you keep it.
  215.      3.   Select Add To Auto Boot in the Project menu.
  216.      4.   Once the request window opens for you to enter the
  217.      information required for the Auto Boot Definition enter e
  218.      in the Flags to add after program Name string gadget then
  219.      enter RAM: in the Text to append to end of Command Line
  220.      string gadget.  Set the Execute Type gadget to
  221.      Multitasking Execute and select Use. You can now double
  222.      click any .lzh file and it will be unpacked to the RAM:
  223.      disk.
  224.  
  225. How does MegaD handle multiple AutoBoots that recognize the same
  226.      data files?
  227.      A good example of this would be your wide variety of
  228.      graphic file handlers.  Such as Mostra (graphic viewer) and
  229.      DPaint (paint program).  If AutoBoots are set for both of
  230.      these programs that recognize the same type of data file
  231.      and  you double click this type of data file.  A requestor
  232.      will open with Mostra and DPaint in different gadgets.  You
  233.      will be able to select the program you want to manipulate
  234.      this double clicked file for this time.  
  235.  
  236. How can I get MegaD to load certain directories at startup?
  237.      MegaD has an option that will force the load of any
  238.      directories that you want, up to nine of them.  It is done
  239.      by the adding an -L behind the string entered into the
  240.      device definition gadgets in the Set Defaults window.  If
  241.      you have drive df0: and drive df1: simply add -L to the end
  242.      of the string i.e. DF1: = DF1:-L, and it will load those
  243.      volumes at startup.  You may also want to have a defined
  244.      destination directory or Lock the loaded directory to the
  245.      screen once it is loaded.  To do this add 'D' for 'Dest'
  246.      and/or another L for 'Lock' to the flags.  So DF1:-L would
  247.      now be DF1:-LD for Load and 'Dest' or DF1:-LLD for Load,
  248.      'Lock' and 'Dest'.
  249.  
  250. How can I get MegaD to display the total bytes for all selected
  251.      files not just Source files?
  252.  
  253.      By selecting the area of the main window MegaD will ether
  254.      display all files and bytes selected or it will display
  255.      source files and bytes that will be copied to the active
  256.      directory.  If you are using the Two Window mode you can
  257.      access this information from the Byte gadget.
  258.  
  259. How can I define where the request windows are opened on MegaD?
  260.      In conjunction with the Save window positions flag in the
  261.      Preferences, Set Defaults window, all windows except the
  262.      directory windows and text windows remember where they were
  263.      once they are closed.  If you dislike any of the location
  264.      where the windows opens, simply move them where you would
  265.      like them and then close them.  After doing this with all
  266.      request window during a session remember to Save
  267.      Preferences.  This will keep track of the location within
  268.      the preference file MegaD2.pf.
  269.  
  270. Why can't I quit MegaD sometimes?
  271.      You have started other programs with MegaD and they are
  272.      still running.  What happens as MegaD start another
  273.      program, it allocate memory from the system to keep track
  274.      of it.  Much like Workbench does.  Should MegaD quit at
  275.      this time you will lose valuable memory from your system.
  276.      Including the memory that the called program is using.  If
  277.      you need the memory that MegaD is using at the time your
  278.      best bet is to Use the 'Free Volumes' Gadget.  This will
  279.      return memory in use for loaded Volumes.  Then select the
  280.      Iconify function.  This will close all MegaD windows and
  281.      the MegaD screen if it has one.  This may give you back
  282.      enough memory to do what you wanted to quit MegaD for.
  283.      Otherwise you will have to quit all called program by MegaD
  284.      and then Quit MegaD.
  285.  
  286.      The print spooler will warn you that you may cancel the
  287.      current print job and if you answer yes the print will be
  288.      canceled and MegaD will close down.
  289.  
  290. How can I get MegaD to come up Iconified?
  291.      This is done by checking the flag Iconify at start in the
  292.      Preferences, Set defaults window.  Now when you start MegaD
  293.      it will be in Iconify mode.  This is very useful when MegaD
  294.      is added via the User-Startup file. If User-Startup is used
  295.      start MegaD with this line.
  296.           run >nil: <nil: MegaD >nil: <nil:
  297.      Or you may place MegaD in the WBStartup drawer.  If you
  298.      place MegaD in the WBStartup drawer you need to set the
  299.      DONOTWAIT tool type in the MegaD.info file.
  300.      Under Workbench 2.0 the icon for the iconified MegaD is an
  301.      Application Icon.  This means that you may drag any
  302.      Workbench Icon over the top of the MegaD Iconified Icon and
  303.      drop it.  If it was a drawer icon it will load that
  304.      directory into a directory window.  If it was a text file
  305.      it will load it into a text window.  If it was a program
  306.      that you have trained MegaD to handle as an AutoBoot it
  307.      will call the AutoBoot for that program.  This makes for
  308.      quick easy calls during the Iconified mode.
  309.  
  310. Can I tell MegaD to place its settings files in directories
  311.      other than in its current directory?
  312.      Yes.  This is done though the MegaD.info file.  By using
  313.      the Workbench Information function you can set create a
  314.      tool type of
  315.           SETTINGS=<My_Data_Directory>
  316.      <My_Data_Directory> can be any directory you want to have
  317.      MegaD place the MegaD2.pf file and the MegaD.dic (if you
  318.      are using one.)  A good example of this would be to set the
  319.      tool type to        SETTINGS=S: This tells MegaD to use
  320.      your system startup sequence drawer for any files it would
  321.      create or use.  At this writing there are only two.
  322.      MegaD2.pf and MDMaster.dic that MegaD creates.  There are
  323.      only Two files that it reads. MegaD2.pf and the dictionary
  324.      file that is set at default to MegaD.dic but may be changed
  325.      to any name you wish from set defaults.
  326.  
  327.