Next: 5. The Mouse
Up: Ved Text Editor Reference
Previous: 3.3 Entry Prompts
As an alternative to entering the name of a file you wish to load or append into a Ved buffer, you can use the on screen file selector. This selector becomes active whenever, in response to a request for a filename to load or append, you just press [Enter].
After a brief delay a number of filenames will appear on the screen--use the cursor keys to select your file. When the directory is displayed, the following keys are active:
- [Up Arrow]
- Move the highlight bar up one line.
- [Down Arrow]
- Move the highlight bar down one line.
- [Left Arrow]
- Move the highlight bar left one column.
- [Right Arrow]
- Move the highlight bar right one column.
- [Page Down]
- Display the next page of directory entries (if they don't all fit on one page).
- [Page Up]
- Display the previous page of directory entries.
- [Home]
- Move the highlight bar to the top of the current column.
- [End]
- Move the highlight bar to the bottom of the current column.
- [Escape][Up]
- Move the cursor to ``<PARENT>'' entry. This is valid from any page of the directory listing.
- [Esc][Down]
- Move the cursor to the last entry.
- [Ctrl-C]
- Terminate the directory routine.
- [Escape][Q]
- Terminate the directory routine.
- [Esc][Z]
- Redisplays the current directory page.
- [Esc][F]
- Find a pattern in the directory listing.
- [Esc][N]
- Find the next pattern.
- [Esc][S]
- Find a pattern, search from current position to the start.
- [Esc][I]
- Find a previously entered pattern, backwards.
- [A]
- Mark or unmark all the files in the directory. In this case all marked files will be unmarked and unmarked files will be marked.
- [C]
- Copy the currently highlighted file or marked file(s). At the prompt enter the filename or directory to copy to. If you are only copying one file, the file will be copied to the current working directory (not necessarily the directory displayed on the screen!). You can not use Ved to copy directories, so if the cursor is on a directory name you will receive an error message. Ved uses the cp command (or something else you have defined in your RC file, see Section 19.3.3) to do the copy.
- [D]
- Delete the currently highlighted file or marked file(s).
- [E]
- Enter filename Extension to mark/unmark. You will be prompted for a filename extension (don't enter the ``.''). Now, all files with this extension will be marked or unmarked.
- [G]
- Re-read current directory. This is commonly used to ``unmark'' all the displayed files or to include files which might have recently been added to the directory.
- [I] or [.]
- Toggle the display of invisible directory entries (ones which start with a ``.'').
- [R]
- Resets the current directory to the user's current data directory.
- [S]
- Prompts the user for a new directory name. The files in this directory will be displayed.
- [X]
- Toggle extended directory display. When this option is enabled, the last modified dates, file permissions, and filesizes will be displayed with the filenames in a format similar to that used by the ``ls -l'' command.
- [Space]
- Mark/unmark a file to copy or delete. The first time you press [Space] on a highlighted file, the file will become marked. You can tell if a file is marked by the '+' in front of the filename. You can unmark a marked file by pressing [Space] a second time. If any files are marked, the [C] and [D] commands will operate on all the marked files.
- [$] or [!]
- Fork an Shell.
- [0]
- Sort the directory items by name. This is the default.
- [1]
- Sort the directory items by filename extension.
- [2]
- Sort the directory items by filetype.
- [3]
- Sort the directory items by last modified time.
- [4]
- Sort the directory items by file size.
- [-]
- Reverse the directory sort order.
- [Enter]
- Read the highlighted file into memory.
- MOUSE
- You can read a file into memory by clicking on it with the left mouse button (assuming that mouse support is enabled). The mouse will also active the menus.
When using the directory selector to load the initial file the following steps are followed:
- The RC file is read before the on-screen file selector is invoked. This step is required since the file selector needs to know about your preferred option settings.
- After the file is selected the filename extensions are set up.
- The default RC file is read again. This time any IF definitions, etc. can be processed.
In addition to the above listed command, the more common functions can be accessed from the pull down menus. Just press the corresponding Fn key, or click a menu with the mouse.
The on screen file selector will display all filenames in your current directory. If the file you select is a sub-directory Ved will attempt to change your current directory to the one you've selected and display the files in the new directory. Selecting the first filename, ``<PARENT>'', will cause Ved to change the directory to the parent (``..'') of the current directory.
In earlier versions of Ved (mainly the OS9 versions) the current data directory was changed when directories were selected in the file selector. This no longer occurs. Complete pathlists, relative to the current data directory, are now used by Ved when files are selected; these same pathlists are used when saving a file.
Please refer to Section 19.3.3 for details on how to change options in the directory screen though your RC file.
Next: 5. The Mouse
Up: Ved Text Editor Reference
Previous: 3.3 Entry Prompts
2004-05-02