Edt is a simple text editor for rapid text manipulation. Common operations are accessed by single keys on the numeric key-pad (to the right of the character key-board). Styled after the DEC VMS EDt/EVE/TPU editors, Edt is simple to use.
The project maximizes flexibility from the fewest number of commands and key-operators. Like most modern editors, you normally operate in full-screen insert mode, while moving around, deleting/pasting, etc..
Edt contains four built-in buffers:
word buffer (delineated by white-space),
line buffer (delineated by ),
paste buffer (arbitrary length).
Additionally, you may create and switch between an arbitrary number of separate -user-named- text buffers.
The editor maintains one level of back-up for any file edited so you can always revert to the previous version even in the unlikely event of a save error. The editor maintains continuous journaling for error recovery down to within a few keystrokes, in the event of a system failure during an editing session.
To invoke EDT, you should be using an ANSI Standard compliant terminal or window, such as an X-term window.
The editor contains two modes:
Upon entering, the editor will be in line mode (* prompt). To go to full-screen mode, type "c" and return. To return to line mode from the screen mode, type control-z.
The line-mode and screen mode operations are elaborated below. Additionally, there are several command-line options that can be used when invoking the editor, such as:
(These modes can be used in combination with each other.)
When the -read_only or -read command-line option is placed anywhere on the command-line when the editor is invoked, then the editor will be placed in a read-only mode. In read-only mode, the editor will not allow modification of the original file by way of an exit and save to that file. This is helpful when you need a powerful viewer, but want to avoid accidental changes to an important file. If you attempt to save from readonly mode, you will be reminded that you are in readonly mode and cannot save. If you however want to preserve your edits anyway, you may write to any arbitrary file name using the w write to file-name command.
When invoked in the -crypt mode, the editor will ask for a unique encryption key, or password, used for encoding and decoding the document when stored as a file. This is useful when creating private material, since at no time will the private text appear in ascii format on your disk. Be cautious in selecting a password key that you can remember, because there is no way to edit an encrypted document without the exact key.
The editor checks the size of your viewing window upon entering screen-mode. If you should change the window size during an editing session, you should notify the editor by going to line-mode and back to screen-mode, EDt will automatically establish new size parameters. You can also set the size parameters explicitly, if needed, to arbitrary values by using the "set rows/cols" commands described below.
gcc -O edt_1.6.c -o edt
What's New in This Release: [ read full changelog ]
· This version adds a check against accidentally attempting to edit a directory.
· It adds the ability to start an HTML file by inserting the HTML tags for header and page-body when you type "begin html" at the line-prompt.
· A Makefile and Sun keyboard map were also added.