1
0
mirror of synced 2026-01-23 03:07:39 +00:00
2021-01-22 15:26:25 -08:00

3 lines
13 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>05-FILEBROWSER</title><link href="navigation.css" rel="stylesheet" type="text/css"/><link href="document.css" rel="stylesheet" type="text/css"/></head><body><p class="top_nav"><a href="part7.htm">&lt; Previous</a><span> | </span><a href="../Medley-Primer.html">Contents</a><span> | </span><a href="part9.htm">Next &gt;</a></p><h1 style="padding-top: 3pt;padding-left: 35pt;text-indent: 0pt;text-align: left;"><a name="bookmark7">5. FILEBROWSER</a></h1><p style="padding-left: 35pt;text-indent: 0pt;line-height: 6pt;text-align: left;"><span><img width="640" height="8" alt="image" src="Image_036.png"/></span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 15pt;padding-left: 107pt;text-indent: 0pt;text-align: left;">The FileBrowser is a Lisp Library Package that works with files stored on disk and floppy devices, and can be used as a file directory editor. If it is not loaded into your sysout, you need to load it first by typing:</p><p class="s3" style="padding-top: 6pt;padding-left: 143pt;text-indent: 0pt;text-align: left;">(LOAD FILEBROWSER.LCOM)</p><p style="text-indent: 0pt;text-align: left;"><br/></p><h2 style="padding-left: 35pt;text-indent: 0pt;text-align: left;">Calling the FileBrowser </h2><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 4pt;padding-left: 107pt;text-indent: 0pt;text-align: left;">Calling the FileBrowser with the directory calls up the files stored in that directory:</p><p class="s3" style="padding-top: 7pt;padding-left: 143pt;text-indent: 0pt;text-align: left;">(FB &lt;usr&gt;local&gt;lde&gt;)</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-left: 107pt;text-indent: 0pt;text-align: left;">Another way to call a FileBrowser is to choose &quot;FileBrowser&quot; from the background</p><p style="padding-left: 107pt;text-indent: 0pt;text-align: left;">menu. You will be prompted for a description of the files to be included (see Figure 5-1). Type an asterisk (*), then press Return to see all the files in the connected directory.</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-left: 195pt;text-indent: 0pt;text-align: left;"><span><img width="307" height="206" alt="image" src="Image_037.gif"/></span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 4pt;padding-left: 185pt;text-indent: 0pt;text-align: left;">Figure 5-1. Prompt for Files to Include in FileBrowser</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-left: 107pt;text-indent: 0pt;text-align: left;">These show a directory of the device in a window you can leave on the screen at all times. The parts of the FileBrowser window are shown below.</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="text-indent: 0pt;text-align: left;"><span><img width="498" height="371" alt="image" src="Image_038.png"/></span></p><p class="s3" style="text-indent: 0pt;text-align: left;">Prompt Window</p><p class="s3" style="text-indent: 0pt;text-align: left;">Prompt Window</p><p style="text-indent: 0pt;text-align: left;"/><p class="s3" style="text-indent: 0pt;text-align: left;">Prompt Window</p><p class="s11" style="text-indent: 0pt;text-align: left;"> </p><p class="s11" style="text-indent: 0pt;text-align: left;"> </p><p style="text-indent: 0pt;text-align: left;"/><p class="s11" style="text-indent: 0pt;text-align: left;"> </p><p class="s3" style="text-indent: 0pt;text-align: left;">Command Menu <u> </u></p><p class="s3" style="text-indent: 0pt;text-align: left;">Command Menu <u> </u></p><p style="text-indent: 0pt;text-align: left;"/><p class="s3" style="text-indent: 0pt;text-align: left;">Command Menu <u> </u></p><p class="s11" style="text-indent: 0pt;text-align: left;"> <span class="s3"> File List</span></p><p class="s11" style="text-indent: 0pt;text-align: left;"> <span class="s3"> File List</span></p><p style="text-indent: 0pt;text-align: left;"/><p class="s11" style="text-indent: 0pt;text-align: left;"> <span class="s3"> File List</span></p><p style="padding-top: 4pt;padding-left: 107pt;text-indent: 103pt;line-height: 191%;text-align: left;">Figure 5-2. Parts of a FileBrowser Window Now you do not need to continually type the directory command.</p><p style="padding-left: 107pt;text-indent: 0pt;text-align: left;">To use the FileBrowser, choose a file by pointing to the file with the mouse and pressing the left or middle mouse button. A small dark arrow appears to the left of the file</p><p style="padding-left: 107pt;text-indent: 0pt;text-align: left;">name. Choose a command from the menu at the right. In Figure 5-3, the files</p><p class="s3" style="padding-left: 107pt;text-indent: 0pt;text-align: left;">OCH1.TEDIT;1<span class="p">, </span>OCH10.TEDIT;1<span class="p">, and </span>OCH11.TEDIT;1 <span class="p">have been selected.</span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-left: 106pt;text-indent: 0pt;text-align: left;">The left mouse button only allows you to choose one file at a time. Even if you choose other files, only the last file you selected with the left mouse button will remain</p><p style="padding-left: 107pt;text-indent: 0pt;text-align: left;">marked as chosen. When you use the middle mouse button to select a file, the file is added to those already chosen.</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-left: 107pt;text-indent: 0pt;text-align: left;">To unpick an already chosen file, hold the Control key down while pressing the middle mouse button.</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-left: 195pt;text-indent: 0pt;text-align: left;"><span><img width="307" height="174" alt="image" src="Image_039.gif"/></span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-left: 253pt;text-indent: 0pt;text-align: left;">Figure 5-3. Files Chosen</p><p class="s6" style="padding-top: 3pt;text-indent: 0pt;text-align: right;">5. FILEBROWSER</p><p style="padding-left: 35pt;text-indent: 0pt;line-height: 1pt;text-align: left;"><span><img width="665" height="1" alt="image" src="Image_040.png"/></span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 4pt;padding-left: 19pt;text-indent: 0pt;text-align: center;">The next section contains a summary of the FileBrowser commands.</p><p style="text-indent: 0pt;text-align: left;"><br/></p><h2 style="padding-left: 35pt;text-indent: 0pt;text-align: left;">FileBrowser Commands </h2><p style="text-indent: 0pt;text-align: left;"><br/></p><p class="s3" style="padding-top: 4pt;padding-left: 179pt;text-indent: -54pt;line-height: 107%;text-align: left;">Delete <span class="p">In the FileBrowser, this command marks a file, or files, for deletion (see Figure 5-4). These files are marked by a black line crossing through</span></p><p style="padding-left: 179pt;text-indent: 0pt;line-height: 106%;text-align: left;">them. You may select and mark any number of files for deletion. <span class="s3">Delete </span>does not actually remove these files from the device. The <span class="s3">Expunge </span>command actually wipes out the files previously marked for deletion.</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-left: 195pt;text-indent: 0pt;text-align: left;"><span><img width="307" height="177" alt="image" src="Image_041.gif"/></span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-left: 223pt;text-indent: 0pt;text-align: left;">Figure 5-4. Files Marked for Deletion</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p class="s3" style="padding-left: 179pt;text-indent: -66pt;line-height: 107%;text-align: left;">Undelete <span class="p">Undoes the delete command for one or more files. Undelete erases the black line through a file marked for deletion.</span></p><p class="s3" style="padding-top: 9pt;padding-left: 137pt;text-indent: 0pt;text-align: left;">Copy <span class="p">This command copies the chosen file. The destination filename should</span></p><p style="padding-left: 179pt;text-indent: 0pt;text-align: left;">be typed at a prompt that appears in the window above the FileBrowser.</p><p style="padding-left: 179pt;text-indent: 0pt;text-align: left;">Wildcards do not work for this prompt. You must type the whole</p><p style="padding-left: 179pt;text-indent: 0pt;text-align: left;">unquoted filename. If more than one file is chosen to be copied, you will be prompted for a directory name. The files will be copied into the</p><p style="padding-left: 179pt;text-indent: 0pt;text-align: left;">directory you give, but with the same filenames as the ones they have in their original location.</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p class="s3" style="padding-left: 179pt;text-indent: -54pt;line-height: 107%;text-align: left;">Rename <span class="p">This command works much like the Copy command, but does not leave the original file. The chosen file will be renamed to the destination</span></p><p style="padding-left: 179pt;text-indent: 0pt;line-height: 11pt;text-align: left;">filename. You will be prompted, in the prompt window, for the</p><p style="padding-left: 179pt;text-indent: 0pt;text-align: left;">destination filename. Give the complete unquoted filename. If more</p><p style="padding-left: 179pt;text-indent: 0pt;text-align: left;">than one file is chose to be renamed, you will be prompted for a directory name. The files will be moved into the directory you give.</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p class="s3" style="padding-left: 179pt;text-indent: -66pt;line-height: 107%;text-align: left;">Hardcopy <span class="p">If you do not have a hardcopy device, using this command causes an error. Otherwise, it gives a hardcopy of the file.</span></p><p class="s3" style="padding-top: 9pt;padding-left: 179pt;text-indent: -36pt;line-height: 107%;text-align: left;">See <span class="p">Shows you a file in a window. To use this command, choose a single filename, then the See command. You are prompted for a window.</span></p><p style="padding-left: 179pt;text-indent: 0pt;text-align: left;">Each time the See command is chosen, a new window is opened to display the file.</p><p class="s3" style="padding-top: 9pt;padding-left: 179pt;text-indent: -42pt;line-height: 107%;text-align: left;">Edit <span class="p">Calls the editor with the file as input. If the file is an executable one (i.e., Lisp code as opposed to a documentation file), only the </span>FILECOMS <span class="p">list is edited. The </span>FILECOMS <span class="p">list is the list of variables, lists, and</span></p><p style="text-indent: 0pt;text-align: left;"><br/></p><p style="padding-top: 4pt;padding-left: 179pt;text-indent: 0pt;text-align: left;">functions that are contained on that file. FileBrowser loads it and then allows you to edit the <span class="s3">FILECOMS </span>.</p><p class="s3" style="padding-top: 10pt;padding-left: 137pt;text-indent: 0pt;text-align: left;">Load <span class="p">Choose a file with the left mouse button, or a group of files with the</span></p><p style="padding-left: 179pt;text-indent: 0pt;text-align: left;">middle mouse button. Once the filenames have been blackened, choose the Load command to load them all into Medley.</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p class="s3" style="padding-left: 179pt;text-indent: -60pt;line-height: 107%;text-align: left;">Compile <span class="p">This command calls the file compiler with the chosen filename(s) as arguments. The compiler compiles a file foun d on a storage device</span></p><p style="padding-left: 179pt;text-indent: 0pt;line-height: 107%;text-align: left;">(<span class="s3">{DSK}</span>), not the functions defined in the Medley image. If any functions on a loaded file have been changed, run the function (<span class="s3">MAKEFILE filename</span>) to write the current version before compiling it. Files do not have to be loaded to use the <span class="s3">Compile </span>command.</p><p class="s3" style="padding-top: 10pt;padding-left: 119pt;text-indent: 0pt;text-align: left;">Expunge <span class="p">This command completely deletes all the marked files from the</span></p><p style="padding-left: 179pt;text-indent: 0pt;text-align: left;">directory. This allows you to remove unwanted files from your storage device.</p><p style="text-indent: 0pt;text-align: left;"><br/></p><p class="s3" style="padding-left: 107pt;text-indent: 0pt;text-align: left;">Recompute <span class="p">Choose this command when you know that the directory has been</span></p><p style="padding-left: 179pt;text-indent: 0pt;text-align: left;">changed and should be reread (e.g., after creating new versions of a file).</p><p class="nav">&nbsp;&nbsp;</p><p class="nav">&nbsp;</p><p class="nav"><a href="part7.htm">&lt; Previous</a><span> | </span><a href="../Medley-Primer.html">Contents</a><span> | </span><a href="part9.htm">Next &gt;</a></p><p class="nav">&nbsp;&nbsp;</p></body></html>