home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Between Heaven & Hell 2
/
BetweenHeavenHell.cdr
/
500
/
444
/
edit.dqc
/
edit.doc
Wrap
Text File
|
1984-11-25
|
4KB
|
169 lines
Edit User Manual
Editing is in the memory buffer.
To run:
[d:]edit [[d:]filename.ext]
Edit starts in command mode, identified by an * prompt.
Command Descriptions
H - Help
*H
Prints help message.
S - Screen Mode
*S
Goes into screen edit mode, showing text on screen. Exit via Ctrl-Z.
C - Create
*C[d:]filename.ext
Creates new file. (overwrites existing). Text buffer unaltered.
R - Read File
*R[d:]filename.ext or *R
Reads file into text buffer or appends to
text in buffer already. *R form reads more of open file.
I - Insert File
*I[d:]filename.ext
Inserts file to left of cursor (as much as fits in memory).
T - Tabs
*T or *TP or *TF or *TN
*T sets tabs. *T causes Edit to prompt for tab columns. You input a line of
spaces and T's. The tabs go where you put the T's.
*TP sets tabs to Pascal defaults. *TF sets
to Fortran default.
*TN turns off special tab mode; tabs are as in DOS.
W - Write file
*W[d:]filename.ext or *W
*Wfile writes out text buffer up to but not including cursor pos.
on file, then deletes text written. The filename defaults to last read file.
E - Exit
*E
Writes out text buffer to disk and ends edit. Equals Q if no file ever opened.
Q - Quit
*Q
Aborts edit session. Confirm needed (y/n).
Screen mode
To switch to the screen mode, type in the S command while in the command mode.
To leave the screen mode, type CTRL-Z.
The number at the bottom right is the memory left. If you try to
overfill memory, Edit returns to command mode. No text is lost. Lines of
text are ended with return in Edit.
Editing Keys:
Cursor keys - move in arrow direction.
Home - Goes to start or end of file depending on current
direction.
End - goes to end of next or prev. line.
PgUp - Goes up 18 lines.
PgDn - Goes down 18 lines.
Del - deletes char at cursor position
Ins - Moves to start of next or prev. line.
Backspace - deletes char to left of cursor.
Tab - Inserts either tab or spaces to next special tab stop.
Special Function Keys:
F1 - Set direction up F2 - Place select marker
F3 - Find string F4 - Cut selected text
F5 - Find next F6 - Paste in paste buffer
F7 - Move left one word F8 - Move right one word
F9 - Set direction down F10- Reset select
F1 - Set direction up
The functions of F3, F5, Home, and End, need a direction.
F1 sets the direction to up (back).
F3 - Find string
Edit prompts for a string of up to 50 characters to search for. Terminate
search string with Return, F5, F1, or F9.
Return or F5-search in the current dir. F1 or F9 cause search in back or
fwd direction. Match is case insensitive.
Alt F3 - Define macro
Asks for a macro definition. To enter: type a delimiter
character (any printable char) followed by the keys you want Edit
to learn. End by typing the delimiter char again.
Up to 130 keys are allowed.
F5 - Find next
Edit searches fwd or back (depending on the current
direction) for the search string defined with the last find command.
Alt F5 - Execute Macro
Prompts for a count of times to execute the
stored macro if one was entered. Enter a number followed by a
return (return only means 1). The stored macro will
be played through Edit as if typed in the number of times said.
Macro ends early on search failure.
F7 - Move left one word
Moves the cursor to the beginning of the next word to the
left of the cursor.
F9 - Set direction down
Sets the direction to down (forward).
F2 - Place select marker
Keys F2, F4, F6, and F10 are all associated with the cut and paste function.
F2 marks the cursor position. Move the cursor and selected text is shown in
reverse video.
F4 - Cut
F4 key removes the selected text
(highlighted in reverse video) from the text buffer and place it in the paste
buffer. The previous contents of the paste buffer is deleted.
This is a handy way to delete text.
F6 - Paste
Copies the content of the paste buffer into
the text buffer to the left of the cursor position. The content of the paste
buffer is not modified by this command.
F8 - Move right one word
Moves the cursor to the beginning of the next word to the
right of the cursor.
F10 - Reset select
Turns off select mode.