home *** CD-ROM | disk | FTP | other *** search
- FILEBROWSER OPTIONS
- FileBrowser must be loaded with the command line:
- FB [-options] [d:][\path\]FILENAME[.ext]
- The "options" currently available are 'q','c','m','w' and 't', as follows:
- q : (Quiet Load) - Omit display of title screen before loading file.
- c : Use colour windows instead of black-and-white. Only one of 'c' or 'm'
- may be specified.
- m : Use black-and-white windows. (This is the default option).
- w : load a Wordstar (tm) document file: if omitted, the file is assumed
- to be an ASCII file. (The extended ASCII character set is supported).
- t : Do not expand tabs. The 'Tab' character will appear as a distinctive
- graphic (ASCII 09). If omitted, tabs are expanded to spaces.
- If the command line is omitted, FB will prompt you to input information.
- Filebrowser has a maximum line length of 79 characters - characters
- in excess of this limit are wrapped to the next line.
-
- GETTING HELP ON FileBrowser COMMANDS
- FileBrowser commands are entered from the Menu Bar (activated by pressing
- the "Ins" key). To execute a command from the Menu Bar, move the Highlight
- to the desired command and press "Return". To get help press "F2".
- 01
- FILE
-
- The FILE command is used to copy part of the current file to a new
- file. You will be prompted for the new filename (which can include
- optional drive and path, e.g. d:\path\file.ext). If the file specified
- already exists, you have the option of overwriting it or appending text
- to it. If you enter an illegal file name, an error message will pop up.
- Press any key to remove the error message.
-
- After you have specified a file name, you will observe that the top line of
- text in the main window is highlighted in reverse video, and a blinking
- cursor appears on the next line. You may move the cursor down to subsequent
- lines - as this is done, the line above the cursor is marked. When you have
- marked the desired number of lines, press the "Esc" key, and the marked lines
- will be copied to the designated file (in ASCII format).
-
- The FILE command may be given while in 'Browse' mode by simply
- pressing the "F" key;
- 02
- PRINT
-
- The PRINT command is equivalent to the FILE command except that the marked
- portion of the file is copied to the lineprinter (device PRN), instead of
- to a disk file. Note that the version of the current file that is printed
- is the one in the FileBrowser buffer - due to line truncation, tabs expan-
- sion, removal of Wordstar (tm) characters, this may *not* be identical to
- the file on your disk!
-
- The PRINT command may be given while in 'Browse' mode by simply
- pressing the "P" key;
- 03
- BROWSE
-
- The BROWSE command is used to view the current file - it just
- causes FileBrowser to enter 'Browse' mode, (which is the default
- mode). There are several options:
- - To scroll through the file, use the Up and Down arrow keys to move up
- or down a line; use the 'PgUp' and 'PgDn' keys to move up or down by
- one page. The 'Home' and 'End' keys move to the beginning or end of
- the file, respectively.
- - To move forward or back by <n> lines (where <n> is an integer):
- first press the "+" key, then enter the value of <n> (you will get a
- prompt to do this on the bottom line of the screen), then press the Down
- arrow, or Up arrow as desired.
- - To automatically scroll forward or backward, press the "*" key (aster-
- isk) followed by the Down arrow or Up arrow key. To select the speed,
- type an integer from 0 to 9. [9 = fast, 0 = slow, 5 = medium].
- Press any key to stop scrolling.
- When entering a value from the keyboard, use the Escape key to cancel input.
- If the screen gets mangled for any reason, press Ctrl-L (^L) to redraw it.
- 04
- SEARCH
- FileBrowser incorporates a simple pattern matching function, which
- may be used to locate a string of text in a file. A 'pattern' can contain
- words, (a 'word' is defined as a string of alphanumeric characters), and
- the wildcard symbol "*". The symbol "*" matches any number of words,
- (including no words!). Thus, the pattern "the * fox" will match all of the
- strings: "the fox", "the brown fox", "the quick brown fox". The symbol "*"
- is only legal inside a pattern string. Note also that 'words' in a pattern
- cannot contain embedded punctuation characters. For a full description of
- the SEARCH algorithm, read the FileBrowser manual.
-
- When 'SEARCH' is invoked, you will be prompted to input a pattern.
- FileBrowser will automatically process your input into a legal pattern (you
- will have a chance to correct errors). The search then proceeds forward
- from the Top Line displayed in the main window, and is on a line-by-line
- basis (patterns extending over two lines are not found). At each successful
- 'hit', the line which matches the pattern will be highlighted, and you will
- be asked if you wish to continue.
-
- Note: The SEARCH command may also be given by simply pressing the "S" key.
- 05
- SHELL
-
- The 'SHELL' command suspends FileBrowser and returns to the DOS operating
- system. To alert you that you have loaded another shell, the cursor will
- change to a small flashing box instead of the normal flashing underscore.
-
- You may now carry out disk maintenance operations, run another program,
- etc. The FileBrowser environment remains resident in memory; to return to
- FileBrowser, type the command 'EXIT' at the DOS prompt.
- 06
- EDIT
- The "EDIT" command allows you to edit the current file using the
- text editor of your choice. You may specify the editor by setting the
- DOS environment variable "EDITOR". Suppose you wish to use the "emacs"
- text editor, "memacs.exe"; then either in your AUTOEXEC.BAT file or
- manually at the DOS prompt, give the command:
- 'set EDITOR=memacs'
- Be sure that the file "memacs.exe" is in a directory specified by your
- DOS path (environment variable "PATH").
- If the environment variable "EDITOR" is not set, FileBrowser will
- attempt to load the "vi" text editor. Whatever text editor you choose,
- it must be one that can accept the file name in the command line, e.g.
- "vi myfile.doc".
- When the "EDIT" command is given, FileBrowser writes a short Batch
- file in the same directory as the file being browsed, loads the batch file
- and exits; the batch file then loads the editor, and after exiting from
- the editor, re-loads FileBrowser with the edited version of the file.
- The "EDIT" command may be given while in 'Browse' mode by simply
- pressing the 'V' key.
- 07
- QUIT
-
- This command is used to exit permanently from FileBrowser.
- To exit temporarily, use the SHELL command.
-
- You may also exit from FileBrowser when in 'Browse' mode by
- pressing the "Esc" key.
-
- When the QUIT command is given by either method, you will be
- asked to confirm that you really do wish to leave FileBrowser
- 08