home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 1 / af001.adf / DoTil / Dotil.Doc < prev    next >
Text File  |  1988-11-13  |  11KB  |  217 lines

  1. DoTil Revision 2.0   March 28, 1987
  2.  
  3. Directory  utilities  seem  to  be  a popular item.  Many of us spend a large
  4. proportion of our console time rooting through our disks trying  to  maintain
  5. some  semblance  or  order.  This means a lot of typing of obscure file names
  6. and directory paths which end up being wrong  more  often  than  not.   DoTil
  7. hopes,  or  at least pretends, to make those file maintenance chores a little
  8. easier.  
  9.  
  10. DoTil will list, in alphabetical order, all files on any two directories.  It
  11. will  show  the file size, creation date or time, and the amount of free disk
  12. space.  It will copy, rename and delete files, create or  delete  directories
  13. and  move  one  or more files from one directory to another.  It will even do
  14. some of the things it can't do itself using the COMMAND feature.  
  15.  
  16. Most of the program is intuitively obvious like a good Amiga  program  should
  17. be.  There are some points which require the inevitable clarifications.  
  18.  
  19. GETTING STARTED...  
  20.  
  21. Start  the program from WorkBench or CLI.  The RAM: disk is displayed in both
  22. 'windows'.   The  left  window  is  the  source,  the  right  window  is  the
  23. destination.  The copy gadget >>>-COPY->> is a not so subtle reminder of this
  24. relationship.  
  25.  
  26. Unlike Revision 1.0 of DoTil, Revision 2.0 will not change  the  location  of
  27. the  source and destination 'windows'.  Immediately below each window are the
  28. drive gadgets.  Select one to display the root directory of  a  disk.   Files
  29. are  displayed in 'white' letters, directories in 'orange'.  These colors may
  30. vary depending on your Preferences.  
  31.  
  32. The total size of all files in the source directory is  displayed  above  the
  33. source window.  The destination window shows the space available.  This value
  34. is ALWAYS zero for the RAM: disk.  Select a directory in the source window by
  35. clicking on it.  The directory will be loaded and displayed.  Notice that the
  36. Total is updated to reflect the contents of the source directory.  
  37.  
  38. Also notice the path name displayed  in  the  Source  string  gadget  located
  39. immediately  below  the drive gadgets.  The GP (GetParent) gadget may be used
  40. to return to the parent directory.  Now select a single file  in  the  source
  41. directory.   The  file  is highlighted, the name appears in the Source string
  42. gadget, and the size of the file is now the Total.  Total will show the total
  43. size of all selected files in the source directory.  The Source string gadget
  44. will show the path AND name if only one file is selected, otherwise it  shows
  45. the path only.  
  46.  
  47. Select  some  more files and note the Total size.  This value may be compared
  48. to the Space Available to see if there is enough room on the destination.  It
  49. does  NOT  take  into acount any files on the destination which have the same
  50. name and will be written over.  Select the Copy gadget (or use the Copy  menu
  51. item)  to  copy  the files.  The Message area will display each file as it is
  52. copied, and the total number copied when the command is  complete.   So  much
  53. for getting started.  
  54.  
  55. MENUS
  56.  
  57. The menus provide most of the additional features of DoTil.
  58.  
  59. The Windows menu allows the CONTENTS of the source and destination windows to
  60. be swapped.  The contents of both windows may be made identical using the 
  61. S -> D and D -> S menu items.  
  62.  
  63. The  Actions  menu  items  do most of the work.  All files may be selected or
  64. cleared (deselected).  COPY, RENAME, MOVE, and  DELETE  are  activated  here.
  65. Note  that  some  actions  require a single path (delete for example) and are
  66. only operative on the source window.  See the discusion of DELETE, MAKE  DIR,
  67. and VIEW below.  
  68.  
  69. The  Options  menu  items allow various program options to be changed.  Files
  70. are normally deselected after a command.  Sometimes it is useful to leave the
  71. files  selected  so  they  may be deleted.  This insures that only the copied
  72. files are deleted.  Select this option using the After Copy menu  item.   The
  73. date  or  time  of  all  files in the source or destination may be displayed,
  74. instead of the file size, using the Info menu  item.   Last  but  not  least,
  75. directories  may be selected rather than loaded using Select Directory.  This
  76. is necessay in order to delete or rename a directory.  
  77.  
  78. COMMAND picks up where DoTil leaves off.   The  VIEW  item  allows  ASCII  or
  79. binary  files  to be displayed.  A single file must be selected in the source
  80. window prior to using the VIEW command.  This is an internal command and does
  81. not  require  any  external  files.   The  S  to  Command  and  D  to Command
  82. concatenates the contents of the Source or Destination string gadget  to  the
  83. Command  string  gadget.  The Execute item will 'Execute' the contents of the
  84. Command string gadget as if it had been typed in from CLI.  This feature  may
  85. be  used to run ShowILBM or do an Info, without exiting to CLI.  This command
  86. has some important restrictions as discussed below.  
  87.  
  88. MOVE and RENAME
  89.  
  90. These two commands actually do the  same  thing.   The  destinction  is  that
  91. RENAME  changes  the  name of a single file.  MOVE changes the path of one or
  92. move files by using the AmigaDOS Rename()  function.   In  either  case,  the
  93. source  and  destination device must be the same.  To RENAME, select the file
  94. in the source window.  Now select the same file (in the  same  directory)  in
  95. the destination window.  The S -> D menu item may be used to expedite getting
  96. the same path in both windows.  The Source  and  Destination  string  gadgets
  97. should  now  contain  the  file  name,  if not, be sure that only one file is
  98. selected in each window.  Now select the Destination string gadget  and  edit
  99. the  file name.  Press RETURN and select the Rename menu item.  The file need
  100. not be actually selected in the destination window, as long as the paths  are
  101. the same.  
  102.  
  103. The MOVE command is easier.  Select a destination directory ON THE SAME DISK.
  104. Select as many source files as you wish and then select the Move  menu  item.
  105. The files will disappear from the source and appear in the destination.  This
  106. is so handy for organizing disks that I  rarely  bother  to  create  seperate
  107. directories  until  the  disk  becomes  cluttered.   Then  I  make   whatever
  108. directories I need and move everything around as appropriate.  
  109.  
  110. TIPS, TRICKS and CAVEATS
  111.  
  112. Coping to a New Name:
  113.  
  114. Select a source and destination directory and then select a  SINGLE  file  in
  115. the  source.   Select the Destination string gadget and type in the new name.
  116. Select the Copy gadget and it's done.  This is  really  useful  for  changing
  117. Icons.   Want  to  use  a  fancy  new Drawer gadget?  Select it in the source
  118. window, and then select the .info file for a  directory  in  the  destination
  119. window.   No  editing is necessary since the new file name will already be in
  120. the destination string gadget.  Do the copy and select  the  .info  file  for
  121. another  directory.  If the Leave Files Selected option is on you can do this
  122. again and again until all the directories have new drawer gadgets.  
  123.  
  124. DELETE, MAKE DIR, VIEW
  125.  
  126. These functions do not require a 'destination'.  A single path is all that is
  127. needed, obviously.  Only the 'Source' path is valid for these commands.  This
  128. is the main reason for the WINDOWS menu list.  Want to delete a file  on  the
  129. 'Destination' to make room for the file you are about to copy?  You must make
  130. that 'window' the 'Source' first using the Swap menu item.  Delete the  file,
  131. and SWAP again.  You are ready to copy.  
  132.  
  133. Manual Input:
  134.  
  135. The  Source  and Destination string gadgets may be used to manually enter the
  136. path and file name.  Do this ONLY if you are using RENAME,  coping  a  SINGLE
  137. file,  or  using  VIEW.  Program variables are used to maintain the 'current'
  138. device and path when performing other tasks and anything you have typed  into
  139. the  string  gadgets will be ignored.  This is not much of a limitation since
  140. the whole point of DoTil is to avoid typing things.  If it  seems  confusing,
  141. just remember:  
  142.  
  143.    If you can select it with the mouse, do so.
  144.    Otherwise, type it in.  It WILL work.
  145.  
  146. Standard Output:
  147.  
  148. DoTil  may  be run either from WorkBench, or from the CLI.  If the program is
  149. executed from CLI, it will use the CLI window  for  standard  output.   DoTil
  150. itself  does  not use the standard output except for a few hopefully never to
  151. be seen error messages.  Any program executed using the COMMAND feature  will
  152. use the CLI window just as if it had been run directly from CLI.  If DoTil is
  153. run from WorkBench however, a little window is opened for use as the standard
  154. output.   This  window will be located behind DoTil, and must be made visible
  155. using the depth gadgets if you want to see what you are doing.  
  156.  
  157. Commands:
  158.  
  159. The COMMAND feature will let you run ED or EMACS.  You can do an INFO or  use
  160. SHOWILBM.   The  program  need not reside in the 'c' directory as long as you
  161. specify the path.  The path for ANY data files MUST be provided because there
  162. is  no 'current' directory.  Most important, there is NO standard input.  You
  163. can provide redirection just as you would with CLI, but  unless  the  program
  164. performs its own input (ED,EMACS), you won't be able to enter anything.  This
  165. has some drastic implications.  You can use the FORMAT command, but  you  had
  166. better be sure you specify the proper drive because the program will go right
  167. by the ENTER RETURN prompt and start formatting immediately!  Experiment with
  168. caution.   Perhaps  someone  who  understands  the  Execute()  function   can
  169. enlighten me as to how to  pass  the  standard  input  along  to  the  called
  170. program.   To  clear  the Command string gadget, select it with the mouse and
  171. press Right Amiga X.  
  172.  
  173. NOTE:  SHOWILBM and ARC will work from DoTil, but ONLY if it is run from CLI.
  174. I  cannot explain this.  Perhaps the folks at LATTICE know something I don't.
  175. I wouldn't be surprised.  
  176.  
  177. Limitations:
  178.  
  179. You can not select files in more than one directory.
  180.  
  181. A directory may only hold 150 files.
  182.  
  183. The Source,  Destination  and  Command  string  gadgets  are  limited  to  53
  184. characters.  
  185.  
  186. The DF2: and DH0: devices have not been tested.
  187.  
  188. VIEW  will  not process TABS correctly, and will not advance to the next page
  189. with any accuracy.  It is better than nothing.  
  190.  
  191. Contributions:
  192.  
  193. Please send your check or money order to:
  194.  
  195.                Dan Franki
  196.                12306 Tomanet Trail
  197.                Austin, Texas  78758
  198.  
  199. When I have the source in a condition I consider distributable, I  will  make
  200. it available to all.  DoTil owes a lot to other peoples programs from which I
  201. have borrowed shamelessly.  Send me a disk (and a little money) if  you  just
  202. can't wait.  
  203.  
  204. Last but not least, this important announcement:
  205.  
  206. DoTil may be freely copied and used by anyone provided that:
  207.  
  208.    The party providing the copy recieves no fee or other
  209.    compensation excluding club membership dues or media charges.
  210.  
  211.    This documentation file is included in its original form.
  212.  
  213. The  author makes no claims as to the suitablity or accuracy of this program.
  214. Any damage resulting from the use of DoTil is the sole responsibility of  the
  215. user.  
  216.  
  217.