home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 632.lha / BrowserII_v2.04demo / BrowserII.tutorial2E < prev    next >
Text File  |  1992-04-27  |  7KB  |  265 lines

  1. BrowserII. Tutorial ( cont'd ).
  2.  
  3. We assume that you have sent your contribution to the authors, and
  4. that consequently you are running version 2.02 or higher.
  5.  
  6. This second part of the tutorial will be less "step-by-step", you
  7. should have gone through the first part and at least have glanced
  8. through the doc.
  9.  
  10.  
  11. 2. Advanced functions.
  12.  
  13. Through three exercises, we are going to look into some interesting
  14. capabilities of BrowserII.
  15.  
  16. In what follows, we will use the following semantics:
  17.  
  18.  
  19. ACT BrowserII->Options->Windows AutoZoom
  20. means: activate a menu item, or verify that an option in
  21.        a menu is checked
  22.  
  23. CMD dir opt a
  24. means: bring up the Command requester through
  25.        BrowserII->Command or Right Amiga - C
  26.        then type the commant text in it and click OK or press CR
  27.  
  28. There is still a copy of your Workbench disk in df0:
  29. We call it "MyWorkbench".
  30.  
  31. In the BrowserII->Options submenu, the following items are checked:
  32.  
  33. Keep Selected
  34. Toggle Selections
  35. Move Files into Subdirectories
  36. Ask before moving Files into Subdirectories
  37. Asynchronous Action
  38. Windows AutoZoom
  39.  
  40. In the Browser->Cmd Mode menu, Shell is checked.
  41.  
  42.  
  43. 2.1. Asynchronous mode.
  44.  
  45. Please perform:
  46.  
  47. CMD dir > ram:tutu df0: opt a
  48. CMD list > ram:toto df0:c
  49.  
  50. You don't need to wait for the first command to finish before to
  51. launch the second one. The proof of their simultaneous operation
  52. is in the bad grinding noise coming out of your df0: drive.
  53.  
  54. This is a rather dumb action, but it shows the point.
  55.  
  56. Let's do something more sensible.
  57.  
  58. CMD dir > ram:tutu df0: opt a
  59.  
  60. While this command executes, go look in the Ram Disk for the contents
  61. of the Ram:tutu file, by selecting the appropriate line and
  62. launching the editor through the menus, like we did in the first
  63. part of the tutorial.
  64.  
  65. You see here a big difference between BrowserII and most Directory
  66. Utilities, which can generally perform only one task at the time.
  67.  
  68. You will be able to do simultaneously such things as copying
  69. from one drive to another, format diskettes, move files etc., the
  70. number of simultaneous actions is not limited to two.
  71.  
  72.  
  73.  
  74. 2.2. The gauges on the left boarder of the windows.
  75.  
  76. A little bit of preparation.
  77.  
  78. Let's create in the Ram Disk a directory calles ApplePie, which
  79. will contain 4 files named q1 to q4.
  80.  
  81. Open the Ram Disk window.
  82.  
  83. ACT Actions->Makedir   ApplePie
  84.  
  85. In ApplePie, create with Ed or any editor a file saved as q1
  86. which contains any short length of text.
  87.  
  88. Open the ApplePie window, a file q1 sits there.
  89.  
  90. ACT Actions->Duplicate
  91.  
  92. in the requester, change q1 to q2 and click OK.
  93.  
  94. The same way, create the q3 and q4 files.
  95.  
  96. Put in df0: a freshly formatted disketted, named e.g. MyDisk.
  97. Open its window.
  98.  
  99. We are ready to look at the gauges.
  100.  
  101.  
  102. 2.2.1. Left gauge.
  103.  
  104. Look at the leftmost gauge in the various windows.
  105.  
  106. In the Ram Disk window, it shows "full" ( I won't talk about
  107. colors, because of the color mixup between 1.3 and 2.0 ).
  108.  
  109. That's OK, the Ram Disk is always full, as it adjusts its size
  110. to its actual content.
  111.  
  112. In the MyDisk window, the left gauge shows "empty", but if you
  113. make the window as tall as possible, you will see something,
  114. in case you have formatted the diskette with a Trashcan.
  115.  
  116. Now take look at the left gauge of the main window. It always
  117. repeats the info given by the gauge of the active window.
  118.  
  119. Go through the various windows and verify this.
  120.  
  121.  
  122. 2.2.2. Right gauge.
  123.  
  124. This one  is likely to give two different types of information,
  125. according to the item checked in the BrowserII->Options submenu.
  126.  
  127. 2.2.2.1. First mode.
  128.  
  129. ACT BrowserII->Options->Display Directory Disk Usage
  130.  
  131. The gauge says how much space is occupied on a disk unit respectively
  132. by the subdirectories and the files of the root directory.
  133.  
  134. In fact it works differently than the name suggests.
  135.  
  136. Look at the MyWorkbench window. Most of the content of the
  137. diskette is in subdirectories, the gauge shows close to "empty".
  138.  
  139. In the Ram Disk window, delete the files "toto" and "tutu"; there
  140. are now only directories in Ram: the gauge is fully down.
  141.  
  142. Let's copy to the Ram Disk Window all the xxx.info files of the
  143. MyWorkbench window; the gauge goes up.
  144.  
  145.  
  146. 2.2.2.2. Second mode.
  147.  
  148.  
  149. ACT BrowserII->Options->Proportion of Visible Data
  150.  
  151. Copy the xxx.info files of the MyWorkbench window into the ApplePie
  152. window.
  153.  
  154. This window contains only visible files, the right gauge shows
  155. "full".
  156.  
  157. Activate this window.
  158.  
  159. ACT Actions->Filters->No .info
  160.  
  161. The xxx.info files disappear. The right gauge now shows very close
  162. to "empty", because the q1....q4 files are very small.
  163.  
  164. Now copy the file Ed from the C directory of the MyWorkbench
  165. diskette in the ApplePie window, the gauge goes up, but not the
  166. full way up, which tells us that there are in this drawer some
  167. files which are not displayed.
  168.  
  169. Close the ApplePie window, and open it again. This time all files
  170. show up and the gauge says "full".
  171.  
  172.  
  173. 3. The Filters.
  174.  
  175. The submenus and items of the Window menu are rather easy to
  176. understand, we will concentrate on the Filters submenu. The generic
  177. action of the filters is to control which files will be displayed
  178. in a window, by defining criteria for appearing
  179.  
  180. Close all windows, except the MyWorkbench one.
  181.  
  182. ACT Window->Filters->Set...
  183.  
  184.  
  185. Here comes a new requester.
  186.  
  187. In the upper part, ther are two boxes where you see the words
  188. Files and Dirs, followed with an Y. If you click on a Y, you see
  189. that there are three possible choices: Y, N and ?
  190.  
  191.  
  192. Y for: always displayed
  193. N for: never displayed
  194. ? for: displayed if criteria are met
  195.  
  196. So, if you select two Y's or two N's, the filters will be
  197. inoperative, in the former case all files will be displayed, in the
  198. latter, the window will be empty.
  199.  
  200. Thus, select ? in both boxes.
  201.  
  202. in the Pattern box, type *l* or #?l#?
  203.  
  204. The window lists all files or directories whose names contain
  205. at least one time the letter "l".
  206.  
  207. ACT Window->Filters->Invert
  208.  
  209. Now you see only the names of files and directories which contain
  210. no "l".
  211.  
  212. ACT Window->Filters->Clear
  213.  
  214. All files and directories are back.
  215.  
  216. Now that you got the mechanics of it, refer to the doc and make
  217. exercises.
  218.  
  219.  
  220. 4. The Custom Screen.
  221.  
  222. If you are the lucky owner of a multisync monitor, or if you have
  223. any other solution to reduce the effect of flicker, why don't you
  224. try:
  225.  
  226. ACT Workbench->Screen->Custom Interlace.
  227.  
  228. BrowserII opens its own screen in hires interlace mode. The quantity
  229. of displayable information becomes very interesting.
  230.  
  231. [ However, there is one side effect:
  232.  
  233. if you launch a program, or try and look at a text with your
  234. editor,
  235.  
  236. either the program or utility opens its own screen which pops up in
  237. front of Browser, that's OK
  238.  
  239. or it opens a window in the workbench screen, which is then hidden
  240. by Browser's screen, and you could derive the impression that
  241. nothing happened. In this case you will have to send Browser's
  242. screen to the background via your preferred method. It will be
  243. the case in particular for AmigaDos commands.
  244.  
  245. Consequently, if you use the custom screen, give preference to
  246. utilities like MuchMore or Mostra which open their own screen.]
  247.  
  248.  
  249. 5. Your comments, please.
  250.  
  251. We thought that a program with very wide capabilities like
  252. BrowserII might be more easily approached through a tutorial.
  253.  
  254. It is difficult for such a tutorial to be a real help for both
  255. the beginner and the seasoned Amigaman.
  256.  
  257. So, why don't you drop us a line to tell us wether we achieved
  258. an acceptable balance.
  259.  
  260. Your feedback will be greatly appreciated.
  261.  
  262. Now, enjoy BrowserII !
  263.  
  264.  
  265.