home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
e
/
etde19.zip
/
ETDE.DOC
< prev
next >
Wrap
Text File
|
1992-06-05
|
43KB
|
1,086 lines
ETDE
the Esperanto edition of the Thomson-Davis Editor
version 1.9 june 1992
Frank Davis
Adapted for Esperanto by Pierre Jelenc 1992-6-1
Internet: pcj1@cunixf.cc.columbia.edu
Compuserve: 71022,1726
Description:
(Note: this version of TDE for Esperanto is called 1.9. It has
the same functionality as version 2.0 of the English release.
The reason for the different number is that it does not yet have
prompts and messages in Esperanto. ETDE 2.0 will be the fully
translated program) [P.J.]
ETDE is a simple, public domain, multi-file/multi-window text
editor. It is suitable for editing batch files, text files, and
various computer language source code files. The only limit on
the number and size of files that ETDE can handle is the amount
of conventional memory. Likewise, the only limit on the number
of windows is the amount of conventional memory. There is no
preset maximum number of files or windows that may be open at any
one time.
Usage:
At the command line type:
ETDE [file name(s)]
For example:
ETDE
ETDE foo.bar
ETDE c:\c60\tde\main.c
ETDE *.c \qc25\tde\*.h
ETDE foo.bar foobar f* foo.* f??b??
If you don't enter a file name at the command line, ETDE will
prompt you for a file name. If the file does not exist, ETDE
starts out with an empty file with the file name you just
entered.
ETDE will handle files as large 465k. If you try to edit a file
larger than 465k, only the first portion of the file is loaded
into ETDE. With DOS 5.0, you can edit files as large as 515k if
you load DOS high. ETDE will handle lines as long as 1040
characters. Only the first 1040 characters of long lines are
handled - long lines are not truncated.
What's new:
New features in ETDE 1.9 include :
DateTimeStamp = ^A
ToggleSmartTabs = @Tab
Recursive macros
Support for Control-Break to stop recursive macros,
sorting, search/replacing, and printing
Dynamic left margin for writers
Support for lines as long as 1040 characters
Improved undo buffer management, which has room for
the last 10 by 1040 lines or 130 by 80 lines
Gathered all prompts into one header file to aid
conversions to other languages
Configuration file for function keys
The first three new features in ETDE should be self-explanatory.
They are common in most shareware and commercial editors. The
next few features added to ETDE are mostly for user convenience.
They should also be fairly self-explanatory. With the addition
of a configuration file, ETDE has almost all of the major
features on my to do list, so I'll call this version 2.0. This
implies, for the time being, that there are no more major
features planned for ETDE. So, for the next few months, please
hold off sending in suggestions or improvements; however,
inconvenient feature reports are always welcomed.
If by accident you forget to put a diskette in a floppy drive and
try to save a file on that diskette or if you forget to turn on
the printer before printing a block or file, a critical error
occurs. That kind of error is the infamous Abort, Retry, Ignore
thing. A routine was written to give some information on the
kind and the location of those errors when they occur. The ETDE
critical error handler gives you all kinds of info and then
prompts you for a response. The timeout for critical errors
varies quite a bit. Some timeouts may take a couple of minutes.
When I "work" at the USDA, I often need to create or massage
formatted data files. Also, a lot of engineers and scientists at
the USDA program in FORTRAN and the source code needs to be in a
certain format. When working with those types of files, it is
really useful to have a ruler that explicitly shows which column
the cursor is in. The new ruler in ETDE shows margins, column
numbers, and a column pointer.
Another useful feature is a simple macro recording and play-back.
To use it, press the Record key, then a key to which the macro
will be assigned. Then press the keys to be recorded. Finish with
the macro Record key again. Pressing the key to which a macro has
been assigned will replay the assigned macro as though the keys
were being entered at the keyboard. Any unused key may be
assigned a macro.
Macros can be used to enter characters that do not appear on the
keyboard, such as the Esperanto accented letters. We use the ALT
and SHIFT-ALT combinations for this purpose.
<CR><LF> or <LF> at eol
The functions that write to files were expanded to allow you to
choose whether you want to write a <CR><LF> or just a <LF> at the
end of line. Some programs look for just the <LF> at the eol
while others want the <CR><LF> pair at the eol. ETDE has no
trouble reading either style but allows you to specify the output
style. You may change the style by pressing the ToggleCRLF
function key or by using tdecfg to set the default. Here's a
little diagram that may help explain the new functions better
than I can write.
Output
Input ETDE's internal representation Toggle
files ┌────────────────────────────┐ files
with │ ETDE will read files with │ with
<CR><LF> ====>│ lines that terminate in │ =====> <CR><LF>
at eol │ either <CR><LF> or <LF>. │ at eol
│ │
│ │
files │ Internally, all lines end │ files
with │ with the <LF> character. │ with
<LF> =====>│ │ =====> <LF>
at eol └────────────────────────────┘ at eol
Editor fields and information lines:
Sample ETDE screen
┌─── File number - each window opened to same file has same number
│ ┌─── Window letter
│ │
│ │ ┌─── Dirty file indicater - asterisk
│ │ │ ┌─── File name
│ │ │ │ ┌──── File attributes
│ │ │ │ │ ┌──── Total number of lines in file
│ │ │ │ │ │ ┌─── line:column
┌──────────────────────────────────────────────────────────────┐
│ The first line on the screen contains file information │
├──────────────────────────────────────────────────────────────┤
│........1..... Optional ruler line ......5........6..│
├──────────────────────────────────────────────────────────────┤
│ │
│ │
│ File area │
│ │
│ │
│ │
├──────────────────────────────────────────────────────────────┤
│ Editor modes and information │
└──────────────────────────────────────────────────────────────┘
Insert
│ │ │ │ │ │ │ │ │ │ │ └─ Overwrite
│ │ │ │ │ │ │ │ │ │ └───── ^Z at eof?
│ │ │ │ │ │ │ │ │ └───── trim trailing
│ │ │ │ │ │ │ │ │ space at eol, T = TRUE
│ │ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │ └───── CRLF or LF at eol?
│ │ │ │ │ │ │ └───── word wrap indicator
│ │ │ │ │ │ └───── Sync cursor in all windows?
│ │ │ │ │ └───── Ignore / Match search case?
│ │ │ │ └───── Indent mode?
│ │ │ └───── Smart tab mode?
│ │ └───── Available memory for editing files
│ └───── Total number of windows, including hidden windows
└───── Total number of open files
Multiple keys:
I use the following abbreviated key definitions throughout this
file:
^ = Control # = Shift @ = Alt
For example, ^F5 means press and hold the Control key and then
press F5 while holding down the Control key. You will have two
keys depressed together at the same time. The function assigned
to that key combination will be executed as soon as the second
key is pressed. You may release the keys in any order you
choose.
Cursor movement:
101 Keyboard overview
Cursor keys Keypad keys
┌─────┬─────┬─────┐ ┌───────┬───────┬───────┬───────┐
│ Ins │Home │PgUp │ │NumLock│Grey / │Grey * │Grey - │
├─────┼─────┼─────┤ ├───────┼───────┼───────┼───────┤
│ Del │ End │PgDn │ │ Home │ Up │ Pg Up │ Grey │
└─────┴─────┴─────┘ ├───────┼───────┼───────┤ + │
│ Left │Center │ Right │ │
┌─────┐ ├───────┼───────┼───────┼───────┤
│ Up │ │ End │ Down │ Pg Dn │ Grey │
┌─────┼─────┼─────┐ ├───────┴───────┼───────┤ │
│Left │Down │Right│ │ Ins │ Del │ Enter │
└─────┴─────┴─────┘ └───────────────┴───────┴───────┘
If you like using these grey With Num Lock off,
cursor keys, these function you can probably guess most
assignments are for you. of these function assignments.
Grey cursor keys Keypad keys
Up - move cursor up Home - toggle col 1 & beg of line
Down - move cursor down ^Home - first line in window
Left - move cursor left Pg Up - page up
Right - move cursor right ^Pg Up - goto first page in file
^Up - scroll cursor up Center - move to center of window
^Down - scroll cursor down ^Center - line to center of window
^Left - cursor to previous word End - last character in line
^Right - cursor to next word ^End - last line in window
@Up - scroll text up Pg Dn - page down
@Down - scroll text down ^Pg Dn - goto last page in file
@Left - horizontal char left Ins - toggle insert mode
@Right - horizontal char right Del - delete character
^#Left - horizontal page left ^Del - stream delete character
^#Right - horizontal page right Grey - - scroll screen up
@Left - horizontal char left Grey + - scroll screen down
@Right - horizontal char right ^Grey - - fixed scroll screen up
^Grey + - fixed scroll screen down
Enter - Insert line and move down
#Enter - 1st char in next line
Note: The Alt+Cursor keys are not ^Enter - column 1 in next line
available on 83/84 key keyboards.
Pressing the Alt + a number key on
the keypad generates a character code
and not a cursor movement command.
FYI, the Alt+keypad is the method for
entering any ASCII or Extended ASCII
character into the text file.
Function Keys:
I tried to use some logical order when I assigned functions to
the function keys. I use a 101 keyboard most of the time, so it
should be easy to see the logical function grouping with it. The
function keys on a 101 keyboard are placed along the top of the
keyboard. Functions are arranged as follows:
F1 Help
F2 Save files or change attributes
F3 Quit; Macros
F4 Exit; load new files
F5/F6 Search and replace
F7/F8/F9 Windows
F10/F11/F12 Margins and formatting
Note: The key assignments in ETDE are quite different from those
of the English version. All the ALT and SHIFT-ALT combinations
have been reserved for non-English characters via macros.
F1 = Instantaneous Help
File Functions:
#F2 = Save file
Saves all changes made to file. Existing file is overwritten by
the new file. It does not prompt for a new file name -
automatically assumes you want to overwrite the old file.
F2 = Save as
If you don't want to overwrite the original file but you want to
save the contents of the current file, you may save the file
under a different file name. This function prompts you for a
file name to save the changes (press escape to abort).
@F2 = Set file attributes
Change the attributes of a file. Attributes are: A = Archive, S
= System, H = Hidden, R = Read-Only. You can change the
attributes of a file so that read-only files can be edited. To
edit a read-only file: 1) edit the file, 2) change the file
attributes to archive, 3) save the changes made in the file, 4)
change the file attributes back to read-only.
F3 = Quit file
Abandons any changes made in the file and closes or kicks the
file out of the current window. If you are editing multiple
files or have multiple windows, ETDE searches for any invisible
files to display in the current window. If no invisible windows
are found, ETDE combines windows. If this is the only file being
edited, F3 quits ETDE. If you made any changes to the file, it
asks you if you want to abandon them. You can create an
invisible window when you load in a file over the current file.
Nothing happens to the invisible file or window - you just can't
see it.
F4 = File (save and quit)
This function is a combination of Save and Quit (#F2 & F3 above).
#F4 = Edit new file
To bring another file into the editor, use this function. It
loads the file into the current window and previous window
becomes invisible. You can even load several copies of the same
file. I like this because I often need to refer back to the
original unchanged file. Each time you load a file, it is
treated as a different file.
@F4 = Edit next file
If you type mutliple file names or type wildcard characters on
the command line, press this key to bring in the next file or the
next matching file into the editor. You may press this key at
any time. When I use this feature, I usually split the screen
and load the next file into a window. This feature is useful
when you need to look in several files for a piece of code or if
you know that you are going to edit several files at the same
time.
^F4 = Directory List
List the contents of a directory or matching files. At the
prompt, press enter to list all files in the current directory or
enter any valid subdirectory name, file name, or wild card
characters. You don't have to put a *.* at the end of a
subdirectory name; the directory list function adds those wild
card characters to subdirectory names as a default. A '\' is
added to the end of subdirectory names in the file list. To list
the files in other directories, just move the cursor to the
desired subdirectory name and press enter. When you see ..\ in
the directory list, the double periods represent the parent of
the current directory. The .\ represents the current directory.
You may move up and down the directory tree by selecting the
parent or childrens of the current directory.
Macros:
@F3 = Macro record
This key toggles macro record off and on. A flashing "Recording"
is displayed in the lite bar, so it shouldn't be too difficult to
tell when record is on. This function assigns a keystroke or a
series of keystrokes to an unused function key.
There is room for 1024 keystrokes in the macro buffer. There are
no restrictions on the length of a single macro. If you want,
you may define one macro that contains 1024 keystrokes. When
ETDE terminates, all macros definitions disappear. Macro
definitions are temporary. If you want to reuse macros that are
defined during an editing session, they need to be saved before
you exit ETDE. Use the load macro command to bring in a
previously saved macro file.
For those who want to permanently assign characters or macros to
unused function keys, create your favorite macros and save them
to disk. Then, use tdecfg, option 5, to permanently save the
macro file in ETDE. Your favorite macros will be available
anytime you use ETDE.
^F3 = Save macro file
Saves all macro definitions to a file. ETDE prompts for the
macro file name.
#F3 = Load macro file
Prompts for a search pattern or file name. I can never remember
macro file or path names, so this function uses a file pick list.
^ESC = Clear macros
Resets or clears all macros.
Find and Search/Replace:
@F7 = Toggle search case
Most of the time I don't care about matching the case of the
search pattern. The default in ETDE is to ignore search case.
If you want to consider the search case, press this key to toggle
the case flag. The state of the flag is displayed, in English,
in the lite bar at the bottom of the screen. You can toggle the
case of the search flag at any time, even after you define the
search pattern.
#F5 = find forward
To define the search pattern, use this function. It prompts you
for the search pattern. The pattern is defined (even across
files) until changed.
#F6 = find backward
Same as find forward except search backward in file.
F5 = Repeat find forward
Once the search pattern has been defined (Shift F5 or Shift F6),
you can press this key at any time in any file to find the next
occurrence of pattern. I decided to use two sets of functions to
perform searches. Once I found a pattern, I might do some
editing and then find the next occurrence. I hate to define the
search pattern over and over or set the search direction over and
over. This function does a wrap search - when it reaches the eof
it starts over at the beginning of the file.
F6 = Repeat find backward
Like repeat find forward, you can press this key at anytime once
the search pattern has been defined.
@F5 = Repeat find forward2
Like F5 except the cursor is not repositioned to the middle of
the screen.
@F6 = Repeat find backward2
Like F6 except the cursor is not repositioned to the middle of
the screen.
^F5 = Search/Replace forward
This function prompts you for the search pattern and the
replacement text. If you want to match the search case, remember
to toggle the search flag (which can be done at any time). You
can either do prompt or no prompt replacing. Regardless of
prompt or noprompt replacing, this function actually moves the
cursor to the pattern and displays it on the screen and replaces
the text. If you are using ETDE on a slow machine, you can see
the search/replace taking place. I implemented the function this
way because I just like to see what the search/replace function
is doing.
^F6 = Search/Replace backward
Same as search/replace forward except backwards.
Window Functions:
#F7 = Split window vertically
Splits the screen at the current cursor location. The current
file is displayed in multiple windows. Changes to a file are
echoed in all windows opened to the same copy of that file. You
can also see any marked blocks in the same copy of the file in
different windows. There has to be at least 15 columns in any
window, so the number of visible windows is limited by the
display screen.
^F8 = Split window horizontally
Splits the screen at the current cursor location. There has to
be at least 1 text line in any window, so the number of visible
windows is limited by the display screen.
#F9 = Resize window
Sometimes there is a need to concentrate on the contents of one
window. Use the up and down arrow keys to adjust the current
window to desired size. Changing the size of the top window is
not allowed.
^F9 = Zoom window
Makes the current window fill the whole screen. All windows
except the current window become invisible.
F8 = Next window
If more than one window is displayed, you can press one key to
move to the next window.
F7 = Previous window
Move to previous window - opposite of next window.
F9 = Next Hidden Window
Displays "hidden" or "invisible" windows in the same place as the
current window. The current window then becomes invisible.
Block Commands:
Block operations can be done within or between files. Operations
on line blocks that move text are carried out on the line
immediately below the cursor. Operations on box or stream blocks
that move text begin at the column of the cursor.
^B - Mark Box Block
This key is used to mark both the beginning and ending corner of
a box block. Press ^B to mark the beginning line/column.
^L - Mark Line Block
This key is similar to the operation of the box block, but entire
lines are marked.
^S - Mark Stream Block
All the text between the beginning and ending column, sorta like
a stream of characters, is marked.
^U - Unmark Block
If you make a booboo when marking blocks, press ^U to unmark the
block and start over. After certain block operations, the block
may remain marked - just press ^U to unmark it.
^X - Group Delete block
Sorta self explanatory. This function deletes the text in the
marked block.
^M - Move block
Move the cursor to the desired location and press ^M to move the
marked block. In line mode, the text is moved to the line
immediately below the cursor. In box and stream mode, the block
is moved to the column of the cursor.
^C - Copy block
With line blocks, the block is copied to the line below the
cursor. With box and stream blocks, the block is copied
beginning at the column of the cursor. If you try to copy a Line
block within itself, the block copy starts at the first line
immediately after the marked block.
^K - Kopy block
Same as copy block except block stays marked. Sorta like a poor
man's cut-and-paste buffer.
^O - Overlay block
You can only overlay Box blocks. The original block stays marked
after the operation.
^W - Fill box block
Fills the marked Box block with character. This function is
useful for filling in a column of periods for tables and such.
^N - Number box block
ETDE prompts you for the starting number, the increment, and
whether to left or right justify the numbers. ETDE only handles
integers - no floating point numbers are allowed. I felt that
there were too many things involved in real numbers, eg. number
of significant places to left of decimal, to right of decimal,
exponents, engineering form, scientific form, etc.... If you
want real numbers, just use a combination of the number box and
fill box functions. Use the fill box function to make a column
of decimals and the number box function to fill in the left and
right side of the decimal.
^P - Print block
Prints the block to the PRN device. I haven't tried redirecting
the PRN, but it should work. This function prompts for block or
file to print. Press Control-Break to stop printing.
^S - Sort box block
Lines are sorted, ascending or descending, using the contents of
the box block as the sort keys. The Ignore/Match toggle
determines whether case of the keys is significant. To sort
multiple columns, sort the least significant column first.
^F - Write block to file
Writes the marked block to a file. ETDE prompts for the file
name.
^E - Block expand tabs
Expands the tabs in the marked block, which must be a LINE block,
using the current tab setting.
^T - Block trim trailing
Trims trailing space, if any, at the end of each line in a LINE
block.
@< - Block upper case
Convert all lower case characters in the block to upper case.
@> - Block lower case
Convert all upper case characters in the block to lower case.
@? - Block strip high bit
Strip the high bit off all characters in the block. This
function is useful when editing files produced by WordStar.
Word Processing Commands:
^_ - toggle word wrap
Toggle word wrap between off, Fixed Wrap, and Dynamic Wrap. In
Fixed Wrap mode, the left margin is explicitly determined by the
left margin setting. In Dynamic Wrap mode, the left margin is
determined by the indentation of the current line. If the cursor
is somewhere in the line, words are pushed to the next line.
In ETDE, other than margins, word wrap and format paragraph or
format text have nothing to do with each other. Word wrap is
used to push characters or the cursor to the next line when the
right margin is violated. Format paragraph and format text can
be used at any time - they do not depend on the state of the
WordWrap flag.
^F10- Set Left margin
May be set to any column equal to or greater than 1 and less than
the right margin.
^F12- Set Right margin
May be set to any column greater than the left margin and less
than the maximum line length or 1040.
^F11- Set Paragraph margin
The paragraph margin may be set to any column less than the right
margin.
F11- format paragraph
Text is formatted from the beginning of the paragraph according
to the current left, right, and paragraph margins. If the cursor
is not on the beginning line of a paragraph, ETDE searches for
start of the paragraph and formatting starts there. The entire
paragraph is formatted according to the margins.
F12- Format Text
Text is formatted from the cursor onward. This function does not
search for the beginning of the paragraph to start the format.
#F10- Left justify
Beginning of current line is adjusted to start at left margin
#F12- Right justify
End of current line is adjusted so it ends at the right margin
#F11 - Center justify
Current line is centered between the left and right margins.
Other keys:
Enter
Insert a newline at the cursor. If the cursor is in the middle
of a line, the line is split at the cursor. Indentation is
matched if the editor is in the Indent mode.
#Enter
Move the cursor down a line. The cursor is placed on the first
non-blank character in the next line. No lines are added to the
file.
^Enter
Move the cursor down a line. The cursor is placed on column 1 in
the next line. No lines are added to the file.
Up (arrow)
Move cursor up.
Down (arrow)
Move cursor down.
Left (arrow)
Move cursor left.
Right (arrow)
Move cursor right.
Home
Toggles between the first non-blank character and column zero.
End
Move cursor to the end of line character.
Page Up
Move cursor up one page.
Page Down
Move cursor down one page.
^Right
Move cursor one word right.
^Left
Move cursor one word left.
@ Right
Pan the screen one character to the right.
@ Left
Pan the screen one character to the left.
^Home
Move cursor to first line on screen.
^End
Move cursor to last line on screen.
^Page Up
Move cursor to first page in file.
^Page Down
Move cursor to last page in file.
^G
Move to line number. ETDE prompts for line number. Press Escape
to abort.
Center
The cursor is moved to the center of the current window.
^Center
The line the cursor is on is moved to the center of the current
window.
Grey - on key pad
@ Up
Scroll window up with cursor staying on same line in file.
Grey + on key pad
^ Down
Scroll window down with cursor staying on same line in file.
^Grey - (grey - on keypad)
Cursor stays on same line on the screen as the file scrolls up.
^Grey + (grey + on keypad)
Cursor stays on same line on the screen as the file scrolls down.
^# Left
Horizontal page left.
^# Right
Horizontal page right.
ESC - undo line
Get back the original unchanged line. When cursor is moved off a
line, all changes to the file are made and there is no way to get
back the contents of a line.
Del
Delete the character, if any, under the cursor.
^Del
Delete the characters in the file as if they were a stream.
Lines will be joined at the cursor and eventually every character
in the file may be deleted.
Backspace
Delete the character to the left of the cursor and move left. If
the cursor is on the first column of a line, the current line is
joined with the line above. If in indent mode and the cursor is
on the first non-blank character, ETDE matches the indentation of
the previous line(s).
Tab
If in insert mode, insert the appropriate number of spaces for a
tab and move the cursor left. If in overwrite mode, just move
the cursor left w/o inserting text.
Ins
Toggle between insert and overwrite mode.
^I
Toggle between indent and no indent mode. In indent mode, ETDE
searches for the first non-blank character on previous lines and
places the cursor on that column when a carriage return is
pressed. When backspacing in indent mode, ETDE lines up the
indentation with the first non-blank character of the previous
line(s).
@F12 - Toggle ruler
Toggle display of ruler in all visible windows.
^Q
Duplicates the current line.
@ Backspace
Deletes the text from the cursor to the end of line.
^D
Deletes current line, cursor does not move.
^Y
Undelete the most recently deleted line. The undelete buffer has
room for 10k of deleted text. If more than 10k of text is
deleted, the oldest line(s) are pushed out before the new one is
added. You may press ^U repeatedly to undelete all lines in the
buffer.
Deleted lines from line delete, delete to end of line, word
delete, join line, and backspace are stored in the undelete
buffer.
^ Enter
Add a blank line below cursor.
^\
Split line at column of cursor. If in indent mode, the split
line is autoindented.
^J
Join the current line with the line below.
^Tab
Set tabs.
^]
Parenthesis Balance.
^Z
Toggle writing Control Z at the end of file. Some programs may
misbehave if a Control Z is not at the end.
@1 - @3
Set a file marker. Each file may have up to 3 markers.
#@1 - #@3 (Shift+Alt+1 thru Shift+Alt+3)
Goto a previously defined file marker.
^A
Writes the current system date and time at the column of the
cursor.
Toggles:
F10
Toggle cursor sync. Only cursor movement commands are synced.
Commands that change text are not synced.
@F11
Toggle eol display. A special character is diplayed in the
column of the actual new line.
@F9
Toggle writing <CR><LF> or <LF> at end of line. ETDE will read a
text file with lines that end in either method; however, you may
want to write the file in a different method. I think *nix
systems only want a <LF> of the end of line.
@F10
Toggle trimming trailing space at the end of line. A 'T' is
displayed in the bottom right of the mode line to indicate
trailing space is trimmed.
@Tab
Toggle smart tab mode. Smart tab positions are determined by
looking for the first, previous, non-blank line above the cursor
and then positioning the cursor at the begining of the next word.
It's useful for building tables and formatted data files.
Editor command summary:
Function Description
Help Display instantaneous help screen
Rturn Insert newline and move down while matching indentation
NextLine Move cursor to first character in next line
BegNextLine Move cursor to first column in next line
LineDown Move cursor down a line
LineUp Move cursor up a line
CharRight Move cursor right one character
CharLeft Move cursor left one character
ScrollRight Pan screen one character right
ScrollLeft Pan screen one character left
WordRight Move cursor to beginning of next word
WordLeft Move cursor to beginning of previous word
ScreenDown Page screen down
ScreenUp Page screen up
EndOfFile Move to the last page in a file
TopOfFile Move to the first page in a file
BotOfScreen Move cursor to bottom of current window
TopOfScreen Move cursor to top of current window
EndOfLine Move cursor to end of line
BegOfLine Move cursor to first character in line or column 1
JumpToLine Move cursor to line entered by user
CenterWindow Move cursor to center of current window
CenterLine Move current line and cursor to center of window
HorizontalScreenRight Page screen right
HorizontalScreenLeft Page screen left
ScrollDnLine Scroll screen down 1 line and cursor moves with line
ScrollUpLine Scroll screen up 1 line and cursor moves with line
FixedScrollUp Scroll screen up 1 line and cursor does not move
FixedScrollDn Scroll screen down 1 line and cursor does not move
ToggleOverWrite Toggle insert/overwrite mode and cursor changes shape
ToggleIndent Toggle indent mode on/off
ToggleWordWrap Toggle word wrap on/off
ToggleCRLF Toggle CRLF/LF at eol when writing file to disk
ToggleTrailing Toggle trim trailing space at eol
ToggleZ Toggle writing ^Z at eof
ToggleEol Toggle display of eol character
ToggleSync Toggle cursor sync
ToggleRuler Toggle ruler display
SetTabs Set file tabs
SetLeftMargin Set left margin
SetRightMargin Set right margin
SetParagraphMargin Set paragraph margin
FormatParagraph Format the entire paragraph according to margins
FormatText Format from the cursor line to end of paragraph
LeftJustify Left justify a line
RightJustify Right justify a line
CenterJustify Center justify a line
Tab Move cursor to next tab and add spaces if insert mode
BackTab Move cursor to previous tab and delete if insert mode
ParenBalance Match (), {}, or [] under the cursor
BackSpace Delete previous character
DeleteChar Delete current character, but do not join lines
StreamDeleteChar Delete current character and join lines if at eol
DeleteLine Delete current line
DelEndOfLine Delete from the cursor to the eol
WordDelete Delete from the cursor to the end of word
AddLine Insert a blank line under the cursor
SplitLine Split the current line at the cursor
JoinLine Join next line with current line at the cursor
DuplicateLine Duplicate the current line
AbortCommand Abort editor functions
UndoLine Get back the original contents of a line
UndoDelete Get back up to the last 20 deleted lines
ToggleSearchCase Toggle matching/ignoring search case and display mode
FindForward Prompt for pattern and search forward
FindBackward Prompt for pattern and search backward
RepeatFindForward1 Repeat find forward and adjust cursor to center window
RepeatFindForward2 Repeat find forward and do not adjust cursor
RepeatFindBackward1 Repeat find backward and adjust cursor to center window
RepeatFindBackward2 Repeat find backward and do not adjust cursor
ReplaceForward Search and replace pattern forward
ReplaceBackward Search and replace pattern backward
MarkBox Mark start or end of a box block
MarkLine Mark start or end of a line block
MarkStream Mark start or end of a stream block
UnMarkBlock Unmark a block
FillBlock Fill a box block with prompted character
NumberBlock Fill a box block with starting number using increment
CopyBlock Copy a block to cursor and unmark block
KopyBlock Copy a block to cursor and leave block marked
MoveBlock Move a block to cursor and unmark block
OverlayBlock Overlay a box block
DeleteBlock Delete a block
BlockToFile Write a marked block to a file
PrintBlock Print a block or file
BlockExpandTabs Expand tabs in marked LINE block using tab setting
BlockTrimTrailing Trim trailing space from all lines in a line block
BlockUpperCase Convert all lower case in block to upper case
BlockLowerCase Convert all upper case in block to lower case
BlockStripHiBit Strip the high bit from all characters in block
EditFile Editor prompts for file to edit
DirList List matching files in subdirectories
File Save file and quit window
Save Save file
SaveAs Save file under a new file name
SetFileAttributes Set current file attributes
EditNextFile Edit next file on command line
RedrawScreen Redraw the screen
SizeWindow Change size of current window
SplitHorizontal Split current window horizontally
SplitVertical Split current window vertically
NextWindow Move to next window
PreviousWindow Move to previous window
ZoomWindow Make current window the maximum window size
NextHiddenWindow Switch to next hidden window
SetMark1 Set a file marker
SetMark2
SetMark3
GotoMark1 Move cursor to previously defined marker
GotoMark2
GotoMark3
RecordMacro Record keystrokes
SaveMacro Save macro to a file
LoadMacro Load macro from a file
ClearAllMacros Clear the macro buffer
Quit Quit current window and file and abandon changes.