home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
wp1
/
fred.lzh
/
FRED.DOC
next >
Wrap
Text File
|
1985-06-22
|
9KB
|
326 lines
FRED EDITOR REFERENCE V1.23C
(c) 1983 and 1984 by
David N. Smith
44 Ole Musket Lane
Danbury, CT 06810
12 October 1983
21 April 1984
20 May 1984
FRED is the FRee EDitor. FRED comes with no warranties of any
kind; it is available AS IS. The author would like to know of
problems that users have but makes no promise or guarantees that
any problem will be fixed. There are no plans for extensions to
FRED.
ABOUT FRED
FRED is a full screen editor for the IBM PC. It displays files
up to 1500 lines long and with lines up to 254 characters long on
a monochrome display or 80 column graphics display.
FRED is similar to the editor in LadyBug. Most of the keys are
and its approach to handling the screen is about the same.
If you want to try FRED immediately, remember that F1 puts you in
command mode and displays a list of the commands and that F10
describes the other function keys; then just start trying things.
STARTING FRED
Type FRED. When FRED loads it will ask for the name of the file
to edit. If the file cannot be found, it is assumed to be new
and an empty file with that name is edited. It does not exist on
disk until you file it.
- 2 -
FRED COMMANDS
Commands are entered only after pressing the F1 key. Commands
may be typed in uppercase or lowercase; in the following
descriptions, uppercase is used for command names and lowercase
for operands.
SAVE
Save the file to disk. The new file is written as
FREDFRED.TMP. Then the old file is renamed FREDFRED.BAK and
FREDFRED.TMP is renamed with the right name. Then
FREDFRED.BAK is erased. This process assures that that
there is always one correct copy of the file on the disk.
However, it does require enough working space to hold the
largest file to be edited.
QUIT (or 'Q')
Quit editing. If the file has been changed, you will be
prompted for a 'y' before FRED really quits.
/string/
.string.
Locate the string between the slashes or dots. The trailing
slash or dot can be omitted unless trailing blanks are
important. The string can contain slashes or dots.
NAME fileid
Give the file a new name.
- 3 -
FRED KEYS
The following list defines the meaning of each key when in full
screen mode. When the command prompt is up, normal BASIC line
editing is in effect.
Alt-d
Delete a marked area; see Alt-l for more information.
Alt-j
Join the next line onto the current one at the end.
Alt-l
Mark the current line or extend a marked line. The first
Alt-l marks a line and displays it in reverse video. The
second marks all lines from the first one through the
second. Further Alt-l keystrokes extend the marked area to
the current line (or shrink it from the nearest edge).
Marked areas may be copied or deleted. See Alt-d, Alt-u,
and Alt-z.
Alt-s
Split the current line into two parts at the cursor. At
column one this adds a new lines before the current one;
this is how you put a new line ahead of the first one.
Alt-u
Unmark an area; see Alt-l.
Alt-z
Copy a marked area to just after the current line. A marked
area cannot be moved into itself. (The choice of Alt-z for
this function comes from the IBM Personal Editor.)
Backspace
Backspace over and delete the previous character.
Character keys, shifted or unshifted.
Enter the character into the current line. If in insert
mode, put it at the cursor position and slide the characters
under and to the right of the cursor to the right. If in
replace mode, replace the character under the cursor.
Ctrl-End
Position the cursor on the last line of the file. Keep it
in the same column.
- 4 -
Ctrl-Home
Position the cursor on the top line of the file. Keep it in
the same column
Ctrl-Left
Move the cursor to the left 40 positions.
Ctrl-Pg Dn
Position the cursor at the bottom edge of the screen (or on
the last line of the file if encountered first). The column
position is unchanged.
Ctrl-Right
Move the cursor to the right 40 positions.
Cursor keys (arrows on numeric keypad)
Move the cursor up, down, left, or right one position. If
the cursor would move off of the screen in a direction in
which there is more data, then scroll the screen one
character in that direction.
Del
Delete the character under the cursor.
End
Position the cursor at the end of current line.
Enter key
Put a new line in the file and position the cursor at the
front of it. (Also see Alt-J.)
F1
Enter command mode. A list of the allowed commands is
displayed.
F2
Repeat the most recent locate command (see the "/" command).
F5
Clear the current line and position the cursor at the left
edge.
F6
Clear the current line under and to the right of the cursor.
F10
Display what the other function keys do.
- 5 -
Home
Position the cursor in the first column of both the current
file line and the screen.
Ins
Toggle between insert and replace modes. The status line
describes which is in effect.
Pg Dn
Scroll down 20 lines.
Pg Up
Scroll up 20 lines.
Shift-F4
Undo a change to the current line. Once the cursor is moved
from the line the change cannot be undone with this key.
Shift-F8
Delete the line at the cursor. The cursor moves to the next
line in the file.
Tab
Tab right to the beginning of the next word. (Words are
groups of characters separated by blanks.)
- 6 -
DISCLAIMER.
In no event will the Author be liable for any damages, including
any lost profits, lost savings or other incidental or
consequential damages arising out of the use of or inability to
use this program, even if the Author has been advised of the
possibility of such damages, or for any claim by any other party.
COPYING BY ORGANIZATIONS
Clubs and other non-profit organizations are granted permission
by the author to freely copy the FRED program and documentation
and to share it with their members, so long as:
1. No price is charged for the software or documentation.
However, a distribution cost may be charged for the cost of
the diskette, so long as it is not more than $6 total.
2. The program or documentation are not modified in any way and
are distributed together.
USER SUPPORTED SOFTWARE
If you are using this program and find it to be of value your
contribution ($20 is suggested) will be appreciated.
David N. Smith 44 Ole Musket Lane Danbury, CT 06810
Regardless of whether you make a contribution, you are encouraged
to copy and share this program with your friends.
Anyone may request a copy of a user-supported program by sending
a blank, formatted disk to the author of the program along with
an addressed, postage-paid return mailer. A copy of the program,
with documentation on the disk, will be sent by return mail.
User-supported software was conceived by Andrew Fluegelman of
Headlands Press for PC-TALK. He used the name FreeWare(tm). Jim
Button, distributor or PC-FILE, coined the term user-supported
software.
Key <ENTER> to continue: Button, distributor or PC-FILE, coined the term user-supported