home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of German Only 1
/
romside_best_of_german_only_1.iso
/
anwender
/
ed
/
english.doc
< prev
next >
Wrap
Text File
|
1992-12-23
|
37KB
|
834 lines
Welcome to ED, a simple public domain word processing system.
The ED word processing disk should contain the following files:
READ
LESEN
LPRINT.EXE (1.1)
ENGLISH.DOC
DEUTSCH.DOC
------------
ED.EXE (1.11)
ED.DAT
PAGE.COM (1.0)
PRINT.COM (1.2)
PRINT.DAT
TEST.TXT
UNKNOWN.DAT
EPSONLQ.DAT
DIABLO.DAT
IBM5216.DAT
HPLJ.DAT
GR7.TBL
REPLA.EXE (1.0)
and maybe more '.DAT'- and '.TBL'-files.
The ED word processing system consists of three parts:
1. ED - editing and formatting
2. PAGE - generating pages (page files)
3. PRINT - output to printer
First a description of the editor/formatter follows. ED.EXE
(1.11) can edit text files up to 999 lines and 99999 characters.
A line may be up to 148 characters long. Nevertheless a document
to page can be up to 100 files long.
You enter ED at the DOS prompt to start the program. First
ED reads the file ED.DAT. This is a simple text file, which
may look like as follows:
60'HOT ZONE BEGINNING
65'HOT ZONE END (RIGHT MARGIN)
2'SPACES BEHIND PERIOD (1 OR 2)
ED.DAT contains the standard column values for the hot zone
beginning and end (right margin) and the specification of spaces
behind period (2 in the U.S., 1 in Germany). You may edit the
file ED.DAT to your needs (edit to the values, that you usually
use). Note, that a difference of 5 between hot zone end (right
margin) and beginning is recommended.
After reading ED.DAT you are in the editor (line 1, column 1).
The first line of the screen contains the current filename for
reading and saving text files, the second line shows several
data. WR: the number of characters (bytes) written, NL: the
number of lines, COL: the current column position of the cursor,
HZ: the current active hot zone for formatting, IND: the indent
for formatting (explained later).
There are three major elements in the editor:
1. Direct editing commands like CURSOR LEFT or PAGE DOWN
(Pg Dn).
2. Command level commands like fo (format), f (file), r (read)
or s (save). There is a lot of command level commands.
3. In-text-'#'-commands. Character '#' followed by an uppercase
or lowercase letter. For example: '#U' turns underlining
on, a second '#U' terminates it. There is a lot of
in-text-'#'-commands.
You may enter text, finishing the line by RETURN. There is
no automatic RETURN, i.e. no instantaneous formatting on text
entering. Empty lines after the text can be inserted by hitting
RETURN in a line after the text.
There are the following direct editing commands:
F1 (function key 1)
Go to command level. The second screen line becomes blank.
A prompt appears ('<'). If you just hit RETURN, you are back
to editing.
F2
List lines without '#'-commands. The lines appear in their true
printing lengths. If you use '#'-commands, it is difficult to
adjust the true printing position (column) in tables. F2 should
help a little. Any keystroke leads back to normal
representation.
F3
'#'-character. The '#'-character is difficult to access on
some keyboards (for example Ctrl-Alt keystroke). Pressing F3
may be easier.
F4
Execute the string, previously stored by the 'key'-command.
A frequently used string can be stored as F4 by the command
level command 'key'.
Pg Up
10 lines up.
Pg Dn
10 lines down.
CURSOR LEFT/RIGHT/UP/DOWN
Need no explanation.
Del
Delete character under cursor.
Ins
Enter insert-mode. Characters are inserted instead of
replacement. The insert-mode is terminated by any of the other
editing keys (for example CURSOR LEFT or RETURN) or a second
'Ins'.
Home
Go to the beginning of the current line.
End
Go to the end of the current line (column after last character).
Ctrl-Home
Leads to the first line (start of file).
Ctrl-End
Go into last line of file.
Ctrl-E
Deletes from cursor position to the end of the line.
Esc
Restores line. 'Esc' restores the old content of a line after
editing. This is possible, as long as you didn't leave the
line.
As already mentioned, the command level is entered by F1. A
RETURN leads back to editing. A command level command consists
of a one to three letter keyword, optionally followed by an
argument. In many cases the argument is line specs. A line
spec consists of two numbers, separated by a ',' (means from
line to line) or a single number. Line specs are separated
by blanks. Example: 'fo 3,7 12,16 18'. A description of command
level commands follows.
q
Quit command. Exit ED.EXE without saving.
h
Help command. There are several pages of short information
on all commands. After one page is listed, you may type SPACE
to go to the next help page, or hit RETURN to exit help and
go back to editing.
f
Filename command. 'F' is followed by a valid DOS filenname,
i.e. may contain drive and path specs. The filename is valid
for s (save), r (read) and rb (read block) commands.
l
List command. 'L' is followed by a line number. The list
command enables quick access of any portion of the file in
memory, avoiding many keystrokes of PAGE DOWN or PAGE UP.
s
Save command. If no argument is given, the entire file in memory
will be saved as a disk file. If the file already exists, the
old file becomes the backup file with extension '.BAK'.
Only parts of the file in memory may be saved optionally.
'S' can be followed by one to seven line specs. Example:
'S 3,7 9,10 15' saves the lines 3 to 7, 9, 10 and 15 as a disk
file.
r
Read command. A disk file will be read into memory, overriding
the lines, that are currently in memory. A number can follow
the 'R' as an option for large files. The file will be read
only from this line number in that case. The first lines (number
minus one) will be skipped.
Besides possible messages are: 'Cannot open file', i.e. file
not found/wrong filename. 'File has more strings than read
in.' File does not fit entirely in memory and has only partially
been read in.
rb
Read block command. There is no optional argument. Read block
functions as read, except that the disk file lines are added
to (behind) those, already in memory.
d
Delete line(s) command. 'D' is followed by one to seven line
specs, i.e. 'd 1 7,11 20,25' will delete line 1, lines 7 to
11 and 20 to 25. There is no direct editing keystroke "delete
line".
i
Insert line(s) command. 'I' is followed by two numbers,
separated by ','. 'I first number, second number' means insert
first number empty lines behind line second number. The second
number may be zero, i.e. the start of the file. Up to seven
of these specs may follow 'i'. Examples: 'I 1,3' inserts one
line behind line 3. 'I 1,0' inserts one line at the start of
the file.
er
Erase line(s) command. 'ER' is followed by one to seven line
specs. The lines will be made blank, but not removed.
key
Key command. 'KEY' is followed by a frequently used word or
phrase. The phrase must be enclosed by arbitrary letters, for
example slashes ('/...phrase.../'), to enable valid leading
or trailing spaces. The string is stored as F4 (function key
4) and can be used in editing.
cop
Copy line(s) command. 'COP' is followed by first number, comma,
second number, blank, third number. The lines first number
to second number will be copied to behind third number. The
third number may be zero, i.e. the start of the file. The lines
to copy remain at the original place too.
mov
Move line(s) command. The move com