home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d09xx / d0929.lha / MegaD / docsArc / Tutorial.lha / MegaD.Tutorial next >
Text File  |  1993-09-04  |  405KB  |  9,769 lines

  1. zq(Bpwv"z
  2.  
  3.  
  4.                                                          Introduction 1
  5.  
  6.  
  7.             MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8.                                All Rights Reserved
  9.  
  10.           Special thanks goes to:
  11.  
  12.  
  13.           Ron Sudweeks
  14.  
  15.           Who spent much time going over this tutorial.  And then
  16.           spending more time with me, helping me to correct the many
  17.           errors he had  found.  Ron also deserves credit for many
  18.           suggesting that lead to many improvements to the program
  19.           itself.
  20.  
  21.  
  22.           Roger Nedel
  23.  
  24.           Who had all the qualities needed to test this tutorial.  He
  25.           was totally new to MegaD and he had an Amiga Computer.
  26.           Little did I know how great the bargain was that I had
  27.           gotten.  A few days later I received a 27 page document that
  28.           included many needed corrections, suggestions and additions.
  29.           Along with this information he included journal entries that
  30.           helped me to see where the tutorial had failed in teaching
  31.           the functions of MegaD to a new user.
  32.  
  33.  
  34.           I claim all responsibility for any errors left within this
  35.           document. The above mentioned people deserve credit for the
  36.           many refinements they made upon this document.
  37.  
  38.           John L. Jones
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                                          Introduction 2
  71.  
  72.  
  73.                                 v"zTable Of Contentsv"z
  74.  
  75.           Introduction.................................3
  76.           Getting Started..............................6
  77.           Simple Commands And MegaD....................26
  78.           Source and Destination Commands..............51
  79.           AutoBoots....................................72
  80.           Program Control Window.......................75
  81.           Back To Adding Auto Boots....................82
  82.           User Gadgets.................................90
  83.           ARexx Gadgets................................95
  84.           Menu Sets....................................98
  85.           Gadget Sets..................................103
  86.           Export File..................................113
  87.           MegaD Preferences............................116
  88.           MegaD preferences, Colors....................117
  89.           MegaD Preferences, Defaults..................118
  90.           MegaD Preferences, Display...................123
  91.           MegaD Preferences, Menus & Devices...........127
  92.           MegaD preferences, Miscellaneous.............128
  93.           MegaD Preferences, Set Print.................130
  94.           MegaD Preferences, Set Screen................131
  95.           MegaD Menus..................................132
  96.           MegaD Icon Tool Types........................139
  97.           Now What?....................................140
  98.           Index........................................141
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                                          Introduction 3
  137.  
  138.  
  139.                                   v"zIntroductionv"z
  140.  
  141.           MegaD, is without question, a unique directory utility.  It
  142.           does not play by the old rules set by the gambit of
  143.           directory utilities.
  144.  
  145.           The standard directory utility allows only one source
  146.           directory and one destination directory and usually places
  147.           the two available directories in list side by side.  MegaD
  148.           can emulate this type of mode if you need it but this
  149.           limited mode of left and right Directory Windows restricts
  150.           many of the unique features of MegaD.  Features such as the
  151.           ability to copy files from more than one source directory,
  152.           The ability to copy source files to multiple destinations.
  153.           The ability to copy from multiple source to multiple
  154.           destinations.  The same flexibility is given to all the
  155.           commands within MegaD, commands such as Copy As, Duplicate,
  156.           Move, Move as, Rename, Delete, Comments, Set Protect....
  157.  
  158.           This idea of not being restricted to just one or two windows
  159.           is used throughout MegaD.  You are allowed multiple text
  160.           windows open at one time.  The only thing that will limit
  161.           you with MegaD is your available system memory.
  162.  
  163.           Due to the uniqueness of MegaD it was decided that to give
  164.           you, the user, a better understanding of it features, a
  165.           tutorial would be beneficial.  Thus this text was written.
  166.           You may want to jump right into MegaD after looking over the
  167.           MegaD.Doc file, or you may want to take the step by step
  168.           approach that this file offers.
  169.  
  170.           I will show how to use the built in functions of MegaD, how
  171.           to add new function to MegaD, and how to teach and train
  172.           MegaD to do new tricks, MegaD can be trained to use any
  173.           external program.  I will be starting from the very basic
  174.           commands that require only one file to be selected.  I will
  175.           move on from there to show you how functions such as copy
  176.           and move work that requires both a source and a destination
  177.           directory.  With copy and move we will also show you how to
  178.           copy from one or more source directories to a multiple of
  179.           destination directories.  You will be shown how to filter
  180.           the information in the Directory Window so that you will be
  181.           able to reduce large directory listings to a manageable size
  182.           by using different file attributes.  We will then move on to
  183.           showing you how to train MegaD to launch your favorite
  184.           utilities
  185.  
  186.           During this tutorial I am going to assume that you are using
  187.           MegaD in the same state that it was in the first time you
  188.           ran it.  In other words it will be using its own built in
  189.           defaults.  There are so many ways that MegaD can be
  190.  
  191.  
  192.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.                                                          Introduction 4
  203.  
  204.  
  205.           configured, that it would be confusing to describe it all
  206.           within this text.
  207.  
  208.           I learned how to use MegaD as I wrote it.  In its current
  209.           state I have found it to be so versatile that there is
  210.           little that it will not do.  I hope that with a little
  211.           ground work, you will be able to maneuver and perform any
  212.           function that you wish.  I will only attempt to give you the
  213.           very basics.  With this and a little imagination you should
  214.           be able do more with it each time you run MegaD.  MegaD is
  215.           one of those programs that is made for the user to mold to
  216.           his likes.
  217.  
  218.           This is brief outline of how this tutorial is laid out.
  219.  
  220.           v"zMegaD Windowsv"z
  221.                     This section is about the different windows used
  222.                     within MegaD.  This section is not really a
  223.                     tutorial but a necessary discussion of how the
  224.                     windows used within MegaD work and the main
  225.                     functions of those windows.
  226.  
  227.           v"zSimple Commands And MegaDv"z
  228.                     We will start with the simple commands that
  229.                     require one open Directory Window to perform a
  230.                     task.
  231.  
  232.           v"zSource and Destination Commandsv"z
  233.                     We will move on to commands that require more than
  234.                     one Directory Window opens to the screen at one
  235.                     time.  Commands such as 'Copy' and 'Move' require
  236.                     source and destination directories.
  237.  
  238.           v"zFilters and Pattern Matchingv"z
  239.                     This section describes the unique and powerful
  240.                     'Filters', 'Sel/Clr Pattern' (Select/Clear
  241.                     Patterns) and 'Find' functions of MegaD.  All
  242.                     three use a powerful requestor that allows you to
  243.                     use 1 to 5 filters at one time.
  244.  
  245.           v"zAutoBootsv"z
  246.                     This is the where you take MegaD to school and
  247.                     teach it new tricks.  You will be able to train
  248.                     MegaD to recognize any data file and match it to a
  249.                     program file that can handle the data file.
  250.  
  251.           v"zProgram Control Windowv"z
  252.                     This is a detour that we will have to take to
  253.                     understand how to create an 'AutoBoot'.  We will
  254.                     also use what we learn in this section with 'User
  255.                     Gadgets' and 'Menu Sets'.
  256.  
  257.  
  258.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.                                                          Introduction 5
  269.  
  270.  
  271.  
  272.           v"zBack To Adding AutoBootsv"z
  273.                     After the above described detour we will finish
  274.                     off the discussion of AutoBoots.
  275.  
  276.           v"zUser Gadgetsv"z
  277.                     We will learn how to add new commands to the
  278.                     existing commands found on the 'Keypad Command
  279.                     Gadgets' of the 'Control Window'.
  280.  
  281.           v"zMenu Setsv"z
  282.                     Here, we will add a new 'Menu Set' that we will be
  283.                     able to access within the MegaD 'Utility' menu.
  284.  
  285.           v"zExport Filev"z
  286.                     MegaD will create files suitable to create a
  287.                     database of programs and files.  This export file
  288.                     works with other existing database programs.
  289.  
  290.           v"zMegaD Preferencesv"z
  291.                     MegaD has many user definable preferences'
  292.                     settings.  The Preferences are broken into the
  293.                     following groups:
  294.                          Colors
  295.                          Defaults
  296.                          Display
  297.                          Keypads
  298.                          Menus & Devices
  299.                          Miscellaneous
  300.                          Print
  301.                          Screen
  302.  
  303.                     We will discuss each of the preference areas in
  304.                     detail.
  305.  
  306.           v"zMegaD Menusv"z
  307.                     MegaD allows extensive control over the Directory
  308.                     Windows it uses and the displays within them.
  309.                     Much of the control is access through the menus
  310.                     found within MegaD.
  311.  
  312.                     You will find the step by step approach of this
  313.                     file helpful in your quest to learn MegaD.  MegaD,
  314.                     without question, is the most versatile, capable
  315.                     and flexible directory utility to date.  This
  316.                     tutorial will help you to understand and harness
  317.                     the power of MegaD.
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.                                                       Getting Started 6
  335.  
  336.  
  337.                                       v"zGetting Startedv"z
  338.  
  339.                     MegaD can be started from the CLI (Command Line
  340.                     Interface) or from the Workbench.  To run MegaD
  341.                     from the CLI, CD to the directory that the program
  342.                     file MegaD is in and type
  343.                     "Run MegaD"
  344.                     To start MegaD from the Workbench double click the
  345.                     MegaD icon.  You should be greeted with this
  346.                     window containing about 30 different gadgets and
  347.                     one scrolling list at the top.
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.                                                       Getting Started 7
  401.  
  402.  
  403.  
  404.      -----------------------------------------------------------------
  405.      |MegaD 2.0 Control Window                                       |
  406.      |---------------------------------------------------------------|
  407.      | Free Volumes    |()   Volumes In Memory                    |  |
  408.      |------------------------------------------------------------|  |
  409.      | First  Buffered Volume           DF0:           648,324    |  |--1
  410.      | Second Buffered Volume           DF1:           232,987    |/\|
  411.      | Third  Buffered Volume          WORK:        22,343,548    |\/|
  412.      |---------------------------------------------------------------|
  413.      |**|   Device Gadget 1 |  Device Gadget 4    |  Device Gadget 7 |
  414.      |**|-------------------+---------------------+------------------|
  415.      |__|   Device Gadget 2 |  Device Gadget 5    |  Device Gadget 8 |
  416.      |/\|-------------------+---------------------+------------------|--2
  417.      |\/|   Device Gadget 3 |  Device Gadget 6    |  Device Gadget 9 |
  418.      |__|-------------------+----------------------------------------|
  419.      |  |      Device Name: |                                        |
  420.      |  |------------------------------------------------------------|
  421.      |**| Files Selected                       Chip                  |
  422.      |**| Dir.  Selected                       Fast                  |
  423.      |  | Bytes Selected                       Large                 |--3
  424.      |**| Free Disk space                      Total                 |
  425.      |**| Active Directory                                           |
  426.      |---------------------------------------------------------------|
  427.      | Keypad '('   | Keypad ')'   | Keypad '/'   | Keypad '*'   |   |
  428.      |--------------+--------------+--------------+--------------| C |
  429.      | Keypad '7'   | Keypad '8'   | Keypad '9'   | Keypad '-'   | - |
  430.      |--------------+--------------+--------------|--------------|   |
  431.      | Keypad '4'   | Keypad '5'   | Keypad '6'   | Keypad '+'   | S |--4
  432.      |--------------+--------------+--------------+--------------| - |
  433.      | Keypad '1'   | Keypad '2'   | Keypad '3'   |              |   |
  434.      |-----------------------------+--------------|    ENTER     | A |
  435.      |          Keypad '0'         | Keypad '.'   |              |   |
  436.      ----------------------------------------------------------------- 
  437.           v"zMain Control Windowv"z
  438.                     Above is an character representation of what the
  439.                     Main Control Window looks like.  The titles of the
  440.                     gadgets have been changed to generic names.  The
  441.                     actual window that should be up on your system
  442.                     will contain device names and command titles in
  443.                     the gadgets.  The Control Window is your link to
  444.                     all the functions that MegaD possesses.  Lets
  445.                     break the parts of the window down into its four
  446.                     basic components.  The number to the right of the
  447.                     representation corresponds with the below list.
  448.                     1.   Volumes in memory, and 
  449.                          Device, Assign and Drives list
  450.                     2.   Device Gadgets 
  451.                     3.   Information area
  452.                     4.   Command Gadget
  453.  
  454.  
  455.  
  456.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.                                                       Getting Started 8
  467.  
  468.  
  469.  
  470.      |---------------------------------------------------------------|
  471.      | Free Volumes    |()  Volumes In Memory                     |  |
  472.      |------------------------------------------------------------|  |
  473.      | First  Buffered Volume           DF0:           648,324    |  |--1
  474.      | Second Buffered Volume           DF1:           232,987    |/\|
  475.      | Third  Buffered Volume          WORK:        22,343,548    |\/|
  476.      |---------------------------------------------------------------|
  477.           v"zMegaD List Areav"z
  478.                     Above is a cutout of section 1. The Volumes in
  479.                     memory, and Device, Assign and Drives list. Two
  480.                     kinds of list are available in this area. The
  481.                     lists can be cycled in and out of the list area
  482.                     with the cycle gadget at the top of the window.
  483.  
  484.           v"z'Volumes In Memory'v"z
  485.                     'Volumes In Memory' list.  This is a list of
  486.                     buffered directories that have been loaded, if
  487.                     any.  It may be an empty list at the moment.  This
  488.                     is what the cutout represent now
  489.  
  490.           v"zDevice Listv"z
  491.                     'Devices, Assigns and Drives' list.  This list is
  492.                     never empty.  It shows available volumes and
  493.                     system assigns such as 'Fonts:'
  494.  
  495.                     The way to chose which list to use is controlled
  496.                     by the cycle gadgets at the top center to right
  497.                     side of the window.  It has a small arrow going in
  498.                     a circle at the left side of the gadget.  By
  499.                     selecting this gadget the list will change to the
  500.                     one not being displayed.
  501.  
  502.           v"zFree Volumes Gadgetv"z
  503.                     On the left side of that gadget is one that is
  504.                     titled 'Free Volumes'.  MegaD buffers all the
  505.                     directories that have been loaded.  This makes for
  506.                     quick access to those directories.  It is also
  507.                     memory consuming.  By selecting this gadget once,
  508.                     you can free up memory used by buffered
  509.                     directories.
  510.  
  511.                     The 'Free Volumes' gadget will be ghosted if there
  512.                     are no buffered volumes in memory.  Once any
  513.                     volume or directory is loaded the gadget will be
  514.                     activated allowing you to select it.
  515.  
  516.                     When a directory is buffered, the contents of the
  517.                     directory are in the computer's main memory.  If
  518.                     you close that volume and then access it later,
  519.                     MegaD doesn't have to access the disk because the
  520.  
  521.  
  522.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.                                                       Getting Started 9
  533.  
  534.  
  535.                     contents are still in the computer's memory (in
  536.                     the buffer).  This not only saves in access time,
  537.                     but saves wear on the disk.  By selecting the
  538.                     "Free Volumes" gadget, you remove the contents of
  539.                     that volume(s) from the computer's memory, and any
  540.                     future attempts to access that volume will result
  541.                     in having to read from disk.
  542.  
  543.                     To the far right of the upper area of the window
  544.                     is a proportional gadget and two step gadgets for
  545.                     scrolling the list in this window.  They work to
  546.                     move the list up or down if the list can be
  547.                     scrolled.  If the list can be scrolled the
  548.                     proportional gadget will show where in the list
  549.                     you are at that moment and it will let you move to
  550.                     a new position by selecting and moving the
  551.                     scroller up and down.  The arrow gadgets will
  552.                     scroll the list by single steps and will repeat
  553.                     the steps as long as the gadget is selected.
  554.  
  555.           v"zBuffered Volume Listv"z
  556.                     The items in the list at the top of the Control
  557.                     Window display information about where the volume
  558.                     was loaded from.  If the volume was loaded from
  559.                     the drive DF0: it will display DF0: in the center
  560.                     of the line.  To the right of the line the free
  561.                     disk space for that volume is shown.
  562.  
  563.                     The items in the lists can be selected for special
  564.                     tasks.  Double clicking the item will load the
  565.                     directory and place it in a window.  Single
  566.                     selecting the item will select it or unselect the
  567.                     item for a task.  Some of the special tasks are.
  568.  
  569.           v"zLoading selected items from the Device Listv"z
  570.                     Loading a group of volumes by selecting them and
  571.                     then using the menu command 'Windows, Open
  572.                     Windows, Selected Directories' or closing them
  573.                     with the 'Windows, Close Windows, Selected
  574.                     Directories'.  This is the only function that is
  575.                     available that works with items selected in the
  576.                     Device list.  This is not the only way to open a
  577.                     volume.  You will see later that there are
  578.                     shortcuts to this method.
  579.  
  580.  
  581.                     (The below functions only works on the Volumes in
  582.                     Memory list.)
  583.  
  584.           v"zFreeing Buffered Volumesv"z
  585.                     Freeing a specified volume from the buffered
  586.  
  587.  
  588.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.                                                      Getting Started 10
  599.  
  600.  
  601.                     directories.  By selecting items in the 'volumes
  602.                     In Memory' list and then selecting 'Free Volumes'
  603.                     just that volume will be removed from the buffer
  604.                     freeing the memory used by it.  If you should
  605.                     select the 'Free Volumes' gadget without any items
  606.                     selected in this list, all buffered volumes will
  607.                     be freed.
  608.  
  609.           v"zSelect Volumes for making a listingv"z
  610.                     MegaD allows you to print the contents of a volume
  611.                     (all the directories and files in that volume,
  612.                     including all subdirectories).  Not only can you
  613.                     send the volume's contents to the printer, but
  614.                     MegaD allows you to save the contents to a disk
  615.                     file, should you desire.  You can send the
  616.                     volumes' contents to the printer by selecting the
  617.                     desired volume in the volume window (directly
  618.                     below the 'Free Volumes' gadget) and then
  619.                     selecting the 'Output Prt' Command Gadget.  You
  620.                     can send the volumes' contents to a disk file by
  621.                     opening a Directory Window to the directory you
  622.                     wish the file to be written, and selecting the
  623.                     'Output File' Command Gadget.
  624.  
  625.                     Selecting a volume to relabel the volume with the
  626.                     Relabel keypad command.
  627.  
  628.                     The above mentioned commands will be discussed in
  629.                     detail later on in the tutorial.
  630.  
  631.      |---------------------------------------------------------------|
  632.      |**|   Device Gadget 1 |  Device Gadget 4    |  Device Gadget 7 |
  633.      |**|-------------------+---------------------+------------------|
  634.      |__|   Device Gadget 2 |  Device Gadget 5    |  Device Gadget 8 |
  635.      |/\|-------------------+---------------------+------------------|--2
  636.      |\/|   Device Gadget 3 |  Device Gadget 6    |  Device Gadget 9 |
  637.      |__|-------------------+----------------------------------------|
  638.      |  |      Device Name: |                                        |
  639.      |  |------------------------------------------------------------|
  640.  
  641.  
  642.           v"zDevice Gadgetsv"z
  643.                     The second area in the Control Window contains
  644.                     nine booleen gadgets and one string gadget.  All
  645.                     ten gadgets serve the same purpose, to load a
  646.                     volume or directory.  They can be switch to do
  647.                     another task but we will get in to that later.
  648.  
  649.                     At first run the device gadgets are set to the
  650.                     first nine volumes and assigns found in the
  651.                     'Device, Assigns and Drives' list.  This may not
  652.  
  653.  
  654.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.                                                      Getting Started 11
  665.  
  666.  
  667.                     be the way you want them and if so it can be
  668.                     changed by using the menu option 'Project, Set
  669.                     Preferences.'  The lower nine string gadgets in
  670.                     the window that opens from that option are used to
  671.                     set the device gadgets.
  672.  
  673.                     Once back to the Control Window select any of the
  674.                     nine gadgets to load a volume or directory.  After
  675.                     doing so, and if no errors were encountered, a
  676.                     window should open with the list of items found in
  677.                     that directory.
  678.  
  679.           (NEW 3.1)
  680.           v"zDevice Scroll Gadgetv"z
  681.                     To the left of the Device Gadgets you will see a
  682.                     second scroll gadget, MegaD is capable of 45
  683.                     separately defined device gadgets.  It is
  684.                     impossible to display all with only 9 visible
  685.                     gadgets.   By moving this scroll gadget you will
  686.                     be able to access the other 36 hidden device
  687.                     gadgets. 
  688.  
  689.           v"zDevice String Gadgetv"z
  690.                     Directly below the 9 device gadgets is a string
  691.                     gadget (labelled 'Device Name:').  This gadget is
  692.                     used to type any valid directory name that you
  693.                     want to load.  Typing a name and pressing return
  694.                     is the equivalent of hitting one of the upper nine
  695.                     device gadgets.
  696.  
  697.                     Any string gadget, in any MegaD window, can be
  698.                     activated by pressing the space bar once.  The
  699.                     window must be the active window for this to work.
  700.                     This feature includes the Main Control Window
  701.                     Device String Gadget.
  702.  
  703.  
  704.           v"zDevice Gadgets keyboard Equivalentv"z
  705.                     The upper numeric keys on the keyboard 1 - 9 (not
  706.                     the keypad) will do the equivalent of the hitting
  707.                     one of the nine device gadgets.  The keys equate
  708.                     to the number found in the above cutout of the
  709.                     window.
  710.  
  711.           (NEW 3.1) When you change the device gadgets by moving the
  712.                     scroll gadget to the left of them,  the keyboard
  713.                     equivalents will act on the newly displayed
  714.                     directories.
  715.  
  716.  
  717.  
  718.  
  719.  
  720.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.                                                      Getting Started 12
  731.  
  732.  
  733.  
  734.      |  |------------------------------------------------------------|
  735.      |**| Files Selected                       Chip                  |
  736.      |**| Dir.  Selected                       Fast                  |
  737.      |  | Bytes Selected                       Large                 |--3
  738.      |**| Free Disk space                      Total                 |
  739.      |**| Active Directory                                           |
  740.       ---------------------------------------------------------------|
  741.  
  742.           v"zInformation Areav"z
  743.                     The third area of the main window is for
  744.                     information.  On the left side it shows how many
  745.                     files and directories are selected and it shows
  746.                     how many bytes are selected.  This can be used to
  747.                     judge if the destination disk has enough room to
  748.                     write the files and directories to it.  If
  749.                     unbuffered directories are selected, the sizes of
  750.                     those directories are unknown and can not be
  751.                     calculated.  If you want to be sure of the actual
  752.                     byte count of a directory, use the 'Go Deep'
  753.                     command on those directories firsts.  The 'Go
  754.                     Deep' Command Gadget is found in the second bank
  755.                     of Keypad Command Gadgets.  This will buffer the
  756.                     directories and MegaD will be able to tell you
  757.                     just how much space will be needed for the copy or
  758.                     move.  
  759.  
  760.                     This area has a gadget hidden beneath the
  761.                     information, the gadget is quite easy to hit and
  762.                     you may want to try it now to see how it works.
  763.                     Place the mouse pointer directly over the MegaD
  764.                     main menu information window (directly below the
  765.                     string gadget labelled 'Device Name') and single-
  766.                     click.  Notice that when you clicked, the
  767.                     information changed from 'all items selected' to
  768.                     'source items selected  By selecting that gadget
  769.                     the information will toggle from all items
  770.                     selected to source items selected.  If deleting
  771.                     files, and you wish to know exactly how many files
  772.                     and directory will be deleted, you should use the
  773.                     Selected information mode.  If copying or moving
  774.                     files, and you wish to know exactly how many files
  775.                     and directory will be copied or moved,  you should
  776.                     use the Source information mode.
  777.  
  778.           v"zAvailable Memoryv"z
  779.                     On the right side it shows the system memory four
  780.                     different ways.  Available chip and fast memory.
  781.                     The largest chunk of memory still available and
  782.                     then a total of the free Chip and Fast memory.
  783.  
  784.  
  785.  
  786.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.                                                      Getting Started 13
  797.  
  798.  
  799.           v"zActive Directoryv"z
  800.                     At the bottom of the information window you will
  801.                     see the text: 'Free Disk Space' and 'Active
  802.                     Directory'.  These two items will display the
  803.                     amount of disk space that is free on the currently
  804.                     active directory.  If no directory is currently
  805.                     active, then both items are blank. Additionally,
  806.                     the directory specified by this 'Active Directory'
  807.                     item is known as the 'destination' directory.
  808.                     What do I mean by that?  Well, any command that
  809.                     requires a destination will act on that directory.
  810.                     For instance, if you want to move a file
  811.                     somewhere, it will be moved from some (origin)
  812.                     directory into that (destination) directory. MegaD
  813.                     can use more than one destination directory at a
  814.                     time; however, it can display only one of the
  815.                     destination directories in this area.  We will
  816.                     talk more about the multiple destinations later. 
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.                                                      Getting Started 14
  863.  
  864.  
  865.  
  866.      |---------------------------------------------------------------|
  867.      | Keypad '('   | Keypad ')'   | Keypad '/'   | Keypad '*'   |   |
  868.      |--------------+--------------+--------------+--------------| C |
  869.      | Keypad '7'   | Keypad '8'   | Keypad '9'   | Keypad '-'   | - |
  870.      |--------------+--------------+--------------|--------------|   |
  871.      | Keypad '4'   | Keypad '5'   | Keypad '6'   | Keypad '+'   | S |--4
  872.      |--------------+--------------+--------------+--------------| - |
  873.      | Keypad '1'   | Keypad '2'   | Keypad '3'   |              |   |
  874.      |-----------------------------+--------------|    ENTER     | A |
  875.      |          Keypad '0'         | Keypad '.'   |              |   |
  876.      -----------------------------------------------------------------
  877.  
  878.           v"zKeypad Gadgetsv"z
  879.                     The fourth and bottom area of the Control Window
  880.                     are where you access the commands that MegaD can
  881.                     perform on windows, directories and files.  This
  882.                     area has four sets or banks of gadgets that can be
  883.                     access though the use of the three 'Shift Gadgets'
  884.                     mounted to the right of the gadgets.  The 'Shift
  885.                     Gadgets' coincide with the Ctrl, Shift and Alt
  886.                     keys on your keyboard.
  887.  
  888.                     C = Ctrl  (Control)
  889.                     S = Shift
  890.                     A = Alt   (Alternate)
  891.  
  892.           v"zQuick Command Accessv"z
  893.                     The main group of gadgets is arranged in the same
  894.                     order as the keypad on the side of most Amiga
  895.                     keyboards.  Each keypad gadget can be accessed
  896.                     from the keyboard by pressing the equivalent key.
  897.                     You will soon find that you can reach any command
  898.                     quickly and easily with the keyboard.  
  899.  
  900.           v"zKeypad Banksv"z
  901.                     There are four banks of keypad gadgets. The banks
  902.                     are access by use of ether the 'Shift Gadgets' at
  903.                     the side of the Keypad gadgets or by pressing the
  904.                     corresponding shift key, as listed above.  Through
  905.                     the tutorial I will be referring to the sets of
  906.                     keypad gadgets by banks.
  907.  
  908.                     First bank: is access when there are no shift keys
  909.                               pressed on the keyboard and none of the
  910.                               'Shift Gadgets' are pressed.
  911.  
  912.                     Second bank: is access when the Ctrl keyboard key
  913.                               is press or the 'C' 'Shift gadget' is
  914.                               selected.
  915.  
  916.  
  917.  
  918.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.                                                      Getting Started 15
  929.  
  930.  
  931.                     Third bank: is access when the Shift keyboard key
  932.                               is press or the 'S' 'Shift gadget' is
  933.                               selected.
  934.  
  935.                     Fourth bank: is access when the Alt keyboard key
  936.                               is press or the 'A' 'Shift gadget' is
  937.                               selected.
  938.  
  939.                     As an example the 'Copy' command is located (at
  940.                     startup default) on the first bank of gadgets in
  941.                     the upper left hand corner.  This gadget can be
  942.                     activated by pressing the upper left hand keypad
  943.                     key that is the '(' key on the keypad.  To access
  944.                     the 'Copy As' command press the Ctrl key and while
  945.                     holding it down press the upper left hand key of
  946.                     the keypad.  This is the same as using the mouse
  947.                     to select the 'C' 'Shift gadget' and then
  948.                     selecting the  upper left hand corner gadget
  949.                     (which should be labelled 'Copy as' at default).
  950.  
  951.                     NOTE: Should you have a MegaD text window active,
  952.                     the keypad is used solely for the text window, and
  953.                     the Keypad Command Gadget functions will not be
  954.                     accessible. 
  955.  
  956.  
  957.      |---------------------------------------------------------------|
  958.      | Ctrl Command | Shift Command| Alt Command  | Keypad '*'   |   |
  959.      |--------------+--------------+--------------+--------------| C |
  960.      | Keypad '7'   | Keypad '8'   | Keypad '9'   | Keypad '-'   | - |
  961.      |--------------+--------------+--------------|--------------|   |
  962.  
  963.           v"zShift Click Window Commandv"z
  964.                     Above is the upper section of the Keypad Command
  965.                     Gadgets.  Notice that I have change the names of
  966.                     the first three Gadgets to, 'Ctrl Command', 'Shift
  967.                     Command' and 'Alt Command'.  MegaD assigns the
  968.                     above three commands to the respective shift keys
  969.                     during a process that I call 'Shift Click Window
  970.                     Commands'.
  971.  
  972.                     By using the 'Shift Click Window Commands', you
  973.                     can gain rapid access to three of your favorite
  974.                     commands.  At default, MegaD sets the first three
  975.                     Keypad Commands Gadgets to, 'Copy', 'Move' and
  976.                     'Delete'.  This, in turn, sets the 'Shift Click
  977.                     Window Commands' to:
  978.  
  979.                     Ctrl-Select Directory Window = 'Copy'
  980.                     Shift-Select Directory Window = 'Move'
  981.                     Alt-Select Directory Window = 'Delete'
  982.  
  983.  
  984.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.                                                      Getting Started 16
  995.  
  996.  
  997.  
  998.           v"zHow Shift Click Worksv"z
  999.                     Let use 'Copy' for and example here.  You would
  1000.                     need at least two Directory Windows opened to the
  1001.                     screen.  You select a few items in one of the
  1002.                     windows that you would like to copy.  You would
  1003.                     then hold down the Ctrl key while you select the
  1004.                     scroll area (text listing area) of the Directory
  1005.                     Window that you wish to copy the files to, this
  1006.                     becomes the 'Shift Clicked Window'.  The selected
  1007.                     Directory Window becomes a user defined
  1008.                     destination directory and the 'Copy' command is
  1009.                     called.
  1010.  
  1011.                     You can attach any commands you want, to the first
  1012.                     three Keypad Command Gadgets of the first bank.
  1013.  
  1014.                     The steps taken internally during the 'Shift Click
  1015.                     Window Command' process are:
  1016.  
  1017.                     1.Select 'Dest'ination gadget of the Directory
  1018.                               window that was 'Shift Selected'.
  1019.  
  1020.                     2.Call corresponding Keypad Command Gadget for the
  1021.                               shift key pressed and performs that
  1022.                               task.
  1023.  
  1024.                     3.Unselect the 'Dest'ination gadget if it was not
  1025.                               selected at the first of the call,
  1026.                               restoring the Directory Window to its
  1027.                               original state.
  1028.  
  1029.                     All of this is a bit much for right now.  We have
  1030.                     yet to talk about any of the commands, and how to
  1031.                     use them.  If all of this seems very vague to you,
  1032.                     don't let it worry you.  Just remember to come
  1033.                     back and reread this section once you're done.  I
  1034.                     want to make sure that everyone using MegaD knows
  1035.                     of this feature.  Other wise it like driving a
  1036.                     great car without knowing it has a fifth gear and
  1037.                     never getting it to top speed.
  1038.  
  1039.      | Third  Buffered Volume          WORK:        22,343,548    |\/|
  1040.      |---------------------------------------------------------------|
  1041.      |**|   Device Gadget 1 |  Device Gadget 4    |  Device Gadget 7 |
  1042.      |**|-------------------+---------------------+------------------|
  1043.      |  |   Device Gadget 2 |  Device Gadget 5    |  Device Gadget 8 |
  1044.      |  |-------------------+---------------------+------------------|
  1045.      |  |   Device Gadget 3 |  Device Gadget 6    |  Device Gadget 9 |
  1046.      |  |-------------------+----------------------------------------|
  1047.      |  |      Device Name: |                                        |
  1048.  
  1049.  
  1050.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.                                                      Getting Started 17
  1061.  
  1062.  
  1063.      |  |------------------------------------------------------------|
  1064.      |**| Files Selected                       Chip                  |
  1065.      |**| Dir.  Selected                       Fast                  |
  1066.      |  | Bytes Selected                       Large                 |
  1067.      |**| Free Disk space                      Total                 |
  1068.      |**| Active Directory                                           |
  1069.      |---------------------------------------------------------------|
  1070.  
  1071.           v"zIcon Gadgetsv"z
  1072.                     Among these gadgets are three that are unique in
  1073.                     design and nature.  They reside on the left side
  1074.                     of the window.  The character representation of
  1075.                     the gadgets is
  1076.  
  1077.                     **
  1078.                     **
  1079.  
  1080.                     You can identify them in the actual Control Window
  1081.                     by a small horizontal line going across, inside
  1082.                     the border of the gadget.  By careful examination
  1083.                     of the gadgets you will notice that the horizontal
  1084.                     line is at different position inside the border.
  1085.                     For lack of a better name I call these gadgets,
  1086.                     Area Icons.  They each represent one of the three
  1087.                     lower areas of the Control Window.  As the icon
  1088.                     gadgets are hit, they will remove or replace areas
  1089.                     of the main window.  The icon gadget themselves
  1090.                     will stay in the window.
  1091.  
  1092.           v"zDevice Icon Gadget:v"z
  1093.                     The gadget with the line closest to the top is
  1094.                     directly attached to the set of 9 device gadgets
  1095.                     in the upper mid section of the control window.
  1096.                     Selecting this 'device icon gadget' will remove
  1097.                     these 9 device gadgets from the main menu, thereby
  1098.                     allocating  more space to view the rest of the
  1099.                     menu.
  1100.  
  1101.           v"zByte Info Icon Gadget:v"z
  1102.                     The gadget that has the line across the center of
  1103.                     it is directly attached to the text section of the
  1104.                     window that displays selected information and
  1105.                     system  memory.  Selecting this 'byte info icon
  1106.                     gadget' will remove the area containing system
  1107.                     memory from the main menu, thereby allocating more
  1108.                     space to view the rest of the menu.
  1109.  
  1110.           v"zKeypad Icon Gadget:v"z
  1111.                     And finally, the small gadget with the line
  1112.                     closest to the bottom is directly attached to the
  1113.                     command gadgets that are arranged in the same
  1114.  
  1115.  
  1116.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.                                                      Getting Started 18
  1127.  
  1128.  
  1129.                     manner as the numeric keypad  (this keypad is not
  1130.                     present on the 600 and 1000 Amiga models).
  1131.                     Selecting this 'keypad icon gadget' will remove
  1132.                     the area containing the numeric keypad gadgets
  1133.                     from the main menu, thereby allocating more space
  1134.                     to view the rest of the menu.
  1135.  
  1136.                     NOTE:  You can remove more than one of these areas
  1137.                     from the main menu.  For instance, click on the
  1138.                     upper area icon gadget and notice that the 9
  1139.                     device gadgets are removed from the main menu.
  1140.                     Now click on the lower area gadget and notice that
  1141.                     the 'Numeric Keypad' gadgets are gone from the
  1142.                     menu.  All that you are viewing at this time are
  1143.                     the 'Volumes Information' area (the very upper
  1144.                     portion of the normal main menu) and the 'System
  1145.                     Memory Information' area.  You could now click on
  1146.                     the center area icon gadget and remove the 'System
  1147.                     Memory Information' area.  At this point, the
  1148.                     entire main menu would be displaying the "Volume
  1149.                     Information" area.
  1150.  
  1151.                     I suggest that you play with those gadgets for a
  1152.                     while just so that you can see how they work.
  1153.                     Select one of the icon gadgets once and an area
  1154.                     will be removed from the window, making the scroll
  1155.                     area larger.  The icon gadget will be repositioned
  1156.                     in the window so that it will fit in the new
  1157.                     configuration. The color of the horizontal line in
  1158.                     the gadget will change to signify that the area
  1159.                     has been removed.  Find the gadget again and
  1160.                     selected it once more.  That area will be replace
  1161.                     in the Control Window.  Once you're done playing
  1162.                     with them be sure to set the window back up so
  1163.                     that all four areas of the window are visible and
  1164.                     usable.
  1165.  
  1166.           v"zActive Window To Frontv"z
  1167.                     Whenever you open a directory or text window,
  1168.                     MegaD will automatically bring that new window to
  1169.                     the front of all other windows.  Furthermore, if a
  1170.                     currently open,  directory or text window is
  1171.                     selected (made active by clicking on it), it will
  1172.                     automatically be moved to the front of all other
  1173.                     windows.
  1174.  
  1175.           v"zMoving the Control Window to the frontv"z
  1176.                     This 'auto-front' feature does not apply to the
  1177.                     MegaD control (main menu) window.  There are;
  1178.                     however, three function keys that will allow you
  1179.                     to move the control window to the front or rear of
  1180.  
  1181.  
  1182.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.                                                      Getting Started 19
  1193.  
  1194.  
  1195.                     the screen.  The three keys are F8, F9 and F10.
  1196.                     One more catch though -- each key can serve more
  1197.                     than one purpose.  I'll try to explain:
  1198.  
  1199.                     Remember from the beginning of the manual about
  1200.                     the very top of the control panel.  There is a
  1201.                     gadget that toggles between "Volumes In Memory"
  1202.                     and "Devices, Assigns and Drives".  The second
  1203.                     feature of each of these keys deals with this
  1204.                     portion of the control panel.
  1205.  
  1206.                     F8: (1) Will toggle to 'Devices, Assigns and
  1207.                               Drives', and (2) Will toggle the control
  1208.                               window between the front and back of the
  1209.                               screen.
  1210.  
  1211.                     F9: (1) Will toggle to 'Volumes In Memory', and
  1212.                     (2) Will toggle the control window between the
  1213.                               front and back of the screen.
  1214.  
  1215.                     F10: The sole purpose of this key is to toggle the
  1216.                               control window between the front and
  1217.                               back of the screen.
  1218.  
  1219.                     NOTE: If the you have set MegaD F10 default to
  1220.                               'F10 Closes Main Control Window', the
  1221.                               control window will be closed and
  1222.                               reopened with this key.
  1223.  
  1224.           v"zWhat Is MegaDv"z
  1225.                     MegaD's main function on the Amiga is to do
  1226.                     something with a directory list or item in the
  1227.                     directory list.  We will need some medium to work
  1228.                     with that we both have.
  1229.  
  1230.                     I am going to use a copy of the Workbench disk
  1231.                     that came with our operating system to demonstrate
  1232.                     some of the simple functions of MegaD.  So that we
  1233.                     can have a common reference, you will be making a
  1234.                     copy of your Workbench disk.
  1235.  
  1236.           v"zCreate a Tutorial Diskv"z
  1237.                     You should make a copy of the copy of your
  1238.                     Workbench disk.  (You should only use your
  1239.                     original disks once, and that was to make the copy
  1240.                     that you will use when you run a program,  any
  1241.                     program.) This disk contains many files that we
  1242.                     can do things with. I will be using the
  1243.                     directories and files as examples of how the
  1244.                     commands in MegaD work.  
  1245.  
  1246.  
  1247.  
  1248.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.                                                      Getting Started 20
  1259.  
  1260.  
  1261.           v"zLoading the copy of your Workbench diskv"z
  1262.                     Place the copy of your Workbench disk into your
  1263.                     DF0: disk drive.  Use the toggle gadget in the
  1264.                     upper portion of the MegaD control window to
  1265.                     ensure "Devices, Assigns and Drives" (rather than
  1266.                     "Volumes In Memory") is selected.  Now use the
  1267.                     scroll gadget at the upper right of the control
  1268.                     window, and scroll until 'DF0:' is visible in the
  1269.                     "Devices, Assigns and Drives Window" (immediately
  1270.                     below the "Free Volumes" gadget).  Double-click on
  1271.                     'DF0:' in this window.  A new window should open
  1272.                     on your screen displaying all the directories and
  1273.                     files on the disk you inserted in 'DF0:'.  (NOTE:
  1274.                     an alternative, and sometimes easier way, to
  1275.                     accomplish the above is to simply enter 'DF0:' in
  1276.                     the string gadget (in the center of the control
  1277.                     window labelled 'Device Name') and hit the
  1278.                     <return> key).
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.                                                      Getting Started 21
  1325.  
  1326.  
  1327.  
  1328.           v"zDirectory Windowsv"z
  1329.                     This is a character representation of the
  1330.                     directory window that came up when I loaded my
  1331.                     Workbench disk.  Yours should look similar.  
  1332.  
  1333.      -------------------------
  1334.      | Workbench2.0:     |#|@|<- Top window drag bar, close and
  1335.      |-----------------------|   Zoom Gadgets
  1336.      | Parent / |Dest|Lock|  |<- Parent, Destination, Lock gadgets
  1337.      |--------------------|  |
  1338.      | C                  |  |
  1339.      | Devs               |  |
  1340.      | Expansion          |  |
  1341.      | Fonts              |  |
  1342.      | L                  |  |
  1343.      | Libs          <---------- Scrolling list area.
  1344.      | monitors           |  |
  1345.      | Prefs              |  |
  1346.      | Rexxc              |  |
  1347.      | S                  |  |
  1348.      | System             |  |
  1349.      | Trashcan           |  |
  1350.      | Utilities          |  |
  1351.      | WBStartup          |  |
  1352.      | disk.info          |  |
  1353.      | Expansion.info     |  |
  1354.      | Monitors.info      |  |
  1355.      | Prefs.info         |  |
  1356.      | Shell.info         |  |
  1357.      | System.info        |  <- Vertical scrolling gadget
  1358.      | Trashcan.info      |  |
  1359.      | Utilities.info     |  |
  1360.      | WBstartup.info     |  |
  1361.      |                    |  |
  1362.      ----------------------/\|<- Up arrow
  1363.      |               |<|>| \/|<- Left, Right, Down arrow
  1364.      ------------------------    and horizontal scrolling gadget
  1365.  
  1366.           v"zThe anatomy of a directory windowv"z
  1367.                     This window has two main parts.  The upper gadgets
  1368.                     and the list area.  I will discuss the upper
  1369.                     gadgets first.
  1370.  
  1371.                     All directory windows have a 'Parent',
  1372.                     'Dest'ination, and 'Lock' gadget. 
  1373.  
  1374.           v"zParent Gadgetv"z
  1375.                     The 'Parent' will move you to the parent of the
  1376.                     current directory.  Once at the Root: (This is
  1377.                     where we are now) the 'Parent' will bring the Main
  1378.  
  1379.  
  1380.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.                                                      Getting Started 22
  1391.  
  1392.  
  1393.                     Control Window to the front unless it is in two
  1394.                     window mode.
  1395.  
  1396.           v"z'Dest'inationv"z
  1397.                     The 'Dest'ination gadget tells MegaD which
  1398.                     directory(s) is the specified destination
  1399.                     directory. This is important because many commands
  1400.                     (such as copy, move, etc.) will transfer files
  1401.                     from the 'origin' directory to the 'destination'
  1402.                     directory.
  1403.  
  1404.                     The 'Dest'ination gadget has three states.
  1405.                     Unselected, Selected and User Selected.
  1406.                     Unselected and Selected looks as any other toggle
  1407.                     selected gadgets on an Amiga window.  The User
  1408.                     Selected mode draws a double border around the
  1409.                     selected gadget.  MegaD will keep the active
  1410.                     window as the destination unless you use the mouse
  1411.                     to select the 'Dest'ination gadget.
  1412.  
  1413.                     To demonstrate the 'User Selected' mode, activate
  1414.                     the open directory window by selecting the drag
  1415.                     bar at the top of the window.  The 'Dest'ination
  1416.                     gadget of this window should now be selected.
  1417.                     MegaD auto- select the 'Dest'ination gadget of the
  1418.                     active window.  Now select the 'Dest'ination
  1419.                     gadget with by selecting it with the mouse.  The
  1420.                     border of the gadget will change, it will have a
  1421.                     recess area with the outside of the border still
  1422.                     looking as if it is pushing out from the window.
  1423.                     This is the 'User Selected' mode of the
  1424.                     'Dest'ination gadget.  This disables the 'Auto-
  1425.                     Select' feature.  
  1426.  
  1427.                     The User Selected gadget also forces newly loaded
  1428.                     directories into that window unless it is
  1429.                     'Lock'ed.  Finally, select the 'Dest'ination
  1430.                     gadget again.  It will become unselected and look
  1431.                     like the 'Parent /' and 'Lock' gadget in the
  1432.                     window.  For certain commands, such as 'Copy' and
  1433.                     'Move', the window(s) with the unselected
  1434.                     'Dest'ination gadget becomes the source or origin
  1435.                     directory window(s).
  1436.  
  1437.           v"zLock Gadgetv"z
  1438.                     The 'Lock' gadget tells MegaD that this window is
  1439.                     locked and that no other directories can be placed
  1440.                     into this window.  It does not lock the internal
  1441.                     directory list it displays.  You may perform any
  1442.                     function on the items in the list that you want.
  1443.                     If all windows are 'Lock'ed and you request a new
  1444.  
  1445.  
  1446.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.                                                      Getting Started 23
  1457.  
  1458.  
  1459.                     directory to be opened, a new window will be
  1460.                     opened to place it in.  Think of it as a house
  1461.                     with all the doors locked.  You come home and find
  1462.                     that you do not have the keys to get in.  What do
  1463.                     you do?  You open a window.  MegaD takes the same
  1464.                     steps.  Check the first door, Second, Third...
  1465.                     finally all the doors are locked it will open a
  1466.                     window to do its job.  Later on, there will be a
  1467.                     section that describes the use of the 'Lock'
  1468.                     gadget,  we will clarify this feature then.
  1469.  
  1470.           v"zClose Window Gadgetv"z
  1471.                     All directory windows have a standard window close
  1472.                     gadget except for the two window mode.  This close
  1473.                     gadget only closes the window.  It does not free
  1474.                     the memory used to contain the directory list.
  1475.                     This has the advantage that when that directory is
  1476.                     needed again it will not have to read the
  1477.                     directory again and the list will be displayed
  1478.                     instantly.  It has the disadvantage of using
  1479.                     memory.  You can use your Control Window Free
  1480.                     Volumes gadget to release that memory to the
  1481.                     system.
  1482.  
  1483.           v"zScrolling List Areav"z
  1484.                     The scrolling area is much like any other
  1485.                     scrolling area of other Amiga programs windows.
  1486.                     The proportional gadgets show you how much of the
  1487.                     list is being displayed and allows you to move the
  1488.                     list up and down if the full list cannot be
  1489.                     displayed at one time.  The arrow gadgets allow
  1490.                     you to step though the list one item at a time.
  1491.                     You may hold one of the arrows down and the action
  1492.                     will repeat until you reach the end of the
  1493.                     direction that you were moving the list in.  MegaD
  1494.                     also has one more way to scroll the list.  
  1495.  
  1496.           v"zMenu Button Scrollv"z
  1497.                     By having the mouse pointer in the scroll area of
  1498.                     the active window and then pressing the Menu
  1499.                     Select button on the mouse the mouse pointer
  1500.                     becomes your scroller for the window.  Moving the
  1501.                     mouse 'off center' of the scroll area the window
  1502.                     will start to scroll in that direction.  So if you
  1503.                     move the mouse pointer to the top of the window it
  1504.                     will scroll the list down revealing more of the
  1505.                     upper part of the list.  The same happens if you
  1506.                     move the mouse to the bottom or to the sides of
  1507.                     the window.
  1508.  
  1509.           v"zAccessing Menusv"z
  1510.  
  1511.  
  1512.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.                                                      Getting Started 24
  1523.  
  1524.  
  1525.                     To get to the menu you must be outside the scroll
  1526.                     area of the active window.  The easiest place to
  1527.                     do this is at the top of the screen where the menu
  1528.                     bar will pop up.  Your mouse will be out of any of
  1529.                     the possible scroll areas, and ready to select the
  1530.                     menu item that you want.
  1531.  
  1532.           v"zSelecting Itemsv"z
  1533.                     Items within the scroll area can be selected in
  1534.                     one of three ways with the mouse pointer. 
  1535.  
  1536.           v"zSingle Select Itemv"z
  1537.                     Single clicking any item in the Directory Window
  1538.                     will toggle the state of that item.  If it was not
  1539.                     selected it will become selected, if it was
  1540.                     selected it will become unselected.
  1541.  
  1542.           v"zDouble Click Itemv"z
  1543.                     Double clicking any item in the Directory Window
  1544.                     tells MegaD that you want it to do something with
  1545.                     that item.  
  1546.  
  1547.           v"zDouble Click Directoryv"z
  1548.                     If it is a directory, MegaD will attempt to load
  1549.                     that directory and place it in a window.
  1550.  
  1551.           v"zDouble Click Filev"z
  1552.                     If it is a file and the menu item 'Option,
  1553.                     Activate AutoBoot' is set, MegaD will read the
  1554.                     first few bytes of the file and see if there is
  1555.                     something that it can do with it.  At default,
  1556.                     MegaD can load and display a text file and it can
  1557.                     load and run a program file.  However, you will be
  1558.                     able to teach it to handle all the different types
  1559.                     of data files that you use.  We will get into this
  1560.                     later.
  1561.  
  1562.           v"zDrag Select Itemsv"z
  1563.                     Drag select a group of items.  This is done by
  1564.                     selecting the start or end of the area that you
  1565.                     wish to select.  The select state of the first
  1566.                     item you select determines what color the rest of
  1567.                     the items that you drag select become.  Once the
  1568.                     first item is selected move the mouse pointer up
  1569.                     or down depending on which way you want to select
  1570.                     the items in the list.  If you move beyond the
  1571.                     scroll area the window will scroll, selecting or
  1572.                     unselecting the items as they move into the
  1573.                     window.
  1574.  
  1575.           v"zAbort Drag Selectv"z
  1576.  
  1577.  
  1578.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.                                                      Getting Started 25
  1589.  
  1590.  
  1591.                     Should you decide to abort the drag select, move
  1592.                     the mouse to the outside left or right of the
  1593.                     window and release the mouse select button, this
  1594.                     will return all the items to the same state that
  1595.                     were before the drag select was started. 
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.                                            Simple Commands And MegaD 26
  1655.  
  1656.  
  1657.                                  v"zSimple Commands And MegaDv"z
  1658.  
  1659.           v"zRelabelv"z
  1660.                     Now that we have explored two of the most common
  1661.                     windows that we will use with MegaD.  We are going
  1662.                     to do a command.  We are going to relabel the copy
  1663.                     of the copy of Workbench that we made to a new
  1664.                     name.  We will do this so that we will be less
  1665.                     likely to damage our working copy of Workbench.
  1666.                     If you haven't done so yet, make a new copy of
  1667.                     your Workbench at this time.  When complete,
  1668.                     return to this manual.
  1669.  
  1670.           v"zRelabel under 1.3v"z
  1671.                     If your still using Workbench1.3 MegaD will not do
  1672.                     the relabel command. (And you're really missing
  1673.                     out on a great improvement on the Amiga Operating
  1674.                     System.) File away your original working copy of
  1675.                     Workbench, and place your newly created copy in
  1676.                     drive 'DF0: You will have to do it from a CLI
  1677.                     window.  The command line that you will enter will
  1678.                     be
  1679.                          Relabel DF0: Tutorial
  1680.                     Be sure to have your copy of the Workbench disk in
  1681.                     drive DF0: before issuing this command.
  1682.  
  1683.           v"zRelabel under 2.0 and Using MegaDv"z
  1684.                     To relabel under 2.0, place the newly created
  1685.                     working copy of Workbench in 'DF0:'.  We will
  1686.                     first load the root directory of 'DF0:'.  To do
  1687.                     this, use the toggle gadget in the upper portion
  1688.                     of the MegaD control window to ensure "Devices,
  1689.                     Assigns and Drives" is selected (or as an
  1690.                     alternative method, hit the F8 key).  Now use the
  1691.                     scroll gadget or the scroll arrows at the upper
  1692.                     right of the control window until 'DF0:' appear in
  1693.                     the volume window (the window immediately below
  1694.                     the 'Free Volume' gadget).  Double click on 'DF0:'
  1695.                     in the volume window.  A window should appear on
  1696.                     your screen that displays the root directory of
  1697.                     'DF0:'.  Now we must tell MegaD that we want to
  1698.                     perform an operation on a volume, so use the upper
  1699.                     toggle gadget again to change from "Devices,
  1700.                     Assigns and Drives" to "Volumes In Memory".  We've
  1701.                     just told MegaD that we are going to perform some
  1702.                     (yet unknown) operation on a volume.  We must now
  1703.                     tell it which volume.  To do this, single click on
  1704.                     'DF0:' in the volume window.  Notice that when you
  1705.                     single click on 'DF0:', it changes color to
  1706.                     indicate that it is now 'selected'.  Finally, now
  1707.                     that we've told MegaD which volume we want to
  1708.  
  1709.  
  1710.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.                                            Simple Commands And MegaD 27
  1721.  
  1722.  
  1723.                     perform an operation on, we have to tell it which
  1724.                     operation to perform.  We are going to use the
  1725.                     gadgets at the lower portion of the control window
  1726.                     for this.  We are looking for the "Relabel"
  1727.                     gadget.  On first glance we can't find it.  That's
  1728.                     because it is not visible until we press the
  1729.                     'Ctrl' key on the keyboard.  Press and hold the
  1730.                     'Ctrl' key and notice that all the bottom gadgets
  1731.                     change.  Furthermore, the gadget that was labelled
  1732.                     "Rename" is now called "Relabel".  Release the
  1733.                     'Ctrl' key now.  The gadgets all change back to
  1734.                     their original state.  Find the gadget on the far
  1735.                     right of the lower control panel that is labelled
  1736.                     'C' (it is immediately to the right of the
  1737.                     "Rename" gadget).  Select the 'C' gadget.  Notice
  1738.                     that all the lower gadgets change again.  In fact,
  1739.                     clicking on the 'C' gadget performs the same
  1740.                     function that holding down the 'Ctrl' key did.
  1741.                     Again, the "Rename" gadget has changed to the
  1742.                     "Relabel" gadget.  To initiate the relabelling of
  1743.                     the disk in 'DF0:', select the "Relabel" gadget.
  1744.                     A new requestor pops up that reads:
  1745.  
  1746.                                         Volume Name
  1747.                                    Copy_of_Workbench2.0:
  1748.                                    Enter the new name to
  1749.                                   relabel this volume to
  1750.  
  1751.                     This requestor is asking for the new name of the
  1752.                     disk in 'DF0:'.  Erase the old name, and replace
  1753.                     it with 'Tutorial'.  Press the return key on your
  1754.                     keyboard and the disk name will change to
  1755.                     'Tutorial'.
  1756.  
  1757.           v"zUsing the Tutorial Diskv"z
  1758.                     From here on out, all the commands we will learn
  1759.                     will be performed on this disk and your Ram Disk:.
  1760.                     I am sure that the Tutorial: disk will be useless
  1761.                     once we are done.  It will be copied to, deleted
  1762.                     from, files written to it and directories moved.
  1763.                     Before we go on any farther let me ask you this
  1764.                     question.   
  1765.                            YOUR NOT USING YOUR GOOD COPY OF YOUR
  1766.                                   WORKBENCH DISK ARE YOU?
  1767.  
  1768.                     If so Please make a copy of it and catch up with
  1769.                     me here.
  1770.  
  1771.           v"zSetting the device gadgetsv"z
  1772.                     We are going to be using the Tutorial: disk all
  1773.                     through this.  It will be nice to set one of the
  1774.  
  1775.  
  1776.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.                                            Simple Commands And MegaD 28
  1787.  
  1788.  
  1789.                     nine device gadgets to that name.  This way you
  1790.                     will be able to load that disk with a simple click
  1791.                     of the mouse button.
  1792.  
  1793.           v"zMegaD preferencesv"z
  1794.                     In the very first menu of MegaD, which is the
  1795.                     Project menu, you will find the menu item 'Set
  1796.                     Preferences..."  Select this menu item.
  1797.  
  1798.           (NEW 3.1) This menu calls the program MDPrefs that should be
  1799.                     in the same directory that MegaD was started from.
  1800.                     Should this fail it could be any of a number of
  1801.                     problems, the two most likely could be that
  1802.                     MDPrefs is not in the same directory as MegaD is
  1803.                     or you do not have enough system memory to run
  1804.                     both programs.  If it is the latter problem you
  1805.                     will have to Quit MegaD and run MDPrefs by itself.
  1806.                     Once you are done in MDPrefs, 'Save' the settings
  1807.                     and then re-run MegaD.  It will read the newly
  1808.                     save settings.
  1809.  
  1810.           v"zMegaD Preferences windowv"z
  1811.                     A window will open to the screen.  This window has
  1812.                     the following gadget to chose from: 
  1813.                                           Colors
  1814.                                          Defaults
  1815.                                           Display
  1816.                                           Keypads
  1817.                                       Menus & Devices
  1818.                                        Miscellaneous
  1819.                                            Print
  1820.                                           Screen
  1821.  
  1822.                                |  Save  |  Use  | Cancel  |
  1823.  
  1824.                     From this list of gadgets select 'Menus &
  1825.                     Devices...'
  1826.  
  1827.                     A window will open with many string and booleen
  1828.                     gadgets.  We are only concerned at this moment
  1829.                     with the 18 string gadgets arranged at the bottom
  1830.                     of this window.
  1831.  
  1832.           (NEW 3.1) The string gadgets are arranged in 9 pairs.  You
  1833.                     will see that the left string gadget is titled
  1834.                     'Devices' and the right string gadget is titled
  1835.                     'Titles'  The 'Devices' string gadget is where you
  1836.                     type the actual path of the directory you want to
  1837.                     load.  The 'Titles' gadget is for giving the
  1838.                     gadget a title.  This comes in handy for very long
  1839.                     paths to directories where the full path will not
  1840.  
  1841.  
  1842.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.                                            Simple Commands And MegaD 29
  1853.  
  1854.  
  1855.                     fit into the limited area displayed by the device
  1856.                     gadget in the 'Main Control Window.'
  1857.  
  1858.                     Most if not all of them should be set to something
  1859.                     already.  We want two of them to be set for our
  1860.                     specifications for  this tutorial.  We need one
  1861.                     with the device and title set to "Ram Disk:" (this
  1862.                     may already be set.) and the second set to
  1863.                     "Tutorial:"  Please note the ':' colon at the end
  1864.                     of the name.  It needs to be there in the Device
  1865.                     string gadget.  After setting two device gadgets
  1866.                     to our specifications select the 'Use' and then
  1867.                     the 'Save' gadget.  This will write the MegaD
  1868.                     preference file (MegaD2.pf) to the same directory
  1869.                     that you loaded MegaD from and in doing so you
  1870.                     will not have to reset the gadgets each time you
  1871.                     run MegaD.  The file will save and the MegaD
  1872.                     Preference window will close.  The device gadgets
  1873.                     in the Control Window will now show the
  1874.                     modifications that you just performed.  You should
  1875.                     now have one of the gadgets reading 'Ram Disk:'
  1876.                     and another  reading 'Tutorial:'
  1877.  
  1878.           v"zAuto Save when Quitv"z
  1879.                     MegaD is set at default to save the preference
  1880.                     file every time you quit.  Each time you are done
  1881.                     using MegaD, and quit the program, MegaD will save
  1882.                     its preference file.  This way you will never need
  1883.                     to worry about saving the changes.   Eventually
  1884.                     saving the preference file each time you quit will
  1885.                     be a waist of time, we will show you how to change
  1886.                     this setting later.
  1887.  
  1888.           v"zSimple Commandsv"z
  1889.                     The first set of commands that I am going to go
  1890.                     though will be the simple commands that work
  1891.                     without a source and destination directory.
  1892.                     Commands such as 'Set Protect', Create Dir'  'View
  1893.                     Text'...   They are simple to explain and so it
  1894.                     will be the best place to start.
  1895.  
  1896.           v"zDelete Commandv"z
  1897.                     Place your Tutorial: disk in any of your floppy
  1898.                     disk drives.  Select the 'Tutorial:' device
  1899.                     gadget.   The Tutorial: disk will load and the
  1900.                     directory will be placed into a directory window.
  1901.                     In the newly opened 'Tutorial' window, you will
  1902.                     see a number of directories and files ('C',
  1903.                     'Devs', 'Expansion', etc.).  One of these
  1904.                     directories is labelled 'C'.  Double click on this
  1905.                     'C' directory in the 'Tutorial' text window.  The
  1906.  
  1907.  
  1908.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.                                            Simple Commands And MegaD 30
  1919.  
  1920.  
  1921.                     'C' directory will load and replace the
  1922.                     'Tutorial:' directory list in the open window.
  1923.                     This directory contains upwards of 165,000 bytes
  1924.                     of files.  We are going to need some room on this
  1925.                     disk to perform some future functions so we will
  1926.                     delete most of the files in this directory.  We
  1927.                     will drag select the first few items in the
  1928.                     directory window.  Select the top item and drag
  1929.                     select (by holding the select button down)
  1930.                     downward until just before you reach the 'Dir'
  1931.                     entry in this window.  Now release your mouse
  1932.                     select button.  When you release the mouse button,
  1933.                     you should notice that approximately the top 11
  1934.                     files (all the way down to but not including the
  1935.                     'Dir' file) in this window are highlighted, and
  1936.                     that the remaining (bottom) files are not
  1937.                     highlighted.  We do not want to delete the 'Dir'
  1938.                     command, we will be using it for another function
  1939.                     later.
  1940.  
  1941.           v"zFinal Warningv"z
  1942.                     NOTE: This is the last time I will warn you.  You
  1943.                     Must be using a copy of your Workbench disk!!!!!
  1944.  
  1945.                     You have now selected a number of files for some
  1946.                     function.  We are going to delete the files
  1947.                     selected.    Remember, we have four banks of
  1948.                     gadget and that the first bank of gadget is access
  1949.                     when none of the keyboard shift keys and non of
  1950.                     the 'Shift Gadgets' are selected by the Keypad
  1951.                     Gadgets,  The 'Delete" function is located in the
  1952.                     first bank of gadgets on the second keypad gadget
  1953.                     from the right on the top row.  Select the
  1954.                     'Delete' gadget.  You will get a requestor that
  1955.                     reads something like this:
  1956.  
  1957.                                 11 File/s marked for delete
  1958.                              0 Directory/ies marked for delete
  1959.                                          Continue
  1960.  
  1961.                     With two gadgets in it,  Yes and No.  Select the
  1962.                     Yes gadget.  This can be done with the mouse or
  1963.                     from your keyboard.  Any gadget with an
  1964.                     'underlined' character in it, can be selected by
  1965.                     using the corresponding key on your keyboard.
  1966.  
  1967.           v"zPanic Windowv"z
  1968.                     A window will open.  This window is called the
  1969.                     Panic Window.  It shows you what MegaD is
  1970.                     currently doing.  It has two gadgets at the
  1971.                     bottom.  Suspend and Cancel.  The Suspend gadget
  1972.  
  1973.  
  1974.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.                                            Simple Commands And MegaD 31
  1985.  
  1986.  
  1987.                     will suspend the current activity, and let you
  1988.                     think about 'continuing', by hitting suspend
  1989.                     again, or 'aborting' with the Cancel gadget.
  1990.  
  1991.                     As the files are deleted they will be displayed in
  1992.                     the Panic window.  Once all the marked files are
  1993.                     deleted the Panic window will close, the directory
  1994.                     window will be updated to show the files that were
  1995.                     removed from it.
  1996.  
  1997.                     Now we will drag select all the other items in the
  1998.                     'C' directory leaving the 'Dir' file entry
  1999.                     unselected.  Select the Delete gadget again to
  2000.                     remove the rest of the files from the disk.  You
  2001.                     will have noticed that it took very little time to
  2002.                     delete this large number of files.  This should
  2003.                     scare you just enough to be cautious when using
  2004.                     the Delete function.  Under normal methods the
  2005.                     deleted files are gone forever from that disk.
  2006.  
  2007.           v"zRenamev"z
  2008.                     The 'Dir' file should be the only file remaining
  2009.                     in your 'C' directory at this time.  Select this
  2010.                     'Dir' directory (by single clicking on it), and
  2011.                     then select the 'Rename' gadget.  This gadget is
  2012.                     in the first bank of command gadgets.  On the top
  2013.                     row, far right side.   A request window will open
  2014.                     that will have 'Dir' in the string gadget.  Change
  2015.                     the name to "Directory" and press return.  The
  2016.                     filename will change on the disk and in the
  2017.                     directory window to 'Directory'.  Rename the file
  2018.                     back to its original name 'Dir'.
  2019.  
  2020.           v"zSet Protectv"z
  2021.                     Each Amiga file has a set of bits that are
  2022.                     associated with it.  They tell the operating
  2023.                     system what it can and can not do with the file.
  2024.                     The different bits are represented by letters:
  2025.  
  2026.                     v"zProtection Bitsv"z
  2027.  
  2028.                     r  The file can be read.
  2029.                     w  The file can be written to (altered).
  2030.                     e  The file is executable (a program (not always
  2031.                       the case though))
  2032.                     d  The file can be deleted
  2033.                     s  The file is a script.
  2034.                     p  The file is a pure command and can be made
  2035.                       resident.
  2036.                     a  The file has been archived.
  2037.                     ?  Were not sure. (Commodore/Amiga has not
  2038.  
  2039.  
  2040.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.                                            Simple Commands And MegaD 32
  2051.  
  2052.  
  2053.                       finalize what this bit will be used for)
  2054.  
  2055.           v"zDisplay Protect Bitsv"z
  2056.                     To get MegaD to display these bits and their
  2057.                     settings you need to select the menu item 'Show,
  2058.                     Protection' so that it has a check mark in front
  2059.                     of it.
  2060.  
  2061.           v"zReformat Directory Windowsv"z
  2062.                     The open directory window should now be displaying
  2063.                     the protection bits with the directory items.  If
  2064.                     not, select the 'Show, Reset All' menu item, this
  2065.                     will force all open directory windows to reformat
  2066.                     the information to the 'Show' menu settings.
  2067.  
  2068.                     We left the 'Dir' file in the 'C' directory of the
  2069.                     Tutorial: disk.  If the window to that directory
  2070.                     is not opened, open it now.  Select the directory
  2071.                     entry for 'Dir'.  We are going to reset the
  2072.                     protection bits of that file with the MegaD 'Set
  2073.                     Protect' command.  This command is located on the
  2074.                     first bank of command gadgets, second row to the
  2075.                     far left.  Select this gadget.  A window will open
  2076.                     with eight check gadgets.  One check gadget for
  2077.                     each bit.  We want to protect this file from
  2078.                     deletion.  Select the top check gadget, which is
  2079.                     'd Delete', so that the check mark is not visible
  2080.                     in it.   Then select the Use Gadget.  The d flag
  2081.                     will no longer be visible for the 'Dir' directory
  2082.                     item. 
  2083.  
  2084.                     Did it really protect this file from deletion?
  2085.                     Select the 'Dir' entry again and try to use the
  2086.                     MegaD Delete command.  You should end up with a
  2087.                     requestor that reads: 
  2088.                                          File dir
  2089.                                        is protected
  2090.                                       Delete anyway?
  2091.  
  2092.                     Answer No to this requestor, we still need the
  2093.                     'Dir' file for a later lesson.  MegaD recognized
  2094.                     that the bit was set, and that the file could not
  2095.                     be deleted.  If you would have answered Yes to the
  2096.                     requestor MegaD would have set the delete bit so
  2097.                     that it could be deleted, and then delete the
  2098.                     file.
  2099.  
  2100.           v"zAuto Destinationv"z
  2101.                     Place the Tutorial: disk in one of the drives if
  2102.                     it is not already.  Then select the Tutorial:
  2103.                     device gadget to open a directory window to it.
  2104.  
  2105.  
  2106.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.                                            Simple Commands And MegaD 33
  2117.  
  2118.  
  2119.                     You will notice that the 'Dest'ination gadget is
  2120.                     selected in this window.  MegaD selects the active
  2121.                     directory window on the screen as the destination
  2122.                     directory.  Some of MegaD commands require that a
  2123.                     destination window be available.
  2124.  
  2125.           v"zCreate Directoryv"z
  2126.                     The 'Create Dir' command is one of those commands
  2127.                     that needs a destination.
  2128.  
  2129.                     The 'Create Dir' command gadget is located in the
  2130.                     first bank of command gadgets, second row, second
  2131.                     from the left of the window.  Select this gadget
  2132.                     and a requestor will open to the screen that
  2133.                     should read:
  2134.  
  2135.                                    Destination Directory
  2136.                                          Tutorial:
  2137.                                   Enter the new name for
  2138.                                   the directory to create
  2139.  
  2140.                     It will have a string gadget to enter a directory
  2141.                     name to create in the current destination
  2142.                     directory.  Enter 'My_directory' into the string
  2143.                     gadget.  Then press return, remember that any
  2144.                     requestor that has only one string gadget,
  2145.                     pressing 'return' in that string gadget is the
  2146.                     same as hitting the 'Use' gadget.
  2147.  
  2148.                     The new directory "My_directory" will be created
  2149.                     on the disk, and the window will be updated to
  2150.                     show the change.  MegaD also created a drawer icon
  2151.                     with this directory as "My_directory.info".  This
  2152.                     'auto-icon' feature can be disabled (and we'll
  2153.                     show you how later on).
  2154.  
  2155.           v"zText Readerv"z
  2156.                     MegaD has a very powerful built in text reader
  2157.                     that can be used to read any text file.  It will
  2158.                     read non-text files or word processor files to,
  2159.                     but the formatting of the text may be somewhat
  2160.                     erratic.  On the Tutorial: disk you will find some
  2161.                     text files in the S: directory.  This is the Amiga
  2162.                     Startup drawer and many script files can be found
  2163.                     there.  We are going to get MegaD to read and
  2164.                     place the information found in one of the files in
  2165.                     to a text window.  
  2166.  
  2167.           v"zLoading a text filev"z
  2168.                     Open a Directory Window for the Tutorial: disk if
  2169.                     one is not already opened.  Double click the 'S'
  2170.  
  2171.  
  2172.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.                                            Simple Commands And MegaD 34
  2183.  
  2184.  
  2185.                     directory so that MegaD will read the 'S'
  2186.                     directory and swap it into the same window.
  2187.                     Single select the "Startup-sequence" file.  With
  2188.                     that file highlighted select the command gadget
  2189.                     "View Text", it is found in the first bank of
  2190.                     command gadgets, second row, second from the
  2191.                     right.  The file will be read from the disk and
  2192.                     place into a text window.
  2193.  
  2194.           v"zText Window Partsv"z
  2195.                     This window has the same type of proportional
  2196.                     gadgets and arrow step gadgets that a Directory
  2197.                     Window has.   They work in the same manner as the
  2198.                     Directory Window did except that they move your
  2199.                     view position of the text to other unseen areas.
  2200.  
  2201.           v"zText Window Menuv"z
  2202.                     You will find that the text window has its own
  2203.                     menu.  This menu will let you do a wide variety of
  2204.                     functions such as set the text color, print the
  2205.                     text visible in the window or the whole text file.
  2206.                      It has cursor moves to jump to the first or last
  2207.                     of the file. It will let you search for a string
  2208.                     of characters.
  2209.  
  2210.           v"zText Window Keysv"z
  2211.                     Many of the keys on your keyboard will perform the
  2212.                     same functions as your menu.  This is a list of
  2213.                     them.
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.                                            Simple Commands And MegaD 35
  2249.  
  2250.  
  2251.                     Text Window Keypad
  2252.  
  2253.                     Key  Key Front      Action
  2254.  
  2255.                     8    Up Arrow       Cursor up one line
  2256.                     2    Down Arrow     Cursor down one line
  2257.                     4    Left Arrow     Cursor left one line
  2258.                     6    Right Arrow    Cursor right one line
  2259.                     7    Home           First of text file
  2260.                     1    End            Last of text file
  2261.                     (    NumL           Toggle hex mode
  2262.                     0    Ins            Repeat last search
  2263.                     .    Del            Search string
  2264.                     9    Pg Up          Page up once
  2265.                     3    Pg Dn          Page down once
  2266.  
  2267.                     Your cursor keys will move the text in the window
  2268.                     in the same direction as the keys point.
  2269.  
  2270.                     The window close gadget or your 'Esc' key will
  2271.                     close the text window. Close this text window.
  2272.  
  2273.           (NEW 3.1)
  2274.           v"zAuto Text Window Scrollv"z
  2275.                     While holding the Shift key down and selecting the
  2276.                     text window with the Left mouse button.  The text
  2277.                     window will start to scroll up or down at
  2278.                     different speeds depending on the current position
  2279.                     of the mouse pointer.  One more select of this
  2280.                     window or activating another window will end the
  2281.                     scroll.  This enables the user to set the scroll
  2282.                     of the window slow enough that the text file can
  2283.                     be read line after line.
  2284.  
  2285.           v"zDouble Click Text Filev"z
  2286.                     We will load the same text file again but we will
  2287.                     not use the 'View Text' command gadget.  Double
  2288.                     click the text file the same as you would double
  2289.                     click an icon on the Workbench.  MegaD will check
  2290.                     the file to see if it contains text and if so it
  2291.                     will load the text in to a text window.  This, I
  2292.                     am sure will become your standard way to load a
  2293.                     text file, the double click of a known text file
  2294.                     will become second nature to read it.  Again close
  2295.                     this text window.
  2296.  
  2297.           v"zMultiple Text Windowsv"z
  2298.                     As I said MegaD, has a very powerful text viewer,
  2299.                     but what we have seen so far is not very uncommon.
  2300.                     What makes the MegaD's text viewer so unique is
  2301.                     that you may have as many text windows open at one
  2302.  
  2303.  
  2304.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.                                            Simple Commands And MegaD 36
  2315.  
  2316.  
  2317.                     time as you like and your system memory will
  2318.                     allow.  To demonstrate this I want you to select
  2319.                     about three files in the 'Tutorial:S' directory.
  2320.                     With those three files selected select the 'View
  2321.                     Text' command gadget.  MegaD will load all the
  2322.                     selected text files and place each one in a
  2323.                     different text window.
  2324.  
  2325.           v"zManipulating Multiple Text Windowsv"z
  2326.                     You can toggle through all the text window by
  2327.                     using your 'F7' function key.  Each time you press
  2328.                     'F7' the next text window will be moved to the
  2329.                     front of the screen.
  2330.  
  2331.                     We are now done with text windows, so close all
  2332.                     the text windows that you just opened.
  2333.  
  2334.           v"zFile Commentsv"z
  2335.                     Each directory entry in a directory list can have
  2336.                     a file comment associated with it.  The comment is
  2337.                     a good place to keep special notes with your
  2338.                     files.  Maybe the file is associated with another
  2339.                     file such as a program, yet the name of the file
  2340.                     does not seem to relate to it.  By adding a
  2341.                     comment that tells you of this association to a
  2342.                     file it can be easily identified later.
  2343.  
  2344.                     The comment can be up to 79 characters long.  It
  2345.                     can say anything you want it to say.  Adding
  2346.                     comments to your files will not use any more space
  2347.                     on your disk, the space that the comment is stored
  2348.                     is allocated away from your free disk space at the
  2349.                     time the file or directory was created.
  2350.  
  2351.                     Again we will need to have the Tutorial: directory
  2352.                     window opened to the screen. Select the first item
  2353.                     in this window.  Now that the directory item is
  2354.                     selected, select the 'File Comment' command
  2355.                     gadget, this command is in the first bank, bottom
  2356.                     row, far left.  It is two gadgets wide, to
  2357.                     represent the '0' key on your keypad.  Once you
  2358.                     select this command a request window will open
  2359.                     that should read like this:
  2360.  
  2361.                                      Source Directory
  2362.                                          Tutorial:
  2363.                                       Source Filename
  2364.                                              C
  2365.                                    Destination Directory
  2366.                                          Tutorial:
  2367.                                    Enter comment to add
  2368.  
  2369.  
  2370.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.                                            Simple Commands And MegaD 37
  2381.  
  2382.  
  2383.                                        to this file
  2384.  
  2385.                     A string gadget is in the bottom that reads:
  2386.  
  2387.                                        File comment
  2388.  
  2389.                     And finally four select gadgets:
  2390.                                  Use,  All,  Skip,  Cancel
  2391.  
  2392.                     In the string gadget type 'This is a comment' and
  2393.                     press return.  The comment will be written to the
  2394.                     disk for that file or directory, in my case it was
  2395.                     the directory 'C'.
  2396.  
  2397.                     The comment should not be visible, an '*' was
  2398.                     place in the line that we selected to enter the
  2399.                     comment for.
  2400.  
  2401.           v"zSet Show Commentv"z
  2402.                     To see the comment in the Directory Window you
  2403.                     will need to set the menu item 'Show, Comment' so
  2404.                     that a check mark is in front of the 'Comment'.
  2405.                     If the comment is still not visible select the
  2406.                     'Show, Reset All" menu item to force reformatting
  2407.                     of all open directory window.
  2408.  
  2409.           v"zSetting Multiple Commentsv"z
  2410.                     You may set groups of files with the same comment.
  2411.                     This is the purpose of the 'All' gadget that was
  2412.                     in the 'Set Comment' requestor.  At this moment I
  2413.                     want you to drag select all the files in the
  2414.                     Tutorial: Directory Window.  Select the 'File
  2415.                     Comment' command gadget.  Now in the requestors
  2416.                     string gadget enter 'All have a comment' and
  2417.                     instead of pressing return select the All gadget.
  2418.                     This will only take a moment and all the entries
  2419.                     in this directory will have the file comment 'All
  2420.                     have a comment' associated with them.
  2421.  
  2422.                     Before we leave this section select the menu item
  2423.                     'Show, None'.  This will uncluttered the directory
  2424.                     windows while we go though the Tutorial.   Later
  2425.                     you will find that you like to have certain file
  2426.                     attributes showing such as the size of the file.
  2427.                     For now we are more interested in learning the
  2428.                     commands and the less clutter we have the easier
  2429.                     it will be.
  2430.  
  2431.           v"zUpdate Dirv"z
  2432.                     I will not be teaching you how to use this
  2433.                     function as much as when to use this function.  
  2434.  
  2435.  
  2436.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.                                            Simple Commands And MegaD 38
  2447.  
  2448.  
  2449.  
  2450.           v"zBuffered Directoriesv"z
  2451.                     MegaD buffers directories.  This means that MegaD
  2452.                     stores a copy of the disk structure in the
  2453.                     computers memory.  It does this so that you do not
  2454.                     have to wait for the directory to reload when you
  2455.                     need it again.  One of the pitfalls of this method
  2456.                     is that if the directory is changed on the disk by
  2457.                     another program other than MegaD, MegaD's buffered
  2458.                     directory will be inaccurate.  An example of this
  2459.                     would be:
  2460.  
  2461.                     You use MegaD to open a Directory Window to the
  2462.                     directory that you store your word processing
  2463.                     files.  You switch to using the word processor,
  2464.                     create a new file and save that new file in your
  2465.                     word processing file directory.  You switch back
  2466.                     to using MegaD so that you may do something with
  2467.                     the file that you just saved using your word
  2468.                     processor and find that the newly created file is
  2469.                     not listed with the other items in the directory.
  2470.                     MegaD simply does not know that the new file
  2471.                     exists.
  2472.  
  2473.                     'Update Dir' only updates the destination
  2474.                     directories on the screen.  Selecting the 'Update
  2475.                     Dir' gadget while the 'Dest'ination gadget is
  2476.                     selected for this window will force MegaD to
  2477.                     reload the directory and re-display any new
  2478.                     information found.
  2479.  
  2480.                     'Update Dir' is located on the first bank of
  2481.                     command gadgets bottom row, far right hand side.
  2482.  
  2483.           v"zSelect/Clear commandsv"z
  2484.                     You may have notice that I have skipped over the
  2485.                     commands that start with 'Select', 'Clear', 'Sel'
  2486.                     and 'Clr'.  You will find a wide variety of these
  2487.                     types of commands on both first bank and the
  2488.                     second bank of the command gadgets.  They work on
  2489.                     open Directory Windows in different ways.  They
  2490.                     all ether select or clear (unselect) items in
  2491.                     Directory Window.  Some work on all items, some
  2492.                     only work of files or directory items, some only
  2493.                     work on source Directory Window.   Most of them
  2494.                     are very simple, Such as 'Select All', by
  2495.                     selecting this Command Gadget all items in all
  2496.                     open Directory Windows will become selected.  'Clr
  2497.                     Dir' will clear or unselect all directories in
  2498.                     open Directory Window.  'SelSrcFile' will select
  2499.                     all source (non-'Dest'ination windows) files in
  2500.  
  2501.  
  2502.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.                                            Simple Commands And MegaD 39
  2513.  
  2514.  
  2515.                     open Directory Window.  
  2516.  
  2517.                     In general, there are 14 of these types of
  2518.                     commands.  You may want to play around with these.
  2519.                     There is not a lot to them except for two special
  2520.                     types.  Patterns and ABoot (AutoBoot).  'Patterns'
  2521.                     can be confusing.  They work much the same as
  2522.                     'Filters' and 'Find'.  These three will be
  2523.                     discussed later in the Tutorial.  ABoot (AutoBoot)
  2524.                     requires an AutoBoot to have been defined before
  2525.                     it can be used so this too will have to wait until
  2526.                     we can dig into the concept and use of AutoBoots.
  2527.  
  2528.           v"zDuplicatev"z
  2529.                     'Duplicate' is used to create a new copy of a file
  2530.                     or directory in the same directory that the file
  2531.                     or directory is in.  The duplicate file or
  2532.                     directory needs to have a different name than the
  2533.                     original, this being that you can not have two
  2534.                     files or directories of the same name in any
  2535.                     particular directory.
  2536.  
  2537.                     The 'Duplicate' Command Gadget is found in the
  2538.                     second (Ctrl) bank on the second row, far left of
  2539.                     the Command Gadgets.  Again we will need to have
  2540.                     the Tutorial: directory window opened to the
  2541.                     screen.  If you have been going along with this
  2542.                     Tutorial you should have only one item left in the
  2543.                     'C' directory of this disk.  Double click the
  2544.                     'Tutorial:C' directory to read and display the
  2545.                     contents.  Here we have the "Dir" file that was
  2546.                     renamed to "Directory" and then back to "Dir".  We
  2547.                     are going to make a duplicate of this file.
  2548.  
  2549.           v"zDuplicate a Filev"z
  2550.                     Select the directory item "Dir" in the Tutorial:C
  2551.                     Directory Window.  Select the 'Duplicate' Command
  2552.                     Gadget.  A request window will open that should
  2553.                     read:
  2554.  
  2555.                                      Source Directory
  2556.                                         Tutorial:C
  2557.                                       Source Filename
  2558.                                             Dir
  2559.                                    Destination Directory
  2560.                                         Tutorial:C
  2561.                                       Enter filename
  2562.                                 to duplicated this file as
  2563.  
  2564.                     You will also find a string gadget that is titled
  2565.  
  2566.  
  2567.  
  2568.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.                                            Simple Commands And MegaD 40
  2579.  
  2580.  
  2581.                                         "Filename"
  2582.  
  2583.                     and in this string gadget you will find the
  2584.                     original name of the file that you wish to
  2585.                     duplicate, "Dir".
  2586.  
  2587.                     Change the string in this string gadget to read.
  2588.                     "Duplicated" and press the return key.  The file
  2589.                     will be copied to the same directory under the
  2590.                     name "Duplicated". The Directory Window will be
  2591.                     updated to show the new file.  This command will
  2592.                     work on full directories if you wish to do so.
  2593.  
  2594.           v"zGo Deepv"z
  2595.                     'Go Deep' is used to read and place the selected
  2596.                     directories or volumes into MegaD's buffers.  You
  2597.                     may find other reasons to use this command but its
  2598.                     main purpose is to calculate how many bytes of
  2599.                     disk space a particular directory or set of
  2600.                     directories take up to store on disk.
  2601.  
  2602.           v"zSet Show Sizev"z
  2603.                     To better see how this works, select the menu item
  2604.                     'Show, Size' so that a 'check mark' is in front of
  2605.                     the menu item.  Again we will need to have the
  2606.                     Tutorial: directory window opened to the screen.
  2607.                     The size of files and directories will now be
  2608.                     displayed in the Directory Windows.
  2609.  
  2610.                     If the size of the files are not being shown,
  2611.                     select the menu item, 'Show, Reset All' to force
  2612.                     the re-display of all open Directory Windows.
  2613.  
  2614.           v"zCalculating Directory Sizesv"z
  2615.                     You will notice that the directories in this
  2616.                     window show "(dir)" in the same column that the
  2617.                     files of the window show the file size.  MegaD can
  2618.                     not tell how many bytes of disk space a directory
  2619.                     uses until that full directory has been buffered.
  2620.                     We will tell it to read and buffer one of the
  2621.                     directories.  Select the "Devs" entry of the
  2622.                     "Tutorial:" Directory Window.  Now select the 'Go
  2623.                     Deep' Command Gadget.  It is located on the second
  2624.                     (Ctrl) Command Gadgets bank, second row, far
  2625.                     right.  After doing so MegaD will read and buffer
  2626.                     any selected directory in any open Directory
  2627.                     Window.  Once it has finished reading the
  2628.                     directory it will calculate the actual space used
  2629.                     by this directory and replace the "(dir)" with
  2630.                     that information.
  2631.  
  2632.  
  2633.  
  2634.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.                                            Simple Commands And MegaD 41
  2645.  
  2646.  
  2647.           v"zEmpty Directoriesv"z
  2648.                     If the directory is empty the size will not be
  2649.                     shown and it will be left displaying "(dir)".
  2650.  
  2651.                     'Go Deep' will also work on multiple groups of
  2652.                     selected directories.  Drag Select the first three
  2653.                     or so directory items in the Tutorial: Directory
  2654.                     Window, be sure not to select all of them.  There
  2655.                     is one more variation on the 'Go Deep' command
  2656.                     that I want to show you later on that will need a
  2657.                     few other directories to read and buffer.  After
  2658.                     selecting a few other directories select the 'Go
  2659.                     Deep' Command Gadget.  MegaD will do the same to
  2660.                     the selected directories as it did with the one
  2661.                     directory selected earlier.
  2662.  
  2663.           v"zBuffering a Full Volumev"z
  2664.                     You may tell MegaD to go deep and buffer the full
  2665.                     volume by selecting the entry of the volume in the
  2666.                     'Volumes In Memory' list.  Select the Tutorial:
  2667.                     entry in this list and then select the 'Go Deep'
  2668.                     Command Gadget.  You will notice that the other
  2669.                     directories that are still buffered whiz by at
  2670.                     high speed in the Panic Window.  MegaD knows what
  2671.                     is there and recalculates from memory for those
  2672.                     directories.  It will also read all the unbuffered
  2673.                     directories on this disk and buffer and calculate
  2674.                     the directories sizes for them also.  Now you
  2675.                     should be able to see the sizes of all directories
  2676.                     that are not empty.
  2677.  
  2678.           v"zIconifyv"z
  2679.                     Iconify puts MegaD to sleep so that it can be
  2680.                     called upon later if needed.  Iconify works
  2681.                     differently depending on what operating system you
  2682.                     are using.  
  2683.  
  2684.           v"z1.3 Iconifyv"z
  2685.                     If you are still using Workbench 1.3, Iconify
  2686.                     opens a small window on the Workbench screen and
  2687.                     closed all other MegaD window.  To reopen MegaD,
  2688.                     activate the small window and select the right
  2689.                     mouse button as you would if you wanted to select
  2690.                     a menu item.  This will reactivate MegaD so that
  2691.                     you can use it again.   MegaD currently supports
  2692.                     Workbench1.3 but in future releases this support
  2693.                     will be removed.  Workbench2.0 offers much more
  2694.                     for both you the user and the developers.
  2695.  
  2696.           v"z2.0 Iconifyv"z
  2697.                     If you are using Workbench 2.0 MegaD uses what is
  2698.  
  2699.  
  2700.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.                                            Simple Commands And MegaD 42
  2711.  
  2712.  
  2713.                     called an Application Icon when in Iconify mode.
  2714.                     To iconify MegaD, select the menu item
  2715.                     'Project/Iconify'.  Please do so at this time.
  2716.                     This icon is placed on the Workbench screen, and
  2717.                     looks much like any other icon.  It will have the
  2718.                     title of MegaD 3.1x under the icon.   The icon can
  2719.                     be double clicked to call MegaD.  In doing so the
  2720.                     Control Window will be reopened.
  2721.  
  2722.           v"zDropping icons onto the Application Iconv"z
  2723.                     You can also drag and drop other icons onto the
  2724.                     MegaD application icon to have MegaD try to
  2725.                     perform some type of action on the items dropped.
  2726.                     At the very least, this action will reopen the
  2727.                     Control Window.  Here is a list of things that
  2728.                     could be dropped onto the MegaD application icon
  2729.                     and what will happen.
  2730.  
  2731.           v"zDrop a Disk Icon.v"z
  2732.                     By dropping the disk icon onto the application
  2733.                     icon, MegaD will reopen and load the volume
  2734.                     dropped and open a Directory Window to display its
  2735.                     contents.
  2736.  
  2737.           v"zDrop a Drawer Iconv"z
  2738.                     By dropping a drawer icon onto the application
  2739.                     icon MegaD will reopen and load the drawer dropped
  2740.                     and then open a Directory Window to display it's
  2741.                     contents.
  2742.  
  2743.           v"zDrop a Program Iconv"z
  2744.                     By dropping a program Icon onto the application
  2745.                     icon, MegaD will reopen and open a window called
  2746.                     "Program Control" that will allow you to run the
  2747.                     program in a number of different ways.  This
  2748.                     window is complex and will be explained when we
  2749.                     get into using AutoBoots, User Gadgets, and Menu
  2750.                     sets later.
  2751.  
  2752.           v"zDrop a Text File Iconv"z
  2753.                     If you drop a text file icon on to the application
  2754.                     icon, MegaD will reopen, load the text file and
  2755.                     place it into a text window for viewing.
  2756.  
  2757.           v"zDrop a Project Iconv"z
  2758.                     If you drop a project icon on to the application
  2759.                     icon and MegaD has been trained to know what to do
  2760.                     with that type of data through the AutoBoot
  2761.                     program controls.  This could be a graphics file
  2762.                     and MegaD would call your favorite graphics
  2763.                     viewer.  This could be a word processor file and
  2764.  
  2765.  
  2766.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.                                            Simple Commands And MegaD 43
  2777.  
  2778.  
  2779.                     MegaD will call the word processor to allow you to
  2780.                     edit it.
  2781.  
  2782.           v"zApplication Menuv"z
  2783.                     Along with the Application Icon being placed onto
  2784.                     the Workbench screen another feature of Workbench
  2785.                     2.0 is used.  Two new menu items will be placed
  2786.                     into the Workbench Tool menu.  One is "Call MegaD"
  2787.                     to reopen the MegaD Control Window and the other
  2788.                     is "Quit MegaD" to quit and unload the MegaD code
  2789.                     that is in memory at the moment.  To illustrate
  2790.                     this feature, please iconify MegaD by selecting
  2791.                     the menu item 'Project/Iconify'.  Notice that all
  2792.                     MegaD  directory windows and the MegaD control
  2793.                     window disappear.  Further notice that a new MegaD
  2794.                     icon was created on your Workbench screen.  With
  2795.                     MegaD still iconified, select the Workbench menu
  2796.                     item 'Tools/Call MegaD'.  Notice that the MegaD
  2797.                     control window reopens.  If you were observant
  2798.                     when you selected the Workbench menu item
  2799.                     'Tools/Call MegaD', you noticed another menu item
  2800.                     labelled 'Tools/Quit MegaD'.  These are the two
  2801.                     application menus when MegaD is iconified
  2802.  
  2803.           v"zQuitting MegaDv"z
  2804.                     MegaD has six ways to quit and unload the program
  2805.                     code from memory.  One, the window close gadget in
  2806.                     the Control Window. Two, the Quit menu item in the
  2807.                     project menu. Three Right-Amiga Q, the menu
  2808.                     equivalent of 'Quit'.  Four, the Command Gadget
  2809.                     'Quit'.  Five, the "Application Menu", "Tools,
  2810.                     Quit MegaD" from the Workbench screen.  And the
  2811.                     ARexx QUIT command,  All six do exactly the same
  2812.                     thing.  The 'Quit' Command Gadget is located on
  2813.                     the second (Ctrl) bank, bottom row, second from
  2814.                     the right of the Command Gadgets.
  2815.  
  2816.           v"zDisk Labelsv"z
  2817.                     MegaD has a complete facility for creating disk
  2818.                     labels with very little effort.  A printer is
  2819.                     required to create them.  MegaD can be set to use
  2820.                     any size label.  It comes set at default to work
  2821.                     with an Avery brand pin fed label.  The product
  2822.                     number is 4241.  As mentioned it can be set to use
  2823.                     the label of your choice and this is done by the
  2824.                     menu item 'Project, Defaults'.
  2825.  
  2826.                     Labels can be created from scratch (manually) or
  2827.                     from information selected in the directory window
  2828.                     for a volume.
  2829.  
  2830.  
  2831.  
  2832.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.                                            Simple Commands And MegaD 44
  2843.  
  2844.  
  2845.           v"zManual Labelv"z
  2846.                     To create a label manually, Be sure that there are
  2847.                     no items selected in any of the Directory Windows
  2848.                     and that none of the 'Volumes In Memory' items are
  2849.                     selected.  Select the 'Label' Command Gadget that
  2850.                     is located on the third (shift) bank, second row,
  2851.                     far left.  A window will open titled "Manual
  2852.                     Labels".  This window has 15 string gadgets and
  2853.                     two booleen gadgets.  The topmost string gadget is
  2854.                     used to enter the volume name.  This name is
  2855.                     printed on the label in two places.  Once where it
  2856.                     can be seen at the top where the label folds over
  2857.                     the top of the disk.  The second time on the front
  2858.                     of the label to title it.  The other 14 string
  2859.                     gadgets are there to enter whatever you want
  2860.                     printed below the title.  To print the label
  2861.                     select the Print gadget. To clear all the strings
  2862.                     for a new label select the Clear gadget.  The
  2863.                     window close gadget will close the window.  The
  2864.                     'Q' keyboard key will do the same function as the
  2865.                     window close gadget.
  2866.  
  2867.           v"zAuto Labelsv"z
  2868.                     The second and quickest way to create a label is
  2869.                     to select items in an open Directory Window or to
  2870.                     select the volume name in the 'Volumes In Memory'
  2871.                     list.  After doing so and then selecting the
  2872.                     Command Gadget 'Label' MegaD will print the
  2873.                     selected information on to the disk label.
  2874.  
  2875.                     I suggest that your load the Tutorial: volume into
  2876.                     a Directory Window and try the different modes of
  2877.                     the label print.  Print to plain paper so not to
  2878.                     waste any labels and this will give you an idea of
  2879.                     how simple it can be to create labels for your
  2880.                     disks.
  2881.  
  2882.           v"zLabel Alignv"z
  2883.                     Label align is used to help you align the labels
  2884.                     in your printer before printing them.  It needs to
  2885.                     be done only once each time you load the pin fed
  2886.                     labels into your printer.  
  2887.  
  2888.                     Label align prints two dots to the printer.  The
  2889.                     dots should be just above the label as to not
  2890.                     write on the label and should be centered over the
  2891.                     label.  You may select Command Gadget 'Label
  2892.                     Align' as often as you wish and the label will not
  2893.                     be advance in the printer.  The Command Gadget
  2894.                     'Label Align' is located on the third (shifted)
  2895.                     bank, second row, second from the left of the
  2896.  
  2897.  
  2898.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.                                            Simple Commands And MegaD 45
  2909.  
  2910.  
  2911.                     Command Gadgets.
  2912.  
  2913.           v"zLabel Modifyv"z
  2914.                     'Lab. Modify' is a combination of the auto label
  2915.                     and manual label modes.  It places selected
  2916.                     information found in the ''Volumes In Memory''
  2917.                     list or open Directory Window into the manual
  2918.                     label window.  This allows you to preview it and
  2919.                     modify, before it is sent to the printer.  The
  2920.                     best way to understand this is to select a few
  2921.                     items in Tutorial: Directory Window and select the
  2922.                     Command Gadget 'Lab. Modify', this is located on
  2923.                     the third (shifted) bank, second row, second from
  2924.                     the right.  The manual label window will open and
  2925.                     the information will be placed into the window for
  2926.                     modification.  Select Print, Clear or close the
  2927.                     window depending on what you want to do from this
  2928.                     point.
  2929.  
  2930.           v"zDuplicate Disk Labelsv"z
  2931.                     'Label Times' works the same as Label does only it
  2932.                     will give you a requestor before printing the
  2933.                     label and allow you to specify how many duplicates
  2934.                     you need at the time.   Select a couple of items
  2935.                     in the Tutorial: Directory Window and select the
  2936.                     Command Gadget 'Label Times', it is located on the
  2937.                     third (shifted) bank second row far right.  Once
  2938.                     doing so a requestor will open that will read:
  2939.  
  2940.                                 Enter the number of labels
  2941.                                 you wish to print for each
  2942.                                        marked volume
  2943.  
  2944.                     A string gadget title "Number of labels" will be
  2945.                     active, and will allow you to enter the quantity
  2946.                     of labels to print.  Enter a quantity if you want
  2947.                     and press return or hit the Cancel gadget to abort
  2948.                     the operation.
  2949.  
  2950.           v"zDirectory listingsv"z
  2951.                     MegaD allows you to create, and then save or print
  2952.                     a list of selected items in Directory Windows.
  2953.                     The format and sort order of this list depends
  2954.                     upon the settings you have selected in the 'Show'
  2955.                     menu.  This feature may not be abundantly clear at
  2956.                     present, so let me explain.
  2957.  
  2958.           v"zOutput Filev"z
  2959.                     If a directory is selected 'Output File' will
  2960.                     create a list of all files and sub- directories
  2961.                     found in the selected directory.  The same is true
  2962.  
  2963.  
  2964.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  2965.  
  2966.  
  2967.  
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.                                            Simple Commands And MegaD 46
  2975.  
  2976.  
  2977.                     if a volume is selected in the 'Volumes In Memory'
  2978.                     list.  It will create a complete directory listing
  2979.                     of all files and directories on the selected
  2980.                     volumes.
  2981.  
  2982.                     To demonstrate this we will we will need to have
  2983.                     the Tutorial: directory window opened to the
  2984.                     screen.  'Output File' requires a 'Dest'ination
  2985.                     window to be available for it to write the file
  2986.                     to.  By opening the Tutorial: Directory Window the
  2987.                     'Dest'ination gadget of the Tutorial: Directory
  2988.                     Window should have been automatically selected by
  2989.                     MegaD.  If it is not, select it before continuing.
  2990.  
  2991.                     Select a couple of directories and a few of the
  2992.                     files in the Tutorial: Directory Window.  Then
  2993.                     select the Command Gadget 'Output File', it is
  2994.                     located on the third (shifted) bank of Command
  2995.                     Gadgets, Third row, far left.  After doing so a
  2996.                     request window will open displaying this
  2997.                     information:
  2998.  
  2999.                                    Destination Directory
  3000.                                          Tutorial:
  3001.                                   Enter output filename 
  3002.                                             for
  3003.                                    Destination Directory
  3004.  
  3005.                     Below will be an active string gadget titled
  3006.                     "Filename", enter "DirList" into this string
  3007.                     gadget and press return.  The selected directories
  3008.                     will be read from the disk and all the selected
  3009.                     information will be written to the file "DirList"
  3010.                     in the directory Tutorial:. The Tutorial:
  3011.                     Directory Window will be updated to show the new
  3012.                     file that has just been written.  Now to take a
  3013.                     quick look at what was done, double click the
  3014.                     "DirList" file and MegaD will load and place that
  3015.                     file in a text window so that it can be viewed.
  3016.  
  3017.           v"zOutput Formatv"z
  3018.                     Each new level of sub-directories is indented four
  3019.                     spaces.  If any particular directory contains more
  3020.                     than one file, then that directory's file list
  3021.                     will be two columns wide.
  3022.  
  3023.                     There is a slight variation to how the list can be
  3024.                     printed.  If you want tree lines to help trace the
  3025.                     directories and sub-directory structures, you will
  3026.                     find an option in the Output Menu that can be
  3027.                     checked to do this.  Place a check by the menu
  3028.  
  3029.  
  3030.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.                                            Simple Commands And MegaD 47
  3041.  
  3042.  
  3043.                     item 'Output, W/Tree Lines'.  Now perform the
  3044.                     actions required to create another directory
  3045.                     listing and place that file into a text window
  3046.                     just as we did before.  Now you can compare the
  3047.                     difference of the two outputs.
  3048.  
  3049.                     We can create a full listings of the volume by
  3050.                     selecting the Tutorial: entry in the 'Volumes In
  3051.                     Memory' list.  After doing so select the 'Output
  3052.                     File' option again.  After answering the
  3053.                     requestor, MegaD will read through all the
  3054.                     directories and sub directories creating a list of
  3055.                     everything that can be found on the volume.
  3056.  
  3057.                     I find that this output directory list is very
  3058.                     valuable when I am looking to free up a little
  3059.                     space on my hard drive.  Once the list is made I
  3060.                     can scan through it looking for old files that can
  3061.                     be archived or deleted.  Programs that I no longer
  3062.                     have the need to keep readily available.
  3063.  
  3064.           v"zOutput Prtv"z
  3065.                     This is the twin brother of the above described
  3066.                     Output File.  The only different between the two
  3067.                     is this will send the output to the printer
  3068.                     through the PRT: device.
  3069.  
  3070.           v"zMegaD's Spoolerv"z
  3071.                     MegaD uses its own spooler while doing any
  3072.                     printing task.  This lets you continue using MegaD
  3073.                     while your printer is printing away.
  3074.  
  3075.           v"zCancel print jobsv"z
  3076.                     There are two special menu items that allow you to
  3077.                     communicate with the spooler.  You will find them
  3078.                     under the 'Panic' menu.  They are 'CANCEL PRINT'
  3079.                     and 'CANCEL ALL PRINT'. 'CANCEL PRINT' will end
  3080.                     the current print job and go on to the next job if
  3081.                     one is waiting.  'CANCEL ALL PRINT' will cancel
  3082.                     all print task waiting and the current print job.
  3083.  
  3084.           v"zPrinting Text Filesv"z
  3085.                     'Prt Text' will send a selected text file in any
  3086.                     of the open Directory Windows to the spooler which
  3087.                     in turn will send it to the printer.  It will do
  3088.                     some minor checking to see if the file can be
  3089.                     printed.  It will not let you try to print an
  3090.                     executable file and it skips over .info files.
  3091.                     MegaD is smart enough to prevent the printing of
  3092.                     executable files and .info files; however, it
  3093.                     cannot distinguish between text files and word
  3094.  
  3095.  
  3096.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.                                            Simple Commands And MegaD 48
  3107.  
  3108.  
  3109.                     processor formatted files.  If you attempt to send
  3110.                     a word processor formatted file to the printer
  3111.                     with MegaD, the output will not be legible.  A
  3112.                     good test to be sure that the file is a text file
  3113.                     is to double click the file or used the 'View
  3114.                     Text' option to see if it will be read and placed
  3115.                     into a text window.
  3116.  
  3117.                     If you do not have a printer connected to your
  3118.                     Amiga this option will not be of any value to you
  3119.                     and you should not perform the following actions.
  3120.  
  3121.                     We will again need a window open to the "S"
  3122.                     directory on the Tutorial: disk.  Mark the
  3123.                     Startup-Sequence file so that it is selected in
  3124.                     the window.  Then select he Command Gadget 'Prt
  3125.                     Text' found on the third (shifted) bank, third
  3126.                     row, second from the right.  In a few moments the
  3127.                     document will begin to be printed to your printer.
  3128.  
  3129.                     You may select one or more text files and the 'Prt
  3130.                     Text' command will send all of them to the printer
  3131.                     one after the other.  Though I do not suggest that
  3132.                     you do this now unless you have a reason to create
  3133.                     a number of hard copies of the text files.
  3134.  
  3135.           v"zSearching Text Filesv"z
  3136.                     'Search Text' is used to find a word or string of
  3137.                     text in one or more selected text files. Should
  3138.                     you select a directory, 'Search Text' will look
  3139.                     through the full directory and sub-directories for
  3140.                     any occurrences of the string. For this example we
  3141.                     will use the word "path".  
  3142.  
  3143.                     MegaD searches are not case sensitive.  So "path"
  3144.                     will match to "PATH", "Path", "pATH"...  as long
  3145.                     as it spells "path" the match will be true.
  3146.  
  3147.                     It will look for the word "path" within other
  3148.                     words, so if it comes across the words "pathway"
  3149.                     it will be a match, though it may not be what you
  3150.                     want.  You can add spaces before the word and
  3151.                     after the word such as " path " and the match to
  3152.                     pathway will not be true anymore.  But this will
  3153.                     prevent path from being found if it were the first
  3154.                     word on a new line such as "[RETURN]path " or it
  3155.                     was the last word in a sentence that ended with a
  3156.                     period like this " path."
  3157.  
  3158.                     There is a very good chance that the word "path"
  3159.                     can be found in one of the text files found in the
  3160.  
  3161.  
  3162.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.                                            Simple Commands And MegaD 49
  3173.  
  3174.  
  3175.                     "S" directory on the Tutorial: disk.  Open a
  3176.                     window to this directory and drag select all the
  3177.                     files found in it.  Select the Command Gadget
  3178.                     'Search Text'. It is located on the third
  3179.                     (shifted) bank, forth row, Second from the right.
  3180.                     A requestor will open that read like this:
  3181.  
  3182.                                    Destination Directory
  3183.                                         Tutorial:S
  3184.                               Enter the string to search for
  3185.                                     in all marked files
  3186.                                     ?, #?, * permitted
  3187.                                Include optional filename to
  3188.                              create a list of locations found
  3189.  
  3190.                     Below are two string gadgets titled "Search
  3191.                     String" and "Optional filename for list" At this
  3192.                     moment we only want to fill in the first string
  3193.                     gadget "Search String" with "path".  After typing
  3194.                     "path" into the string gadget, select the "Use"
  3195.                     gadgets with the mouse.  MegaD will start to
  3196.                     search though the selected files.  Hopefully it
  3197.                     will find the word you are searching for.  If so
  3198.                     it will bring up a requestor that reads like this.
  3199.  
  3200.                                            path
  3201.                                      Was found in path
  3202.                                         Tutorial:S
  3203.                                       under filename
  3204.                                      Startup-sequence
  3205.  
  3206.                                   Open This text window?
  3207.  
  3208.                     Select the Yes gadget so that the text will be
  3209.                     loaded and viewed with a text window.  The first
  3210.                     occurrence of the found string will be highlighted
  3211.                     on the first line of the text window, any other
  3212.                     occurrences, of the found string, that are visible
  3213.                     in the text window will also be highlighted.  Now
  3214.                     close this text window.
  3215.  
  3216.                     This is fine when you are looking for just one
  3217.                     text file that has a string in it that you want to
  3218.                     find.  There may be times that you wish to create
  3219.                     a list of all occurrences of a string in one or
  3220.                     more text files.  To demonstrate this, we will
  3221.                     again select all the files in the "Tutorial:S"
  3222.                     directory.  We must be sure that there is a
  3223.                     destination window available.  If the
  3224.                     'Dest'ination gadget is not selected for the
  3225.                     "Tutorial:S" Directory Window, select it with your
  3226.  
  3227.  
  3228.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.                                            Simple Commands And MegaD 50
  3239.  
  3240.  
  3241.                     mouse.  Select the Command Gadget 'Search Text'
  3242.                     again.  You should notice that the "Search String"
  3243.                     gadget still contains the "path" string.  Press
  3244.                     return on this and the next string gadget will be
  3245.                     activated.  In this string gadget, "Optional
  3246.                     filename for list" type "findList" and then select
  3247.                     the "Use" gadget.  If any matches are found a
  3248.                     simple message will be placed to the screen, that
  3249.                     should read:
  3250.  
  3251.                                   path was found 4 times
  3252.                                    and was saved in file
  3253.                                     Tutorial:S/findList
  3254.  
  3255.                     It will have a single gadget at the bottom titled
  3256.                     "Continue" select this gadget and MegaD will open
  3257.                     a text window of the newly created text file
  3258.                     "findList".  This text will show the path/s and
  3259.                     filename/s that the string was found in, what
  3260.                     lines they were found on, and a copy of each line
  3261.                     the string was found in.
  3262.  
  3263.           As a personal note:
  3264.                     I have found this to be a valuable tool.  For
  3265.                     example, another program I have, "cxref" includes
  3266.                     a similar feature, it creates a cross reference.
  3267.                     There are times that the cross reference fails to
  3268.                     list just what I want to find.  The 'Search Text'
  3269.                     feature of MegaD has performed well for me at
  3270.                     these times, creating a very usable list of where
  3271.                     I can find what I am looking for.
  3272.            
  3273.  
  3274.  
  3275.  
  3276.  
  3277.  
  3278.  
  3279.  
  3280.  
  3281.  
  3282.  
  3283.  
  3284.  
  3285.  
  3286.  
  3287.  
  3288.  
  3289.  
  3290.  
  3291.  
  3292.  
  3293.  
  3294.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.                                      Source and Destination Commands 51
  3305.  
  3306.  
  3307.                               v"zSource and Destination Commandsv"z
  3308.  
  3309.  
  3310.                     Up to this point, we have looked at commands that
  3311.                     can be used with only one directory window.
  3312.                     Hopefully you are now comfortable with the use of
  3313.                     the Control Window and the Directory Windows.  We
  3314.                     have been limited in what we can do with one
  3315.                     window.   Commands such as 'Copy', 'Copy As',
  3316.                     'Move' and 'Move As' require two or more windows
  3317.                     to work.  They each require a source and a
  3318.                     destination to perform their task.
  3319.  
  3320.           v"zDestination Window Definitionv"z
  3321.                     A destination window is any window that the
  3322.                     'Dest'ination gadget of the Directory Window is
  3323.                     selected.  
  3324.  
  3325.           v"zSource Window Definitionv"z
  3326.                     A source window is any Directory Window in which
  3327.                     (a) the 'Dest'ination gadget is not selected, and
  3328.                     (b) at least one directory item is selected.
  3329.  
  3330.                     We will confine our use of the system to two
  3331.                     volumes.  The Tutorial: volume and the Ram Disk:
  3332.                     volume.  This way we will not mess up any
  3333.                     important disk while we see what MegaD can do.  We
  3334.                     will also limit ourselves to using only one source
  3335.                     directory and one destination directory at a time.
  3336.                     Later we will work with multiples destination and
  3337.                     source directories but not at this moment to keep
  3338.                     confusion to a minimum.
  3339.  
  3340.           v"zAction Warningsv"z
  3341.                     'Copy', 'Copy As', 'Move' and 'Move As' will warn
  3342.                     you before the command is executed and if you will
  3343.                     be writing over the top of another file.  The
  3344.                     warnings can be turned off.  For now we want to
  3345.                     keep them around to insure that we do not do
  3346.                     something we shouldn't.
  3347.  
  3348.           v"zAuto 'Dest'inationv"z
  3349.                     How to use the auto 'Dest'ination feature.  MegaD
  3350.                     will select the 'Dest'ination gadget of the
  3351.                     currently active Directory Window.  This is the
  3352.                     window that is active on the system, and can be
  3353.                     distinguished from all inactive windows because
  3354.                     its window border will be a highlighted color.
  3355.                     The Amiga operating system can only have one
  3356.                     window active on the system.  You can have many
  3357.                     windows doing different tasks, but only one of the
  3358.  
  3359.  
  3360.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.  
  3368.  
  3369.  
  3370.                                      Source and Destination Commands 52
  3371.  
  3372.  
  3373.                     windows will accept input from the user.  This
  3374.                     input is usually from the keyboard or the mouse.
  3375.                     The window can be activated by selecting anywhere
  3376.                     within and on the window borders.
  3377.  
  3378.           v"zActive Windowv"z
  3379.                     MegaD uses this active window to decide which
  3380.                     Directory Window to select as the destination
  3381.                     directory.  As you select other Directory Window
  3382.                     to become active the 'Dest'ination gadget will
  3383.                     also be selected with it.
  3384.  
  3385.           v"zOpening Two Directory Windowsv"z
  3386.                     Open two Directory Windows by selecting the
  3387.                     Tutorial: and Ram Disk: device gadgets.  Watch the
  3388.                     'Dest'ination gadgets of the windows as they are
  3389.                     opened.  You will see the first Directory Window
  3390.                     'Dest'ination gadget become selected.  When the
  3391.                     next window opens the 'Dest'ination gadget of that
  3392.                     window becomes selected and the first Directory
  3393.                     Window 'Dest'ination gadget becomes unselected.
  3394.                     Now that two Directory Windows are opened,
  3395.                     activate the inactive Directory Window by
  3396.                     selecting it, the 'Dest'ination gadget of the
  3397.                     selected Directory Window will be set.  The
  3398.                     selection of Directory Windows for destination
  3399.                     directory becomes second nature after using MegaD
  3400.                     for a time.
  3401.  
  3402.           v"zLast Active Window Destinationv"z
  3403.                     For you who are used to the standard two window
  3404.                     directory utility that have been available for the
  3405.                     Amiga, this active window as the destination will
  3406.                     seem backward.  There is a check mark in the
  3407.                     'MegaD Preferences, Set Defaults' window that will
  3408.                     switch this to last active window destination.
  3409.                     Beware, you may not like it after you find how
  3410.                     well MegaD works with multiple source directories.
  3411.                      
  3412.  
  3413.           v"zOverriding Auto Destinationv"z
  3414.                     This feature can be overridden at anytime by
  3415.                     selecting any Directory Window 'Dest'ination
  3416.                     gadgets.  Once the user does this the
  3417.                     'Dest'ination gadget will have a double drawn
  3418.                     border the looks different from any other selected
  3419.                     gadget.  If you have not notice this yet select
  3420.                     any 'Dest'ination gadget on a Directory Window,
  3421.                     the border will change, select it again and the
  3422.                     'Dest'ination gadget will become unselected with a
  3423.                     normal border.
  3424.  
  3425.  
  3426.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.                                      Source and Destination Commands 53
  3437.  
  3438.  
  3439.  
  3440.           v"zCopying Filesv"z
  3441.                     'Copy' will create a copy of the selected file or
  3442.                     files of a source directory in the destination
  3443.                     directory.  To do this we will need two Directory
  3444.                     Windows open on the screen.  Select the Tutorial:
  3445.                     device gadget and the Ram Disk: device gadget.
  3446.                     The Two directories will be loaded and place in
  3447.                     separate Directory Windows.  
  3448.  
  3449.                     If you have been following along from the start
  3450.                     you should find a text file titled "DirList" in
  3451.                     the Tutorial: Directory Window, if not use any of
  3452.                     the .info files in the Tutorial: Directory Window
  3453.                     for this demonstration.  Select the "DirList"
  3454.                     file, then select the Ram Disk: Directory Window
  3455.                     to activate it, I usually use the top window
  3456.                     border, this way none of the directory items are
  3457.                     accidentally selected.  As you activated it, the
  3458.                     'Dest'ination gadget of the Ram Disk: Directory
  3459.                     Window became selected, showing it to be the
  3460.                     destination directory.
  3461.  
  3462.                     Now select the Command Gadget 'Copy', this is
  3463.                     located on the first bank, top row, far left.
  3464.                     After doing so you will get a requestor that
  3465.                     reads:
  3466.  
  3467.                                  1 file/s marked for copy
  3468.                               0 director/ies marked for copy
  3469.                            to be copied to 1 directory window/s
  3470.                                          Continue
  3471.  
  3472.                     Select 'Yes' and the file will be copied to the
  3473.                     Ram Disk: and the Directory Window will be updated
  3474.                     to show the newly copied file.
  3475.  
  3476.           v"zReplace File Warningv"z
  3477.                     MegaD will warn you if you are going to write over
  3478.                     the top of an old file, to demonstrate this will
  3479.                     perform the same identical actions as before to
  3480.                     copy the "DirList" file to the Ram Disk:.  Now the
  3481.                     file "DirList" exists on the destination directory
  3482.                     and the warning will be produced.  After trying to
  3483.                     copy the file again this warning will be produced
  3484.                     and MegaD will wait for your response to the
  3485.                     following requestor:
  3486.  
  3487.                                    You will be replacing
  3488.                                       the newer file
  3489.                                           DirList
  3490.  
  3491.  
  3492.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3493.  
  3494.  
  3495.  
  3496.  
  3497.  
  3498.  
  3499.  
  3500.  
  3501.  
  3502.                                      Source and Destination Commands 54
  3503.  
  3504.  
  3505.                                        in directory
  3506.                                          Ram Disk:
  3507.                                         Replace it?
  3508.  
  3509.                     If you answer yes the file will be overwritten by
  3510.                     a new copy of it.  This is inconsequential being
  3511.                     the two files are identical but later on as you
  3512.                     use MegaD you could replace a file the you wanted
  3513.                     to keep only because it had the same name as the
  3514.                     file you were copying.  There are ways to turn off
  3515.                     the warnings, but until you are sure of how MegaD
  3516.                     works and what it can do, I suggest that you leave
  3517.                     the warnings active.
  3518.  
  3519.           v"zCopying Directoriesv"z
  3520.                     MegaD will also copy a directory and its contents,
  3521.                     which could contain other directories and files.
  3522.                     Select the 'C' directory in the Tutorial:
  3523.                     Directory Window.  Activate the Ram Disk:
  3524.                     Directory Window to make it the destination
  3525.                     directory, the 'Dest'ination gadget of that window
  3526.                     should be selected.  Select 'Copy' again.  A
  3527.                     request window will open that should read:
  3528.  
  3529.                                   0 Files marked for copy
  3530.                               1 Directory/ies marked for copy
  3531.                            To be copied to 1 directory window/s
  3532.                                          Continue
  3533.  
  3534.                     Answer 'Yes' and MegaD will read the contents of
  3535.                     the selected directory and copy it.  Once it is
  3536.                     finished an exact duplicate of the selected
  3537.                     directory will be created in the Ram Disk:
  3538.  
  3539.           v"zCopying Groups of Files and Directoriesv"z
  3540.                     MegaD will copy groups of selected files and
  3541.                     directories to a Directory Window.  If you have
  3542.                     enough spare memory on your Amiga that will allow
  3543.                     you to, you may want to try selecting a group of
  3544.                     files and directories on the Tutorial: volume and
  3545.                     copy them to the Ram Disk: volume.
  3546.  
  3547.                     MegaD will not replace a directory with another
  3548.                     directory or file.  So if you try to copy the
  3549.                     "Tutorial:C directory to the Ram Disk: again it
  3550.                     will fail.  MegaD has the power to delete the
  3551.                     directory and then copy the new one to it.  I have
  3552.                     chosen not to let MegaD perform this as a one step
  3553.                     process.  You the user will have to take the extra
  3554.                     step to first 'Delete' the directory and then mark
  3555.                     and copy the new directory or file into its place.
  3556.  
  3557.  
  3558.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3559.  
  3560.  
  3561.  
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.                                      Source and Destination Commands 55
  3569.  
  3570.  
  3571.  
  3572.           v"zCopy and Rename a Filev"z
  3573.                     'Copy As' is used to copy the file as 'Copy' does,
  3574.                     but you have a way to give the copy of the file a
  3575.                     different name than the original.  It functions
  3576.                     100% the same a the 'Copy' command works except
  3577.                     for this.
  3578.  
  3579.                     To demonstrate this you will follow the same steps
  3580.                     as you did above for the use of 'Copy' only you
  3581.                     will use the command gadget 'Copy As'.  The only
  3582.                     change will be when it comes time to copy the
  3583.                     "DirList" file in the Tutorial: Directory Window
  3584.                     you will be given a requestor that will read:
  3585.  
  3586.                                      Source Directory
  3587.                                          Tutorial:
  3588.                                       Source Filename
  3589.                                           DirList
  3590.                                    Destination Directory
  3591.                                          Ram Disk:
  3592.  
  3593.                                       Enter filename
  3594.                                 to rename copy of this file
  3595.  
  3596.                     A string gadget titled "Filename" will be active
  3597.                     with the original name of the file that was
  3598.                     selected to copy.  Simply add a "2" to the end of
  3599.                     the name so that it now reads "DirList2" and press
  3600.                     return.  The file will be copied using the new
  3601.                     destination name "DirList2", the Ram Disk:
  3602.                     Directory Window will be updated to show the newly
  3603.                     added file.
  3604.  
  3605.                     If you change your mind and decide that you wish
  3606.                     to keep the name of copy the same as the original
  3607.                     simply press return without changing the original
  3608.                     name when prompted for the new filename.  The file
  3609.                     will still be copied and the name will be left
  3610.                     unchanged.
  3611.  
  3612.                     You may have notice that the new filename
  3613.                     requestor also gave you a gadget titled "Skip".
  3614.                     If you select a group of files to be copied and
  3615.                     use the 'Copy As' Command Gadget, you are given
  3616.                     the choice to copy the file or to skip that file
  3617.                     and go to the next selected item.
  3618.  
  3619.           v"zMoving Filesv"z
  3620.                     The 'Move' command is used for moving files from
  3621.                     one directory to another.  MegaD performs this
  3622.  
  3623.  
  3624.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3625.  
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633.  
  3634.                                      Source and Destination Commands 56
  3635.  
  3636.  
  3637.                     function two different ways.  If the file is to be
  3638.                     moved from one volume to another volume, the file
  3639.                     will first be copied to the destination directory,
  3640.                     then the original will be deleted from the source
  3641.                     directory.  If the file is to be moved on the same
  3642.                     volume, it will be renamed to the destination
  3643.                     directory.  This requires a very low overhead, and
  3644.                     being so, a large 200,000 byte file will be moved
  3645.                     as fast as a 50 byte file.  You only have to make
  3646.                     the decision of where your moving the file to,
  3647.                     MegaD makes the decision of how to move it.
  3648.  
  3649.                     To do this we will need two Directory Windows open
  3650.                     to the screen.  Select the Tutorial: device
  3651.                     gadgets and the Ram Disk: device gadget.  The two
  3652.                     directories will be loaded and place in separate
  3653.                     Directory Windows. 
  3654.  
  3655.                     You should find a text file titled "Prefs.info" in
  3656.                     the Tutorial: Directory Window, if not use any
  3657.                     other .info files in the Tutorial: Directory
  3658.                     Window for this demonstration.  Select the
  3659.                     "Prefs.info" file, then select the Ram Disk:
  3660.                     Directory Window to activate it.  As you activated
  3661.                     it, the 'Dest'ination gadget of the Ram Disk:
  3662.                     Directory Window became selected, showing it to be
  3663.                     the destination directory.
  3664.  
  3665.                     Now select the Command Gadget 'Move', this is
  3666.                     located on the first bank, top row, second from
  3667.                     the left.  After doing so you will get a requestor
  3668.                     that reads:
  3669.  
  3670.                                  1 file/s marked for move
  3671.                               0 director/ies marked for move
  3672.                             To be moved to 1 directory window/s
  3673.                                          Continue
  3674.  
  3675.                     Select 'Yes' and the file will be moved to the Ram
  3676.                     Disk: and the two Directory Windows will be
  3677.                     updated to show the newly moved file.
  3678.  
  3679.                     MegaD will warn you if you are going to write over
  3680.                     the top of an old file during a 'Move' just as it
  3681.                     did during a 'Copy'.  There are ways to turn off
  3682.                     the warnings but until you are sure of how MegaD
  3683.                     works and what it can do, I suggest that you leave
  3684.                     the warnings active.
  3685.  
  3686.           v"zMoving Directoriesv"z
  3687.                     MegaD will also move a directory and its contents,
  3688.  
  3689.  
  3690.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3691.  
  3692.  
  3693.  
  3694.  
  3695.  
  3696.  
  3697.  
  3698.  
  3699.  
  3700.                                      Source and Destination Commands 57
  3701.  
  3702.  
  3703.                     which could contain other directories and files.
  3704.                     Select the 'L' directory in the Tutorial:
  3705.                     Directory Window.  Activate the Ram Disk:
  3706.                     Directory Window to make it the destination
  3707.                     directory, the 'Dest'ination gadget of that window
  3708.                     should be selected.  Select 'Move' again.  A
  3709.                     request window will open that should read:
  3710.  
  3711.                                   0 Files marked for move
  3712.                               1 Directory/ies marked for move
  3713.                             To be moved to 1 directory window/s
  3714.                                          Continue
  3715.  
  3716.                     Answer 'Yes' and MegaD will read the contents of
  3717.                     the selected directory and move it, once it is
  3718.                     finished an exact duplicate of the selected
  3719.                     directory will be created in the Ram Disk:
  3720.  
  3721.                     MegaD will move groups of selected files and
  3722.                     directories to a Directory Window.  We are going
  3723.                     to move all the .info files of the Tutorial:
  3724.                     volume to a sub-directory on the same volume.  If
  3725.                     you have been following along you should find a
  3726.                     directory on the Tutorial: disk named
  3727.                     "My_directory", this is going to be the
  3728.                     destination directory for the next move.  Drag
  3729.                     select all the files listed in the Tutorial:
  3730.                     Directory Window.
  3731.  
  3732.           v"zWorking in the Same Volumev"z
  3733.                     Before opening the "My_directory" sub- directory
  3734.                     of the Tutorial: disk, select the "Lock" gadget of
  3735.                     the Tutorial: Directory Window.  As described at
  3736.                     the start of this tutorial the "Lock" gadget will
  3737.                     lock the window to the screen.  MegaD is set to
  3738.                     allow only one window per volume, the lock gadget
  3739.                     overrides this allowing another window to open.
  3740.                     Now double click the "My_directory" of the
  3741.                     Tutorial: Directory Window.  The empty
  3742.                     "My_directory" Directory Window will open in front
  3743.                     of the Tutorial: Directory Window.  The
  3744.                     'Dest'ination gadget will be selected on the
  3745.                     "My_directory" Directory Window marking this as
  3746.                     destination directory.
  3747.  
  3748.           v"zNavigating Through Multiple Directory Windowsv"z
  3749.                     Lets take a little time out here, This is the
  3750.                     first time that we have opened two Directory
  3751.                     Window on the same volume.  MegaD lets you uses
  3752.                     the cursor keys to help navigate through open or
  3753.                     previously opened Directory Windows.  Left and
  3754.  
  3755.  
  3756.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3757.  
  3758.  
  3759.  
  3760.  
  3761.  
  3762.  
  3763.  
  3764.  
  3765.  
  3766.                                      Source and Destination Commands 58
  3767.  
  3768.  
  3769.                     right cursor moves you from volume to volume.  Up
  3770.                     and down cursors moves you from directory to
  3771.                     directory of the current active volume.  If you do
  3772.                     not have the Ram Disk: Directory Window opened,
  3773.                     open it now so that you may use the four cursor
  3774.                     keys to manipulate the open Directory Windows.
  3775.                     Cursor left and right changing active volumes.
  3776.                     Cursor up and down to move within those volumes.
  3777.  
  3778.                     Now cursor back to the Tutorial: Directory Window
  3779.                     and then cursor down to activate the
  3780.                     "My_directory" Directory Window which in turn
  3781.                     should select the 'Dest'ination gadget.  Now that
  3782.                     the "My_directory" is the destination directory,
  3783.                     select the 'Move' Command Gadget and answer the
  3784.                     requestors, that will in turn move the files we
  3785.                     selected earlier to their new directory.
  3786.  
  3787.                     We will need the files back in their original
  3788.                     position, so drag select all the files in
  3789.                     "My_directory", and move them back to the
  3790.                     Tutorial: Directory Window.
  3791.  
  3792.                     Just as with 'Copy' MegaD will not replace a
  3793.                     directory with another directory.  So if you try
  3794.                     to move the "Tutorial:L" directory to the Ram
  3795.                     Disk: again it will fail.  
  3796.  
  3797.           v"zMove and Rename v"z
  3798.                     'Move As' is 'Move' with the option to change the
  3799.                     name of the file or directory while it is being
  3800.                     moved.  Much as we did with 'Copy' and 'Copy As',
  3801.                     so you should already know how to do this if
  3802.                     you've gone through those two functions.  You may
  3803.                     want to test it out, but once you are done try to
  3804.                     have the files and directories of the Tutorial:
  3805.                     volume in the same order they are now.  This way
  3806.                     we will still be on common ground as we walk
  3807.                     through some other functions.
  3808.  
  3809.           v"zMultiple Destination And Source Directoriesv"z
  3810.                     There is no real secret to how this works.  If you
  3811.                     want to copy files from more than one directory,
  3812.                     simply open more than one source windows and mark
  3813.                     the items in the windows that you want to work
  3814.                     with.
  3815.  
  3816.                     If you want to copy files to more than one
  3817.                     directory, simply open the directory windows you
  3818.                     wish copy to and select the 'Dest'ination gadget
  3819.                     on those windows so that they become user defined
  3820.  
  3821.  
  3822.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3823.  
  3824.  
  3825.  
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831.  
  3832.                                      Source and Destination Commands 59
  3833.  
  3834.  
  3835.                     'Dest'ination.
  3836.  
  3837.                     There are no limits to the number of source, or
  3838.                     number of destination windows you can use at one
  3839.                     time.
  3840.  
  3841.                     'Copy', 'Copy As', 'Move', 'Move As' and 'Create
  3842.                     Dir' work with multiple 'Dest'ination windows.
  3843.                     The best way to see this in action is to copy some
  3844.                     files from your Tutorial: disk to the Ram Disk:.
  3845.                     Follow the below steps to perform a 'Copy' using
  3846.                     both multiple Source Directories and using
  3847.                     multiple Destination Directories:
  3848.  
  3849.                     1.  Open a Directory Window for the Tutorial:
  3850.                        disk, Lock that window. Select a few files in
  3851.                        this window. (Source directory 1.)
  3852.  
  3853.                     2.  'Double Click' the "Devs" entry of the
  3854.                        Tutorial: Directory Window, to open the second
  3855.                        source window. Lock this window too. Select a
  3856.                        few files in this window also.  (Source
  3857.                        directory 2.)
  3858.  
  3859.                     3.  Open a Directory Window for the "Ram Disk:"
  3860.                        disk, 'Lock' and select the 'Dest'ination
  3861.                        gadget. (Destination directory 1.)
  3862.  
  3863.                     4.  'Double Click' the "T" entry of the "Ram
  3864.                        Disk:" Directory Window to open a sub-directory
  3865.                        window.  Select the 'Dest'ination gadget of
  3866.                        this window too. (Destination directory 2.)
  3867.  
  3868.                     5.  Select the 'Copy' Command Gadget.
  3869.  
  3870.                        After the 'Copy' command is finished, the
  3871.                        windows will be updated to show the newly
  3872.                        copied files.  You have just copied files from
  3873.                        two directory window into two other directory
  3874.                        windows.
  3875.                      
  3876.  
  3877.  
  3878.  
  3879.  
  3880.  
  3881.  
  3882.  
  3883.  
  3884.  
  3885.  
  3886.  
  3887.  
  3888.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3889.  
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897.  
  3898.                                      Source and Destination Commands 60
  3899.  
  3900.  
  3901.                                Filters and Pattern Matching
  3902.  
  3903.  
  3904.           v"zFilter Requestorv"z
  3905.                     The four functions, 'Sel Patterns', 'Clr
  3906.                     Patterns', 'Filters +', and 'Find' use the same
  3907.                     requestor.  'Filter -' will be mentioned here
  3908.                     because it undoes what 'Filter +' does.  The Find
  3909.                     requestor changes so that you may define a
  3910.                     destination directory and file name to place the
  3911.                     list of found items during the search of directory
  3912.                     items.  All four commands function the same, but
  3913.                     produce a different result.  Lets examine what
  3914.                     they do.
  3915.  
  3916.           v"zFilter + Functionv"z
  3917.                     'Filter +' will filter in or filter out items in
  3918.                     the Directory Window, making the list more
  3919.                     manageable.  An example of this would be a large
  3920.                     directory of graphic files.  Some have the
  3921.                     extension .iff and others have the extension .gif.
  3922.                      A filter could be added to the Directory Window
  3923.                     that would hide non .gif files listing only the
  3924.                     .gif files at the moment.  At places in the list
  3925.                     where items have been hidden, lines will be drawn
  3926.                     showing that the list being viewed is filtered and
  3927.                     is incomplete.  Think of this as a fold in the
  3928.                     list.
  3929.  
  3930.           v"zFind Functionv"z
  3931.                     'Find' will search through whole volumes or
  3932.                     selected directories searching for a file or
  3933.                     directory.  You may know the name of the file that
  3934.                     you want but you can not seem to find it.  Find
  3935.                     will 'Go Deep' into the volume or directory until
  3936.                     the file is found or the end of the search area is
  3937.                     reached.  Find will also make a list of found
  3938.                     files that match the select criteria to a specific
  3939.                     file that you designate.
  3940.  
  3941.           v"zSelect Pattern Functionv"z
  3942.                     'Sel Pattern' will select items in open Directory
  3943.                     Window that match the patterns set in the filter
  3944.                     requestor.
  3945.  
  3946.           v"zClear Pattern Functionv"z
  3947.                     'Clr Pattern' will clear or unselect items in open
  3948.                     Directory Window that match the patterns set in
  3949.                     the filter requestor.
  3950.  
  3951.                     We will use the 'Filter +' and 'Filter -' Command
  3952.  
  3953.  
  3954.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.                                      Source and Destination Commands 61
  3965.  
  3966.  
  3967.                     Gadget to demonstrate how this concept works.
  3968.                     After you use it for a few times, getting the hang
  3969.                     of how the others work will be a cinch.
  3970.  
  3971.                     This filter requestor may look intimidating, but
  3972.                     you need only use and set one filter to use it.
  3973.                     You are allowed to use up to five filters at one
  3974.                     time, but you only have to define one to make it
  3975.                     work.  
  3976.  
  3977.                     We will use it on a single directory at first.
  3978.                     First open the Tutorial: Directory Window.   The
  3979.                     'Dest'ination gadget of that window should be
  3980.                     selected so that it is the destination directory.
  3981.                     Set the Show menu to show all information of the
  3982.                     directory by using the 'Show, All' menu item. Now
  3983.                     select the 'Filter +' Command Gadget.  This is
  3984.                     located on the second (Ctrl) bank, second row,
  3985.                     second from the left.  The filter requestor will
  3986.                     open to the screen.
  3987.  
  3988.           v"zElements of a Filterv"z
  3989.                     Lets take a brief moment and talk about the
  3990.                     elements of a filter.  The five possible filters
  3991.                     are displayed one line at a time. Each filter has
  3992.                     four elements to work with.
  3993.  
  3994.                     o  Type gadget that can be cycled though Name,
  3995.                        Size, Date and Protect.  
  3996.                     o  String gadget that lets you type in the filter.  
  3997.                     o  In/Out gadget to filter items in or out.
  3998.                     o  Activate gadget to turn the filter on or off.
  3999.  
  4000.           v"zIn/Out Filter Gadgetv"z
  4001.                     The In/Out gadget have very general rules as to
  4002.                     what it does with the filter.
  4003.                     o In Rule.
  4004.                               If the items match the filter the items
  4005.                               will be displayed in the list.  All
  4006.                               other items will be hidden from the
  4007.                               list.
  4008.  
  4009.                     o Out Rule.
  4010.                               If the items match the filter the
  4011.                               matching items will be hidden in the
  4012.                               list.
  4013.  
  4014.                     o Out overrides In Rule.
  4015.                               The Out Rule will override the In Rule
  4016.                               if multiple filters are used.  An Out
  4017.                               filter, in this case, will only remove
  4018.  
  4019.  
  4020.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4021.  
  4022.  
  4023.  
  4024.  
  4025.  
  4026.  
  4027.  
  4028.  
  4029.  
  4030.                                      Source and Destination Commands 62
  4031.  
  4032.  
  4033.                               the items left to be displayed, as set
  4034.                               by the In Rule. (This Rule can only
  4035.                               occur on multiple filters.)
  4036.  
  4037.                     If this is the first time into this requestor you
  4038.                     will find that the 'In/Out' and the Activate'
  4039.                     gadgets are ghosted for all five filters.  You
  4040.                     need valid filter information in the string that
  4041.                     matches the far left cycle gadget, This far left
  4042.                     gadget sets the type of filter.  The filter type
  4043.                     choices are:
  4044.  
  4045.                     Name      Works on the filename of the directory
  4046.                     items.
  4047.                     Size      Works on the size of the directory
  4048.                     items.
  4049.                     Date      Works on the Date of the directory
  4050.                     items.
  4051.                     Protect   Works on the protection bits of the
  4052.                     directory
  4053.                               items.
  4054.  
  4055.                     At anytime you may select the 'Filters -' Command
  4056.                     Gadget to free up the filters that you have
  4057.                     installed on your directories.  Filters are
  4058.                     remembered on your directory even if you close the
  4059.                     Directory Window.  Only until the directory is
  4060.                     freed from memory by the 'Free Volumes' gadget or
  4061.                     the 'Filter -' Command Gadget is selected will the
  4062.                     filter be removed.  
  4063.  
  4064.           v"zUsing Name filtersv"z
  4065.                     First off, I can't possibly tell you all the ways
  4066.                     to use pattern matches.  The new AmigaDOS 2.0
  4067.                     pattern matches are very extensive and powerful.
  4068.                     That power is available though MegaD only through
  4069.                     the foresight of the programmers who wrote the new
  4070.                     2.0 operating system.  Should you need more than
  4071.                     simple pattern matches you will find the
  4072.                     information in books such as 'The AmigaDOS Manual,
  4073.                     3rd Edition' publish by Bantam Computer books.  I
  4074.                     will limit this discussion to the simple #?
  4075.                     pattern match.
  4076.  
  4077.                     Cycle the top filter Type gadget to 'Name' if it
  4078.                     is not already set that way. In the top string
  4079.                     gadget type "S#?" for the filter to use on the
  4080.                     Tutorial: Directory Window.  The filters are case
  4081.                     insensitive so S or s will both match S.
  4082.  
  4083.           v"zWildcards Patternv"z
  4084.  
  4085.  
  4086.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.                                      Source and Destination Commands 63
  4097.  
  4098.  
  4099.                     Why #?, AmigaDOS will allow you to use '?' as a
  4100.                     wild card in your pattern.  On your Tutorial:
  4101.                     volume the directory entry "System" should still
  4102.                     be there.  All the below patterns would match this
  4103.                     entry:
  4104.                     "S?stem"
  4105.                     "Sy?tem"
  4106.                     "Sys?em"
  4107.                     "S?????"
  4108.                     The last one will match any filename that starts
  4109.                     with the character 'S' and is six characters long.
  4110.  
  4111.                     The # symbol before the wild card character '?' or
  4112.                     any other pattern character is used to repeat the
  4113.                     pattern character any number of times including
  4114.                     zero times.  Now that we know this we can create
  4115.                     the "S?????" pattern this way
  4116.                     "S#?"
  4117.                     This pattern will not only select "System", it
  4118.                     will also select :
  4119.                     "S"
  4120.                     "Shell.info"
  4121.                     "System.info"
  4122.                     As you can see it is less restrictive and lets you
  4123.                     select filenames of different lengths.
  4124.  
  4125.                     The #? wild card pattern match needs not be at the
  4126.                     end of the pattern, it can be the first characters
  4127.                     in the pattern or it can be in between characters.
  4128.  
  4129.                     "#?.info" Will select all files that have the
  4130.                     .info extension added to it.  If I use it on my
  4131.                     Tutorial: disk, this is the list of files that are
  4132.                     selected by the filter:
  4133.  
  4134.                         disk.info            Shell.info         
  4135.                         Expansion.info       System.info        
  4136.                         Monitors.info        Trashcan.info      
  4137.                         My_directory.info    Utilities.info     
  4138.                         Prefs.info           WBstartup.info     
  4139.  
  4140.                     "S#?.info" will select all files that have the
  4141.                     .info extension added to and start with the letter
  4142.                     'S'.  This is the result if I use this filter:
  4143.  
  4144.                     Shell.info          System.info
  4145.  
  4146.                     As you can see we can be very selective in what we
  4147.                     want to select by the use of patterns.
  4148.  
  4149.                     Through the next few exercises, we will only be
  4150.  
  4151.  
  4152.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.                                      Source and Destination Commands 64
  4163.  
  4164.  
  4165.                     using one filter.  This way we will not be
  4166.                     confused with multiple filters.  Later, we will
  4167.                     work with multiple filters, but until then, work
  4168.                     only with the top most set of filter gadgets.
  4169.  
  4170.           v"zUn-Ghosting The Activate Gadgetv"z
  4171.                     We are going to create the filter "S#?" in the
  4172.                     first filter.  Type the characters into the top
  4173.                     string gadget and press return.  You will notice
  4174.                     that the In/Out and the Activate gadget are no
  4175.                     longer ghosted.  The return on a string gadget
  4176.                     tells MegaD that it needs to check to see if a
  4177.                     valid filter has been created and if so it will
  4178.                     un-ghost the gadgets so that you may select them.
  4179.  
  4180.           v"zActivating a Filterv"z
  4181.                     Select that Activate gadget so that this will be
  4182.                     an active filter.  Now select the use gadget.  You
  4183.                     will see the Tutorial: Directory Window change to
  4184.                     reflect the current filter setting.  Only files
  4185.                     that start with the letter 'S' are visible now.
  4186.  
  4187.           v"zUsing Filter Outv"z
  4188.                     Select the Command Gadget 'Filter +' again and
  4189.                     change the In/Out cycle gadget to read "Out".
  4190.                     Select the 'Use' gadget again.  The Directory
  4191.                     Window will again change, showing the new filter
  4192.                     settings, this time it will show all filenames
  4193.                     except those that start with the letter 'S'. 
  4194.  
  4195.           v"zUsing Size filtersv"z
  4196.                     Size filters work on the size of files.  They do
  4197.                     not work on directory sizes.  Set MegaD to show
  4198.                     the size of the file by checking the menu item
  4199.                     'Show, Size'. 
  4200.  
  4201.                     A size filter can be specified as 'exact',
  4202.                     'greater than', and 'less than' the numeric size
  4203.                     entered into the string gadgets.
  4204.  
  4205.           v"zLess Than Size Filterv"z
  4206.                     On the Tutorial: volume are a number of .info
  4207.                     files.  Some are greater than 1000 bytes in size
  4208.                     and some are smaller.  We are going to create a
  4209.                     filter that will specify files smaller than 1000
  4210.                     bytes.  Enter "-1000" into the first string gadget
  4211.                     of the filter requestor.  The minus '-' sign sets
  4212.                     the filter to select files less than the size
  4213.                     specified.  Set the 'In/Out' gadget to in.  Set
  4214.                     the cycle type to "Size" and make sure that the
  4215.                     Activate gadget is selected for this filter.
  4216.  
  4217.  
  4218.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4219.  
  4220.  
  4221.  
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.                                      Source and Destination Commands 65
  4229.  
  4230.  
  4231.                     Select the 'Use' gadget and the Tutorial:
  4232.                     Directory Window will reset itself to show you the
  4233.                     current filter settings.  This is the listing I
  4234.                     ended up with using this filter:
  4235.  
  4236.                     disk.info         388   Shell.info        722
  4237.                     Expansion.info    824   System.info       824
  4238.                     Monitors.info     824   Utilities.info    824
  4239.                     My_directory.info 632   WBstartup.info    824
  4240.  
  4241.           v"zGreater Than Size Filterv"z
  4242.                     Select the 'Filter +' Command Gadget again and
  4243.                     change the "-1000" to "+1000".  The plus (+) sign
  4244.                     sets the size filter to look for files with a size
  4245.                     greater than the numeric value found in the string
  4246.                     gadget.  Once again select the 'Use' gadget to set
  4247.                     this filter to the Directory Window.  The listing
  4248.                     that I came up with looks like this:
  4249.  
  4250.                     DirList        4,663    Trashcan.info  1,144
  4251.                     Prefs.info     1,144
  4252.  
  4253.           v"zExact Size Filterv"z
  4254.                     There is one more type of size filter and that is
  4255.                     when you want to match a file by the exact size.
  4256.                     As you can see above, I have two files that use
  4257.                     1,144 bytes.  If I want to create a filter for
  4258.                     those, I would type into the string gadget "1144",
  4259.                     you simply omit the plus or the minus sign to
  4260.                     create an exact match.  You may have to change the
  4261.                     value to fit at least one of the files to create
  4262.                     your exact match but you should be getting the
  4263.                     idea of how things works.
  4264.  
  4265.           v"zUsing Date filtersv"z
  4266.                     You will have to set MegaD to show the date the
  4267.                     file and directories were created or last changed.
  4268.                     If you're not currently displaying dates in the
  4269.                     Directory Window check the menu item 'Show, Date'.
  4270.  
  4271.           v"zSet the Filter Type Gadget Firstv"z
  4272.                     It is always best to set the filter type gadget to
  4273.                     the kind of filter you want before entering the
  4274.                     filter.  This way MegaD can help you format the
  4275.                     filter. A good example of this is the Date filter
  4276.                     type.  The date filter requires a rather long
  4277.                     string of characters in this format:
  4278.                     DD-MM-YY HH:MM:SS
  4279.                     (Day-Month-Year Hour:Minutes:Seconds)
  4280.  
  4281.                     If you set the filter type to Date and enter just
  4282.  
  4283.  
  4284.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4285.  
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293.  
  4294.                                      Source and Destination Commands 66
  4295.  
  4296.  
  4297.                     the Date of the filter and press return the time
  4298.                     will be filled in as zeros.  Let test this out.
  4299.                     Type in the date like this:
  4300.                          03-05-92
  4301.                     and press return.  The time will be added to the
  4302.                     end of the filter.
  4303.                          03-05-92 00:00:00
  4304.  
  4305.                     This will tell MegaD to filter with the date of
  4306.                     May 3, 1992 12:00 am.
  4307.  
  4308.                     Now it is rare that you will be looking for a file
  4309.                     on a precise date and time.  More than likely you
  4310.                     would want to look for files after a date or
  4311.                     before a date.  To look for files created or
  4312.                     modified after a date you would want to add a '+'
  4313.                     sign in front of the filter.  To look for files
  4314.                     created or modified before a date you would want
  4315.                     to add the '-' sign in front of the filter.
  4316.                     Examples of this are:
  4317.                       +03-05-92 00:00:00 
  4318.                     would look for files after the date.
  4319.                       -03-05-92 00:00:00 
  4320.                     would look for files before the date.
  4321.  
  4322.                     Now for you to test this you will have to pick a
  4323.                     date that has some midway point of the directory
  4324.                     list you are looking at.  Some files should be
  4325.                     older than this date and some files should be
  4326.                     newer.  The date filter must be entered in this
  4327.                     order:
  4328.                          Type the number of day first
  4329.                          The number of the month second
  4330.                          The last two digits of the year last
  4331.                     All should be separated by the negative (-) sign.
  4332.  
  4333.           v"zAfter Date Filterv"z
  4334.                     Add a plus (+) sign to the front of the date to
  4335.                     tell the filter to look for newer files, press
  4336.                     return.  Set the In/Out gadget to In.  The
  4337.                     Activate gadget for this filter should not be
  4338.                     ghosted (disabled) and you should select it if it
  4339.                     is not already selected.  Now select the 'Use'
  4340.                     gadget.  You should now only be able to see newer
  4341.                     files than the date you typed in the filter in the
  4342.                     open Directory Window.
  4343.  
  4344.           v"zBefore Date Filterv"z
  4345.                     Now reopen the filter requestor and change the +
  4346.                     to a - at the first of the filter string and
  4347.                     select the 'Use' gadget.  You should be able to
  4348.  
  4349.  
  4350.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4351.  
  4352.  
  4353.  
  4354.  
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.                                      Source and Destination Commands 67
  4361.  
  4362.  
  4363.                     see older files than the date specified and the
  4364.                     other will be filtered out.
  4365.  
  4366.                     You can use an exact date to select on.  This has
  4367.                     minimal use, It is very unlikely that you will
  4368.                     have more than one file with the same date and
  4369.                     time.  If you should have a reason to do so simply
  4370.                     omit the (+) or the (-) sign from the front of the
  4371.                     filter.
  4372.  
  4373.           v"zUsing Protect filtersv"z
  4374.                     You will need to set MegaD to show the protection
  4375.                     bits. If it is not already showing the protection
  4376.                     bits check the menu item 'Show, Protect".
  4377.  
  4378.                     Set the filter type gadget to Protect.  Set the
  4379.                     In/Out gadget to In.  We will use the Tutorial:
  4380.                     volume to test this type of filter on.  A good
  4381.                     directory for this is the S: directory on it.  The
  4382.                     startup drawer usually has some items with the s
  4383.                     bit set for Script.  This is a listing from my
  4384.                     "Tutorial:S" directory:
  4385.  
  4386.           BRUtab       ----rw-d  PCD              -s--rwed
  4387.           DPat         -s--rwed  Shell-startup    -s--rwed
  4388.           Ed-startup   ----rw-d  SPat             -s--rwed
  4389.           HDBackup.co  ----rw-d  Startup-sequence ----rwed
  4390.  
  4391.                     Your "Tutorial:S" directory may be different but
  4392.                     what we are looking for is a few files with the S
  4393.                     bit set for script.  If your directory has none
  4394.                     with this bit set use the 'Set Protect' on some
  4395.                     similar files in your "Tutorial:S" Directory
  4396.                     Window.
  4397.  
  4398.                     Protection filters are a little different from
  4399.                     other filters in that you have to have a + or a -
  4400.                     before the bits you want to test.  The + tells the
  4401.                     filter that the bit must be set for the match to
  4402.                     be true.  The - sign before the bit tells the
  4403.                     filter that the bit must be clear for the match to
  4404.                     be true.
  4405.  
  4406.                     Type +s for the filter press return and select the
  4407.                     Activate gadget for this filter.  Hit the 'Use'
  4408.                     gadget.  You should now only see the directory
  4409.                     entries that have the protection bit s set.  My
  4410.                     prior listing now looks this way for the
  4411.                     "Tutorial:S" Directory Window:
  4412.  
  4413.           DPat         -s--rwed  Shell-startup    -s--rwed
  4414.  
  4415.  
  4416.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4417.  
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426.                                      Source and Destination Commands 68
  4427.  
  4428.  
  4429.           PCD          -s--rwed  SPat             -s--rwed
  4430.  
  4431.                     As you can see, only the files that have the 's'
  4432.                     (Script) bit set are now listed.
  4433.  
  4434.                     Some of my files did not have the 'e' (Execute)
  4435.                     bit set.  We can use this for an example of
  4436.                     selecting on un-set bits.  
  4437.  
  4438.                     Reopen the filter requestor again and change the
  4439.                     protection filter to "-e" then select the 'Use'
  4440.                     gadget.  You should now only see the directory
  4441.                     entries that have the protection bit 'e' un-set.
  4442.                     This is my list as a result of this:
  4443.  
  4444.           BRUtab       ----rw-d  HDBackup.config  ----rw-d
  4445.           Ed-startup   ----rw-d
  4446.  
  4447.                     Enter this for the next filter to test, "+rwed".
  4448.                     Press return on this string gadget once done.  The
  4449.                     filter will expand to "+r +w +e +d".  Now use it
  4450.                     as a protection filter.  Again this is the list
  4451.                     that I have as a result:
  4452.  
  4453.           DPat          -s--rwed  SPat             -s--rwed
  4454.           PCD           -s--rwed  Startup-sequence ----rwed
  4455.           Shell-startup -s--rwed
  4456.  
  4457.                     The last example for protection filters we will
  4458.                     add "-s" to the last filter so that it now reads
  4459.                     "+r +w +e +d -s".  This will be the results of
  4460.                     this filter:
  4461.  
  4462.                     Startup-sequence ----rwed
  4463.  
  4464.                     As you have seen, the protection filters are quite
  4465.                     versatile and allow a wide variety of ways to
  4466.                     select what to view.
  4467.  
  4468.           v"zMixing Multiple Filtersv"z
  4469.                     Using multiple filters at one time can become very
  4470.                     confusing.  (Trust me, I know!)  You really can
  4471.                     not hurt anything with multiple filters and my
  4472.                     theory on the best way to understand them, is to
  4473.                     play with them.
  4474.  
  4475.                     Things can get really wild when you start mixing
  4476.                     filters.  Then using the 'In' and 'Out' types
  4477.                     complicate things more.  The only way to see this
  4478.                     in action is to play with it.  Filters do not do
  4479.                     anything permanent to your directories.  They only
  4480.  
  4481.  
  4482.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4483.  
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.                                      Source and Destination Commands 69
  4493.  
  4494.  
  4495.                     work on the internal list of MegaD and help MegaD
  4496.                     decide what to display and not display for you.
  4497.                     Remember the simple rules of In/Out filters while
  4498.                     you are doing this.  The concept of filters are
  4499.                     unique.  As far as I know MegaD is the only
  4500.                     directory utility that supports this concept on
  4501.                     the Amiga.
  4502.  
  4503.                     With multiple filters you may select files that
  4504.                     have the pattern match of MegaD#?.c and greater
  4505.                     than a certain date.  I do this all the time for
  4506.                     back ups.  A filter for this is set in this
  4507.                     manner.
  4508.  
  4509.                     Type      filter              In/Out Activated
  4510.  
  4511.                     Name      MegaD#?.c           In        Yes
  4512.                     Date      -29-05-92 00:00:00  Out       Yes
  4513.  
  4514.                     This will show all MegaD#?.c files that are
  4515.                     greater than May 29, 1992, early morning.  Notice
  4516.                     that the date is set with a negative (-) sign in
  4517.                     the front to select files older than the date
  4518.                     specified.  The In/Out is set to Out.  This way
  4519.                     all older files are removed from the list.  The
  4520.                     following is an output from one of my source code
  4521.                     directories for MegaD. 
  4522.  
  4523.                     This is before the above filter was used.
  4524.  
  4525.      Work:lc/com
  4526.      closeup         03-22-92 11:41:24  MegaDPrefs.h    05-27-92 08:12:51
  4527.      LSE.DAT         03-22-92 11:41:24  MegaDHeader.h   05-27-92 08:15:35
  4528.      makeProto       03-22-92 11:41:24  H               05-27-92 10:46:50
  4529.      myoMegaD        03-22-92 11:41:26  MegaDSelWin.c   05-29-92 08:50:58
  4530.      SASCOPTS        03-22-92 11:41:26  MegaDTools.c    05-29-92 09:04:30
  4531.      Headerlist.c    04-26-92 05:56:59  MegaDPfFile.c   05-29-92 18:27:24
  4532.      MegaDTools2.c   05-20-92 18:30:19  setup           05-31-92 05:46:39
  4533.      MegaDControl.c  05-24-92 07:32:09  MegaDPf.h       05-31-92 06:50:10
  4534.      Megaddir.c      05-26-92 09:55:37
  4535.  
  4536.           This is after the above filter was used on the same
  4537.                     directory.
  4538.  
  4539.      Work:lc/com
  4540.      MegaDSelWin.c   05-29-92 08:50:58  MegaDPfFile.c   05-29-92
  4541.      18:27:24
  4542.      MegaDTools.c    05-29-92 09:04:30
  4543.  
  4544.                     NOTE:The date format for a filter must be DD-MM-YY
  4545.                     while my list are displayed MM-DD-YY.
  4546.  
  4547.  
  4548.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4549.  
  4550.  
  4551.  
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.                                      Source and Destination Commands 70
  4559.  
  4560.  
  4561.  
  4562.                     This makes a relative mixed list into a very
  4563.                     precise list of items that I want to work with for
  4564.                     the moment.  With a little practice MegaD filters
  4565.                     can become a very powerful tool for working with
  4566.                     large directories.
  4567.  
  4568.           v"zGlobal Filterv"z
  4569.                     We have not talked about one of the gadgets found
  4570.                     in the filter requestor.  It is the
  4571.                          'Set to all directories'.
  4572.                     Filters normally work only on the 'Dest'ination
  4573.                     Directory Window unless you select the 'Set to all
  4574.                     directories' gadget in the lower area of the
  4575.                     Filter requestor.   This creates a global filter
  4576.                     that all MegaD Directory Windows will use until
  4577.                     the filter is removed with 'Filter -' or a new
  4578.                     filter is added to the system.
  4579.  
  4580.                     Each time you return to the Filter requestor, you
  4581.                     will find it in the same state as the last time,
  4582.                     when you selected the 'Use' gadget from it.  MegaD
  4583.                     keeps this requestor set in this manner so that
  4584.                     you may quickly reset your last used filter to a
  4585.                     new Directory Window.  MegaD stores a different
  4586.                     set of filters for the three function that use the
  4587.                     filter requestor. The three functions are,
  4588.                     'Filters +', 'Sel/Clr Patterns' and 'Find'.
  4589.  
  4590.           v"zFilter -v"z
  4591.                     'Filter -' simply removes all active filters.
  4592.                     Unlike the 'Remove' gadget found in the filter
  4593.                     requestor, which removes filters from single
  4594.                     windows, 'Filter -' will remove any filter
  4595.                     attached to any window.
  4596.  
  4597.                     As mentioned earlier. 'Find', 'Sel Pattern' and
  4598.                     'Clr Pattern' all use the same requestor for
  4599.                     setup.  Now that you have a good start on what
  4600.                     filters are to MegaD we can get in to the subtitle
  4601.                     different of 'Find', 'Sel Pattern' and 'Clr
  4602.                     Pattern'.
  4603.  
  4604.           v"zFindv"z
  4605.                     'Find' will search through whole volumes or
  4606.                     selected directories searching for a file or
  4607.                     directory.  A good reason for this is, you may
  4608.                     know the name of the file that you want, but you
  4609.                     can not seem to find it.  Find will 'Go Deep' into
  4610.                     the selected volume or directories until the file
  4611.                     is found or the end of the search area is reached.  
  4612.  
  4613.  
  4614.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4615.  
  4616.  
  4617.  
  4618.  
  4619.  
  4620.  
  4621.  
  4622.  
  4623.  
  4624.                                      Source and Destination Commands 71
  4625.  
  4626.  
  4627.  
  4628.           v"zFind List Of Directory Itemsv"z
  4629.                     Find will also make a list of found files that
  4630.                     match the selected criteria to a specific file
  4631.                     that you designate. This option lets you create
  4632.                     lists of like items found in more than one
  4633.                     directory.  You could be looking for all files
  4634.                     that end with the .lha extension.  If so you would
  4635.                     set a name filter "#?.lha" and fill in the "Path
  4636.                     and filename for items" string gadget found at the
  4637.                     bottom of the filter requestor for 'Find'.  You
  4638.                     should supply a full path and name for this file
  4639.                     such as "Ram Disk:findList".  If you just enter
  4640.                     "findList" the file will be created in the same
  4641.                     directory as MegaD.  Once the directories are
  4642.                     searched and item/s were found to match the
  4643.                     filter, MegaD will load the created file and
  4644.                     display it in a Text Window.
  4645.  
  4646.           v"zSelect By Patternv"z
  4647.                     This is a very simple function.  'Sel Pattern'
  4648.                     will search the current destination directory
  4649.                     window.  When it finds a file (or directory) that
  4650.                     matches the pattern, MegaD will select (highlight)
  4651.                     that file/directory.  The search will then
  4652.                     continue until all open windows have been
  4653.                     searched.  'Sel Pattern' also can work on all open
  4654.                     windows (rather than just the current destination
  4655.                     window).  To enable this feature, merely select
  4656.                     the 'Set to all directories' gadget in the lower
  4657.                     area of the Filter requestor.
  4658.  
  4659.           v"zClear By Patternv"z
  4660.                     'Clr Pattern' will clear or unselect items in open
  4661.                     Directory Window that match the patterns set in
  4662.                     the filter requestor.  This works identically as
  4663.                     'Sel Pattern' except it clears the directory items
  4664.                     that match the filter.
  4665.  
  4666.  
  4667.  
  4668.  
  4669.  
  4670.  
  4671.  
  4672.  
  4673.  
  4674.  
  4675.  
  4676.  
  4677.  
  4678.  
  4679.  
  4680.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4681.  
  4682.  
  4683.  
  4684.  
  4685.  
  4686.  
  4687.  
  4688.  
  4689.  
  4690.                                                            v"zAutoBoots 72v"z
  4691.  
  4692.  
  4693.                                          v"zAutoBootsv"z
  4694.  
  4695.  
  4696.                     AutoBoots are unique, their purpose is to let you
  4697.                     to train MegaD to work with types of data files
  4698.                     that it knows nothing about.  MegaD only knows how
  4699.                     to handle a double click on four types of files
  4700.                     from default.  They are:
  4701.  
  4702.                     1.Icon file (.info)
  4703.                               Emulates Workbench.  If it is a project
  4704.                               icon it will look for a tool type.  If
  4705.                               it is a drawer icon it will load the
  4706.                               directory into a Directory Window.  If
  4707.                               it is a tool icon it will ask if you
  4708.                               want to run the program file associated
  4709.                               with it.
  4710.  
  4711.                     2.Text file.  
  4712.                               It will attempt to load it and place it
  4713.                               into a Text Window.
  4714.  
  4715.                     3.Executable file.
  4716.                               It will bring up a Program Control
  4717.                               Window that can be set in a variety of
  4718.                               ways.  This Program Control Window is an
  4719.                               integral part of AutoBoots, Menu Sets
  4720.                               and User gadgets.  It allows you execute
  4721.                               an external program from within MegaD
  4722.                               and offers many options on just how it
  4723.                               should be done.  This will be explained
  4724.                               during this discussion on AutoBoots.
  4725.  
  4726.                     (NEW 3.1)
  4727.                     ARexx Script.
  4728.                               It will bring up a Program Control
  4729.                               Window that can be set in a variety of
  4730.                               ways.  For MegaD to recognize a file as
  4731.                               an ARexx Script, the file must have a
  4732.                               few characteristics that are common to
  4733.                               most ARexx scripts.  For this to work
  4734.                               the filename must end with .arexx or
  4735.                               .rexx and the first non space characters
  4736.                               of the file must be "/*".
  4737.  
  4738.                     This is rather limiting when you consider the wide
  4739.                     variety of data files that are possible on the
  4740.                     Amiga.  Just to name a few, Graphics, Sounds,
  4741.                     Music, Mod, Animations...  To even attempt to list
  4742.                     all possible data files would be a major job, and
  4743.                     once the list was complete someone would write a
  4744.  
  4745.  
  4746.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4747.  
  4748.  
  4749.  
  4750.  
  4751.  
  4752.  
  4753.  
  4754.  
  4755.  
  4756.                                                            v"zAutoBoots 73v"z
  4757.  
  4758.  
  4759.                     new program that would create a new type of data
  4760.                     file making the list incomplete.
  4761.  
  4762.                     For this reason MegaD remains and will remain to
  4763.                     be a very naive program.  It knows very little
  4764.                     about the outside world.
  4765.  
  4766.                     It is up to you to teach MegaD how it should react
  4767.                     when a data file is double clicked.  This requires
  4768.                     you to know a little about your own system.
  4769.  
  4770.           v"zKnow Your Systemv"z
  4771.                     You need to be able to answer this question.
  4772.                     "What data files on your system work with what
  4773.                     programs on your system?"  If you have a word
  4774.                     processor, what files did that word processor
  4775.                     create?.  If you have a program that will display
  4776.                     or create graphic files, what graphic files can it
  4777.                     handle?  If you have a program the will play a
  4778.                     sound file, what sound files can it handle?
  4779.  
  4780.           v"zAdd AutoBoot Commandv"z
  4781.                     The facility that you use to teach it with is the
  4782.                     'Add AutoBoot' command.  'Add AutoBoot' requires
  4783.                     you to select one program file and at least Two
  4784.                     data files that the program file can handle.  The
  4785.                     more data files that are selected the better
  4786.                     chance that MegaD will always make the correct
  4787.                     choice as to which program file to match it to
  4788.                     when the data file is double clicked.
  4789.  
  4790.                     I am going to base this piece of the tutorial on
  4791.                     an assumption, I am going to assume that you have
  4792.                     and have used Deluxe Paint IV.  The program name
  4793.                     for this is DPaint and from here on out that is
  4794.                     the name that I will refer to it with.  If you
  4795.                     don't have DPaint you will have to improvise and
  4796.                     use some other type of program that creates and
  4797.                     uses data files, just remember that all that is
  4798.                     really required to create an AutoBoot definition
  4799.                     is one program file and at least two data files
  4800.                     that the program file knows how to use.
  4801.  
  4802.           v"zSelecting The Executablev"z
  4803.                     Open a Directory Window that contains the program
  4804.                     file DPaint and select it.  Select the 'Lock'
  4805.                     gadget of this Directory Window, this will prevent
  4806.                     it from closing while we open another directory
  4807.                     that contains the data files.
  4808.  
  4809.           v"zSelecting The Data Filesv"z
  4810.  
  4811.  
  4812.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4813.  
  4814.  
  4815.  
  4816.  
  4817.  
  4818.  
  4819.  
  4820.  
  4821.  
  4822.                                                            v"zAutoBoots 74v"z
  4823.  
  4824.  
  4825.                     If your data files are stored with the program
  4826.                     file drag select some of them, if not, open a
  4827.                     Directory Window that contains the data files, and
  4828.                     drag select some of them.
  4829.  
  4830.           v"zAdd AutoBoot Skips Icon Filesv"z
  4831.                     Do not worry about the icon files that may have
  4832.                     been selected with the data files, MegaD will
  4833.                     ignore them through the Add AutoBoot process.
  4834.  
  4835.                     Now select the 'ABoot Add' Command Gadget.  This
  4836.                     gadget is located on the third (shifted) bank of
  4837.                     Command Gadget, fourth row, far Left.  MegaD will
  4838.                     match the program file to the selected data files,
  4839.                     by matching common data found at the first of each
  4840.                     data file.
  4841.  
  4842.           v"zPossible Uses of File Extensionv"z
  4843.                     If common data can't be found yet each selected
  4844.                     data file had a common extension such as ".lha",
  4845.                     it will use the extension of the filenames to
  4846.                     match the files with.
  4847.  
  4848.                     If everything goes as planed, a Program Control
  4849.                     Window will open that will let you set MegaD to
  4850.                     run the program file and the specific actions for
  4851.                     MegaD to perform while it is running the program.
  4852.  
  4853.                     The next few pages may be difficult to comprehend;
  4854.                     however, I think I should introduce you to the
  4855.                     AutoBoot requestor before I continue leading you
  4856.                     through the DPaint AutoBoot setup.  Meanwhile,
  4857.                     please bear with me.
  4858.  
  4859.  
  4860.  
  4861.  
  4862.  
  4863.  
  4864.  
  4865.  
  4866.  
  4867.  
  4868.  
  4869.  
  4870.  
  4871.  
  4872.  
  4873.  
  4874.  
  4875.  
  4876.  
  4877.  
  4878.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4879.  
  4880.  
  4881.  
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.                                               Program Control Window 75
  4889.  
  4890.  
  4891.  
  4892.                                   v"zProgram Control Windowv"z
  4893.  
  4894.                     Now that the Program Control Window is opened, we
  4895.                     can discuss all the settings and string gadgets
  4896.                     found in it.  You will find this discussion useful
  4897.                     later on when we discuss Menu Sets, and User
  4898.                     Gadgets, they both use the Program Control Window
  4899.                     for part of their setup in the same way the
  4900.                     AutoBoots are set.
  4901.  
  4902.           v"zAnatomy Of The Program Control Windowv"z
  4903.                     The Program Control Window contained nine check
  4904.                     gadgets, Two cycle gadgets, six string gadgets and
  4905.                     two exit gadgets, Use and Cancel.
  4906.  
  4907.           v"zCheck Gadgetsv"z
  4908.                     The check gadgets that have an '*' in front of the
  4909.                     title of the gadget has no control over an
  4910.                     AutoBoot definition during the double click of a
  4911.                     file.  They can be set for later use.  You will be
  4912.                     able to place a defined AutoBoot on one or more of
  4913.                     the keypad gadgets once it is defined
  4914.  
  4915.           v"zSkip selected directoriesv"z
  4916.                     If checked, ignore selected directories in the
  4917.                     directory window during the call.  Very few
  4918.                     programs can use a selected directory.  Some
  4919.                     archiving program will compress all files and
  4920.                     recreate the directory once un-compressed.
  4921.  
  4922.           v"zSkip selected filesv"z
  4923.                     If checked, ignore selected files in the directory
  4924.                     window during the call.  This is rarely checked.
  4925.                     Most programs that you set up will want selected
  4926.                     files to work on from open directory windows.
  4927.  
  4928.           v"zWork without selected itemsv"z
  4929.                     If checked, MegaD will call the program even if
  4930.                     nothing is selected in the directory window during
  4931.                     the call.  This is useful when creating a program
  4932.                     control that will call a program that does not use
  4933.                     a data file, such as a terminal program.
  4934.  
  4935.           v"zSkip .info filesv"z
  4936.                     If checked, ignore selected .info files in the
  4937.                     directory window during the call.  Very few
  4938.                     programs work on icon files.  Usually this will be
  4939.                     checked.
  4940.  
  4941.           v"zCombine all selected on one linev"z
  4942.  
  4943.  
  4944.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  4945.  
  4946.  
  4947.  
  4948.  
  4949.  
  4950.  
  4951.  
  4952.  
  4953.  
  4954.                                               Program Control Window 76
  4955.  
  4956.  
  4957.                     Some programs can accept multiple data files at
  4958.                     startup.  MegaD launches programs in two basic
  4959.                     ways.  CLI command line, or as a Workbench task.
  4960.                     This works closely with the cycle gadget below
  4961.                     that cycles though the different execute modes.
  4962.                     If checked:
  4963.                     And this is a
  4964.                     "Multitasking Workbench (NO I/0)" (see below) type
  4965.                               call.  All selected items that get past
  4966.                               the above criteria will be sent to the
  4967.                               called program as a group of Workbench
  4968.                               arguments.  Some programs do not deal
  4969.                               with multiple arguments and will ignore
  4970.                               all but the first argument and some
  4971.                               times even the first argument will be
  4972.                               ignored.
  4973.                     And this is not a
  4974.                     "Multitasking Workbench (NO I/O)" the selected
  4975.                               information will be assembled into a CLI
  4976.                               (Command Line Interface) command.  A CLI
  4977.                               command can be about 255 characters
  4978.                               long. If all the selected items can not
  4979.                               be place into one line, MegaD will
  4980.                               create extra lines and recall the
  4981.                               program until all selected items have
  4982.                               been fed to the program. (See Command
  4983.                               Lines and Program control below for more
  4984.                               information.)
  4985.  
  4986.           Combine all selected on one line (continued)
  4987.                     If not checked:
  4988.                       And this is a
  4989.                     "Multitasking Workbench (NO I/0)" type call.  All
  4990.                               selected items that get past the above
  4991.                               criteria will be fed to the called
  4992.                               program one at a time.  Each time the
  4993.                               called program returns, the program will
  4994.                               be re-called and given the next selected
  4995.                               item.  This mode has a high overhead
  4996.                               because the program must be reloaded for
  4997.                               each call.
  4998.                       And this is not a
  4999.                     "Multitasking Workbench (NO I/O)" the selected
  5000.                               information will be assembled into a CLI
  5001.                               (Command Line Interface) command. MegaD
  5002.                               will create a command line for each
  5003.                               selected item and recall the program
  5004.                               until all selected items have been fed
  5005.                               to the program.
  5006.  
  5007.           v"zWorkbench screen to front at startv"z
  5008.  
  5009.  
  5010.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5011.  
  5012.  
  5013.  
  5014.  
  5015.  
  5016.  
  5017.  
  5018.  
  5019.  
  5020.                                               Program Control Window 77
  5021.  
  5022.  
  5023.                     If checked, MegaD will move the Workbench screen
  5024.                     to the front position among all other screens
  5025.                     running on the system at the same time MegaD
  5026.                     launches the program.
  5027.            
  5028.           v"zMegaD screen to front at endv"z
  5029.                     If checked, MegaD will move the MegaD screen to
  5030.                     the front position among all other screens running
  5031.                     on the system after the launched program ends.
  5032.  
  5033.           v"zReload current directory at endv"z
  5034.                     If checked, MegaD will require that at least one
  5035.                     destination window is available on the screen.
  5036.                     Once the called program returns, MegaD will reload
  5037.                     the current directory and re-display the
  5038.                     information in this destination window.  If the
  5039.                     destination window was closed during the process
  5040.                     it will be reopened.
  5041.  
  5042.           v"zForced Destinationv"z
  5043.                     'Reload current directory at end' also forces the
  5044.                     destination window to become the Current Directory
  5045.                     for the called program.  This is useful for
  5046.                     programs that unarchive information to such
  5047.                     directories.
  5048.  
  5049.                     If 'Reload current directory at end' is not check
  5050.                     the called program is given its own home directory
  5051.                     as its current directory, and no directory is
  5052.                     reloaded once the launched program finishes.
  5053.  
  5054.           v"zQuery for destination filenamev"z
  5055.                     If checked, MegaD will require that at least one
  5056.                     destination window is available on the screen.
  5057.                     MegaD will then open a requestor for you to input
  5058.                     the filename to be used in this directory.  This
  5059.                     is useful for a program that requires a
  5060.                     destination file name such as archivers. (See:
  5061.                     Command Lines and Program control below for more
  5062.                     information.)
  5063.  
  5064.           (NEW 3.1)
  5065.           v"zWarn before launchv"z
  5066.                     If checked, MegaD will open a requestor that
  5067.                     reads:
  5068.  
  5069.                                           Launch 
  5070.                                       Program Control
  5071.                                   <Program Control name>
  5072.  
  5073.                     By answering Yes to this requestor, MegaD will
  5074.  
  5075.  
  5076.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5077.  
  5078.  
  5079.  
  5080.  
  5081.  
  5082.  
  5083.  
  5084.  
  5085.  
  5086.                                               Program Control Window 78
  5087.  
  5088.  
  5089.                     launch the Program Control.  Answering No will
  5090.                     abort the launch.
  5091.  
  5092.                     This is useful for potentially dangerous Program
  5093.                     Controls, ones that could change, modify or even
  5094.                     remove files from you system.
  5095.  
  5096.           (NEW 3.1)
  5097.           v"zQuery for 'Flags to add'v"z
  5098.                     Access through the 'More...' gadget.  This will
  5099.                     open a window that will allow you to fill in the
  5100.                     information for the 'Flags to add' string of the
  5101.                     Program Control before launching the program.
  5102.  
  5103.           (NEW 3.1)
  5104.           v"zQuery for 'Text to append'v"z
  5105.                     Access through the 'More...' gadget.  This will
  5106.                     open a window that will allow you to fill in the
  5107.                     information for the 'Flags to add' string of the
  5108.                     Program Control before launching the program.
  5109.  
  5110.           v"zScreen control Cycle gadgetv"z
  5111.                     The Screen control only effects which screen the
  5112.                     console window is placed for Non- Workbench
  5113.                     executed programs.
  5114.  
  5115.           v"zPlace Program on Workbench Screenv"z
  5116.                     Place the console window for the program on
  5117.                     Workbench screen.
  5118.  
  5119.           v"zPlace Program on MegaD Screenv"z
  5120.                     Place the console window for the program on MegaD
  5121.                     screen.
  5122.  
  5123.           v"zExecute type cycle gadgetv"z
  5124.           v"zMultitasking executev"z
  5125.                     MegaD spawns a simple task to control the called
  5126.                     program.  This task executes the command line or
  5127.                     lines that were created by the program control.
  5128.                     If more than one command line was created for this
  5129.                     call it will continue executing each line until
  5130.                     the job is completed.
  5131.  
  5132.           v"zMultitasking Execute W/Holdv"z
  5133.                     MegaD spawns a simple task to control the called
  5134.                     program.  This task executes the command line or
  5135.                     lines that were created by the program control.
  5136.                     If more than one command line was created for this
  5137.                     call the task will wait for a return or the input
  5138.                     of the letter 'Q' for quit. If the letter 'Q' is
  5139.                     not entered it will continue calling each line
  5140.  
  5141.  
  5142.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5143.  
  5144.  
  5145.  
  5146.  
  5147.  
  5148.  
  5149.  
  5150.  
  5151.  
  5152.                                               Program Control Window 79
  5153.  
  5154.  
  5155.                     until the job is completed.
  5156.  
  5157.           v"zMultitasking Workbench (NO I/0)v"z
  5158.                     MegaD spawns the program as a Workbench task. No
  5159.                     command line is created.  Only Workbench arguments
  5160.                     are passed to the called program. Input and Output
  5161.                     channels are not supplied, so DO NOT use this call
  5162.                     with programs that are CLI type programs.  The
  5163.                     best way to know if this will work is if the
  5164.                     program that you are setting up has an icon file
  5165.                     (.info).
  5166.  
  5167.           v"zProgram Control Window, String Gadgets.v"z
  5168.                     Please See:  Command Lines and Program control
  5169.                     below for more information about how the strings
  5170.                     are assembled for a command line.
  5171.  
  5172.           v"zTitle String Gadgetv"z
  5173.                     You define a unique title for each program
  5174.                     control.  This title should be one that will
  5175.                     remind yourself what the program control function
  5176.                     is and will do.  This title must be unique from
  5177.                     all other program controls titles.  Though the
  5178.                     room for the title is large, it is best to keep
  5179.                     them to 12 characters or less.  This way the title
  5180.                     will be completely visible if the program control
  5181.                     is attach to a keypad gadget.
  5182.  
  5183.           v"zPath and Program Name String Gadgetv"z
  5184.                     This should contain the complete path and filename
  5185.                     of the executable file for this Program Control.
  5186.                     It can be verified by the "Verify Title &
  5187.                     Path/name" gadget at the top of the window.
  5188.           (NEW 3.1)
  5189.                     You will see a small folder gadget to the right of
  5190.                     this string gadget.  By selecting this gadget the
  5191.                     ASL file requestor will open.  You will be able to
  5192.                     select the program from this requestor.  After
  5193.                     doing so the correct path and filename will be
  5194.                     filled into the string gadget.
  5195.  
  5196.           v"zFlags to add after Program Namev"z
  5197.                     If the program uses special information to tell
  5198.                     what to do, usually in the form of flags [-f -a].
  5199.                     This is usually the best place for them.
  5200.  
  5201.           v"zText to append to end of command linev"z
  5202.                     After the command line is fully assembled, this
  5203.                     information is added to the end.
  5204.  
  5205.           v"zRedirect Output to a file or devicev"z
  5206.  
  5207.  
  5208.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5209.  
  5210.  
  5211.  
  5212.  
  5213.  
  5214.  
  5215.  
  5216.  
  5217.  
  5218.                                               Program Control Window 80
  5219.  
  5220.  
  5221.                     If you under stand AmigaDOS redirection this is
  5222.                     the output filename for the redirection.  A very
  5223.                     common one is PRT: to force the output information
  5224.                     to be sent to the printer.
  5225.  
  5226.           v"zAccept Input From a file or devicev"z
  5227.                     This is a very rare case and unless you are very
  5228.                     sure of what you are doing you should not use
  5229.                     this.  What happens is this.  If the called
  5230.                     program requires any information from the console
  5231.                     window it will instead be given what ever
  5232.                     information is found in the input file.  Both
  5233.                     types of redirection are complex issues and if you
  5234.                     need more information consult your AmigaDOS
  5235.                     manuals.
  5236.  
  5237.           (NEW 3.1)
  5238.           v"zConsole window stringv"z
  5239.                     If you want to define the size of the console
  5240.                     window that will open for 'Execute' type program
  5241.                     you will use this string gadget.  v"zThis is only thev"z
  5242.                     v"zfirst part of the CON: string!,v"z you only fill in
  5243.                     the CON:x/y/w/h section of the string.  To the
  5244.                     right of this string gadget you will see a small
  5245.                     gadget that if selected will open a sizeable
  5246.                     window that you can move, size and close.  after
  5247.                     closing the window the Console window string will
  5248.                     be filled in with the correct string to recreate
  5249.                     the window that was just sized and closed.  This
  5250.                     is the preferred way to create the string.  There
  5251.                     is now error checking to see if the string is
  5252.                     correct and will open a Console window for the
  5253.                     Executed program.
  5254.  
  5255.           (NEW 3.1)
  5256.           v"zStack sizev"z
  5257.                     This will allow you to enter a predetermined stack
  5258.                     size to use when the program is launched.  Any
  5259.                     value below 4000 will be ignored and the program
  5260.                     will be launched with a 4000 stack size.
  5261.  
  5262.           v"zCommand Lines and Program Controlsv"z
  5263.                     Working with AmigaDOS and CLI command lines some
  5264.                     times requires that full sentences be created to
  5265.                     tell the program that is to be called what to do.
  5266.                     A very common type of a command that might be used
  5267.                     would be this line.
  5268.  
  5269.             LhArc a "Ram Disk:archive" "My Disk:My Data File"
  5270.  
  5271.                     This line would call the program LhArc with the
  5272.  
  5273.  
  5274.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5275.  
  5276.  
  5277.  
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.                                               Program Control Window 81
  5285.  
  5286.  
  5287.                     flag of 'a' and two filenames following.  When
  5288.                     MegaD creates this line for you it does a couple
  5289.                     of other things to it.  It also adds standard
  5290.                     redirection symbols to it so that the program can
  5291.                     work in a supplied console window.  When MegaD
  5292.                     creates this line it looks like this.
  5293.  
  5294.             LhArc >* <* a "Ram Disk:archive" "My Disk:My Data File"
  5295.  
  5296.                     MegaD uses all the information in the string
  5297.                     gadgets of the program control and possibly
  5298.                     information from selected files in directory
  5299.                     window to piece together the command line.
  5300.  
  5301.                     The information is patched together with spaces
  5302.                     between the information in this order.
  5303.  
  5304.                     [Path and Program Name] 
  5305.                     >[Redirect Output to a file or device]
  5306.                     <[Accept Input From a file or device]
  5307.                     [Flags to add after Program Name]
  5308.                     [Query for destination filename]
  5309.                     [complete filenames of selected files]
  5310.                     [Text to append to the end of the Command Line]
  5311.  
  5312.                     Sorry I had to put you through all of that,  But
  5313.                     all of it needed to be explained.  I will take you
  5314.                     through setting up Program Control in a number of
  5315.                     different ways.  If you can remember we started
  5316.                     this discussion by starting to set up an AutoBoot
  5317.                     Program Control for DPaint, that Program Control
  5318.                     Window should still be open at the moment.  We
  5319.                     will move back to setting the DPaint AutoBoot up.
  5320.  
  5321.  
  5322.  
  5323.  
  5324.  
  5325.  
  5326.  
  5327.  
  5328.  
  5329.  
  5330.  
  5331.  
  5332.  
  5333.  
  5334.  
  5335.  
  5336.  
  5337.  
  5338.  
  5339.  
  5340.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5341.  
  5342.  
  5343.  
  5344.  
  5345.  
  5346.  
  5347.  
  5348.  
  5349.  
  5350.                                            Back To Adding Auto Boots 82
  5351.  
  5352.  
  5353.  
  5354.                                  v"zBack To Adding Auto Bootsv"z
  5355.  
  5356.  
  5357.           v"zSetting AutoBoots As Command Gadgetsv"z
  5358.                     You could select 'Use' at this point and the
  5359.                     AutoBoot would be ready to use.  We will define
  5360.                     this Program Control to the attributes that best
  5361.                     suite DPaint.  One of the things about this, is
  5362.                     the AutoBoot can later be attached to one of the
  5363.                     keypad gadgets so you could select a graphic file
  5364.                     from a MegaD Directory Window and then select the
  5365.                     DPaint keypad gadget.  This action would launch
  5366.                     DPaint and load the selected graphic file.  I
  5367.                     always set the AutoBoot Program Control up so that
  5368.                     if I want they can be added to a keypad.  We will
  5369.                     go though the steps to do so.
  5370.  
  5371.                     As you will see, the best way to set up a Program
  5372.                     Control is to ask yourself "Do I need this
  5373.                     attribute to run this program?"
  5374.  
  5375.                     The first question you should answer right now is
  5376.                     "How should I run this program?" As a Workbench
  5377.                     task or as an executed CLI command line?  And if
  5378.                     it is an executed CLI command line, should the
  5379.                     console window that it is run from, wait for a
  5380.                     return to close.  DPaint will run from the
  5381.                     Workbench.  We know this because it has a .info
  5382.                     icon file that is used with the Workbench.
  5383.  
  5384.                     Using the Workbench to launch a program has the
  5385.                     lowest overhead, or put another way, it uses less
  5386.                     memory.
  5387.  
  5388.                     Set the execute type gadget to "Multitasking
  5389.                     Workbench (NO I/O)"  You will notice that the two
  5390.                     bottom check gadgets are ghosted, also the last
  5391.                     four string gadgets have become ghosted.  These
  5392.                     attributes can not be used with the Workbench.
  5393.  
  5394.                     The next question is "Will DPaint work with a
  5395.                     directory as a tool?  The answer is no.  You can
  5396.                     not give DPaint a directory as a workbench
  5397.                     argument and have it know what to do with it.  So
  5398.                     you will check the "Skip selected directories."
  5399.  
  5400.                     Will DPaint work with a file?  Yes, it will load
  5401.                     most any IFF graphic file.  We will not check the
  5402.                     "Skip selected files" attribute.
  5403.  
  5404.  
  5405.  
  5406.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5407.  
  5408.  
  5409.  
  5410.  
  5411.  
  5412.  
  5413.  
  5414.  
  5415.  
  5416.                                            Back To Adding Auto Boots 83
  5417.  
  5418.  
  5419.                     Will DPaint work without any data files.  Yes, you
  5420.                     can start up DPaint without a file and start
  5421.                     working within DPaint from scratch.  We will check
  5422.                     the "Work without selected items" attribute.
  5423.  
  5424.                     Will DPaint use an .info icon file?  No, it will
  5425.                     not know what to do with it.  We will check the
  5426.                     "Skip .info files" attribute
  5427.  
  5428.                     Will DPaint work on multiple data files at one
  5429.                     time.  Unfortunately it will not.  If you send
  5430.                     DPaint more than one Workbench argument it will
  5431.                     ignore all but the first one.  This means if you
  5432.                     were to drag select a group of graphics files and
  5433.                     launch DPaint with this attribute set it will load
  5434.                     the first selected item and ignore all the others.
  5435.                     We will not select the "Combine all selected on
  5436.                     one line" attribute.
  5437.  
  5438.                     Will DPaint open on the Workbench screen?  No,
  5439.                     DPaint will open its own screen, and being so, we
  5440.                     will not need to shuffle the screens around to see
  5441.                     the program.  We will not check the "Workbench
  5442.                     screen to front at start" And for the same reason
  5443.                     will not check the "MegaD screen to front at end"
  5444.                     attribute.
  5445.  
  5446.                     Now look over to the right side of the window.
  5447.                     The top two string gadgets are the only ones we
  5448.                     can enter information into and they are both
  5449.                     filled.  The Title has "DPaint" in it.  Path and
  5450.                     Program name has the full path and name that you
  5451.                     would use to find and run this program.  This is
  5452.                     my path for it: 
  5453.                          "Work:Paint/DPaint", 
  5454.                     yours will be different to match the way DPaint is
  5455.                     accessed on your system.  Both are filled in
  5456.                     properly and we can leave them as they are.
  5457.  
  5458.                     Now that we have everything set, select the 'Use'
  5459.                     gadget.  You should receive a message reading:
  5460.  
  5461.                                This AutoBoot has been added
  5462.                                To keep, use Save Preferences
  5463.  
  5464.                     press 'Continue'.  The AutoBoot is now available
  5465.                     for use on your system.
  5466.  
  5467.           v"zUsing an AutoBootv"z
  5468.                     To use the AutoBoot, all you will need to do is
  5469.                     double click a file that it has been trained to
  5470.  
  5471.  
  5472.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5473.  
  5474.  
  5475.  
  5476.  
  5477.  
  5478.  
  5479.  
  5480.  
  5481.  
  5482.                                            Back To Adding Auto Boots 84
  5483.  
  5484.  
  5485.                     recognize.  DPaint will be launched and the double
  5486.                     clicked file will be loaded by DPaint.  Test this
  5487.                     out and then quit DPaint so that we can go on to
  5488.                     the next feature of using AutoBoots.
  5489.  
  5490.                     Just as a reminder, there is a menu item in the
  5491.                     Option menu that will disable this feature of
  5492.                     MegaD.  It is the Option, Activate AutoBoot.  If
  5493.                     you uncheck this, the testing of double click of
  5494.                     files for data type will be deactivated.
  5495.  
  5496.           v"zUsing an AutoBoot As A Command Gadgetv"z
  5497.                     We have prepared this AutoBoot so that it can be
  5498.                     attached to the keypad.  Lets do this now. This
  5499.                     task is quite simple to perform.  In the Project
  5500.                     menu you will find the menu item Keypads...
  5501.                     Select this item.
  5502.  
  5503.           v"zSet Keypads Windowv"z
  5504.                     A window will open that is for attaching commands
  5505.                     to the keypad gadgets.  The upper area has 42
  5506.                     gadgets in a 6 X 7 grid.  This set of gadget are
  5507.                     the source gadgets.  They are where you will get
  5508.                     the commands that you want to place in your
  5509.                     keypad.
  5510.  
  5511.           v"zDestination Gadgetsv"z
  5512.                     The keypad gadgets are in the lower area of this
  5513.                     window aligned to the right side of the window.
  5514.                     The keypad gadget area is the destination area of
  5515.                     this window.  
  5516.  
  5517.                     Any one gadget in each area can be selected.  As
  5518.                     soon as one gadget is selected in both areas the
  5519.                     keypad gadget will change to the selected source
  5520.                     item.
  5521.  
  5522.                     You will find two cycle gadgets, One is for pages
  5523.                     of source information, the other is to select the
  5524.                     type of source information to transfer or to work
  5525.                     on.  The types to work on are Built-in, Menu Sets,
  5526.                     AutoBoots and User Gadgets.
  5527.  
  5528.                     Below this set of cycle gadgets are gadgets
  5529.                     labeled Add, Delete, Modify.  By selecting a Menu
  5530.                     Set, AutoBoot, or User Gadget and then selecting
  5531.                     the Modify gadget you can edit how a program
  5532.                     control will function.  By selecting a keypad
  5533.                     gadget and then modify, you can change the title
  5534.                     and color of the keypad gadget.
  5535.  
  5536.  
  5537.  
  5538.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5539.  
  5540.  
  5541.  
  5542.  
  5543.  
  5544.  
  5545.  
  5546.  
  5547.  
  5548.                                            Back To Adding Auto Boots 85
  5549.  
  5550.  
  5551.                     You will need to cycle the source type to
  5552.                     AutoBoots.  Once doing so you will see the
  5553.                     'DPaint" AutoBoot that we just created.  Select
  5554.                     the 'A' 'Shift gadget' on the keypad.  This will
  5555.                     position it to a completely blank bank of Command
  5556.                     Gadgets.  Select the upper right keypad gadget, it
  5557.                     will stay selected after you move the mouse away
  5558.                     from it.  Select the source gadget 'DPaint', the
  5559.                     information will be copied to the selected keypad
  5560.                     gadget.
  5561.  
  5562.                     Now select the 'Use' gadget.  The Set Keypad
  5563.                     window will close.  Now select the 'A' gadget in
  5564.                     the Control Window to shift the Command Gadget to
  5565.                     the fourth bank.  You will find the 'DPaint'
  5566.                     gadget you just place there.  Be sure that no
  5567.                     Directory Window items are selected and select the
  5568.                     'DPaint' Command Gadgets.   DPaint will be
  5569.                     launched without a data file to load, (this is why
  5570.                     we made sure that none of the Directory Window had
  5571.                     selected items in them.)  After doing this, Quit
  5572.                     DPaint.  Now select a data file in a Directory
  5573.                     Window that you know will work with DPaint, then
  5574.                     select the 'DPaint' Command Gadget again.  DPaint
  5575.                     will be launched and this time it will have a data
  5576.                     file to load and display.
  5577.  
  5578.                     I took you on a number of detours to explain how
  5579.                     to add an AutoBoot to MegaD.  We will add a few
  5580.                     more AutoBoots, the first one will work on the
  5581.                     same types of graphic data files.  I am going to
  5582.                     demonstrate how MegaD handles situations where
  5583.                     multiple AutoBoots are created for the same type
  5584.                     of data file.  The other one will work with an
  5585.                     archiving utility that needs a console window.
  5586.  
  5587.                     There are many programs out there that will
  5588.                     display graphic files on the Amiga.  They do not
  5589.                     include editing functions or ways to modify the
  5590.                     graphic file and save it, they are usually fairly
  5591.                     small, this gives them the plus that they can be
  5592.                     loaded quicker to preview a graphic file than a
  5593.                     full blown paint utility.  A very good graphic
  5594.                     viewer comes with the new 2.0 operating system.
  5595.                     This program is named "Display" and you can find
  5596.                     it in the utilities drawer of the Workbench.  If
  5597.                     your not using 2.0 and do not have Display then
  5598.                     you will have to find another utility that will
  5599.                     work on your system that will display graphics
  5600.                     files.  A very good choice for this is "Mostra" by
  5601.                     Sebastiano Vigna.
  5602.  
  5603.  
  5604.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5605.  
  5606.  
  5607.  
  5608.  
  5609.  
  5610.  
  5611.  
  5612.  
  5613.  
  5614.                                            Back To Adding Auto Boots 86
  5615.  
  5616.  
  5617.  
  5618.                     Ether program that you use, you should be familiar
  5619.                     with it before running it.  If you have never used
  5620.                     "Display" or "Mostra", you should read the
  5621.                     documentation that comes with them, before
  5622.                     creating AutoBoots to work with them.  This holds
  5623.                     true for any program that you wish to run, if it
  5624.                     be from within MegaD or from the Workbench or from
  5625.                     the CLI.
  5626.  
  5627.           v"zSave Your Workv"z
  5628.                     As you have seen, MegaD will remind you after a
  5629.                     new AutoBoot definition is created, to save your
  5630.                     preference file.  The reason, so you will not lose
  5631.                     your work.  Creating an AutoBoot is a risky
  5632.                     business.  It is possible that you may define an
  5633.                     AutoBoot to use the Workbench type execute, only
  5634.                     to find that when you test it out, it crashes
  5635.                     because the program needed input and output
  5636.                     channels.  It is possible that the program is not
  5637.                     compatible with the way MegaD launches programs,
  5638.                     though I have yet to find one, I sure they exist.
  5639.                     For these reason, save your preferences file with
  5640.                     the 'Project, Save Preferences' menu or the
  5641.                     Command Gadget, 'Save Preferences'.
  5642.  
  5643.                     The previous paragraph hold true for the rest of
  5644.                     the Tutorial.  Until now, we have worked with the
  5645.                     default settings of MegaD.  We are now modifying
  5646.                     MegaD to our needs and wants.  All the changes
  5647.                     that we have done and all the changes the we will
  5648.                     do later can be saved, and should be.
  5649.  
  5650.                     Select "Display" in the Utilities Directory Window
  5651.                     and lock that window so that it will not close.
  5652.                     Open the Directory Window to the same graphic
  5653.                     files that you used to set the AutoBoot for DPaint
  5654.                     and select some of the graphic files.  Select the
  5655.                     'ABoot Add' Command Gadgets.  The Program Control
  5656.                     Window will open.  Perform the next few settings.
  5657.  
  5658.                     1.   Check Skip selected directories.
  5659.                     2.   Check Skip .info files
  5660.                     3.   Check Combine all selected on one line
  5661.                     4.   Cycle Execute type to Workbench (NO I/O)
  5662.                     Note: This is all that needed to be done to set up
  5663.                     ether Mostra or Display.  If you're not sure why
  5664.                     we set the attributes this way look back at the
  5665.                     text that describe the attributes of Program
  5666.                     Controls for your answers.
  5667.                     5.   Select the 'Use' gadget.
  5668.  
  5669.  
  5670.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5671.  
  5672.  
  5673.  
  5674.  
  5675.  
  5676.  
  5677.  
  5678.  
  5679.  
  5680.                                            Back To Adding Auto Boots 87
  5681.  
  5682.  
  5683.  
  5684.           v"zMultiple AutoBoot Windowv"z
  5685.                     Now double click one of the graphic files, A
  5686.                     Multiple AutoBoots window will open.  It will give
  5687.                     you the choice of which program to use with this
  5688.                     double clicked data file.  Two of the twenty
  5689.                     gadgets in this window displays the possible
  5690.                     choices for programs that can be used with this
  5691.                     file, Display and DPaint.  Select the Display
  5692.                     gadget.  The double clicked file will be handed to
  5693.                     the Display program as a Workbench argument, in
  5694.                     turn it will load the graphic file and display it.
  5695.           v"zAdd Display Command Gadgetv"z
  5696.                     Select the Keypads menu item in the Project menu.
  5697.                     Add this AutoBoot to the Keypad.  Remember the
  5698.                     Fourth (Alt) bank is mostly empty, this will be a
  5699.                     common bank to add commands while your getting
  5700.                     used to MegaD.  Add the Display AutoBoot to any of
  5701.                     the blank keypad gadgets.  Once done select the
  5702.                     'Use' gadget.
  5703.  
  5704.                     Remember that we selected the 'Combine all
  5705.                     selected on one line' attribute for the Display
  5706.                     AutoBoot.  Now that it is attached to a keypad
  5707.                     gadget we can test this feature of the Program
  5708.                     Control.  Select a few of the graphic files in a
  5709.                     Directory Window and then select the new 'Display'
  5710.                     keypad command.  Display will load and run, it
  5711.                     will load each of the graphic files one at a time
  5712.                     for you to see them.  By pressing the Space Bar
  5713.                     the program Display will switch to the next
  5714.                     selected graphic.
  5715.  
  5716.                     Lets move on to the next and final AutoBoot that
  5717.                     we will add.  You will need to have one of many
  5718.                     archiving programs available for the Amiga
  5719.                     computer.  Archiving programs are used to compress
  5720.                     a file or a group of files for storage or
  5721.                     transmission over telecommunication lines.  Two
  5722.                     very popular programs of this type are LhArc and
  5723.                     LHA.  You will also need to have a few files that
  5724.                     have been created with the archiving programs.
  5725.                     These files usually end with an extension.  LhArc
  5726.                     files end with .lzh and lha files end with .lha.
  5727.  
  5728.           v"zAdding Archive List Commandv"z
  5729.                     Open a Directory Window that has the archiving
  5730.                     program and select it and 'Lock" the window.  Open
  5731.                     a window that has some of the data files that
  5732.                     match the archiving program, remember that you
  5733.                     need at least two data files selected for Add
  5734.  
  5735.  
  5736.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5737.  
  5738.  
  5739.  
  5740.  
  5741.  
  5742.  
  5743.  
  5744.  
  5745.  
  5746.                                            Back To Adding Auto Boots 88
  5747.  
  5748.  
  5749.                     AutoBoot.  After doing so select the 'ABoot Add'
  5750.                     Command Gadgets.  MegaD will look though the
  5751.                     selected files for common data, the common data it
  5752.                     will find will be the data files all have the same
  5753.                     extension.  It will open a request window that
  5754.                     will read:
  5755.                                        Use extension
  5756.                                             lha
  5757.                              to match data file to executable?
  5758.  
  5759.                     Answer yes to this requestor.
  5760.  
  5761.                     The Program Control Window will open so that you
  5762.                     can set up this AutoBoot.  We want this one to
  5763.                     list the contents of the archive file to a console
  5764.                     window and it should hold the console window open
  5765.                     until we are done reading it.  Here are the
  5766.                     attributes that we will set:
  5767.                     1.   Check Skip selected directories
  5768.                     2.   Check Skip .info files
  5769.                     3.   Set execute to 'Multitasking Execute W/Hold"
  5770.                     4.   Add " list" behind the title so that it will
  5771.                     be more descriptive of its task.  It could read
  5772.                     "lha List" or "LhArc List".
  5773.                     5.   Type a lower case 'l' in the 'Flags to add
  5774.                     after Program Name' string gadget.  This flag tell
  5775.                     LhArc and lha to list the contents of the archive
  5776.                     file.
  5777.                     6.   Select the 'Use' gadget.
  5778.  
  5779.                     You can now double click any of the archive files
  5780.                     that was created with the archiving program and
  5781.                     the contents will be listed into a console window.
  5782.                     The window will wait for a return key press to
  5783.                     close.
  5784.  
  5785.           v"zWe are the teachersv"z
  5786.                     To summarize what has just happened, we have
  5787.                     taught MegaD how to handle graphic and archived
  5788.                     files.  An ability that it does not have on it's
  5789.                     own.  By training MegaD on what program to call
  5790.                     for certain types of data files we have made MegaD
  5791.                     a little more useful while navigating around our
  5792.                     file systems.  We have also added the AutoBoots to
  5793.                     keypad gadgets so that new commands are available
  5794.                     to work on selected items in Directory Windows.
  5795.                     We can even set keypad gadgets so that we can call
  5796.                     our favorite programs making MegaD a very powerful
  5797.                     tool manager.
  5798.  
  5799.                     Now that we have created a few AutoBoots we can
  5800.  
  5801.  
  5802.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5803.  
  5804.  
  5805.  
  5806.  
  5807.  
  5808.  
  5809.  
  5810.  
  5811.  
  5812.                                            Back To Adding Auto Boots 89
  5813.  
  5814.  
  5815.                     discuss how to select and clear items in open
  5816.                     Directory Windows with "Sel ABoot" and 'Clr
  5817.                     ABoot'.  This is a unique feature of MegaD,
  5818.                     instead of selecting files by name or file
  5819.                     attributes you select it by the actual contents of
  5820.                     the file.  This has a very high overhead when you
  5821.                     use it, MegaD  reads the first few bytes of each
  5822.                     file found in each open Directory Window to decide
  5823.                     if the file will match the AutoBoot.  At times it
  5824.                     may be the only way you can tell a word processor
  5825.                     file from a text file in a mixed directory.
  5826.  
  5827.                     You could use this function of MegaD to clean up a
  5828.                     directory of mixed items.  Select the files by the
  5829.                     AutoBoot criteria and then move all of those files
  5830.                     to a specific directory that is to be dedicated to
  5831.                     only those types of files.  It becomes a very
  5832.                     powerful reorganization tool.
  5833.  
  5834.                     Open one Directory Window that has some data files
  5835.                     of the same type that was used to create an
  5836.                     AutoBoot.
  5837.  
  5838.                     Remember, MegaD will look into all open Directory
  5839.                     Window so it is best to have only the Directory
  5840.                     Window open that you want this to happen in.
  5841.  
  5842.                     Select the "Sel ABoot" Command Gadget that is
  5843.                     found on the first bank of the Command Gadget,
  5844.                     third row, far right.  MegaD will open a window
  5845.                     with all the available AutoBoot definitions that
  5846.                     have been created thus far.
  5847.  
  5848.           v"zSelect/Clear AutoBoot Windowv"z
  5849.                     This window functions much like a Directory
  5850.                     Window, you can single select or drag select
  5851.                     AutoBoot definitions.  You can test by multiple
  5852.                     AutoBoots, but for our purpose we will select by
  5853.                     only one.  Once you have selected the AutoBoot
  5854.                     that you want to test the files by, close the
  5855.                     window by using the window close gadget of this
  5856.                     window.
  5857.  
  5858.                     MegaD will read the first few bytes of each files
  5859.                     and if the file is of the same type the AutoBoot
  5860.                     was trained to recognize it will select the item.
  5861.                     "Clr ABoot" will work exactly the same only it
  5862.                     will clear the data files that matches the
  5863.                     AutoBoot selected for the function.
  5864.  
  5865.  
  5866.  
  5867.  
  5868.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5869.  
  5870.  
  5871.  
  5872.  
  5873.  
  5874.  
  5875.  
  5876.  
  5877.  
  5878.                                                         User Gadgets 90
  5879.  
  5880.  
  5881.                                        v"zUser Gadgetsv"z
  5882.  
  5883.                     User Gadgets are program controls, much like
  5884.                     AutoBoots, that you define so that you can launch
  5885.                     other programs from keypad command gadgets.
  5886.                     You've seen what it takes to add an AutoBoot to
  5887.                     MegaD and then attach it to a keypad gadgets.
  5888.  
  5889.           v"zWhy User Gadgets?v"z
  5890.                     The advantage of User Gadgets is that you do not
  5891.                     need to have data files to create them. Take
  5892.                     JrComm, a very popular telecommunication program,
  5893.                     it does not have to have a data file to run.
  5894.                     JrComm would be a good program to attach to the
  5895.                     keypad for quick access while MegaD is running.
  5896.  
  5897.                     I am assuming that you made it through the Add
  5898.                     AutoBoots and that you were able to successfully
  5899.                     add the AutoBoots to your Keypad Command Gadget.
  5900.                     Unless a User Gadget is accessible from the
  5901.                     keypad, it is useless
  5902.  
  5903.                     I will be adding JrComm to my keypad, you may add
  5904.                     JrComm if you have it, or any other program that
  5905.                     you would like to have quick access to.  MegaD
  5906.                     will launch any program you want it too.  Simply
  5907.                     use the program you wish to attach in place of my
  5908.                     references to JrComm.
  5909.  
  5910.           v"zAdding User Gadgetsv"z
  5911.                     User Gadgets are added by selecting the menu item
  5912.                     Project, Set Preference... and then selecting
  5913.                     'Keypads...' The Set Keypads window will open.
  5914.                     Cycle the command type gadget to "User Gadgets".
  5915.                     The Add gadget will become un-ghosted.  Select
  5916.                     this gadget, the window will change to "User
  5917.                     Gadget, Program Control".
  5918.  
  5919.           v"zUser Gadget Program Controlv"z
  5920.                     This window should be very familiar to you.  We
  5921.                     will set this up to launch a program that will
  5922.                     ignore all selected items in the directory windows
  5923.                     and launch the program found in the "Path and
  5924.                     Program name" string gadget.  Take the following
  5925.                     steps:
  5926.  
  5927.                     1.   Check 'Skip selected directories'
  5928.                     2.   Check 'Skip selected files'
  5929.                     3.   Check 'Work without select items'
  5930.                     4.   Check 'Skip .info files'
  5931.                     5.   Set execute type to "Multitasking Workbench
  5932.  
  5933.  
  5934.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  5935.  
  5936.  
  5937.  
  5938.  
  5939.  
  5940.  
  5941.  
  5942.  
  5943.  
  5944.                                                         User Gadgets 91
  5945.  
  5946.  
  5947.                     (NO I/O)"
  5948.                     Note: if the program you are setting up requires
  5949.                     input and output channels (CLI type), set this to
  5950.                     "Multitasking Execute". You will crash the system
  5951.                     launching a CLI program as a Workbench task.
  5952.                     6.   Enter "JrComm" into the Title string gadget
  5953.                     7.   Enter "JrComm:Jr-Comm" into the Path and
  5954.                     program name string gadget.  You will have to know
  5955.                     the full path to the program you are adding as a
  5956.                     User Gadget.
  5957.  
  5958.           v"zVerify Title And Path/Namev"z
  5959.                     There is a gadget that we have not discussed yet.
  5960.                     It is found in the upper right hand corner of the
  5961.                     program Control Window.  The "Verify Title &
  5962.                     Path/name" gadget is for testing the Title to be
  5963.                     sure that it is unique from all other Program
  5964.                     Control titles.  And for making sure that the Path
  5965.                     and Program name was entered correctly.  Select
  5966.                     this gadget once, If errors are found you will be
  5967.                     notified by a message window describing the
  5968.                     problems.  If no problems are found you will
  5969.                     receive the message:
  5970.                          "Title & Path/name are good"
  5971.                     If any errors were found, correct them and re-test
  5972.                     the verify.  When your information Verifies select
  5973.                     the 'Use' gadget.  You will be returned to the Set
  5974.                     Keypad window.
  5975.  
  5976.                     Find the new User Gadget JrComm in the source area
  5977.                     and copy it to one of the keypad gadgets,
  5978.                     preferably a blank one.  Now select the 'Use'
  5979.                     gadget of the Set Keypads window.
  5980.  
  5981.                     You will now be able to launch the program from
  5982.                     the keypad Command Gadget in the Control Window.
  5983.                     Select this to see if it works properly.  JrComm
  5984.                     should start and run from the selection of that
  5985.                     command gadget.
  5986.  
  5987.           v"zCurrent Directoriesv"z
  5988.                     The next User Gadget that we will add is going to
  5989.                     be useless other than it will demonstrate a
  5990.                     feature of MegaD Program Control that is not
  5991.                     readily apparent.  This works with the Reload
  5992.                     current directory at end attribute.  This
  5993.                     attribute does two things.  One, as it describes,
  5994.                     after ending it reloads the directory that was
  5995.                     active at the time the program was run.  Two, it
  5996.                     forces the Active Directory of MegaD to become the
  5997.                     launched program current directory.  The Active
  5998.  
  5999.  
  6000.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6001.  
  6002.  
  6003.  
  6004.  
  6005.  
  6006.  
  6007.  
  6008.  
  6009.  
  6010.                                                         User Gadgets 92
  6011.  
  6012.  
  6013.                     Directory of MegaD is listed in the text area of
  6014.                     the Control Window.
  6015.  
  6016.           v"zAnother Reason to Switch to Workbench 2.0v"z
  6017.                     A note to Workbench 1.3 users.  This feature does
  6018.                     not work correctly, In fact it does not work at
  6019.                     all.  The current directory usually becomes the
  6020.                     boot disk.  I have no plans to make this work
  6021.                     under 1.3.  If you're not Using 2.0 yet you should
  6022.                     be.  It is well worth the upgrade fee.
  6023.  
  6024.           v"zWhen You Need A Current Directoryv"z
  6025.                     At what times would you want a directory to become
  6026.                     the current directory?  Any time you have a
  6027.                     program that creates a file that will be written
  6028.                     to the current directory.  Archive programs are
  6029.                     known for this feature, before archiving a set of
  6030.                     files, you should always CD (change directory) to
  6031.                     the directory that you wish the archive to be
  6032.                     created in.  MegaD does this automatically for you
  6033.                     when you use the Reload current directory at end
  6034.                     attribute.
  6035.  
  6036.                     A program that will help show this in action is
  6037.                     the "Dir" command found in your C: directory.  Dir
  6038.                     will list the current directory if it is entered
  6039.                     on a CLI without any arguments.  The current
  6040.                     directory will be listed in the CLI window.  Lets
  6041.                     create a User Gadget that will do this for us.
  6042.  
  6043.           v"zDir User Gadgetv"z
  6044.                     Select the 'Project, Set Preference...' and then
  6045.                     selecting 'Keypads...' gadget.  Cycle command type
  6046.                     to 'User Gadgets' and select the Add gadget.  The
  6047.                     Program Control Window will open so that a new
  6048.                     User Gadget can be created.  Set the following
  6049.                     attributes:
  6050.                     1.   Check 'Skip selected files'
  6051.                     2.   Check 'Work without selected items'
  6052.                     3.   Check 'Skip .info files'
  6053.                     4.   Check 'Reload current directory at end'
  6054.                     5.   Cycle Execute type to 'Multitasking Execute
  6055.                     W/Hold'. (Dir needs input and output channels.)
  6056.                     6.   Enter "Dir" into the Title string gadget.
  6057.                     7.   Enter "C:Dir" into the Path and Program Name
  6058.                     string gadget.
  6059.                     8.   Verify the Title, Path and Program name.
  6060.                     9.   Select Use.
  6061.  
  6062.                     The Set Keypad window will reopen.  You will now
  6063.                     be able to copy the new 'Dir' User Gadget to one
  6064.  
  6065.  
  6066.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6067.  
  6068.  
  6069.  
  6070.  
  6071.  
  6072.  
  6073.  
  6074.  
  6075.  
  6076.                                                         User Gadgets 93
  6077.  
  6078.  
  6079.                     of your keypads gadgets.  Once copied, select the
  6080.                     'Use' gadget and the Set Keypads window will
  6081.                     close.
  6082.  
  6083.           v"zTesting the Reload Current Directoryv"z
  6084.                     You will now be able to access the new 'Dir'
  6085.                     command from your Keypad Command Gadgets.  Open a
  6086.                     Directory Window to a directory that has a few
  6087.                     items visible in it, the 'Dest'ination gadget
  6088.                     should be auto selected.  Select the new 'Dir'
  6089.                     Command Gadgets.  A console window will open, the
  6090.                     directory will be read and listed into the console
  6091.                     window as if you had CD to that directory in a CLI
  6092.                     window and then typed "Dir".  Press the return key
  6093.                     to close this console window.
  6094.  
  6095.                     Open a few other Directory Window and test the
  6096.                     'Dir' command as new 'Dest'ination Directories are
  6097.                     selected.  Each time the launched program will be
  6098.                     given the MegaD Active Directory as its current
  6099.                     directory.
  6100.  
  6101.           v"zModify or Delete Program Controlsv"z
  6102.                     As mentioned, this is a useless command.  MegaD is
  6103.                     already displaying the directory and a list in a
  6104.                     console window is of very little use.  There is a
  6105.                     way to modify or delete User Gadget.  Select the
  6106.                     menu item 'Project, Set Preference...' and then
  6107.                     select 'Keypads...' again.  If the command type is
  6108.                     not set to User Gadgets, cycle it to it.  You will
  6109.                     be able to select the 'Dir' User Gadget that you
  6110.                     have just created.  Select it and then select the
  6111.                     'Modify' gadget found in the lower left spot of
  6112.                     the Set Keypad window.  If you wanted you could
  6113.                     modify this Program Control.  I just brought you
  6114.                     to this point so that you can see how to modify a
  6115.                     Program Control when it is needed.  You can modify
  6116.                     all the different types of Program Control from
  6117.                     the Set Keypad window, this is one of its major
  6118.                     functions.  You can access Auto Boots, User
  6119.                     Gadgets and Menu Sets from this point.
  6120.  
  6121.                     Select the Cancel gadget.  We are going to delete
  6122.                     the 'Dir' User Gadget.  Select the 'Dir' User
  6123.                     Gadget in the source area, then select the
  6124.                     'Delete' gadget found just above the 'Modify'
  6125.                     gadget in the lower left section of the window.  A
  6126.                     requestor will open that reads:
  6127.  
  6128.                                   Cancel will not restore
  6129.                                  deleted program controls
  6130.  
  6131.  
  6132.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6133.  
  6134.  
  6135.  
  6136.  
  6137.  
  6138.  
  6139.  
  6140.  
  6141.  
  6142.                                                         User Gadgets 94
  6143.  
  6144.  
  6145.                                          Continue
  6146.  
  6147.                     This is warning you that there will be no way to
  6148.                     retrieve this Program Control later.  Select Yes
  6149.                     and the User Gadget 'Dir' will disappear from both
  6150.                     the Source area and the place that it was copied
  6151.                     to your keypad Command Gadgets.
  6152.  
  6153.  
  6154.  
  6155.  
  6156.  
  6157.  
  6158.  
  6159.  
  6160.  
  6161.  
  6162.  
  6163.  
  6164.  
  6165.  
  6166.  
  6167.  
  6168.  
  6169.  
  6170.  
  6171.  
  6172.  
  6173.  
  6174.  
  6175.  
  6176.  
  6177.  
  6178.  
  6179.  
  6180.  
  6181.  
  6182.  
  6183.  
  6184.  
  6185.  
  6186.  
  6187.  
  6188.  
  6189.  
  6190.  
  6191.  
  6192.  
  6193.  
  6194.  
  6195.  
  6196.  
  6197.  
  6198.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6199.  
  6200.  
  6201.  
  6202.  
  6203.  
  6204.  
  6205.  
  6206.  
  6207.  
  6208.                                                        ARexx Gadgets 95
  6209.  
  6210.  
  6211.                                        v"zARexx Gadgetsv"z
  6212.           (NEW 3.1)
  6213.                     ARexx is a very powerful programing language
  6214.                     written by William Hawes,  it was adapted from the
  6215.                     REXX programming language.  Starting with OS 2.0
  6216.                     ARexx has been part of the operating system for
  6217.                     the Amiga.  
  6218.  
  6219.                     There is a number of good texts to help you
  6220.                     understand more about ARexx.  
  6221.  
  6222.                     The official REXX language definition is
  6223.                     completely documented a book by M. F. Cowlishaw,
  6224.                     "The REXX Language: A Practical Approach to
  6225.                     Programming" (Prentice-HAll, 1985; 2nd edition,
  6226.                     1990).
  6227.  
  6228.                     One of the best books that I have found for ARexx
  6229.                     on the Amiga is one by Chris Zamara and Nick
  6230.                     Sullivan, "Using ARexx on the Amiga: Guide to
  6231.                     using the ARexx programming language" (Abacus,
  6232.                     1991; 1st edition)
  6233.            
  6234.                     This text is not intended to teach you ARexx.  The
  6235.                     MegaD ARexx commands are fully described in the
  6236.                     document MDARexx.doc.  There are 119 commands that
  6237.                     you can use to communicate to MegaD with though
  6238.                     the ARexx port "MEGAD".  If you are new to ARexx
  6239.                     and wish to to use the ARexx port of MegaD, I
  6240.                     suggest that you start from the basics of ARexx by
  6241.                     reading one of the above text or many other that
  6242.                     are available.
  6243.  
  6244.                     This text is intended to show you how to call
  6245.                     ARexx programs from MegaD.  This is done with
  6246.                     ARexx Program Controls.  An ARexx Program Control
  6247.                     is created in the same way that you created "User
  6248.                     Gadgets."
  6249.  
  6250.           v"zCreating ARexx Program Controlsv"z
  6251.                     User Gadgets are added by selecting the menu item
  6252.                     'Project, Set Preference...' and then select
  6253.                     'Keypads...'  The Set Keypads window will open.
  6254.                     Cycle the command type gadget to "User Gadgets".
  6255.                     The Add gadget will become un-ghosted.  Select
  6256.                     this gadget, the window will change to "User
  6257.                     Gadget, Program Control".
  6258.  
  6259.                     With MegaD a special directory is supplied called
  6260.                     'rexx.'  A number of ARexx programs that are
  6261.                     intended to work with MegaD can be found there.
  6262.  
  6263.  
  6264.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6265.  
  6266.  
  6267.  
  6268.  
  6269.  
  6270.  
  6271.  
  6272.  
  6273.  
  6274.                                                        ARexx Gadgets 96
  6275.  
  6276.  
  6277.                     The directory 'rexx' should be in the same
  6278.                     directory that MegaD was run from, if not you will
  6279.                     have to modify the 'Path' of the 'ARexx Program
  6280.                     Control' to the correct directory that contains
  6281.                     the ARexx programs we will be referring to.
  6282.  
  6283.           v"zParse.rexxv"z
  6284.                     This is a simple ARexx program that will open an
  6285.                     output window on the MegaD screen and then display
  6286.                     the arguments that were used to start the ARexx
  6287.                     program with.  The program is useless as it stands
  6288.                     but it lays the ground work for you, the user, to
  6289.                     create programs that will deal with the arguments
  6290.                     sent.  By changing the line that has the 'SAY'
  6291.                     command in this file to something that performs a
  6292.                     useful action to the supplied argument, only then
  6293.                     will this be a useful ARexx program.
  6294.  
  6295.                     Check the 'Combine all selected on one line' flag.
  6296.                     This is so we can send multiple selected items to
  6297.                     the ARexx program.
  6298.  
  6299.                     In the 'Title' string gadget enter 'Parse'.
  6300.  
  6301.                     In the 'Path and Program name' enter
  6302.                     'rexx/Parse.rexx'.  After doing so, select the
  6303.                     'Verify Title & Path/name' gadget to verify the
  6304.                     path, correct any errors that verify may find.
  6305.  
  6306.                     You should notice that the a number of gadgets are
  6307.                     ghosted.  These options are not available to ARexx
  6308.                     program controls.
  6309.  
  6310.                     Select 'Use'.
  6311.  
  6312.                     You will now be able to select the 'Parse' ARexx
  6313.                     source gadget in the keypad window and copy it to
  6314.                     one of your blank keypad gadgets.  Do so now.
  6315.  
  6316.                     Select 'Use' in the Set Keypad window and then
  6317.                     select 'Use' from the 'MegaD Set Preferences'
  6318.                     window.
  6319.  
  6320.                     Your new 'Parse' ARexx gadget is now available
  6321.                     from your keypad.  Open any directory window and
  6322.                     select a few items in the directory window.  Now
  6323.                     select the new 'Parse' gadget from your keypad.
  6324.                     An output window will open to the MegaD screen and
  6325.                     it will display each item with the path that was
  6326.                     selected.  Should more items be selected than
  6327.                     would fit on one command line,  'Parse.rexx' will
  6328.  
  6329.  
  6330.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6331.  
  6332.  
  6333.  
  6334.  
  6335.  
  6336.  
  6337.  
  6338.  
  6339.  
  6340.                                                        ARexx Gadgets 97
  6341.  
  6342.  
  6343.                     be called repeatedly until all selected items have
  6344.                     been passed to the program.
  6345.  
  6346.                     When ARexx is started from MegaD,  there are not
  6347.                     output or input channels for ARexx to use.  The
  6348.                     first few lines of the ARexx program 'Parse.rexx'
  6349.                     open an output channel that also places the window
  6350.                     on the same screen as MegaD.  Without the two
  6351.                     lines the have the 'CLOSE' and 'OPEN' commands,
  6352.                     all output from the ARexx program would be unseen.
  6353.  
  6354.                     As stated before, 'Parse.rexx' is useless and only
  6355.                     for demonstration.  But it does create the ground
  6356.                     work for a number useful possibilities.
  6357.  
  6358.                     A word or warning:
  6359.                               When executing scrips that use the MEGAD
  6360.                               port it is best not to try to use MegaD
  6361.                               until the script has run its coarse.  An
  6362.                               example of this is:  
  6363.                                         A scripts opens a window and
  6364.                                         selects a few items in that
  6365.                                         window,  you physically select
  6366.                                         a few more items.  Now, the
  6367.                                         ARexx script ask for the
  6368.                                         selected items.  It gets the
  6369.                                         original selected items and
  6370.                                         the items you have selected
  6371.                                         with the mouse.  The outcome
  6372.                                         could be disastrous!
  6373.  
  6374.                     ARexx programs launched from MegaD can be for any
  6375.                     program, not just MegaD.  You may call your
  6376.                     favorite scripts with 'ARexx Gadgets' or 'Hot
  6377.                     Keys.'
  6378.  
  6379.           Getting output from ARexx programs
  6380.                     When an ARexx program is run from MegaD is not an
  6381.                     output window for commands that print text,
  6382.                     command such as SAY.  By adding the next two lines
  6383.                     to scripts which require a window to print the
  6384.                     information this problem is solved.
  6385.  
  6386.           call close 'STDOUT'
  6387.           call open 'STDOUT','con:0/12/640/100/MegaD RX/SCREEN MEGAD', 'W'
  6388.  
  6389.                     The '/SCREEN MEGAD' section of the console line
  6390.                     will place the console window on the current MegaD
  6391.                     screen if it is open.
  6392.  
  6393.  
  6394.  
  6395.  
  6396.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6397.  
  6398.  
  6399.  
  6400.  
  6401.  
  6402.  
  6403.  
  6404.  
  6405.  
  6406.                                                            Menu Sets 98
  6407.  
  6408.  
  6409.                                          v"zMenu Setsv"z
  6410.  
  6411.  
  6412.                     Menu sets are user defined menus.  You access them
  6413.                     in the 'Utilities' menu.   They take up the first
  6414.                     five items in this menu.  For this reason they are
  6415.                     setup in groups of five.  A user defined menu can
  6416.                     do anything that a User Gadget can do.  The only
  6417.                     real difference is that you access it from the
  6418.                     menu instead of the Control Window.
  6419.  
  6420.           Predefined Menu Sets
  6421.                     There are three predefined menu sets that come at
  6422.                     default.  They are Lha, Arc and LhArc.
  6423.  
  6424.                     To access the Menu Set you can use the menu
  6425.                     'Project, Set Preference...' and then select
  6426.                     'Menus & Devices...'.  We were in this window once
  6427.                     before to set the Device Gadgets up.  We will be
  6428.                     concentrating on the upper area this time, it is
  6429.                     dedicated to the Menu Sets.  You will see that the
  6430.                     five menus of a Menu Set are grouped line by line.
  6431.                     Each line is titled Menu 1 through Menu 5.  To the
  6432.                     far right of each line is a gadget titled
  6433.                     Control..., select any one of these gadgets.
  6434.  
  6435.           v"zMenu Set Program Controlv"z
  6436.                     This window should be getting fairly familiar by
  6437.                     now, The Program Control Window.  When modifying a
  6438.                     Menu Set, it is best to do it from within the
  6439.                     Program Control Window.  Only a few of the
  6440.                     attributes can be changed by the four string
  6441.                     gadgets that were in the previous window.  The
  6442.                     four are "Title", "Path and Program name", "Flags
  6443.                     to add after Program Name" and Text to append to
  6444.                     end of Command Line".  Select the Cancel gadget
  6445.                     and we will return to the Preferences window.
  6446.  
  6447.           v"zSelecting Menu Setsv"z
  6448.                     The first three gadget at the top of the window
  6449.                     are titled 'Lha', 'Arc' and 'LhArc'.  As you can
  6450.                     see the default Menu Sets have been set up to work
  6451.                     with archiving programs. 'Arc' is rather outdated
  6452.                     but 'LhArc' and 'Lha' are still very widely used
  6453.                     programs.  Select the three gadgets one at a time
  6454.                     and watch what they do.  They change the
  6455.                     information to the corresponding default menu set.
  6456.  
  6457.           v"zNext/Previous Step Gadgetsv"z
  6458.                     Just to the right of those three gadget you will
  6459.                     find two that will allow you to step through the
  6460.  
  6461.  
  6462.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6463.  
  6464.  
  6465.  
  6466.  
  6467.  
  6468.  
  6469.  
  6470.  
  6471.  
  6472.                                                            Menu Sets 99
  6473.  
  6474.  
  6475.                     Menu Sets one after the other forward or backward.
  6476.                     Play with the 'Next' and the 'Prev' gadgets
  6477.                     watching how they control the information that you
  6478.                     can change and modify.
  6479.  
  6480.           v"zAdd, Delete Menu Set Gadgetsv"z
  6481.                     Finally the last two gadgets are for adding new
  6482.                     Menu Sets.  The first three default sets can not
  6483.                     be deleted but the can be modified to anything you
  6484.                     would like them to be.
  6485.  
  6486.                     There is a new and popular archiving utility
  6487.                     available now that is in wide use in the Amiga
  6488.                     community.  It is LhA.  LhA is written by Stefan
  6489.                     Boberg and is a Shareware offering that can be
  6490.                     found on most BBS (Built-in Board Systems).  I
  6491.                     will be showing you how to set LhA as a newly
  6492.                     Added Menu Sets.
  6493.  
  6494.           v"zAdding A Menu Setv"z
  6495.                     Select the 'Add' gadget of the Preferences window,
  6496.                     a requestor will be opened that reads:
  6497.  
  6498.                                You will need to successfully
  6499.                                  define all five menu Sets
  6500.  
  6501.                     This is to remind you that you will need to create
  6502.                     all five menus that create one Menu Sets.  Select
  6503.                     Yes, All the string gadgets will be cleared and
  6504.                     ready for new information.
  6505.  
  6506.           v"zCreating A New Menu Setv"z
  6507.                     As mentioned it is best to create the Menu Sets
  6508.                     from within the Program Control Window.  Select
  6509.                     the 'Control...' gadget for Menu 1.  The Program
  6510.                     Control Window will open.
  6511.  
  6512.           v"zMaking A Pack Menuv"z
  6513.                     We are going to set this Menu Sets so that we can
  6514.                     archive selected files into a single file that
  6515.                     will be written to the current Active Window of
  6516.                     MegaD.  Set the following attributes:
  6517.                     1.   Check 'Combine all selected on one line'
  6518.                     2.   Check 'Reload current directory at end'
  6519.                     (remember that this CDs to the Active Directory)
  6520.                     3.   Check 'Query for destination filename' This
  6521.                     attribute tell MegaD to open a request window for
  6522.                     a file name.  the filename will be for the name to
  6523.                     create the archive file as.
  6524.                     4.   Set execute type to 'Multitasking Execute'
  6525.                     5.   Enter "LhA Pack" into the Title String
  6526.  
  6527.  
  6528.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6529.  
  6530.  
  6531.  
  6532.  
  6533.  
  6534.  
  6535.  
  6536.  
  6537.  
  6538.                                                           Menu Sets 100
  6539.  
  6540.  
  6541.                     gadget.
  6542.                     6.   Enter "C:LhA" into the Path and Program name
  6543.                     string gadget.  This assumes that your LhA utility
  6544.                     is found in your C: directory.
  6545.                     7.   Enter "a" into the Flags to add after Program
  6546.                     Name string gadget.  This flag tell LhA to add
  6547.                     files to the Archive file.
  6548.                     8.   Test the information by selecting the
  6549.                     Verify.. gadget at the top of the window.  If the
  6550.                     Path or title needs to be changed, do so.
  6551.                     9.   Select the 'Use' gadget.
  6552.  
  6553.                     You will see the information that you have entered
  6554.                     in the first line for Menu 1.
  6555.  
  6556.           v"zMaking an UnPack Menu Setv"z
  6557.                     We will set Menu 2 to unpack the archive.  Select
  6558.                     the 'Control...' gadget for Menu 2 and set it in
  6559.                     the following manner:
  6560.                     1.   Check 'Skip selected directories'
  6561.                     2.   Check 'Skip .info files'
  6562.                     3.   Check 'Reload current directory at end'
  6563.                     4.   Be sure execute type is Multitasking Execute
  6564.                     5.   Enter "LhA UnPack" in the Title string
  6565.                     gadget.
  6566.                     6.   Enter "C:LhA" in the Path and program name.
  6567.                     7.   Enter "e" into the Flags to add after Program
  6568.                     Name string gadget.  This tell LhA to extract the
  6569.                     files from the selected archives.
  6570.                     8.   Verify the Title, Path and Program name.
  6571.                     9.   Select the 'Use' gadget.
  6572.  
  6573.                     We now have two of the five done to create one
  6574.                     full Menu Sets.
  6575.  
  6576.           v"zMaking A List Menuv"z
  6577.                     Menu 3 will be set to list an archive file.
  6578.                     Select the "Control..." gadget for Menu 3 and set
  6579.                     the Program Control to:
  6580.  
  6581.                     1.   Check 'Skip selected directories'
  6582.                     2.   Check 'Skip .info files'
  6583.                     3.   Be sure execute type is 'Multitasking Execute
  6584.                     W/Hold'
  6585.                     4.   Enter "LhA List" into the Title string
  6586.                     gadget.
  6587.                     5.   Enter "C:LhA" into the Path and Program name
  6588.                     string gadget.
  6589.                     6.   Enter "l" into the Flags to add after Program
  6590.                     Name string gadget.  This tell LhA to list the
  6591.                     selected archive files.
  6592.  
  6593.  
  6594.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6595.  
  6596.  
  6597.  
  6598.  
  6599.  
  6600.  
  6601.  
  6602.  
  6603.  
  6604.                                                           Menu Sets 101
  6605.  
  6606.  
  6607.                     7.   Verify the Title, Path and program name.
  6608.                     8.   Select Use.
  6609.  
  6610.                     Three Menu Sets down and two to go.
  6611.  
  6612.           v"zMaking A Test Menuv"z
  6613.                     The next Menu Sets we will set will test the
  6614.                     validity of an archive file.  Select the
  6615.                     "Control..." gadget for Menu 4 and set the Program
  6616.                     Control in the following way:
  6617.  
  6618.                     1.   Check 'Skip selected directories'
  6619.                     2.   Check 'Skip .info files'
  6620.                     3.   Set execute type to 'Multitasking Execute
  6621.                     W/Hold'
  6622.                     4.   Enter "LhA Test" into the Title string
  6623.                     gadget.
  6624.                     5.   Enter "C:LhA" into the Path and Program name
  6625.                     string Gadget.
  6626.                     6.   Enter "t" into the Flags to add after Program
  6627.                     Name.
  6628.                     7.   Verify the Title and Path/name.
  6629.                     8.   Select the "Use" Gadget.
  6630.  
  6631.                     Four down one and the last to go.
  6632.  
  6633.           v"zMaking A Recursive Menuv"z
  6634.                     We will add a command that will allow us to
  6635.                     archive directories and all of its contents, this
  6636.                     will include sub directories and files.  Select
  6637.                     the "Control..." gadget for Menu 5 and fill the
  6638.                     Program Control in with the following attributes:
  6639.  
  6640.                     1.   Check 'Reload current directory at end'
  6641.                     2.   Check 'Query for destination filename'
  6642.                     3.   Set execute type to 'Multitasking Execute'
  6643.                     4.   Enter "LhA Recursive" into the Title string
  6644.                     gadget
  6645.                     5.   Enter "C:LhA" into the Path and Program name
  6646.                     string gadget
  6647.                     6.   Enter "-r a" into the Flags to add after
  6648.                     Program name string gadget.  This tells LhA to
  6649.                     Recursively add files found in selected
  6650.                     directories.
  6651.                     7.   Verify the Title, Path an Program Name.
  6652.                     8.   Select the 'Use' gadget.
  6653.  
  6654.                     We have successfully set all five menus sets.
  6655.  
  6656.           v"zSave Your Workv"z
  6657.                     We have put quite a bit of work into this so to
  6658.  
  6659.  
  6660.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6661.  
  6662.  
  6663.  
  6664.  
  6665.  
  6666.  
  6667.  
  6668.  
  6669.  
  6670.                                                           Menu Sets 102
  6671.  
  6672.  
  6673.                     close the Preferences window we will use the Save
  6674.                     Gadget.  This will save the preferences file for
  6675.                     MegaD and close the window.
  6676.  
  6677.                     I tend to place archiving utilities in the
  6678.                     utilities menu but any programs that you wish can
  6679.                     be added here.  They do not need to be like
  6680.                     programs but you can organize programs into groups
  6681.                     that you use for certain task.
  6682.  
  6683.                     You can now access the new menu from the Utilities
  6684.                     menu.  The utilities menu has provisions to change
  6685.                     the current active Menu Sets.  You can choose Menu
  6686.                     Sets by moving to the 'Next', 'Previous', 'First'
  6687.                     or 'Last' Menu Sets by selecting the corresponding
  6688.                     menu item.
  6689.  
  6690.           v"zSwap Device Gadgets for Menu Gadgetsv"z
  6691.                     You can also replace the nine Device Gadget in the
  6692.                     top of the Control Window with the Menu Sets, this
  6693.                     is done by checking the "Utilities, Utilities in
  6694.                     Window" menu item.  This gives you quick access to
  6695.                     your current active Menu Sets.  The Device Gadgets
  6696.                     can still be accessed through the keyboard.  By
  6697.                     pressing keyboard numbers 1-9 (across the top of
  6698.                     the keyboard) MegaD will load the corresponding
  6699.                     directory as if you hit the Device Gadget that
  6700.                     have been replaced by the Menu Sets.  This is just
  6701.                     one of the many way MegaD can be changed to suit
  6702.                     your taste or style of work.  We will be getting
  6703.                     into the way that MegaD can be modified in a later
  6704.                     section of the tutorial. Export File
  6705.  
  6706.  
  6707.  
  6708.  
  6709.  
  6710.  
  6711.  
  6712.  
  6713.  
  6714.  
  6715.  
  6716.  
  6717.  
  6718.  
  6719.  
  6720.  
  6721.  
  6722.  
  6723.  
  6724.  
  6725.  
  6726.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6727.  
  6728.  
  6729.  
  6730.  
  6731.  
  6732.  
  6733.  
  6734.  
  6735.  
  6736.                                                         Gadget Sets 103
  6737.  
  6738.  
  6739.                                         v"zGadget Setsv"z
  6740.           (NEW 3.1)
  6741.                     With the new Gadget Sets facility you can create a
  6742.                     wide variety of gadget configurations.  You may
  6743.                     create simple windows that open with just a few
  6744.                     gadgets and is set for a very specific task or you
  6745.                     could create full screen layouts of strategically
  6746.                     place Gadgets Sets and Snapshot windows so that
  6747.                     you can have a directory utility of your own
  6748.                     design.
  6749.  
  6750.                     Following is a discussion of the parts that create
  6751.                     and become a 'Gadget Set.'  After the discussion
  6752.                     we will put it all together and create a useful
  6753.                     'Gadget Set.'
  6754.  
  6755.           v"zCreating a Gadget Setv"z
  6756.                     Gadget Sets are created and designed from the Set
  6757.                     Keypads window of Set Preferences.  You must first
  6758.                     cycle the Source area to "Gadget Sets".   Once
  6759.                     this is done you may select the "Add" gadget.  A
  6760.                     new window will open.
  6761.  
  6762.           v"zDefine Gadget Set Windowv"z
  6763.                     You will find 5 string gadgets in this window to
  6764.                     let you define the size of the window and how many
  6765.                     gadgets you wish to have in this window.  Gadget
  6766.                     Set windows are font sensitive,  so the number and
  6767.                     size of your gadgets are effected by this.
  6768.  
  6769.           v"zGadget Set Titlev"z
  6770.                     This is a string gadget for you to enter the title
  6771.                     of the Gadget Set.  Like all other titles of
  6772.                     object in MegaD, it should be unique.  MegaD will
  6773.                     test this title and tell you if it finds other
  6774.                     objects with the same name. MegaD will not let you
  6775.                     create an object with the same name.
  6776.  
  6777.           v"zInner Window Widthv"z
  6778.                     This is what you would like to set the inner
  6779.                     window width to.  The inner window width is the
  6780.                     size of the window without the window border
  6781.                     calculated into it.  The reason we use the inner
  6782.                     width and height of the window is due to the fact
  6783.                     that this is where we will be placing the gadgets.
  6784.                     You will notice to the right of the gadgets a
  6785.                     minimum and maximum value that show the range that
  6786.                     can be enter into the gadget.
  6787.  
  6788.           v"zInner Window Heightv"z
  6789.                     This is to set the height of the Gadget Set
  6790.  
  6791.  
  6792.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6793.  
  6794.  
  6795.  
  6796.  
  6797.  
  6798.  
  6799.  
  6800.  
  6801.  
  6802.                                                         Gadget Sets 104
  6803.  
  6804.  
  6805.                     window.  The higher you set this value to the more
  6806.                     gadgets you will be able to place in a column.
  6807.                     Once again you will see minimums and maximum
  6808.                     values displayed to the right of the gadget.
  6809.            
  6810.           v"zGadgets Acrossv"z
  6811.                     Gadgets are created in the Gadgets Set window in a
  6812.                     grid fashion.  You are allowed to set the number
  6813.                     of gadgets across with this gadget.  Gadgets can
  6814.                     be so small that they will only display one
  6815.                     character or they can be as wide as the screen.
  6816.                     You should notice that at the bottom of the
  6817.                     display area is a value title "Gadget Char. "
  6818.                     This displays how many characters the gadgets will
  6819.                     display at the current settings.  This is there to
  6820.                     help you judge if you are creating your gadgets
  6821.                     wide enough to display the information you would
  6822.                     like to see displayed.   The maximum value is
  6823.                     effected directly by the setting of the "Inner
  6824.                     Window Width."
  6825.  
  6826.           v"zGadgets Downv"z
  6827.                     This will let you set the number of gadget the
  6828.                     window will have down the window.  The maximum
  6829.                     value is effected by "Inner Window Height."
  6830.  
  6831.                     To figure out how many gadget your window will
  6832.                     have once it is opened is a simple multiplication
  6833.                     problem.
  6834.                     Gadget Across * Gadget Down = Number Gadgets
  6835.  
  6836.           v"zWindow Typev"z
  6837.                     This is a cycle gadget that lets you cycle to one
  6838.                     of three settings.
  6839.  
  6840.           v"zUnder Mousev"z
  6841.                     The Gadget set window will always open under the
  6842.                     mouse pointer.
  6843.  
  6844.           v"zFixedv"z
  6845.                     The Gadget Set window will always open at the last
  6846.                     place it was closed.
  6847.  
  6848.           v"zRigidv"z
  6849.                     The Gadget Set window will be an immobile backdrop
  6850.                     window that cannot be moved.  This window will not
  6851.                     have any window boarders.  This type of window is
  6852.                     very effective when designing a full screen of
  6853.                     Gadget Sets and snapshot windows.
  6854.  
  6855.           v"zSizing Windowv"z
  6856.  
  6857.  
  6858.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6859.  
  6860.  
  6861.  
  6862.  
  6863.  
  6864.  
  6865.  
  6866.  
  6867.  
  6868.                                                         Gadget Sets 105
  6869.  
  6870.  
  6871.                     This is a small gadget below the Window Type
  6872.                     gadget.  When selecting this gadget you will be
  6873.                     given a window that can be moved, sized and then
  6874.                     closed.  This will fill in the information for the
  6875.                     size of the window.  It will also define the
  6876.                     location of the screen it is to open to if you
  6877.                     create a 'Rigid' or 'Fixed' window.
  6878.            
  6879.           v"zClose once usedv"z
  6880.                     This is a check gadget.  If it is checked, MegaD
  6881.                     will close the Gadget Set window once it has been
  6882.                     used.
  6883.  
  6884.           v"zKeep to frontv"z
  6885.                     This is a check gadget.  If it is checked, MegaD
  6886.                     will try to keep the gadget set window to the
  6887.                     front of other windows while it is open.
  6888.  
  6889.           v"zOpen at startupv"z
  6890.                     This is a check gadget.  If it is checked, MegaD
  6891.                     will open the window when the program is started
  6892.                     or if a new preference file is loaded with this
  6893.                     type of Gadget Set found.  If one of these are set
  6894.                     with this checked, MegaD will not open the "Main
  6895.                     Control Window",  if you need this window opened
  6896.                     you may use the F8, F9, or F10 key to open it once
  6897.                     the program and/or the preference file has loaded.
  6898.                     The 'Main Control Window' will be forced open if
  6899.                     the flag 'F10 Closes control window' is NOT
  6900.                     checked.  This flag can be found in the 'MegaD
  6901.                     Preferences, Set Defaults' window.
  6902.  
  6903.           v"zRigid and Open at startupv"z
  6904.                     By setting one or a few Gadgets Sets with Rigid
  6905.                     windows and Open at Startup, you can end up with
  6906.                     some very impressive screens.  You'll be surprised
  6907.                     as to what a few vertical and/or horizontal bars
  6908.                     of gadgets and a few snapshot directory windows
  6909.                     can do to create a productive environment to use
  6910.                     you directory utility from.
  6911.            
  6912.           v"zBuilding a Set Preference Gadget Setv"z
  6913.                     We will now take and put all of the parts together
  6914.                     to create a 'Gadget Set'.    MegaD has the ability
  6915.                     to go directly to an MDPrefs sub-window such as
  6916.                     'MegaD Preference, Set Keypads' bypassing the
  6917.                     'MegaD Preference' window.  The built-in commands
  6918.                     to do this are:
  6919.                                        Set Colors...
  6920.                                       Set Defaults...
  6921.                                       Set Display...
  6922.  
  6923.  
  6924.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6925.  
  6926.  
  6927.  
  6928.  
  6929.  
  6930.  
  6931.  
  6932.  
  6933.  
  6934.                                                         Gadget Sets 106
  6935.  
  6936.  
  6937.                                       Set Keypads...
  6938.                                   Set Menus & Devices...
  6939.                                         Set Misc...
  6940.                                        Set Print...
  6941.                                        Set Screen...
  6942.  
  6943.                     You will notice that these are the same gadgets
  6944.                     that you gain access to with the Menu item
  6945.                     'Project, Set Preferences...'  We are going to
  6946.                     place all of the previous mentioned commands into
  6947.                     one 'Gadget Set' for quick easy access.
  6948.  
  6949.                     To access the 'Gadget Sets' you can use the menu
  6950.                     'Project, Set Preferences...' and then select
  6951.                     'Keypads.'  Cycle the source area to 'Gadget Set.'
  6952.                     Select the 'Add' gadget.
  6953.  
  6954.                      The MegaD Define Gadget Set window will open.
  6955.                     Type 'Preferences' into the Title string gadget.
  6956.  
  6957.                     We are going to need room for nine gadgets in this
  6958.                     window.  Nine gadgets can easily fit in one column
  6959.                     in the Gadget Set window so we will define the
  6960.                     window to have one gadget across and nine gadgets
  6961.                     down.  Enter 1 into the 'Gadget Across' string
  6962.                     gadget.
  6963.  
  6964.                     By looking to the right of the string gadgets, we
  6965.                     can see that the window is not tall enough to fit
  6966.                     the nine gadgets we require.  The Maximum number
  6967.                     of gadget we can have down in the windows is 4.
  6968.                     (this is on a system with Topaz 8 as the font,
  6969.                     yours may vary with your current font setting.)
  6970.                     Change the Inner Window Height to 108 and press
  6971.                     return.  The Maximum gadgets down will change to
  6972.                     9.
  6973.  
  6974.                     Now you can enter 9 into the 'Gadget Down' string
  6975.                     gadget.  If we did not set the 'Inner Window
  6976.                     Height' before enter this,  the 'Gadgets Down'
  6977.                     string gadget would not accept the larger value.
  6978.  
  6979.                     The 'Window Type' cycle gadget should be set to
  6980.                     'Under Mouse,'   if it is not cycle it to that
  6981.                     setting.
  6982.  
  6983.                     Check the 'Close once used' check gadget.  We
  6984.                     check this so that the window will close after we
  6985.                     decide which part of preferences we want to
  6986.                     change.
  6987.  
  6988.  
  6989.  
  6990.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  6991.  
  6992.  
  6993.  
  6994.  
  6995.  
  6996.  
  6997.  
  6998.  
  6999.  
  7000.                                                         Gadget Sets 107
  7001.  
  7002.  
  7003.                     We have define the size of the window, the
  7004.                     configuration and number of the gadgets that the
  7005.                     window will have.  Now we need to define what
  7006.                     commands the gadgets will perform.  Any object can
  7007.                     be assign to a gadget in a 'Gadget Set' window, or
  7008.                     the gadget can be left undefined.  Select the
  7009.                     'Use' gadget of the 'MegaD Define Gadget Set'
  7010.                     window.
  7011.  
  7012.                     The 'MegaD Define Gadget Set' window will close
  7013.                     and a new window will open.  The title of the
  7014.                     window will be 'Preferences,'  this is the same as
  7015.                     the 'Title' we typed into the 'MegaD Define Gadget
  7016.                     Set' window.  All of the gadgets are undefined.
  7017.                     We define the undefined gadgets the same as we
  7018.                     would define a gadget on the keypad.  The
  7019.                     'Preferences' window and the 'MegaD Preferences,
  7020.                     Set Keypads' window are interactive.  Cycle the
  7021.                     Source gadget to 'Built In's.'  To find all of the
  7022.                     'Set Preference' type commands you will need to
  7023.                     cycle the Page gadget to 'Page 2.'  All of the
  7024.                     Preferences built in commands start with 'Set ',
  7025.                     they should be easy to locate.
  7026.  
  7027.                     To define the topmost gadget, select the built in
  7028.                     command 'Set Preferences' in the source area, then
  7029.                     select the topmost gadget in the new 'Gadget Set'
  7030.                     window, 'Preferences.'  The command will be copied
  7031.                     to the 'Gadget Set' gadget.  Copy the following
  7032.                     commands in the same manner, so to define the rest
  7033.                     of the undefined gadgets in the 'Gadget Set'
  7034.                     window, 'Preferences,' Set Color...',
  7035.                     'Set Default...', 'Set Display...',
  7036.                     'Set Keypad...', 'Set MenuDev...', 'Set Misc...'
  7037.                     'Set Print...', and 'Set Screen...'
  7038.  
  7039.           Suggestion:
  7040.                     The MegaD Preference window is not much smaller
  7041.                     than a standard non-interlace screen.  This makes
  7042.                     it difficult to define a large 'Gadget Set' window
  7043.                     and still get at the 'Set Keypad' command and
  7044.                     source gadgets.  When this is a problem set MegaD
  7045.                     to use an Interlace screen, define the large
  7046.                     'Gadget Set' keeping the window within range of
  7047.                     your normal screen (640 X 200.)  Once it is
  7048.                     defined, reset MegaD to use the smaller screen
  7049.                     that you are used to.
  7050.  
  7051.  
  7052.                     We now need a way to call this 'Gadget Set' when
  7053.                     we need it.  This will be an excellent time to
  7054.  
  7055.  
  7056.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7057.  
  7058.  
  7059.  
  7060.  
  7061.  
  7062.  
  7063.  
  7064.  
  7065.  
  7066.                                                         Gadget Sets 108
  7067.  
  7068.  
  7069.                     show you  'Hot Keys.' 
  7070.  
  7071.           v"zDefining a Hot Keyv"z
  7072.                     At the right hand bottom of the Set Keypads window
  7073.                     you will find a gadget titled "Hot Key."  You may
  7074.                     give any object a "Hot Key" by using this gadget.
  7075.                     You must first select the object you wish to give
  7076.                     the "Hot Key" to then select the "Hot Key" gadget.
  7077.                     After doing so, a window will open.
  7078.  
  7079.                     Cycle the source area of the 'Set Keypads' window
  7080.                     to 'Gadget Set'.  Select the 'Gadget Set,'
  7081.                     'Preferences' then select the 'Hot Key' gadget.
  7082.  
  7083.           (NEW 3.1)
  7084.           v"zHot Key Windowv"z
  7085.                     This window will open with the title, "Define Hot
  7086.                     Key for Preferences.  The title of the object you
  7087.                     selected will be place in the window title to help
  7088.                     you remember what you were setting the "Hot Key"
  7089.                     for. 
  7090.            
  7091.           v"zHot Key Qualifiersv"z
  7092.                     You may use qualifiers with your "Hot Key."  The
  7093.                     possible qualifiers are:
  7094.                          Left Shift
  7095.                          Right Shift
  7096.                          Caps Lock
  7097.                          Control
  7098.                          Left Alt
  7099.                          Right Alt
  7100.                          Left Amiga
  7101.                          Right Amiga
  7102.                          Numeric Keypad
  7103.                          Middle Mouse Button
  7104.                          Right Mouse Button
  7105.                          Left Mouse Button
  7106.  
  7107.                     You may select the qualifiers with your mouse by
  7108.                     checking the corresponding check box.  Or better
  7109.                     yet, just hold the qualifiers down and press the
  7110.                     regular key you wish to use.  As the key is
  7111.                     pressed, MegaD will also keep track of the
  7112.                     qualifiers that was used during the key press.  As
  7113.                     soon as you press a regular key,  That key will be
  7114.                     displayed in the Hot Key character box.  We will
  7115.                     define Ctrl-P as the 'Hot Key to open the 'Gadget
  7116.                     Set,' 'Preferences.'
  7117.  
  7118.                     While the 'Hot Key' window is active, hold the
  7119.                     Ctrl key down and then press the 'P' key.  'P'
  7120.  
  7121.  
  7122.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7123.  
  7124.  
  7125.  
  7126.  
  7127.  
  7128.  
  7129.  
  7130.  
  7131.  
  7132.                                                         Gadget Sets 109
  7133.  
  7134.  
  7135.                     will be displayed in the 'Hot Key character' box
  7136.                     and a check will be placed in the Control check
  7137.                     gadget.
  7138.            
  7139.                     To use this Hot Key definition select the "Use"
  7140.                     Gadget.
  7141.            
  7142.           v"zDelete Hot Keyv"z
  7143.                     An object that has been defined to have a Hot Key
  7144.                     can have that Hot Key remove in one of two ways.
  7145.  
  7146.                     The first way is to select the object that has the
  7147.                     Hot Key you wish to have removed, you select this
  7148.                     object within the Set Keypad window, select the
  7149.                     "Hot Key" gadget and finally select the "Delete"
  7150.                     gadget in the "Hot Key" window.  The "Hot Key"
  7151.                     definition will be removed.
  7152.  
  7153.                     The second way is to define the same key press and
  7154.                     qualifiers for a new object and then select the
  7155.                     "Use" gadget from the "Hot Key" window.  You will
  7156.                     be greeted with a requestor asking:
  7157.  
  7158.                                 Replace Hot Key defined for
  7159.                                        <Object Name>
  7160.  
  7161.                     Answer yes to this requestor and the Hot Key
  7162.                     definition will delete from the old object and
  7163.                     then created for the new object.
  7164.  
  7165.           v"zHot Keys are not globalv"z
  7166.                     Unlike the Hot Keys you define for a commodity
  7167.                     that take high priority over the system input
  7168.                     channels and steal the input from the active
  7169.                     program or window,  Hot Keys in MegaD are only
  7170.                     good if one of the MegaD windows are active and
  7171.                     accepting the input.
  7172.  
  7173.                     Key press that are define as menu short cuts, such
  7174.                     as "Left Amiga O" for Open will take priority over
  7175.                     the same Hot Key defined for MegaD.
  7176.            
  7177.                     We have defined a 'Gadget Set' and defined a 'Hot
  7178.                     Key' to open the new gadget set.  As with all
  7179.                     MDPrefs settings,  MegaD will not know about them
  7180.                     until the 'Use' or 'Save' gadget is selected from
  7181.                     the main 'MegaD Preferences' window.   Select
  7182.                     'Use' from the 'MegaD Preferences, Set Keypads'
  7183.                     window and then select 'Save' from the 'MegaD
  7184.                     Preferences' window.
  7185.  
  7186.  
  7187.  
  7188.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7189.  
  7190.  
  7191.  
  7192.  
  7193.  
  7194.  
  7195.  
  7196.  
  7197.  
  7198.                                                         Gadget Sets 110
  7199.  
  7200.  
  7201.           v"zCalling your new 'Gadget Set' windowv"z
  7202.                     Hold the 'Ctrl' key down and press the 'P' key.
  7203.                     The new 'Gadget Set,' 'Preferences' will open.  It
  7204.                     will open under the mouse pointer and should you
  7205.                     select any item from it, it will close after
  7206.                     performing the function.  
  7207.  
  7208.                     The color of the gadgets in the 'Preferences'
  7209.                     'Gadget Set' are a bit bland, lets modify them.
  7210.                     Select the 'Set Keypad...' gadget in this 'Gadget
  7211.                     Set.'  With this action, we have move directly
  7212.                     into the 'MegaD Preferences, Set Keypads'
  7213.                     bypassing the main 'MegaD preferences' window.
  7214.                     The 'Gadget Set,' 'Preferences' window close
  7215.                     during this process.
  7216.  
  7217.           v"zSetting gadget colorsv"z
  7218.                     Cycle the source area of the 'Set Keypads' window
  7219.                     to 'Gadget Sets.'  Select the 'Preferences' source
  7220.                     object and then select the 'Modify' gadget.  The
  7221.                     'MegaD Define Gadget Set' window will open.  We do
  7222.                     not want to change any of the settings to the
  7223.                     window, we just need to modify the gadget of the
  7224.                     'Gadget Set', 'Preferences.'  Select the 'Use'
  7225.                     gadget of the 'MegaD Define Gadget Set' window.
  7226.                     The window will close and the 'Gadget Set,' '
  7227.                     Preferences' will open.  You can now select the
  7228.                     gadgets in this window and modify the colors of
  7229.                     the gadget.  Do this by selecting the 'Modify'
  7230.                     gadget of the 'Set Keypads' window.
  7231.  
  7232.           (NEW 3.1)
  7233.           v"zQuick color copyv"z
  7234.                     There is a feature to help you set the destination
  7235.                     gadget colors.  I found that setting the colors of
  7236.                     the Keypad Gadgets and the Gadget Set gadgets was
  7237.                     a very tedious job.
  7238.  
  7239.                     Select one of the destination gadgets that has the
  7240.                     color set to the color you wish to copy.  Select
  7241.                     the gadget once more to unselect it.  MegaD will
  7242.                     now remember the text and background colors of
  7243.                     that gadget.  Hold a Shift key down and select the
  7244.                     other destination gadgets that you wish to copy
  7245.                     the colors to.  You may copy the colors to as many
  7246.                     destination gadget as you wish.  The color will
  7247.                     remain the same until you select a new color.
  7248.  
  7249.                     Once you are done, you may close the Gadget Set
  7250.                     window with the window close gadget or by pressing
  7251.                     the Esc key while it is the active window.
  7252.  
  7253.  
  7254.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7255.  
  7256.  
  7257.  
  7258.  
  7259.  
  7260.  
  7261.  
  7262.  
  7263.  
  7264.                                                         Gadget Sets 111
  7265.  
  7266.  
  7267.  
  7268.  
  7269.           v"zMoving 'Rigid' windowsv"z
  7270.                     NOTE:  This only operates under OS 2.0
  7271.  
  7272.                     A 'Rigid' 'Gadget Set' window does not have a drag
  7273.                     bar once it is opened from MegaD.  MDPrefs gives
  7274.                     all 'Gadget Set windows a drag bar to help you
  7275.                     move them to the area you want them to open at.
  7276.                     With the Rigid window, this is somewhat 'Hit and
  7277.                     Miss' when trying to get the window to the exact
  7278.                     place you want it to be.   The 'Gadget Set'
  7279.                     windows can be moved from within MegaD once they
  7280.                     are open by using the shift, Ctrl-shift, and the
  7281.                     cursor keys.
  7282.  
  7283.                     To move a 'Rigid' window, that window must be
  7284.                     active.  It is hard to tell if a 'Rigid' window is
  7285.                     active being it does not have a drag bar and does
  7286.                     not change colors when it is active.  To insure
  7287.                     that a 'Rigid' 'Gadget Set' window is active,
  7288.                     select one of the gadgets in the window but do not
  7289.                     release the mouse button.  Move the mouse away
  7290.                     from the selected gadget and it will become
  7291.                     deselected, you can then release the mouse button.
  7292.                     Now that we know the window is active, hold the
  7293.                     shift key down and then press one of the cursor
  7294.                     keys to move the window in the desired direction.
  7295.                     The window will move one pixel at a time in the
  7296.                     direction the cursor key points to.  If you want
  7297.                     the window to move eight pixels at a time, hold
  7298.                     the Ctrl and Shift key at the same time while
  7299.                     using the cursor keys.  You will be able to fine
  7300.                     tune the 'Gadget Set' window position to any
  7301.                     location on the screen.  
  7302.  
  7303.                     MegaD will keep track of the location that your
  7304.                     "Gadget Sets" are at when you save the preferences
  7305.                     file.
  7306.  
  7307.                     To test your custom made screens, use the menu
  7308.                     'Project, Open...'  and select the preference file
  7309.                     that was just saved.  MegaD will reset and open
  7310.                     all of the 'Open at startup' 'Gadget Set' windows.
  7311.  
  7312.                     I have supplied a number of preset MegaD .pf files
  7313.                     that you may access by the 'Open...' command.  You
  7314.                     will notice that some directory windows are opened
  7315.                     when the screen is reset to the new preference
  7316.                     file.  This was accomplished with the '-L' flag
  7317.                     added to the end  of the 'Device' string gadget
  7318.  
  7319.  
  7320.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7321.  
  7322.  
  7323.  
  7324.  
  7325.  
  7326.  
  7327.  
  7328.  
  7329.  
  7330.                                                         Gadget Sets 112
  7331.  
  7332.  
  7333.                     found in the 'MegaD Preferences, Set Menus &
  7334.                     Devices' window.  
  7335.  
  7336.                     The supplied .pf files are not intended for
  7337.                     general use but as examples.  MegaD preferences
  7338.                     files are very machine dependent.  The supplied
  7339.                     files are set to use the screen size of 640 X 200
  7340.                     with Topaz 8 as the screen and text font.
  7341.  
  7342.                     I suggest that you load each of the .pf files to
  7343.                     see a very small fraction of the ways MegaD can be
  7344.                     configured.  After doing so, you may want to
  7345.                     create you own custom screen,  the one you've
  7346.                     always wanted but could never get the other
  7347.                     utilities to do it for you.
  7348.  
  7349.  
  7350.  
  7351.  
  7352.  
  7353.  
  7354.  
  7355.  
  7356.  
  7357.  
  7358.  
  7359.  
  7360.  
  7361.  
  7362.  
  7363.  
  7364.  
  7365.  
  7366.  
  7367.  
  7368.  
  7369.  
  7370.  
  7371.  
  7372.  
  7373.  
  7374.  
  7375.  
  7376.  
  7377.  
  7378.  
  7379.  
  7380.  
  7381.  
  7382.  
  7383.  
  7384.  
  7385.  
  7386.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7387.  
  7388.  
  7389.  
  7390.  
  7391.  
  7392.  
  7393.  
  7394.  
  7395.  
  7396.                                                         Export File 113
  7397.  
  7398.  
  7399.                                         v"zExport Filev"z
  7400.  
  7401.                     MegaD can create a data file from selected files
  7402.                     and directories in Directory Windows that is
  7403.                     compatible with a Database.  This database would
  7404.                     be one that would allow you to keep track of your
  7405.                     many disks, and the many programs that are on
  7406.                     those disk.  This text can not possibly teach you
  7407.                     how to use or control a database. If you are
  7408.                     familiar with databases and know the difference
  7409.                     between a record and a field you will feel right
  7410.                     at home with this part of MegaD.  If you do not
  7411.                     have a database this command will be of little
  7412.                     value to you and you may want to go on to the next
  7413.                     section of the tutorial.
  7414.  
  7415.           v"zSetting Up Exportv"z
  7416.                     "Export File" needs to have the attributes for the
  7417.                     export function set before it will work.  This is
  7418.                     done by the menu item "Output, Setup Export".  You
  7419.                     will also need a 'Dest'ination Directory Window
  7420.                     open that you want the export file written to.  A
  7421.                     good directory for this is the same directory that
  7422.                     you would place the data files for the database.
  7423.                     Once this Directory Window is opened and the
  7424.                     'Dest'ination gadget is selected, select the menu
  7425.                     item "Output, Setup Export."
  7426.  
  7427.                     The "Set Export" window will open.  This window
  7428.                     lets you set what file attributes you wish to
  7429.                     include in your database export file.
  7430.  
  7431.                     It is important that you think this part out very
  7432.                     well or that you know your database very well.
  7433.                     Both is even better.  Some databases are rigid and
  7434.                     allow very little changing once the database is
  7435.                     started, others allow new fields to be added to
  7436.                     the database and allow you to change your mind
  7437.                     later for what information you wish to keep track
  7438.                     of.  Think about what file attributes listed on
  7439.                     the left side of the window that you wish to keep
  7440.                     track of and select those.  I am going to select
  7441.                     all nine of them.
  7442.  
  7443.           v"zField Sizesv"z
  7444.                     As you can see to the right of the attributes the
  7445.                     size of the field is listed.  Should you create
  7446.                     your database so that the fields are smaller than
  7447.                     what is listed, you may lose information or your
  7448.                     database will not accept the export file, It is
  7449.                     best to create the database with at lease enough
  7450.  
  7451.  
  7452.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7453.  
  7454.  
  7455.  
  7456.  
  7457.  
  7458.  
  7459.  
  7460.  
  7461.  
  7462.                                                         Export File 114
  7463.  
  7464.  
  7465.                     room to store the information.
  7466.  
  7467.           v"zField/Record Separatorsv"z
  7468.                     To the right of the window you will find two
  7469.                     integer string gadgets.  One is titled 'Field
  7470.                     Separator', the other is titled 'Record
  7471.                     Separator'.  Both require that you know the ASCII
  7472.                     value of the character that separates your field
  7473.                     and records as defined by your database.  The
  7474.                     defaults are the norm for most databases.  The
  7475.                     value for the Field Separator is 44 that is the
  7476.                     ASCII value of a comma.  The value for the Record
  7477.                     Separator is 10 that is the value of a return
  7478.                     character.  Below is the results of the export if
  7479.                     only two files were selected to show you how and
  7480.                     where the separator characters fit.
  7481.  
  7482.           DPaint,Work:,Work:Paint,FILE,03-26-92 17:40:35,375084,743,--
  7483.                     --rwed,,
  7484.           DPaint.info,Work:,Work:Paint,FILE,03-26-92 17:40:36,1630,4,-
  7485.                     ---rwed,,
  7486.  
  7487.                     As you can see the commas separate the file
  7488.                     attributes and there is a return at the end of the
  7489.                     line to signify a new record.  The format is
  7490.                     visually ugly to look at but is easily digested by
  7491.                     a good database program.
  7492.  
  7493.           v"zEmpty Fieldsv"z
  7494.                     Notice the two commas at the end of the line.
  7495.                     This is where the File comment should be but the
  7496.                     files did not have one so this is an empty field
  7497.                     that will be read by the database as such.
  7498.  
  7499.                     The Filename for path string gadget is for naming
  7500.                     your database import file.  It will be appended to
  7501.                     the path the is listed above in the text area of
  7502.                     the Set Export window.  This becomes a permanent
  7503.                     path and filename until you change it.
  7504.  
  7505.  
  7506.                     One of the cycle gadgets will allow you three
  7507.                     settings.  'Export Directory & Files', 'Export
  7508.                     Files' only and 'Export Directories' only.  This
  7509.                     should be self explanatory and it lets you fine
  7510.                     tune the types of directory entries to be sent to
  7511.                     the export file.
  7512.  
  7513.                     There is another cycle gadget that allows two
  7514.                     different settings.  'Overwrite old file' and
  7515.                     'Append to end of file'.
  7516.  
  7517.  
  7518.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7519.  
  7520.  
  7521.  
  7522.  
  7523.  
  7524.  
  7525.  
  7526.  
  7527.  
  7528.                                                         Export File 115
  7529.  
  7530.  
  7531.  
  7532.                     'Overwrite old file' will always create a new
  7533.                     export file each time you select the Export File
  7534.                     function.  This deletes the old file first but not
  7535.                     without warning you first with an option to
  7536.                     cancel.  This requires you to read the data file
  7537.                     into your database before the Export File command
  7538.                     is used again or you will lose your previously
  7539.                     created export file.
  7540.  
  7541.                     The 'Append to end of file' option is my favorite
  7542.                     way to use this.  The first time the 'Export File'
  7543.                     command is used the new file is created.  Each
  7544.                     time after that the newly exported information
  7545.                     will be appended to the end of the file.   Now
  7546.                     remember that the filename you created is somewhat
  7547.                     permanent.  As long as you save the preferences
  7548.                     after setting the export function up, MegaD will
  7549.                     always try to write the file to the same place and
  7550.                     in doing so will constantly append the newly
  7551.                     exported information.  This has one drawback.  You
  7552.                     MUST delete the export file once you have read it
  7553.                     into your database, otherwise MegaD will
  7554.                     constantly append new information to a file that
  7555.                     has already been used and the records for those
  7556.                     have been created in the database.
  7557.  
  7558.                     I suggest that you create an export file a few
  7559.                     times.  Each time load the newly created export
  7560.                     file into a text window so that you can visually
  7561.                     see how it is working.  After you are sure that it
  7562.                     is exporting the kind of information you want it
  7563.                     to, you may start creating a database of all of
  7564.                     your files and programs.
  7565.  
  7566.                     MegaD will export all the information found in
  7567.                     selected volumes and directories.
  7568.  
  7569.                     To send all the information found in a volume,
  7570.                     select the volume you wish to export from, by
  7571.                     selecting the corresponding entry in the 'Volumes
  7572.                     In Memory' list.  Then select the 'Export File'
  7573.                     Command Gadget.
  7574.  
  7575.                     To send all the information found in a directory,
  7576.                     select the directory entry in a Directory Window.
  7577.                     Then select the 'Export File' Command Gadget.
  7578.  
  7579.  
  7580.  
  7581.  
  7582.  
  7583.  
  7584.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7585.  
  7586.  
  7587.  
  7588.  
  7589.  
  7590.  
  7591.  
  7592.  
  7593.  
  7594.                                                   MegaD Preferences 116
  7595.  
  7596.  
  7597.                                      v"zMegaD Preferencesv"z
  7598.  
  7599.                     The MegaD preferences change only the internal
  7600.                     preferences of MegaD.  It has nothing to do with
  7601.                     your system preferences for the Amiga.  All
  7602.                     mentions of preferences from this point on refer
  7603.                     to the internal setting of MegaD.
  7604.  
  7605.                     If you have taken even a quick look into what Set
  7606.                     Preferences has to offer you will find that MegaD
  7607.                     can be modified in many ways. There are eight
  7608.                     different areas that make up preferences, we have
  7609.                     visited two in this tutorial so far.  Set Menus &
  7610.                     Devices and Set Keypads are those two, we will
  7611.                     take another look at those areas and look into the
  7612.                     new areas. This is a list of the areas within 'Set
  7613.                     Preference':
  7614.  
  7615.                          Colors
  7616.                          Defaults
  7617.                          Display
  7618.                          Keypads
  7619.                          Menus & Devices
  7620.                          Miscellaneous
  7621.                          Print
  7622.                          Screen
  7623.  
  7624.                     All areas have a 'Cancel' gadget that will cancel
  7625.                     all changes to that area.  All areas have a 'Use'
  7626.                     gadget.  This gadget accepts the changes made so
  7627.                     far.
  7628.  
  7629.                     Only the 'MegaD Preferences' window has a 'Save'
  7630.                     gadget.  When this gadget is used, the current
  7631.                     changes are accepted and saved to the '.pf' file.
  7632.                     This file is located in the current directory that
  7633.                     MegaD was loaded from.
  7634.  
  7635.           (NEW 3.1) You can save your current preference settings to
  7636.                     different files.  This is set through the main
  7637.                     program, MegaD.  Within the Project menu of MegaD,
  7638.                     there is an option to 'Save as.'  Should you use
  7639.                     this option and create a new MegaD preference file
  7640.                     under a new name, such as 'MyPrefs.pf', MDPrefs
  7641.                     will save the preference file as this name.  The
  7642.                     new name must be set before calling 'Set
  7643.                     Preference...'
  7644.  
  7645.  
  7646.  
  7647.  
  7648.  
  7649.  
  7650.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7651.  
  7652.  
  7653.  
  7654.  
  7655.  
  7656.  
  7657.  
  7658.  
  7659.  
  7660.                                             Set Preferences, Colors 117
  7661.  
  7662.  
  7663.  
  7664.                                  v"zMegaD preferences, Colorsv"z
  7665.  
  7666.                     Select the menu item "Project, Set Preference...
  7667.                     and then select 'Colors...' to open the Set Colors
  7668.                     window.  This area of Preferences is dedicated to
  7669.                     the colors available for the display of
  7670.                     information within MegaD windows.
  7671.  
  7672.           v"z1.3/2.0 Color Switchv"z
  7673.                     In the very center of this window is a single
  7674.                     check type gadget which by default is set. The
  7675.                     title of this gadgets is "1.3 / 2.0 Colors Switch"
  7676.                     One of the many changes that happened with the new
  7677.                     2.0 OS for the Amiga was the change of the default
  7678.                     colors.  With this gadget checked, the system will
  7679.                     be checked for 1.3 or 2.0 and the colors will be
  7680.                     set accordingly.  If you want to define any of the
  7681.                     colors to your own settings this gadget will have
  7682.                     to be unchecked.
  7683.  
  7684.           v"zColor Conflictv"z
  7685.                     MegaD will check for conflicts of colors and will
  7686.                     warn you if you try to use the conflicting colors.
  7687.                     An example of this would be the Directory and the
  7688.                     File colors are the same.
  7689.  
  7690.                     MegaD will display the resulting selected colors
  7691.                     in small boxes to the right of the gadgets to show
  7692.                     the effect of the selections.  You may change the
  7693.                     colors to what you would like to have them.  If
  7694.                     you want to use more colors with MegaD, you will
  7695.                     have to change the screen setting found in the
  7696.                     Display preferences Display
  7697.  
  7698.  
  7699.  
  7700.  
  7701.  
  7702.  
  7703.  
  7704.  
  7705.  
  7706.  
  7707.  
  7708.  
  7709.  
  7710.  
  7711.  
  7712.  
  7713.  
  7714.  
  7715.  
  7716.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7717.  
  7718.  
  7719.  
  7720.  
  7721.  
  7722.  
  7723.  
  7724.  
  7725.  
  7726.                                         MegaD Preferences, Defaults 118
  7727.  
  7728.  
  7729.                                 v"zMegaD Preferences, Defaultsv"z
  7730.  
  7731.                     Select the menu item, "Project, Set Preference...
  7732.                     and then select 'Defaults" to open the Set
  7733.                     Defaults window.
  7734.  
  7735.                     This area here is controlled by 'Check' gadgets.
  7736.  
  7737.           v"zAuto resize windowsv"z
  7738.                     This only works in window overlap mode set in the
  7739.                     menu "Windows, Overlap locations.  It will attempt
  7740.                     to resize the directory windows larger or smaller
  7741.                     to display as much as needed.
  7742.  
  7743.           v"zAuto update windowsv"z
  7744.                     Each time the directory window is opened it will
  7745.                     be updated.  MegaD buffers EVERYTHING that it
  7746.                     loads.  If that information has been changed by
  7747.                     some other program MegaD will not know about it.
  7748.                     MegaD first tests the actual directory entry or
  7749.                     volume data stamp to tell if the directory has
  7750.                     been changed.  If it finds a different date it
  7751.                     will reload the directory so that it will be
  7752.                     current.  This has the side effect of forcing you
  7753.                     to insert a floppy disk that has been buffered,
  7754.                     just to reopen the directory window.
  7755.  
  7756.           v"zConfirm quitv"z
  7757.                     Gives you a chance not to quit MegaD if an
  7758.                     accidental quit was issued.  A simple requestor
  7759.                     will open that reads:
  7760.                                         Quit MegaD
  7761.                     With the options Yes or No.
  7762.  
  7763.           (NEW 3.1)
  7764.           v"zDisplay memory, date, timev"z
  7765.                     This displays the system memory, date and time in
  7766.                     title bar.  This message will cycle with Display
  7767.                     File, directory, bytes message below if it is
  7768.                     also selected.  The full path of the current
  7769.                     directory will also be cycled with these messages
  7770.                     if the mouse in not in the scroll region of the
  7771.                     current active window.
  7772.  
  7773.           (NEW 3.1)
  7774.           v"zDisplay file, directories, bytesv"z
  7775.                     This displays in selected files and directories
  7776.                     and total byte count in the screens title bar.
  7777.                     This is dependent on the setting of the
  7778.                     information area of the Main Control Window.
  7779.                     This message will cycle with Display memory,
  7780.  
  7781.  
  7782.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7783.  
  7784.  
  7785.  
  7786.  
  7787.  
  7788.  
  7789.  
  7790.  
  7791.  
  7792.                                         MegaD Preferences, Defaults 119
  7793.  
  7794.  
  7795.                     date, time message above if it is also selected.
  7796.                     The full path of the current directory will also
  7797.                     be cycled with these messages if the mouse in not
  7798.                     in the scroll region of the current active
  7799.                     window.
  7800.  
  7801.  
  7802.           v"zIconify at startv"z
  7803.                     MegaD will iconify it self at startup.  This is
  7804.                     very useful if you place MegaD in your startup
  7805.                     sequence or in the WBStartup drawer.  If you do so
  7806.                     MegaD will load and place an Icon on the Workbench
  7807.                     screen that can be double clicked for instant
  7808.                     access to MegaD.
  7809.  
  7810.           v"zKeep active window to frontv"z
  7811.                     This will force the active window directory or
  7812.                     text window on MegaD to the front of the screen.
  7813.                     It will not work on the Main Control Window.  The
  7814.                     F10, F9 and F8 keys will move that window to the
  7815.                     front if needed.
  7816.  
  7817.           v"zLast active window is destinationv"z
  7818.                     The last active directory window will become the
  7819.                     destination window if no user defined destination
  7820.                     windows are on the screen.  The default is the
  7821.                     active window is destination.  (This is the
  7822.                     default that other directory utilities have used.) 
  7823.  
  7824.           v"zPlace tool icon & menu on Workbenchv"z
  7825.                     This only works if you are using the new 2.0
  7826.                     operating system. (and if you're not, WHY?)  MegaD
  7827.                     uses Application Icons and Application Windows on
  7828.                     the Workbench.  This way you can drop any icon on
  7829.                     to it and MegaD will attempt to do something with
  7830.                     it.  At the least the MegaD screen will be opened
  7831.                     if it is closed or the screen will be moved to the
  7832.                     front of all the screens.  If a disk icon or a
  7833.                     directory icon is dropped onto the MegaD Icon or
  7834.                     Main Control Window MegaD will load that directory
  7835.                     and place it into a directory window.  If an
  7836.                     AutoBoot is available that knows how to work the
  7837.                     data file, MegaD will use the AutoBoot to work on
  7838.                     the file.  You may drop up to 10 Workbench objects
  7839.                     onto the Icon and MegaD will work each one in
  7840.                     sequence.
  7841.  
  7842.           v"zMessages offv"z
  7843.                     This will cancel all simple information messages
  7844.                     that only use the Continue gadget to get an answer
  7845.                     to the request.  The information usually tells you
  7846.  
  7847.  
  7848.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7849.  
  7850.  
  7851.  
  7852.  
  7853.  
  7854.  
  7855.  
  7856.  
  7857.  
  7858.                                         MegaD Preferences, Defaults 120
  7859.  
  7860.  
  7861.                     why a function or task did not work.  This may
  7862.                     cause confusion, if you can't tell why a function
  7863.                     does not seem to work.
  7864.  
  7865.           v"zPanic button windowv"z
  7866.                     While tasks are working such as Delete, Copy,
  7867.                     Move... a window will open.  This window prints
  7868.                     and scrolls information about the processing of
  7869.                     the current task (copy, delete, etc.) There are
  7870.                     two gadgets at the bottom of the window.  The
  7871.                     first one, 'Suspend', temporarily stops the
  7872.                     processing of the current task, allowing the user
  7873.                     time to reevaluate whether he really wants to
  7874.                     continue the task.  The second gadget, 'Cancel',
  7875.                     will immediately end the current task.  Both
  7876.                     gadgets are hard to hit in a time of panic so the
  7877.                     'Esc' key at the upper left corner of your
  7878.                     keyboard is dedicated to stopping the task, this
  7879.                     is the equivalent of selecting the 'Cancel' gadget
  7880.                     of the Panic window.  The Esc key works with or
  7881.                     without the panic window open.
  7882.  
  7883.           (NEW 3.1)
  7884.           v"zReturn keypad to unshiftedv"z
  7885.                     If you check this item, MegaD will always return
  7886.                     the Keypad Gadgets to the unshifted state after a
  7887.                     command has been selected from it.
  7888.  
  7889.           v"zSave defaults at closingv"z
  7890.                     MegaD will save the current preferences before
  7891.                     quitting.  This is very useful at first while
  7892.                     getting MegaD set up.  This way all the
  7893.                     preferences will be updated after each run.
  7894.                     Through this tutorial I have depended on this flag
  7895.                     being set.  This is why the changes that you have
  7896.                     made were always saved when you quit.
  7897.  
  7898.           v"zSave window positionsv"z
  7899.                     MegaD will remember the locations of requesters
  7900.                     and special windows and reopen them in the same
  7901.                     locations.  The default is to open the windows
  7902.                     with the gadget under the mouse pointer if
  7903.                     possible or to center the window under the mouse.
  7904.  
  7905.           v"zSimple refresh windowsv"z
  7906.                     Save memory by opening windows that must be
  7907.                     refreshed after having been covered by other
  7908.                     windows.  This feature takes a little more time
  7909.                     while you're moving and changing the depth of
  7910.                     windows, but it will save memory for systems with
  7911.                     not enough memory to spare.
  7912.  
  7913.  
  7914.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7915.  
  7916.  
  7917.  
  7918.  
  7919.  
  7920.  
  7921.  
  7922.  
  7923.  
  7924.                                         MegaD Preferences, Defaults 121
  7925.  
  7926.  
  7927.  
  7928.  
  7929.           v"zWarn before copyv"z
  7930.                     Gives you a chance to cancel a call to copy
  7931.  
  7932.           v"zWarn before deletev"z
  7933.                     Gives you a chance to cancel a call to delete.
  7934.                     (You're a gutsy person if you uncheck this item.
  7935.                     Remember, MegaD deletes ALL marked items in ALL
  7936.                     open Directory Windows)
  7937.           v"zWarn before movev"z
  7938.                     Gives you a chance to cancel a call to move.
  7939.  
  7940.           v"zWarn if deleting protected filev"z
  7941.                     If the file is protected MegaD will warn you and
  7942.                     give you the option to cancel the delete or delete
  7943.                     anyway.
  7944.  
  7945.           v"zWarn if replacing larger filev"z
  7946.                     During copy/move you will be warned if you try to
  7947.                     copy over a larger file.
  7948.  
  7949.           v"zWarn if replacing newer filev"z
  7950.                     During copy/move you will be warned if you try to
  7951.                     copy over a newer file.
  7952.  
  7953.           v"zWarn if replacing filev"z
  7954.                     During copy/move you will be warned if you try to
  7955.                     copy over any file.
  7956.  
  7957.           (NEW 3.1)
  7958.           v"zWarn if replacing preferences filev"z
  7959.                     This will warn you if you are about to write over
  7960.                     an old preference file with the 'Save' or 'Save
  7961.                     As...' command.
  7962.  
  7963.           v"zF10 Closes Control Windowv"z
  7964.                     The F10 key normally moves the MegaD Control
  7965.                     Window to the front and rear position on the
  7966.                     screen.  If MegaD is running on the Workbench it
  7967.                     will only work if there is a directory window open
  7968.                     to receive input from.  With this checked, instead
  7969.                     of the window moving to the rear position the
  7970.                     window is actual closed.  You will find that there
  7971.                     are keyboard equivalents for most functions that
  7972.                     the Control Window provides.  Thus getting rid of
  7973.                     the Control Window will provide you with a less
  7974.                     crowded screen.
  7975.  
  7976.           (NEW 3.1) This attribute also works with 'Gadget Sets'
  7977.                     should you define any 'Gadget Set' that is set to
  7978.  
  7979.  
  7980.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  7981.  
  7982.  
  7983.  
  7984.  
  7985.  
  7986.  
  7987.  
  7988.  
  7989.  
  7990.                                         MegaD Preferences, Defaults 122
  7991.  
  7992.  
  7993.                     'Open at startup' and this item is checked, MegaD
  7994.                     will open the 'Gadget Set' and not the 'Main
  7995.                     Control window.'
  7996.  
  7997.  
  7998.  
  7999.  
  8000.  
  8001.  
  8002.  
  8003.  
  8004.  
  8005.  
  8006.  
  8007.  
  8008.  
  8009.  
  8010.  
  8011.  
  8012.  
  8013.  
  8014.  
  8015.  
  8016.  
  8017.  
  8018.  
  8019.  
  8020.  
  8021.  
  8022.  
  8023.  
  8024.  
  8025.  
  8026.  
  8027.  
  8028.  
  8029.  
  8030.  
  8031.  
  8032.  
  8033.  
  8034.  
  8035.  
  8036.  
  8037.  
  8038.  
  8039.  
  8040.  
  8041.  
  8042.  
  8043.  
  8044.  
  8045.  
  8046.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8047.  
  8048.  
  8049.  
  8050.  
  8051.  
  8052.  
  8053.  
  8054.  
  8055.  
  8056.                                          MegaD Preferences, Display 123
  8057.  
  8058.  
  8059.                                 v"zMegaD Preferences, Displayv"z
  8060.  
  8061.                     Select the menu item "Project, Set Preference...
  8062.                     and then select 'Display...' to open the Set
  8063.                     Display window.  It lets you change how MegaD
  8064.                     displays certain information such as dates and
  8065.                     numbers.
  8066.  
  8067.  
  8068.           v"zDate Formatv"z    v"zThe Date format gadget Cycles thoughv"z
  8069.                     v"zmm/dd/yyv"z, dd/mm/yy , yy/mm/dd and dd/mmm/yy.  This
  8070.                     defines how MegaD will display the dates for your
  8071.                     directory items.
  8072.  
  8073.           v"zUse Today / Yesterdayv"z
  8074.                     This is a check gadgets that will tell MegaD to
  8075.                     display files created today to be marked with
  8076.                     "Today" and files created yesterday to be marked
  8077.                     with "Yesterday" instead of using the date for
  8078.                     that directory item.  This only functions under
  8079.                     the 2.0 OS.
  8080.  
  8081.           v"z12 Hour Clockv"z
  8082.                     Changes the 24 hour date to a 12 hour time with
  8083.                     am, or pm behind the date
  8084.  
  8085.           v"z1000 Separatorv"z
  8086.                     Set the separator to a comma, period, space or no
  8087.                     separator for thousands.
  8088.  
  8089.           v"zDecimal is commav"z
  8090.                     This is a 'do nothing' gadget at the moment but
  8091.                     should MegaD ever need to display floating point
  8092.                     information, Its ready!
  8093.  
  8094.           v"zDirectory listing orderv"z
  8095.                     This is a cycle gadget that will cycle though:
  8096.                     List directories first
  8097.                     List files first 
  8098.                     List items mixed
  8099.  
  8100.           v"zOrder of file informationv"z
  8101.                     There are five small cycle gadgets for this
  8102.                     setting.  The higher the number, the later the
  8103.                     information will appear in the line displaying the
  8104.                     directory item.  By setting the cycle gadgets to
  8105.                     other values the information can be displayed in
  8106.                     all possible orders.  The 'Show, ...' menu may
  8107.                     alter the final display.
  8108.  
  8109.                     Perform any changes that you would like and select
  8110.  
  8111.  
  8112.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8113.  
  8114.  
  8115.  
  8116.  
  8117.  
  8118.  
  8119.  
  8120.  
  8121.  
  8122.                                          MegaD Preferences, Display 124
  8123.  
  8124.  
  8125.                     the 'Use' gadget to see how things work.
  8126.  
  8127.           v"zForce Update Directory Windows To show Changesv"z
  8128.                     If Directory Windows are open the change will not
  8129.                     be performed on the directory listings found in
  8130.                     them.  You will have to use the menu item "Show,
  8131.                     Reset All" to force the reformatting of the
  8132.                     displayed information. 
  8133.  
  8134.  
  8135.  
  8136.  
  8137.  
  8138.  
  8139.  
  8140.  
  8141.  
  8142.  
  8143.  
  8144.  
  8145.  
  8146.  
  8147.  
  8148.  
  8149.  
  8150.  
  8151.  
  8152.  
  8153.  
  8154.  
  8155.  
  8156.  
  8157.  
  8158.  
  8159.  
  8160.  
  8161.  
  8162.  
  8163.  
  8164.  
  8165.  
  8166.  
  8167.  
  8168.  
  8169.  
  8170.  
  8171.  
  8172.  
  8173.  
  8174.  
  8175.  
  8176.  
  8177.  
  8178.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8179.  
  8180.  
  8181.  
  8182.  
  8183.  
  8184.  
  8185.  
  8186.  
  8187.  
  8188.                                      MegaD Preferences, Set Keypads 125
  8189.  
  8190.  
  8191.                               v"zMegaD Preferences, Set Keypadsv"z
  8192.  
  8193.                     Select the menu item, "Project, Keypads" to open
  8194.                     the Set Keypads window. We have spent some time in
  8195.                     here and what follows is a recap of those
  8196.                     functions.
  8197.  
  8198.                     This is a very powerful area of MegaD Preferences.
  8199.                     You can modify Menu Sets, AutoBoots, User Gadgets,
  8200.                     ARexx Gadgets, Hot Keys and Gadget Sets though
  8201.                     here.  You can rearrange, remove, duplicate
  8202.                     functions on the keypad. Change the color of the
  8203.                     keypad and 'Gadget Sets' gadgets.
  8204.  
  8205.           v"zSource Areav"z
  8206.                     There are two major areas of gadgets.  The upper
  8207.                     area can be considered as source gadgets that
  8208.                     information can be copied from.
  8209.  
  8210.           v"zDestination Areav"z
  8211.                     The lower area of gadgets, that are arranged in
  8212.                     the order of a keypad at the right side of most
  8213.                     Amiga keyboards. 'Shift Keys' to the right of the
  8214.                     keypad represent the shifted mode of the keypad,
  8215.                     Ctrl, Shift, Alt.  This can be considered the
  8216.                     destination area.
  8217.  
  8218.           v"zCopying Commandsv"z
  8219.                     Any single item can be selected in one of the two
  8220.                     areas.  As soon as an one item is selected in both
  8221.                     areas, the information is transferred to the
  8222.                     keypad gadgets.  A blank source will create a
  8223.                     blank do-nothing keypad gadget.
  8224.  
  8225.                     You will find two cycle gadgets, One is for pages
  8226.                     of source information, the other is to select the
  8227.                     type of source information to transfer or to work
  8228.                     on.  The types to work on are 'Built-in', 'Menu
  8229.                     Sets', 'AutoBoots', 'User Gadgets', 'ARexx', 'Dev.
  8230.                     Gadgets', and 'Gadget Sets.'
  8231.  
  8232.                     Below this set of cycle gadgets are gadgets
  8233.                     labeled 'Add', 'Delete', 'Modify'.  By selecting a
  8234.                     'Menu Set', 'AutoBoot', or 'User Gadget' and then
  8235.                     selecting the Modify gadget you can edit how a
  8236.                     program control will function.  By selecting a
  8237.                     keypad gadget and then modify, you can change the
  8238.                     title and color of the keypad gadget.
  8239.  
  8240.           (NEW 3.1) Below the 'Modify' Gadget is the 'Hot Key' gadget
  8241.  
  8242.  
  8243.  
  8244.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8245.  
  8246.  
  8247.  
  8248.  
  8249.  
  8250.  
  8251.  
  8252.  
  8253.  
  8254.                                      MegaD Preferences, Set Keypads 126
  8255.  
  8256.  
  8257.                     Should you set MegaD to 'Two Window Mode' the
  8258.                     keypad gadgets will be arranged in the two window
  8259.                     style so that you will be able to see just how
  8260.                     they will look in that mode.  The disadvantage of
  8261.                     this is the keyboard equivalent of the gadgets is
  8262.                     not represented very well.
  8263.  
  8264.                     Exit from this window using the Cancel or the
  8265.                     'Use' gadget.
  8266.  
  8267.  
  8268.  
  8269.  
  8270.  
  8271.  
  8272.  
  8273.  
  8274.  
  8275.  
  8276.  
  8277.  
  8278.  
  8279.  
  8280.  
  8281.  
  8282.  
  8283.  
  8284.  
  8285.  
  8286.  
  8287.  
  8288.  
  8289.  
  8290.  
  8291.  
  8292.  
  8293.  
  8294.  
  8295.  
  8296.  
  8297.  
  8298.  
  8299.  
  8300.  
  8301.  
  8302.  
  8303.  
  8304.  
  8305.  
  8306.  
  8307.  
  8308.  
  8309.  
  8310.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8311.  
  8312.  
  8313.  
  8314.  
  8315.  
  8316.  
  8317.  
  8318.  
  8319.  
  8320.                                  MegaD Preferences, Menus & Devices 127
  8321.  
  8322.  
  8323.                             v"zMegaD Preferences, Menus & Devicesv"z
  8324.  
  8325.                     There are two main purposes of the Menus &
  8326.                     Devices.  One, the setting of the Menu Sets. Two,
  8327.                     the Setting of the Device Gadgets. We have already
  8328.                     covered this.  
  8329.  
  8330.                     Being we have already worked with both the Device
  8331.                     Gadgets and the Menu Sets, we can go on to other
  8332.                     areas that need to be explained.  Close the
  8333.                     Preferences window by selecting the Cancel gadget.
  8334.  
  8335.  
  8336.  
  8337.  
  8338.  
  8339.  
  8340.  
  8341.  
  8342.  
  8343.  
  8344.  
  8345.  
  8346.  
  8347.  
  8348.  
  8349.  
  8350.  
  8351.  
  8352.  
  8353.  
  8354.  
  8355.  
  8356.  
  8357.  
  8358.  
  8359.  
  8360.  
  8361.  
  8362.  
  8363.  
  8364.  
  8365.  
  8366.  
  8367.  
  8368.  
  8369.  
  8370.  
  8371.  
  8372.  
  8373.  
  8374.  
  8375.  
  8376.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8377.  
  8378.  
  8379.  
  8380.  
  8381.  
  8382.  
  8383.  
  8384.  
  8385.  
  8386.                                      Set Preferences, Miscellaneous 128
  8387.  
  8388.  
  8389.                              v"zMegaD preferences, Miscellaneousv"z
  8390.  
  8391.           v"zCopy/Format Program Controlv"z
  8392.                     MegaD will call any stand alone copy/format
  8393.                     program.  To the right of the string gadget is a
  8394.                     "Control..." gadget.  This will open a Program
  8395.                     Control Window that will let you set your favorite
  8396.                     disk copier/formatter.  It comes set at default to
  8397.                     run MDDisk copier/formatter.
  8398.  
  8399.           v"zView Text Program Controlv"z
  8400.                     MegaD has one of the most versatile text viewers
  8401.                     around.  But if you feel that another program
  8402.                     should be called if a text file is double clicked
  8403.                     in a directory window you may set it here.  You
  8404.                     will find another "Control..." gadget to the right
  8405.                     on this one too.  Again, it will open a Program
  8406.                     Control Window so that you may set your favorite
  8407.                     program to work with MegaD.
  8408.  
  8409.           v"zSource icon for directoriesv"z
  8410.                     If you supply a name here for the an icon MegaD
  8411.                     will use a copy of it to give newly created
  8412.                     directories an Icon.  It defaults to SYS:system
  8413.                     that usually exist.  If you do not want Icons
  8414.                     created with directories delete all the characters
  8415.                     from this string.  You may also select the 2.0
  8416.                     Default check gadget found to the right of this.
  8417.                     This will use the system default for the icon
  8418.                     gadget while running under the 2.0 OS.
  8419.  
  8420.           v"zDictionary filenamev"z
  8421.                     This must be the name only, without a path
  8422.                     statement, of the dictionary file that you wish
  8423.                     MegaD to use.  The dictionary file must be in the
  8424.                     same directory that the program MegaD resides in.
  8425.                     This provides the user with the option to
  8426.                     translate MegaD to any language he or she wishes.
  8427.                     At this writing there are no dictionary files
  8428.                     available.  To create a dictionary file, please
  8429.                     see the regular MegaD.Doc file for that
  8430.                     information.
  8431.  
  8432.           v"zCreate Master Dictionaryv"z
  8433.                     By selecting this gadget MegaD will create the
  8434.                     master dictionary.  The main purpose of this file
  8435.                     is for easy translation of MegaD to other
  8436.                     languages.  This can be used to change any display
  8437.                     line that you wish in MegaD.  Please see the
  8438.                     regular MegaD.Doc file for that information.
  8439.  
  8440.  
  8441.  
  8442.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8443.  
  8444.  
  8445.  
  8446.  
  8447.  
  8448.  
  8449.  
  8450.  
  8451.  
  8452.                                      Set Preferences, Miscellaneous 129
  8453.  
  8454.  
  8455.  
  8456.           (NEW 3.1)
  8457.           v"zView Text tab widthv"z
  8458.                     This will set the spacing for View Text to use
  8459.                     when tabs characters are encountered in a text
  8460.                     file.  This value can be 1 through 20.
  8461.  
  8462.           (NEW 3.1)
  8463.           v"zView Text word wrapv"z
  8464.                     This will set the length at which the line should
  8465.                     be word wrapped to the next line of a text file.
  8466.                     If 0 is entered here the lines will word wrap to
  8467.                     the current screen width.  You can override this
  8468.                     by setting the value anywhere between 20 to 999.
  8469.                     A high value pretty much disables word wrap.
  8470.  
  8471.           v"zClose the Defaults Windowv"z
  8472.                     Select the 'OK' gadget and then the 'Use' gadget
  8473.                     to exit and test the changes that you have made.
  8474.                     Again if Directory Windows have information
  8475.                     displayed in them the have been affected by the
  8476.                     modifications you will have to select the menu
  8477.                     item "Show, Reset All" to reformat then.
  8478.  
  8479.  
  8480.  
  8481.  
  8482.  
  8483.  
  8484.  
  8485.  
  8486.  
  8487.  
  8488.  
  8489.  
  8490.  
  8491.  
  8492.  
  8493.  
  8494.  
  8495.  
  8496.  
  8497.  
  8498.  
  8499.  
  8500.  
  8501.  
  8502.  
  8503.  
  8504.  
  8505.  
  8506.  
  8507.  
  8508.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8509.  
  8510.  
  8511.  
  8512.  
  8513.  
  8514.  
  8515.  
  8516.  
  8517.  
  8518.                                        MegaD Preferences, Set Print 130
  8519.  
  8520.  
  8521.                                v"zMegaD Preferences, Set Printv"z
  8522.  
  8523.           v"zLabel heightv"z
  8524.                     How many printed lines are on the labels that you
  8525.                     wish to use with MegaD Label.
  8526.  
  8527.           v"zLabel widthv"z
  8528.                     How wide, in characters, is the label that you
  8529.                     wish to use with MegaD label.
  8530.  
  8531.           v"zPrint spoolersv"z
  8532.                     MegaD has a very nice built-in print spooler.  It
  8533.                     will let you print all day long and not freeze the
  8534.                     program while it is sending information to the
  8535.                     printer.  I has one drawback,  it will not let you
  8536.                     view the list of jobs waiting to be printed and it
  8537.                     will not let you pick specific jobs from the job
  8538.                     list to be removed.  For those of you who feel
  8539.                     that you need better control over the jobs waiting
  8540.                     to go to the printer, MDSpool has been written and
  8541.                     ARexx support has been added to MegaD to control
  8542.                     it.   This is the purpose of the new Set Print
  8543.                     preference settings.  MDSpool is a stand alone
  8544.                     program with a full ARexx port.
  8545.  
  8546.                     Very little effort is required for you to set
  8547.                     MegaD from the internal spooler to the new
  8548.                     external spooler that has a full graphic
  8549.                     interface.  At the bottom of the Set Print window
  8550.                     you will see two gadgets.  The first gadget Is
  8551.                     "Set to MDSpool"  which will set all of the
  8552.                     settings to the correct ARexx commands to
  8553.                     communicate with MDSpool.  The second gadget "Set
  8554.                     to internal spool" will return MegaD to using the
  8555.                     simple internal spool program.
  8556.  
  8557.                     For more information on MDSpool, read the supplied
  8558.                     documentation for it.  You will find that MDSpool
  8559.                     has enough features to make it a worthwhile
  8560.                     addition to your software collection by itself.
  8561.  
  8562.  
  8563.  
  8564.  
  8565.  
  8566.  
  8567.  
  8568.  
  8569.  
  8570.  
  8571.  
  8572.  
  8573.  
  8574.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8575.  
  8576.  
  8577.  
  8578.  
  8579.  
  8580.  
  8581.  
  8582.  
  8583.  
  8584.                                       MegaD Preferences, Set Screen 131
  8585.  
  8586.  
  8587.                                v"zMegaD Preferences, Set Screenv"z
  8588.  
  8589.                     This area lets you set the screen type and the
  8590.                     depth or colors that you want to run MegaD under.
  8591.  
  8592.           v"zPossible Screensv"z
  8593.                     'Screen Type' contains a cycle gadget that can be
  8594.                     set to one of five different settings.  These five
  8595.                     possible settings define what type of screen MegaD
  8596.                     uses.
  8597.  
  8598.           Workbench
  8599.                     Places MegaD on the Workbench screen.
  8600.           Hires
  8601.                     Creates a hires screen (usually about 640 X 200
  8602.                     lines)
  8603.           Hires-Interlace
  8604.                     Creates a hires-interlace screen (usually about
  8605.                     640 X 400 lines)
  8606.           SuperHires *
  8607.                     Creates a SuperHires screen (usually about 1280 X
  8608.                     200 lines)
  8609.           SuperHires-Lace *
  8610.                     Creates a SuperHires-Interlace screen (usually
  8611.                     about 1280 X 400 lines)
  8612.  
  8613.                     The above screens that end in an '*' are only
  8614.                     available if your system has the new ECS Chip.
  8615.  
  8616.  
  8617.  
  8618.  
  8619.  
  8620.  
  8621.  
  8622.  
  8623.  
  8624.  
  8625.  
  8626.  
  8627.  
  8628.  
  8629.  
  8630.  
  8631.  
  8632.  
  8633.  
  8634.  
  8635.  
  8636.  
  8637.  
  8638.  
  8639.  
  8640.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8641.  
  8642.  
  8643.  
  8644.  
  8645.  
  8646.  
  8647.  
  8648.  
  8649.  
  8650.                                                         MegaD Menus 132
  8651.  
  8652.  
  8653.                                         v"zMegaD Menusv"z
  8654.  
  8655.                     You've just seen how preferences allow you the
  8656.                     ability to customize MegaD to suit your own needs.
  8657.                     That's not all.  MegaD allows you to further
  8658.                     modify Directory Window features.  We have briefly
  8659.                     touched upon some of these modifications while
  8660.                     specifying file attributes (such as protection
  8661.                     bits, file comments, etc.)  Other menus give you
  8662.                     the power to alter the complete appearance of
  8663.                     MegaD.  In this section, we will discuss how the
  8664.                     Windows and the Show menus can change how MegaD
  8665.                     looks and works.
  8666.  
  8667.           v"zWindows Menuv"z
  8668.                     The top two selections in this menu are 'Open
  8669.                     Windows' and 'Close Windows', both have two sub
  8670.                     selections, 'All' and 'Selected Directories'.  
  8671.  
  8672.           v"zOpen/Close Allv"z
  8673.                     The All selections will only work with previously
  8674.                     opened Directory Windows.  It will close all
  8675.                     directory windows on the screen or open all
  8676.                     previously opened Directory Windows.  If the
  8677.                     'Windows/Use Limits' menu item is not checked, you
  8678.                     may end up with an overcrowded  screen.
  8679.  
  8680.           v"zSelected Directoriesv"z
  8681.                     The Selected Directories selection is of more use.
  8682.                     This works on selected directories in Directory
  8683.                     Windows, selected volumes in the 'Volumes In
  8684.                     Memory' list and selected items in the Devices,
  8685.                     Assigns and Drives list. 
  8686.  
  8687.           v"zLoading Directories From the Device Listv"z
  8688.                     This is one of those options that it will be best
  8689.                     if you test it out to see how it works.  First
  8690.                     cycle the list gadget in the Control Window to
  8691.                     'Devices, Assigns and Drives', select a few items
  8692.                     in that list.  Then select the menu item Windows,
  8693.                     Open, Selected Directories.  MegaD will load each
  8694.                     selection and place it in a Directory Window.
  8695.                     After they have been loaded, select the Windows,
  8696.                     Close, Selected Directories.  Unlike other
  8697.                     commands, the selected items will stay selected so
  8698.                     they can be used again.
  8699.  
  8700.                     After testing this out clear all the selected
  8701.                     items in the Device, Assigns and Drives list, even
  8702.                     if the list is hidden the selected items in the
  8703.                     list will be used.
  8704.  
  8705.  
  8706.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8707.  
  8708.  
  8709.  
  8710.  
  8711.  
  8712.  
  8713.  
  8714.  
  8715.  
  8716.                                                         MegaD Menus 133
  8717.  
  8718.  
  8719.  
  8720.           v"zOpening windows from the Volumes In Memory Listv"z
  8721.                     We now have some buffered directories from the
  8722.                     last action.  Cycle the list gadget of the Control
  8723.                     Window to 'Volumes In Memory' and select some of
  8724.                     the buffered volumes in this list.  Again select
  8725.                     the menu item Windows, Open, Selected Directories,
  8726.                     the windows will be opened if not already on the
  8727.                     screen.  Select the opposite menu selection
  8728.                     Windows, Close, Selected Directories and they will
  8729.                     be removed from the screen.  Clear the selected
  8730.                     items in the 'Volumes In Memory' list for the next
  8731.                     test of this feature.
  8732.  
  8733.           v"zOpening Directory Windows From Selected Directoriesv"z
  8734.                     Open a Directory Window that has a few directories
  8735.                     in it.  Select some of those directories.  Uncheck
  8736.                     the 'Windows, Use Limits' menu item so that the
  8737.                     list will not be swapped out with other
  8738.                     directories.  Select the menu item, Windows, Open,
  8739.                     Selected Directories, the selected directories
  8740.                     will be loaded and placed into new directory
  8741.                     windows.
  8742.  
  8743.                     Close the same windows by selecting the menu item
  8744.                     Windows, Close, Selected Directories. Before we
  8745.                     move on, check the 'Windows, Use Limits' and close
  8746.                     all the windows open to the screen.
  8747.  
  8748.           v"zWindow locationsv"z
  8749.                     The next section of the 'Windows' menu will allow
  8750.                     you to define how MegaD places windows on to the
  8751.                     screen.  There are three modes listed here, 'Use
  8752.                     Overlap Locations', 'Use Grid Locations' and 'Use
  8753.                     Snapshot Locations'. 
  8754.  
  8755.           v"zOverlap Locationsv"z
  8756.                     The Overlap Locations is the default that MegaD
  8757.                     comes set with. It tries to place newly loaded
  8758.                     volumes to the right side of the last loaded
  8759.                     volume on the screen.  If the room for the new
  8760.                     volume window is less than the smallest width that
  8761.                     a Directory Window can be sized it will open the
  8762.                     window to the far left of the screen instead.  If
  8763.                     you are only displaying the filename of the
  8764.                     directory entries you can get three volume to fit
  8765.                     on one screen.
  8766.  
  8767.                     The overlap comes from when you open more than one
  8768.                     directory in one volume.  You need to have the
  8769.                     windows per volumes set to more than one.   The
  8770.  
  8771.  
  8772.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8773.  
  8774.  
  8775.  
  8776.  
  8777.  
  8778.  
  8779.  
  8780.  
  8781.  
  8782.                                                         MegaD Menus 134
  8783.  
  8784.  
  8785.                     windows are overlapped by opening the next window
  8786.                     down a full drag bar (Window title area) and
  8787.                     shifted to the right about the width of the close
  8788.                     gadget.  This arrangement will let you see all the
  8789.                     titles as the windows are overlapped on each
  8790.                     other.
  8791.  
  8792.           v"zSetting Volume and Window Limitsv"z
  8793.                     Lets take a look at this in action.  Select the
  8794.                     'Windows/2 Volumes Per Screen' and 'Windows/1
  8795.                     Window Per Volume...' menu items (note: these two
  8796.                     menu items are tied together to form one menu
  8797.                     item).  A requester will open that has two integer
  8798.                     string gadgets titled:
  8799.  
  8800.                                  Number Volumes Per Screen
  8801.                                             and
  8802.                                Number of Windows per Volume
  8803.  
  8804.                     Leave the Volumes set at 2 but change the 1 in the
  8805.                     "Number of windows per Volume" to 3.  Select the
  8806.                     'Use' gadget.
  8807.  
  8808.                     Now that you have changed the limits of
  8809.                     directories per volume you can have multiple
  8810.                     windows open for a volume.  Open a Directory
  8811.                     Window that has a few directories listed in it.
  8812.                     Double click some of the directories to see how
  8813.                     the windows will overlap.  Test this out with
  8814.                     other volumes and see how this looks.  After you
  8815.                     get the feel for the overlap mode select the menu
  8816.                     item 'Windows, Close', All so that we can test out
  8817.                     the next mode.
  8818.  
  8819.           v"zUse Grid Locationsv"z
  8820.                     The 'Use Grid Locations' menu item, if checked,
  8821.                     will place windows in a fixed grid arrangement.
  8822.                     The grid is determined by the limits settings.  At
  8823.                     the moment the limits should be set to 2 Volumes
  8824.                     per Screen and 3 Windows per Volume.  Also the
  8825.                     'Use Limits' should be checked.
  8826.  
  8827.                     Being the Volumes is set to two, MegaD will divide
  8828.                     the screen width by two to determine how wide each
  8829.                     Directory Window should be, thus giving us the
  8830.                     width of each grid.  This way, if the maximum
  8831.                     number of volumes are opened to the screen the
  8832.                     windows will fill the screen.  The Windows per
  8833.                     Volumes are set to three, MegaD will divide the
  8834.                     screen height by three to decide how tall each
  8835.                     directory window will be opened as.  It will also
  8836.  
  8837.  
  8838.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8839.  
  8840.  
  8841.  
  8842.  
  8843.  
  8844.  
  8845.  
  8846.  
  8847.  
  8848.                                                         MegaD Menus 135
  8849.  
  8850.  
  8851.                     place each newly loaded volume window under the
  8852.                     pervious until the limits is reached.  After the
  8853.                     limit is reached it will swap out directories to
  8854.                     place newly requested directories in the windows.
  8855.  
  8856.                     This arrangement allows you to see all of each
  8857.                     window opened to the screen.  The draw back is the
  8858.                     full width of the information in the Directory
  8859.                     Windows may not be visible.  The windows will be a
  8860.                     fixed width and height that will not be
  8861.                     automatically resized to allow you to view the
  8862.                     full information.  Although you can still manually
  8863.                     resize the window with the window resize gadget.
  8864.  
  8865.                     Again test this mode out and get the hang of it.
  8866.                     Once you are satisfied that you understand how it
  8867.                     works close all the Directory Windows so that we
  8868.                     can go on to the next mode.
  8869.  
  8870.                                 Set Snapshot / Use Snapshot
  8871.  
  8872.           v"zWhy Snapshotv"z
  8873.                     Snapshot is for people who want windows in set
  8874.                     places. A snapshot window will not respect the
  8875.                     'Auto resize' option or the 'Use limits'.
  8876.  
  8877.                     With the addition of 'Gadget Sets',  Snapshot
  8878.                     window locations become an important part of
  8879.                     creating customized screens. 
  8880.  
  8881.           v"zSetting Snapshotv"z
  8882.                     The easiest way to set up the snapshot mode is by
  8883.                     starting out with the 'Use Overlap locations' Menu
  8884.                     checked and the 'Use Limits' unchecked.  This way
  8885.                     MegaD will open a new window for each volume or
  8886.                     directory requested.
  8887.  
  8888.                     Select a directory to load that will have a few
  8889.                     sub directories in it.  During this process try to
  8890.                     open windows only from within this one volume.
  8891.                     Open this directory so that you will have a window
  8892.                     open to the screen.  It is important to place each
  8893.                     window in the place you wish it to be, and size it
  8894.                     to the dimensions that you want as you open them.
  8895.                     This not only sets the placement of the window but
  8896.                     the order that the location will be used to place
  8897.                     windows to the screen. 
  8898.  
  8899.           v"zTake A Snapshotv"z
  8900.                     Open, Place and size all the windows that you want
  8901.                     on the screen in fixed locations.  MegaD will
  8902.  
  8903.  
  8904.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8905.  
  8906.  
  8907.  
  8908.  
  8909.  
  8910.  
  8911.  
  8912.  
  8913.  
  8914.                                                         MegaD Menus 136
  8915.  
  8916.  
  8917.                     remember up to 30 window position.  Select the
  8918.                     'Window, Set Snapshot' menu item.  This will
  8919.                     record the order, location, and size of each open
  8920.                     Directory Window.
  8921.  
  8922.           v"zUse Snapshotv"z
  8923.                     The 'Window, Use Snapshot' menu item will become
  8924.                     unghosted, now you can check the 'Window, Use
  8925.                     Snapshot' menu item.  Directories will now be
  8926.                     placed in the snapshot location that you set.  The
  8927.                     snapshots are used one after the other regardless
  8928.                     of Volumes or sub-directories.  Once all the
  8929.                     snapshot locations are filled, MegaD will start
  8930.                     swapping directories within open windows to get
  8931.                     them to the screen.
  8932.  
  8933.           v"zForcing More Windowsv"z
  8934.                     The 'Lock' gadget comes in handy to prevent the
  8935.                     directory you want from getting swapped out for
  8936.                     another directory.  As long as the window is
  8937.                     Locked, MegaD will not place another directory in
  8938.                     it.  Should you lock all the snapshot windows and
  8939.                     request another directory, a window will open in
  8940.                     the upper left corner of the screen for this
  8941.                     directory.
  8942.  
  8943.                     Remember to save your preferences file once you
  8944.                     are happy with the window locations with 'Windows,
  8945.                     Save Preferences'.  The locations can be changed
  8946.                     with 'Windows, Set Snapshot' as you please.
  8947.  
  8948.           v"zTwo Window Utilityv"z
  8949.                     This is for the die hard fans of the older, less
  8950.                     capable, two window utilities.  The Two Window
  8951.                     Utility is your basic idea of what a Directory
  8952.                     Utility should be.  One window to the left, One
  8953.                     window to the right and little flexibility, that
  8954.                     was until MegaD came along.
  8955.  
  8956.                     Select the Two Window Utility menu item.  If you
  8957.                     were running on the Workbench screen MegaD will
  8958.                     open a non-interlace screen for the two window
  8959.                     mode.
  8960.  
  8961.           v"zTwo Window And The Workbenchv"z
  8962.                     The two window mode can not coexist with the
  8963.                     Workbench screen.  It would cover the Workbench
  8964.                     making it useless.
  8965.  
  8966.                     If you were running under you own MegaD screen
  8967.                     MegaD will use that screen for the two window
  8968.  
  8969.  
  8970.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  8971.  
  8972.  
  8973.  
  8974.  
  8975.  
  8976.  
  8977.  
  8978.  
  8979.  
  8980.                                                         MegaD Menus 137
  8981.  
  8982.  
  8983.                     mode.
  8984.  
  8985.                     Things have been shuffled around in Two Window
  8986.                     mode.  If you had buffered directories, some of
  8987.                     those directories will have been placed into the
  8988.                     two windows other wise the windows will be empty.
  8989.  
  8990.           v"zCommand Gadget Locationsv"z
  8991.                     Across the bottom of the window you will find the
  8992.                     command gadgets that used to be arranged in the
  8993.                     same order as the keypad on the side of the
  8994.                     keyboard.  They are now in a 6 X 3 grid
  8995.                     arrangement with the 'Shift Gadgets' located just
  8996.                     above them in the center.  
  8997.  
  8998.           v"zDevice Gadget Locationsv"z
  8999.                     Above the 'Shift gadget' you will see your nine
  9000.                     device gadgets.  The 'Device Gadgets' have an
  9001.                     imaginary vertical line running right down the
  9002.                     center of them.  Lets say you want to load
  9003.                     'Tutorial' into the left window.  You should click
  9004.                     the "left half" of the 'Tutorial' gadget.  You
  9005.                     will see a momentary flash in the left half of the
  9006.                     'Tutorial' gadget (the left half will be
  9007.                     highlighted for a brief moment), and the Tutorial
  9008.                     directory will load into the left window.  Now, if
  9009.                     you wanted to load 'Ram Disk' into the right
  9010.                     window, you would click the "right half" of the
  9011.                     'Ram Disk:' gadget.  This time, the right half of
  9012.                     the Ram Disk gadget will momentarily highlight,
  9013.                     and the Ram Disk directory will load in the right
  9014.                     window.  The 'Lock' gadget will override this
  9015.                     feature.
  9016.  
  9017.                     At the top center are three gadgets. The top
  9018.                     gadget is the 'Free Volumes' gadget that functions
  9019.                     the same as the Free Volumes in the Control
  9020.                     Window.  
  9021.  
  9022.                     The second is a cycle gadget that can be cycled
  9023.                     from "Vol In Mem" that is the same as the 'Volumes
  9024.                     In Memory' in the Control Window to "Devices"
  9025.                     which is the same as the "Devices, Assigns and
  9026.                     Drives of the Control Window.  It can be cycled to
  9027.                     a new setting in the Two Window mode.  This
  9028.                     setting is "Directory".  The right window is
  9029.                     shared by these three lists.
  9030.  
  9031.                     The third is titled "Byte Info" that will bring up
  9032.                     the byte information that use to be displayed in
  9033.                     the center of the Control Window.  the Byte window
  9034.  
  9035.  
  9036.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  9037.  
  9038.  
  9039.  
  9040.  
  9041.  
  9042.  
  9043.  
  9044.  
  9045.  
  9046.                                                         MegaD Menus 138
  9047.  
  9048.  
  9049.                     once opened is interactive with MegaD and you may
  9050.                     use the Directory Window while it is opened.
  9051.  
  9052.           v"zTwo Window Modev"z
  9053.                     There is not a lot to say about this mode.  It is
  9054.                     easy to get used to but somewhat restrictive.  It
  9055.                     only allows you two windows to work out of.  There
  9056.                     is a way to force more windows out onto the
  9057.                     screen.  By locking both Directory Windows and
  9058.                     requesting a new directory, MegaD will have to
  9059.                     open a new window to place the directory in it.
  9060.  
  9061.                     As with all the other modes, play around with it
  9062.                     for a while to see how it works.
  9063.  
  9064.                     You have seen all the different modes that MegaD
  9065.                     can be placed into to help you navigate through
  9066.                     your volumes and directories. You should be able
  9067.                     to find one that suits your needs.  MegaD allows
  9068.                     you to switch modes with ease so that with some
  9069.                     tasks you may use a mode more suited for it.  I
  9070.                     suggest that you find the mode that you like best,
  9071.                     set it to that mode and save the preference file.
  9072.  
  9073.           v"zThe Show Menuv"z
  9074.                     The show menu is very self explanatory.  We have
  9075.                     changed it at times so that we could see different
  9076.                     file attributes.  MegaD will let you display all
  9077.                     the attributes or none of the attributes except
  9078.                     for the filename, the filename is always placed
  9079.                     into the listing of the Directory Window.  You may
  9080.                     uncheck or check the menu items to set what items
  9081.                     to format into the Directory Window.
  9082.  
  9083.           v"zSorting Directoriesv"z
  9084.                     The show menu also has a Sort sub menu that allows
  9085.                     you to sort the directories by any file attribute.
  9086.                     Or it will sort on None, this will display the
  9087.                     directory entries as they were read from the
  9088.                     volume.
  9089.  
  9090.                     All windows are not reformatted if the some of the
  9091.                     show menu items are changed.  Only the
  9092.                     'Dest'ination windows will reformat to show the
  9093.                     new settings.  If you wish to reformat all the
  9094.                     window to the new settings select the 'Show, Reset
  9095.                     All' menu item.
  9096.  
  9097.  
  9098.  
  9099.  
  9100.  
  9101.  
  9102.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  9103.  
  9104.  
  9105.  
  9106.  
  9107.  
  9108.  
  9109.  
  9110.  
  9111.  
  9112.                                               MegaD Icon Tool Types 139
  9113.  
  9114.  
  9115.                                    v"zMegaD Icon Tool Typesv"z
  9116.  
  9117.           (NEW 3.1)
  9118.                     MegaD supports the following tools types within
  9119.                     the MegaD Workbench icon.
  9120.  
  9121.           v"zAREXXSTARTUPv"z
  9122.                     If you wish to have special ARexx commands
  9123.                     executed each time you run MegaD, add this tool
  9124.                     type.  It will look for the program and if found
  9125.                     it will launch it as an ARexx task.  MegaD will
  9126.                     automatically look for MDARexxStart.rexx within
  9127.                     MegaD's current directory as a default.
  9128.                     Example: AREXXSTARTUP=MEGAD:MDAREXXSTART.REXX
  9129.  
  9130.           v"zCREATEICONSv"z
  9131.                     MegaD will create icons for all saved preferences
  9132.                     file.  If you do not want them created add this
  9133.                     tool type as: CREATEICONS=NO
  9134.  
  9135.           v"zMDPREFSv"z
  9136.                     When setting MegaD preferences, MegaD needs access
  9137.                     to the MDPrefs program.  If it is in MegaD's
  9138.                     current directory, MegaD will have not problem
  9139.                     finding it.  If you feel that you need MDPrefs in
  9140.                     its own directory or on another disk, you will
  9141.                     need to set this tool type.
  9142.                     Example: MDPREFS=MEGAD:MDPREFS
  9143.  
  9144.           v"zSETTINGSv"z
  9145.                     If you wish MegaD to find the preferences files in
  9146.                     other than the MegaD's current directory, you will
  9147.                     need to set this to point to the path of the
  9148.                     directory.  MegaD always loads 'MegaD2.pf' files
  9149.                     at startup if it can be found.  If you wish to
  9150.                     have this in a separate directory, set this tool
  9151.                     type.
  9152.                     Example: SETTINGS=MEGAD:
  9153.  
  9154.           MDGUIDE
  9155.                     If you wish MegaD to find the MegaD.Guide file in
  9156.                     other than MegaD's current directory, You will
  9157.                     need to set this to point to that file.
  9158.                     Example: MDGUIDE=MEGAD:DOCS/MegaD.Guide
  9159.  
  9160.  
  9161.  
  9162.  
  9163.  
  9164.  
  9165.  
  9166.  
  9167.  
  9168.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  9169.  
  9170.  
  9171.  
  9172.  
  9173.  
  9174.  
  9175.  
  9176.  
  9177.  
  9178.                                                           Now What? 140
  9179.  
  9180.  
  9181.                                          v"zNow What?v"z
  9182.  
  9183.                     We have touched base on all the aspects of MegaD.
  9184.                     There is no way that we can describe all the
  9185.                     different ways MegaD can be arranged.  As you have
  9186.                     seen MegaD has been made to be fine tuned to the
  9187.                     users wishes.
  9188.  
  9189.                     By now, you should have a basic knowledge of how
  9190.                     MegaD works.  You should be able to perform any
  9191.                     task you want with MegaD.  If MegaD can't do what
  9192.                     you want with one of its built-in commands, you
  9193.                     should be able to add an external command to it to
  9194.                     do it.
  9195.  
  9196.                     You should be able to change any display attribute
  9197.                     that MegaD uses, from major settings such as
  9198.                     screens, to the simple setting of dates displayed
  9199.                     in the directory listings.
  9200.  
  9201.                     You should be able to modify any file attribute
  9202.                     you wish.  Copy, Move, Delete,... files and
  9203.                     directories one at a time or in large groups.
  9204.  
  9205.                     You should be able to create a listing of a
  9206.                     directory, create a label for your disk or create
  9207.                     a database export file for your database.
  9208.  
  9209.                     You should be able to use directory patterns to
  9210.                     reduce large listings down to a refined list to
  9211.                     select from.  The same type of patterns can be
  9212.                     used to select items with or to search deep within
  9213.                     volumes and directories.
  9214.  
  9215.                     You many want to look through the MegaD.Doc file
  9216.                     if you have not done so.  There is information in
  9217.                     there on how to use the dictionary file that
  9218.                     allows you modify any displayed information that
  9219.                     MegaD uses.  If you feel that a title or message
  9220.                     would be better written another way you may change
  9221.                     it.  Almost everything else we have covered here.
  9222.                     The Rambling_on file may offer some other answers
  9223.                     that are still not apparent.  This file is a
  9224.                     collection of questions and answers that have been
  9225.                     asked about MegaD.
  9226.  
  9227.           END OF TEXT
  9228.  
  9229.           END OF TEXT
  9230.  
  9231.  
  9232.  
  9233.  
  9234.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  9235.  
  9236.  
  9237.  
  9238.  
  9239.  
  9240.  
  9241.  
  9242.  
  9243.  
  9244.                                                               Index 141
  9245.  
  9246.  
  9247.                                            v"zIndexv"z
  9248.  
  9249.           'Dest'ination  16, 21-22, 33, 38, 46, 49, 51-54, 56-59, 61,
  9250.           70, 93, 113, 138
  9251.           'Volumes In Memory'  8, 10, 19, 41, 44-47, 115, 132-133, 137
  9252.           1.3 Iconify  41
  9253.           1.3/2.0 Color Switch  117
  9254.           1000 Separator  123
  9255.           12 Hour Clock  123
  9256.           2.0 Iconify  41
  9257.           Abort Drag Select  24
  9258.           Accept Input From a file or device  80-81
  9259.           Accessing Menus  23
  9260.           Action Warnings  51
  9261.           Activating a Filter  64
  9262.           Active Directory  7, 12-13, 17, 33, 51-52, 91, 93, 99, 119
  9263.           Active Window  11, 18, 22-24, 51-52, 99, 110, 118-119
  9264.           Active Window To Front  18, 119
  9265.           Add AutoBoot Command  73
  9266.           Add AutoBoot Skips Icon Files  74
  9267.           Add Display Command Gadget  87
  9268.           Add, Delete Menu Set Gadgets  99
  9269.           Adding A Menu Set  99
  9270.           Adding Archive List Command  87
  9271.           Adding User Gadgets  90
  9272.           After Date Filter  66
  9273.           Anatomy Of The Program Control Window  75
  9274.           Another Reason to Switch to Workbench 2.0  92
  9275.           Application Menu  43
  9276.           AREXXSTARTUP  139
  9277.           Auto 'Dest'ination  51
  9278.           Auto Destination  32, 52
  9279.           Auto Labels  44
  9280.           Auto resize windows  118
  9281.           Auto Save when Quit  29
  9282.           Auto Text Window Scroll  35
  9283.           Auto update windows  118
  9284.           AutoBoots  2, 4-5, 39, 42, 72, 75, 82, 84-90, 125
  9285.           Available Memory  12
  9286.           Back To Adding AutoBoots  5
  9287.           Before Date Filter  66
  9288.           Buffered Directories  8-9, 12, 38, 41, 133, 137
  9289.           Buffered Volume List  9
  9290.           Buffering a Full Volume  41
  9291.           Building a Set Preference Gadget Set  105
  9292.           Byte Info Icon Gadget:  17
  9293.           Calculating Directory Sizes  40
  9294.           Calling your new 'Gadget Set' window  110
  9295.           Cancel print jobs  47
  9296.           Check Gadgets  32, 75, 82, 123
  9297.           Clear By Pattern  71
  9298.  
  9299.  
  9300.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  9301.  
  9302.  
  9303.  
  9304.  
  9305.  
  9306.  
  9307.  
  9308.  
  9309.  
  9310.                                                               Index 142
  9311.  
  9312.  
  9313.           Clear Pattern Function  60
  9314.           Close once used  105-106
  9315.           Close the Defaults Window  129
  9316.           Close Window Gadget  23
  9317.           Color Conflict  117
  9318.           Combine all selected on one line  75-76, 83, 86-87, 96, 99
  9319.           Command Gadget Locations  137
  9320.           Command Lines and Program Controls  80
  9321.           Confirm quit  118
  9322.           Console window string  80
  9323.           Copy and Rename a File  55
  9324.           Copy/Format Program Control  128
  9325.           Copying Commands  125
  9326.           Copying Directories  54
  9327.           Copying Files  53
  9328.           Copying Groups of Files and Directories  54
  9329.           Create a Tutorial Disk  19
  9330.           Create Directory  33
  9331.           Create Master Dictionary  128
  9332.           CREATEICONS  139
  9333.           Creating a Gadget Set  103
  9334.           Creating A New Menu Set  99
  9335.           Creating ARexx Program Controls  95
  9336.           Current Directories  91
  9337.           Date Format                           The Date format gadget
  9338.           Cycles though mm/dd/yy  123
  9339.           Decimal is comma  123
  9340.           Define Gadget Set Window  103, 106
  9341.           Defining a Hot Key  108
  9342.           Delete Command  29, 32
  9343.           Delete Hot Key  109
  9344.           Destination Area  84, 125
  9345.           Destination Gadgets  84, 110
  9346.           Destination Window Definition  51
  9347.           Device Gadget Locations  137
  9348.           Device Gadgets  7, 10-11, 17-18, 27-29, 52, 56, 98, 102,
  9349.           127, 137
  9350.           Device Gadgets keyboard Equivalent  11
  9351.           Device Icon Gadget:  17
  9352.           Device List  8-9, 132
  9353.           Device Scroll Gadget  11
  9354.           Device String Gadget  11, 29
  9355.           Dictionary filename  128
  9356.           Dir User Gadget  92
  9357.           Directory listing order  123
  9358.           Directory listings  3, 45, 124, 140
  9359.           Directory Windows  3, 5, 16, 21, 23, 32, 37-38, 40, 43-45,
  9360.           47, 51-53, 56-59, 70, 75, 88-90, 105, 111, 113, 118, 121,
  9361.           124, 129, 132-133, 135, 138
  9362.           Disk Labels  43, 45
  9363.           Display file, directories, bytes  118
  9364.  
  9365.  
  9366.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  9367.  
  9368.  
  9369.  
  9370.  
  9371.  
  9372.  
  9373.  
  9374.  
  9375.  
  9376.                                                               Index 143
  9377.  
  9378.  
  9379.           Display memory, date, time  118
  9380.           Display Protect Bits  32
  9381.           Double Click Directory  24
  9382.           Double Click File  24
  9383.           Double Click Item  24
  9384.           Double Click Text File                  35
  9385.           Drag Select Items  24
  9386.           Drop a Disk Icon.  42
  9387.           Drop a Drawer Icon  42
  9388.           Drop a Program Icon  42
  9389.           Drop a Project Icon  42
  9390.           Drop a Text File Icon  42
  9391.           Dropping icons onto the Application Icon  42
  9392.           Duplicate  3, 39-40, 45, 54, 57, 125
  9393.           Duplicate a File  39
  9394.           Duplicate Disk Labels  45
  9395.           Elements of a Filter  61
  9396.           Empty Directories  41
  9397.           Empty Fields  114
  9398.           Exact Size Filter  65
  9399.           Execute type cycle gadget  78
  9400.           Export File  2, 5, 102, 113-115, 140
  9401.           F10 Closes Control Window  105, 121
  9402.           Field Sizes  113
  9403.           Field/Record Separators  114
  9404.           File Comments  36, 132
  9405.           Filter + Function  60
  9406.           Filter -  60, 62, 70
  9407.           Filter Requestor  60-61, 64, 66, 68, 70-71
  9408.           Filters and Pattern Matching  4, 60
  9409.           Final Warning  30
  9410.           Find  4-5, 14, 18, 23, 27-28, 33-34, 37-40, 46-50, 52-53,
  9411.           56-57, 60, 62, 70-71, 75, 83-86, 88, 91, 96, 98, 103, 107-
  9412.           108, 114, 116, 121, 125, 128, 130, 137-139
  9413.           Find Function  60
  9414.           Find List Of Directory Items  71
  9415.           Fixed  104-105, 134-135
  9416.           Flags to add after Program Name  79, 81, 88, 98, 100-101
  9417.           Force Update Directory Windows To show Changes  124
  9418.           Forced Destination  77
  9419.           Forcing More Windows  136
  9420.           Free Volumes Gadget  8, 23
  9421.           Freeing Buffered Volumes  9
  9422.           Gadget Set Title  103
  9423.           Gadgets Across  104
  9424.           Gadgets Down  104, 106
  9425.           Global Filter  70
  9426.           Go Deep  12, 40-41, 60, 70
  9427.           Greater Than Size Filter  65
  9428.           Hot Key Qualifiers  108
  9429.           Hot Key Window  108
  9430.  
  9431.  
  9432.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  9433.  
  9434.  
  9435.  
  9436.  
  9437.  
  9438.  
  9439.  
  9440.  
  9441.  
  9442.                                                               Index 144
  9443.  
  9444.  
  9445.           Hot Keys are not global  109
  9446.           How Shift Click Works  16
  9447.           Icon Gadgets  17-18
  9448.           Iconify  41-43, 119
  9449.           Iconify at start  119
  9450.           In/Out Filter Gadget  61
  9451.           Information Area  7, 12, 118
  9452.           Inner Window Height  103-104, 106
  9453.           Inner Window Width  103-104
  9454.           Keep active window to front  119
  9455.           Keep to front  105
  9456.           Keypad Banks  14
  9457.           Keypad Gadgets  14, 18, 30, 75, 82, 84, 87-88, 90-91, 96,
  9458.           110, 120, 125-126
  9459.           Keypad Icon Gadget:  17
  9460.           Know Your System  73
  9461.           Label Align  44
  9462.           Label height  130
  9463.           Label Modify  45
  9464.           Label width  130
  9465.           Last Active Window Destination  52
  9466.           Last active window is destination  119
  9467.           Less Than Size Filter  64
  9468.           Loading a text file  33
  9469.           Loading Directories From the Device List  132
  9470.           Loading selected items from the Device List  9
  9471.           Loading the copy of your Workbench disk  20
  9472.           Lock Gadget  21-22, 57
  9473.           Main Control Window  7, 11, 19, 21, 29, 105, 118-119, 122
  9474.           Making A List Menu  100
  9475.           Making A Pack Menu  99
  9476.           Making A Recursive Menu  101
  9477.           Making A Test Menu  101
  9478.           Making an UnPack Menu Set  100
  9479.           Manipulating Multiple Text Windows  36
  9480.           Manual Label  44-45
  9481.           MDPREFS  28, 105, 109, 111, 116, 139
  9482.           MegaD List Area  8
  9483.           MegaD Menus  2, 5, 132
  9484.           MegaD Preferences  2, 5, 28, 52, 105, 107, 109-110, 112,
  9485.           116-118, 123, 125, 127-128, 130-131, 139
  9486.           MegaD Preferences window  28
  9487.           MegaD screen to front at end  77, 83
  9488.           MegaD Windows  4, 109, 117
  9489.           MegaD's Spooler  47
  9490.           Menu Button Scroll  23
  9491.           Menu Set Program Control  98
  9492.           Menu Sets  2, 4-5, 42, 72, 75, 84, 93, 98-102, 125, 127
  9493.           Messages off  119
  9494.           Mixing Multiple Filters  68
  9495.           Modify or Delete Program Controls  93
  9496.  
  9497.  
  9498.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  9499.  
  9500.  
  9501.  
  9502.  
  9503.  
  9504.  
  9505.  
  9506.  
  9507.  
  9508.                                                               Index 145
  9509.  
  9510.  
  9511.           Move and Rename   58
  9512.           Moving 'Rigid' windows  111
  9513.           Moving Directories  56
  9514.           Moving Files  12, 55
  9515.           Moving the Control Window to the front  18
  9516.           Multiple AutoBoot Window  87
  9517.           Multiple Destination And Source Directories  58
  9518.           Multiple Text Windows  3, 35-36
  9519.           Multitasking execute  78, 88, 91-92, 99-101
  9520.           Multitasking Execute W/Hold  78, 88, 92, 100-101
  9521.           Multitasking Workbench (NO I/0)  76, 79
  9522.           Navigating Through Multiple Directory Windows  57
  9523.           Next/Previous Step Gadgets  98
  9524.           Open at startup  105, 111, 122
  9525.           Open/Close All  132
  9526.           Opening Directory Windows From Selected Directories  133
  9527.           Opening Two Directory Windows  52
  9528.           Opening windows from the Volumes In Memory List  133
  9529.           Order of file information  123
  9530.           Output File  10, 45-47, 80
  9531.           Output Format  46
  9532.           Output Prt  10, 47
  9533.           Overlap Locations  118, 133, 135
  9534.           Overriding Auto Destination  52
  9535.           Panic button window  120
  9536.           Panic Window  30-31, 41, 120
  9537.           Parent Gadget  21
  9538.           Parse.rexx  96-97
  9539.           Path and Program Name String Gadget  79, 91-92, 100-101
  9540.           Place Program on MegaD Screen  78
  9541.           Place Program on Workbench Screen  78
  9542.           Place tool icon & menu on Workbench  119
  9543.           Possible Screens  131
  9544.           Possible Uses of File Extension  74
  9545.           Print spoolers  130
  9546.           Printing Text Files  47
  9547.           Program Control Window  2, 4, 72, 74-75, 79, 81, 86, 88, 91-
  9548.           92, 98-99, 128
  9549.           Program Control Window, String Gadgets.  79
  9550.           Protection Bits  31-32, 62, 67, 132
  9551.           Query for 'Flags to add'  78
  9552.           Query for 'Text to append'  78
  9553.           Query for destination filename  77, 81, 99, 101
  9554.           Quick color copy  110
  9555.           Quick Command Access  14
  9556.           Quitting MegaD  43
  9557.           Redirect Output to a file or device  79, 81
  9558.           Reformat Directory Windows  32
  9559.           Relabel  10, 26-27
  9560.           Relabel under 1.3  26
  9561.           Relabel under 2.0 and Using MegaD  26
  9562.  
  9563.  
  9564.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  9565.  
  9566.  
  9567.  
  9568.  
  9569.  
  9570.  
  9571.  
  9572.  
  9573.  
  9574.                                                               Index 146
  9575.  
  9576.  
  9577.           Reload current directory at end  77, 91-92, 99-101
  9578.           Rename  3, 27, 31, 55, 58
  9579.           Replace File Warning  53
  9580.           Return keypad to unshifted  120
  9581.           Rigid  104-105, 111, 113
  9582.           Rigid and Open at startup  105
  9583.           Save defaults at closing  120
  9584.           Save window positions  120
  9585.           Save Your Work  86, 101
  9586.           Screen control Cycle gadget  78
  9587.           Scrolling List Area  21, 23
  9588.           Searching Text Files  48
  9589.           Select By Pattern  71
  9590.           Select Pattern Function  60
  9591.           Select Volumes for making a listing  10
  9592.           Select/Clear AutoBoot Window  89
  9593.           Select/Clear commands  38
  9594.           Selected Directories  9, 40-41, 46, 60, 70, 75, 82, 86, 88,
  9595.           90, 100-101, 132-133
  9596.           Selecting Items  10, 24
  9597.           Selecting Menu Sets  98
  9598.           Selecting The Data Files  73
  9599.           Selecting The Executable  73
  9600.           Set Keypads Window  84, 90-91, 93, 95, 103, 108, 125
  9601.           Set Protect  3, 29, 31-32, 67
  9602.           Set Show Comment  37
  9603.           Set Show Size  40
  9604.           Set the Filter Type Gadget First  65
  9605.           Setting AutoBoots As Command Gadgets  82
  9606.           Setting gadget colors  110
  9607.           Setting Multiple Comments  37
  9608.           Setting Snapshot  135
  9609.           Setting the device gadgets  27
  9610.           Setting Up Export  113
  9611.           Setting Volume and Window Limits  134
  9612.           SETTINGS  5, 28, 32, 45, 64-65, 75, 86, 104, 109-110, 114,
  9613.           116-117, 130-131, 134, 138-140
  9614.           Shift Click Window Command  15-16
  9615.           Simple Commands  2, 4, 26, 29
  9616.           Simple Commands And MegaD  2, 4, 26
  9617.           Simple refresh windows  120
  9618.           Single Select Item  24
  9619.           Sizing Window  104
  9620.           Skip .info files  75, 83, 86, 88, 90, 92, 100-101
  9621.           Skip selected directories  75, 82, 86, 88, 90, 100-101
  9622.           Skip selected files  75, 82, 90, 92
  9623.           Sorting Directories  138
  9624.           Source and Destination Commands  2, 4, 51
  9625.           Source Area  91, 93-94, 103, 106-108, 110, 125
  9626.           Source icon for directories  128
  9627.           Source Window Definition  51
  9628.  
  9629.  
  9630.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  9631.  
  9632.  
  9633.  
  9634.  
  9635.  
  9636.  
  9637.  
  9638.  
  9639.  
  9640.                                                               Index 147
  9641.  
  9642.  
  9643.           Stack size  80
  9644.           Swap Device Gadgets for Menu Gadgets  102
  9645.           Take A Snapshot  135
  9646.           Testing the Reload Current Directory  93
  9647.           Text Reader  33
  9648.           Text to append to end of command line  79, 98
  9649.           Text Window Keys  34
  9650.           Text Window Menu  34
  9651.           Text Window Parts  34
  9652.           The anatomy of a directory window  21
  9653.           The Show Menu  61, 132, 138
  9654.           Title String Gadget  79, 91-92, 99-101, 106
  9655.           Two Window And The Workbench  136
  9656.           Two Window Mode  22-23, 126, 136-138
  9657.           Two Window Utility  136
  9658.           Un-Ghosting The Activate Gadget  64
  9659.           Under Mouse  104, 106
  9660.           Update Dir  37-38, 124
  9661.           Use Grid Locations  133-134
  9662.           Use Snapshot  133, 135-136
  9663.           Use Today / Yesterday  123
  9664.           User Gadget Program Control  90
  9665.           User Gadgets  2, 4-5, 42, 72, 75, 84, 90, 92-93, 95, 125
  9666.           Using an AutoBoot  83-84
  9667.           Using an AutoBoot As A Command Gadget  84
  9668.           Using Date filters  65
  9669.           Using Filter Out  64
  9670.           Using Name filters  62
  9671.           Using Protect filters  67
  9672.           Using Size filters  64
  9673.           Using the Tutorial Disk  27
  9674.           Verify Title And Path/Name  91
  9675.           View Text Program Control  128
  9676.           View Text tab width  129
  9677.           View Text word wrap  129
  9678.           Warn before copy  121
  9679.           Warn before delete  121
  9680.           Warn before launch  77
  9681.           Warn before move  121
  9682.           Warn if deleting protected file  121
  9683.           Warn if replacing file  121
  9684.           Warn if replacing larger file  121
  9685.           Warn if replacing newer file  121
  9686.           Warn if replacing preferences file  121
  9687.           We are the teachers  88
  9688.           What Is MegaD  19
  9689.           When You Need A Current Directory  92
  9690.           Why Snapshot  135
  9691.           Why User Gadgets?  90
  9692.           Wildcards Pattern  62
  9693.           Window locations  133, 135-136
  9694.  
  9695.  
  9696.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  9697.  
  9698.  
  9699.  
  9700.  
  9701.  
  9702.  
  9703.  
  9704.  
  9705.  
  9706.                                                               Index 148
  9707.  
  9708.  
  9709.           Window Type  104-106
  9710.           Windows Menu  132
  9711.           Work without selected items  75, 83, 92
  9712.           Workbench screen to front at start  76, 83
  9713.           Working in the Same Volume  57
  9714.  
  9715.  
  9716.  
  9717.  
  9718.  
  9719.  
  9720.  
  9721.  
  9722.  
  9723.  
  9724.  
  9725.  
  9726.  
  9727.  
  9728.  
  9729.  
  9730.  
  9731.  
  9732.  
  9733.  
  9734.  
  9735.  
  9736.  
  9737.  
  9738.  
  9739.  
  9740.  
  9741.  
  9742.  
  9743.  
  9744.  
  9745.  
  9746.  
  9747.  
  9748.  
  9749.  
  9750.  
  9751.  
  9752.  
  9753.  
  9754.  
  9755.  
  9756.  
  9757.  
  9758.  
  9759.  
  9760.  
  9761.  
  9762.               MegaD 3.1 Tutorial, Copyright ⌐ 1992 - 1993 John L. Jones
  9763.  
  9764.  
  9765.  
  9766.  
  9767.  
  9768.  
  9769.