home *** CD-ROM | disk | FTP | other *** search
- The editor EDIT.ASM published in CPMUG has been modified
- in three features.
-
- 1. It allows the use of both upper and lower case in the
- commands, which increases speed.
-
- 2. A new command, the M(ove) command, is included. This command
- allows to write data to disk starting any place in the
- edited material. Assume you have a text which you want to
- process and you want to exchange the first and the second
- paragraph. Simply move the pointer to the beginning of the
- second paragraph and type
- nM (or nm) ;where n is the number of lines
- ;to be writte to disk.
- The moved lines are killed in memory and the gap is closed.
- Then type 999W (or 999w) which transfers the first paragraph
- and the remainder of text to disk.
-
- 3. Characters deleted by RUBOUT are actually deleted
- instead of being echoed as in the previous version.
-
- Editor based on the one published in CPMUG Volume 16.
-
- Modified by: Dr. Donat-P. Hader, Marburg, West Germany.
-
- ----------
-
- From Ward Christensen:
-
- No new documentation was supplied with this program, so here isì
- the original documentation with the new commands added, andì
- Tony Gold's original comparison of ED and EDIT.
-
- This is an editor similar to cp/m's ed.com, but with commandì
- syntax like intel's editor for those of you who are used to ì
- that. the escape char is used as a delimiter in command linesì
- (it is echoed as a $), and a double escape is used to terminateì
- a command line. This editor is much faster than either theì
- intel editor or ed.com; unlike the intel editor, this one doesì
- have the 'n' command and the 'q' command; it does not have theì
- 'r' command, however. Another difference with respect to the ì
- intel editor is that the 'a' command only appends one line, butì
- you can say 9999a to append much. The editor creates a thirdì
- file with type $$$ which is renamed when the edit job isì
- complete. This means that if you are editing a file whichì
- occupies over half of the disk, you must erase any pre-existingì
- back-up file so that there will be room for the temporary. If ì
- you don't, you will get a disk full error. In find or ì
- substitute commands, the character '|' will match anyì
- character. If you want to change this character, look for theì
- sequence fe, 7c in the code and change the 7c to the characterì
- you prefer.
-
- [A.R.G SUMMARY OF COMMANDS COMPARED WITH ED.COM:
-
- NOTE () ARE TO INDICATE A CONTROL CHARACTER, <> USED LITERALLY
-
- ED.COM EDITM.COM
-
- B B Beginning of file
- -B Z End of file
- E E End edit
- Q Q Quit (does not ask if OK)
- C C Move a character
- T T Type line from cursor
- L L Move up/down lines
- K K Kill lines
- D D Delete characters
- I I Insert text
- A A Append from input file
- W W Write to output
- N N Next occurrence of string
- # 65536 No "#" in EDITM
- M <> SEE EXTENDED COMMAND BELOW
- P NONE
- H NONE
- O NONE
- R NONE
- (^Z) (ESC) (as terminator in searches)
- (CR) (ESC) (ESC) (to execute commands)
- (CR) NONE (to cause LT sequence)
- Char (NUL) (to interupt printing)
-
-
- Extended command:
-
- 2MF.ASM(^Z)0LK(CR) 2<F.ASM(ESC)0LK>(ESC)(ESC)
-
- Control characters referenced above:
-
- (CR) := 0DH ^M Return
- (SUB) := 1AH ^Z
- (ESC) := 1BH ^[ Escape
- (NUL) := 00H ^@ Break
-