Scroll to navigation

E3(1) General Commands Manual E3(1)


E3 - A mini text editor


e3[ws|em|pi|vi|ne] [filename]


e3 is a complete mini application written fully in assembler, with a code size less than 10000 byte. There is a status & input line, where you can enter filenames, blocknames, find-texts and line numbers. The editor commands are similarly the families of Wordstar-like or Emacs or Pico or vi or Nedit editors. For online help press ESC:h in vi mode, else Alt-H. This man page describes Wordstar key bindings only.


Go word left
Go page down
Go right
Go up
Go word right
Delete current character
Delete left character
Get online help
Set block start marker
Copy current block
Save file and load a new one
Set block end marker
Abort editing and exit. Confirm with Y or y that your changes are lost.
Insert a file as a new block
Save file and continue editing
Move current block inside file
Save a block into a file
Save file and exit
Delete text a block
Suspend (simple ^Z in other editor modes)
Repeat last ^QF or ^QA
Enter new line
Search & Replace (a prompt appears). For options compare ^QF.
Go to block begin
Go to end of file
Go to end of line
Go to top of screen: 1st columne, 1st line
Find a text string (a prompt appears). Valid options are Case sensitive and Backward. You could abort via pressing ^U . This options are equal to e3em, e3pi, e3ne, but their abort keys are ^G and ^C.
Delete character under cursor
Delete character left of cursor
Delete up to line begin
Go to line number (prompt appears)
Go to block end
Go to file begin
Go to line begin
Go to last position of find
Go to previous word
Go to bottom of window (last line, end of line)
Delete to line end
Go to next word
Go page up
Go left
Delete to next word
Undo the last operation. Also abort input in status line (this is used for ^QI,^QF,^KR,^KW etc.)
Toggle insert mode
Scroll up
Go down
Delete current line
Scroll down


e3 has an UNDO mode starting in v2.2. There is no predefined UNDO level count. You can expect to UNDO at least one last insert-, delete-, overwrite- or sed_pipe-operation, but in most cases there are lots of UNDO stages available. e3 has a fixed size undo buffer and will use an external helper file if some deleted data is bigger sized than the undo buffer. This buffer is organized as a ring, overwriting older UNDO information if necessary. So one never can say exactly how many UNDO operations are possible. For using the UNDO press one of:

in Wordstar mode
in Pico mode
in Emacs mode
in vi command mode
in Nedit mode


e3 has an arithmetic calculator built in for some simple arithmetic calculations inside your text. Place cursor at begin of the task i.e. something like: -3.002*-(2--3)= and press one of:

in Wordstar mode
in Pico mode
in Emacs mode
in vi command mode
in Nedit mode

This will insert the result into text. Use the values between -999999999999.999999 ... 999999999999.999999 with up to 6 decimal digits and the operators +-*/ and parenthesis ( ). Also available are p for constant PI and r for accessing the result of last calculation


You can switch to other editor mode by pressing one of:

in Wordstar mode
in Pico mode
in Emacs mode
in vi command mode
in Nedit mode

e3 will set a prompt SET MODE . Now enter one of e3ws, e3em, e3pi, e3vi, e3ne for setting Wordstar-like or Emacs or Pico or vi or Nedit style.


e3 accepts a filename for text editing. Switch the editor mode depending of the binary name, one of e3ws, e3em, e3pi, e3vi, e3ne


is an assembled executable for Linux, FreeBSD, NetBSD, OpenBSD, BeOS(tm), QNX(tm). e3ws, e3em, e3pi, e3vi, e3ne are symbolic links to e3.
is an assembled executable for 32 bit Win versions like 95/98/ME/etc.
is a 'C' compiled executable for some other platforms, optional built, supporting WS key bindings only.
is a new experimental (alpha code quality) assembled executable for ARM Linux, optional built (identical e3, but no arithmetics and no UNDO available).
help text file (for e3c only)
error message text file (for e3c only)
e3-16,, e3-16e.exe are special bonus files for 16 bit operating systems ELKS (==Embeddable Linux Kernel Subset) and DOS, supporting WS key bindings only.


e3 is Copyright (c) 2000,01,02,03 Albrecht Kleine

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.


There probably are some, but I don't know what they are yet.