E3(1)
๐ E3 โ a mini text editor, bestie ๐
okay so. listen. this is the manual for e3, a mini text editor, and I need you to understand how iconic this is before we even start. it's E3(1) in the General Commands Manual, she's tiny, she's assembled, she's giving main character energy in under ten kilobytes. let's get into it ๐ซถ
โจ NAME โจ
e3 โ a mini text editor ๐
๐ธ SYNOPSIS ๐ธ
e3[ws|em|pi|vi|ne] [filename]
๐ฆ DESCRIPTION ๐ฆ
okay so e3 is a complete mini application and the way that she is written fully in assembler... no cap. her code size is less than 10000 byte. that's the whole girl. ๐ญ๐
there's a status & input line, and that's where you type in your filenames, blocknames, find-texts and line numbers. so useful, so versatile.
the editor commands come in families, like a whole friend group: Wordstar-like, or Emacs, or Pico, or vi, or Nedit. pick your vibe โจ
for online help, press ESC:h in vi mode, otherwise Alt-H. easy.
heads up bestie: this man page describes the Wordstar key bindings only. that's the flavor we're serving here. ๐
โจ๏ธ KEYBOARD COMMANDS FOR WS โจ๏ธ
okay here comes the whole list, no skipping, every single one is a baddie:
^Aโ go word left^Cโ go page down^Dโ go right^Eโ go up^Fโ go word right^Gโ delete current character^Hโ delete left character^Iโ tabulator^Jโ get online help^KBโ set block start marker^KCโ copy current block^KDโ save file and load a new one^KKโ set block end marker^KQโ abort editing and exit. Confirm withYorythat your changes are lost. (dramatic but necessary ๐ญ)^KRโ insert a file as a new block^KSโ save file and continue editing^KVโ move current block inside file^KWโ save a block into a file^KXโ save file and exit^KYโ delete text a block^KZโ suspend (simple^Zin other editor modes)^Lโ repeat last^QFor^QA^Mโ enter new line^QAโ Search & Replace (a prompt appears). for options compare^QF.^QBโ go to block begin^QCโ go to end of file^QDโ go to end of line^QEโ go to top of screen: 1st columne, 1st line^QFโ find a text string (a prompt appears). valid options are Case sensitive and Backward. you could abort via pressing^U. this options are equal toe3em,e3pi,e3ne, but their abort keys are^Gand^C.^QGโ delete character under cursor^QGโ delete character left of cursor^QH,^Q(Del)โ delete up to line begin^QIโ go to line number (prompt appears)^QKโ go to block end^QRโ go to file begin^QSโ go to line begin^QVโ go to last position of find^QWโ go to previous word^QXโ go to bottom of window (last line, end of line)^QYโ delete to line end^QZโ go to next word^Rโ go page up^Sโ go left^Tโ delete to next word^Uโ undo the last operation. also abort input in status line (this is used for^QI,^QF,^KR,^KWetc.)^Vโ toggle insert mode^Wโ scroll up^Xโ go down^Yโ delete current line^Zโ scroll down
โฉ๏ธ UNDO OPERATION DETAILS โฉ๏ธ
so e3 has an UNDO mode starting in v2.2. yes bestie, she can take it back. ๐
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. slay.
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. and 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. it's giving mystery, it's giving chaos. ๐
for using the UNDO press one of:
^Uโ in Wordstar mode^QUโ in Pico mode^_โ in Emacs modeuโ in vi command mode^Uโ in Nedit mode
๐งฎ BUILT IN CALCULATOR ๐งฎ
not her having a calculator built in?? for some simple arithmetic calculations inside your text. iconic behavior fr fr.
place cursor at begin of the task, i.e. something like:
-3.002*-(2--3)=
and press one of:
^KNโ in Wordstar mode^QCโ in Pico mode^X^Nโ in Emacs mode#โ in vi command mode^Kโ 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. math queen ๐งโจ
๐ RUNTIME MODE SWITCHING ๐
you can switch to other editor mode by pressing one of:
^KMโ in Wordstar mode^QMโ in Pico modealtXโ in Emacs mode<ESC>;โ in vi command mode^Eโ 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. glow up whenever you want ๐
โ๏ธ OPTIONS โ๏ธ
filenameโe3accepts a filename for text editing. switch the editor mode depending of the binary name, one ofe3ws,e3em,e3pi,e3vi,e3ne
๐ FILES ๐
e3โ is an assembled executable for Linux, FreeBSD, NetBSD, OpenBSD, BeOS(tm), QNX(tm).e3ws,e3em,e3pi,e3vi,e3neare symbolic links toe3.e3.exeโ is an assembled executable for 32 bit Win versions like 95/98/ME/etc.e3cโ is a 'C' compiled executable for some other platforms, optional built, supporting WS key bindings only.e3armโ is a new experimental (alpha code quality) assembled executable for ARM Linux, optional built (identicale3, but no arithmetics and no UNDO available).e3.hlpโ help text file (fore3conly)e3.resโ error message text file (fore3conly)e3-16โe3-16,e3-16.com,e3-16e.exeare special bonus files for 16 bit operating systems ELKS (==Embeddable Linux Kernel Subset) and DOS, supporting WS key bindings only.
ยฉ๏ธ COPYRIGHT ยฉ๏ธ
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.
๐ BUGS ๐
there probably are some, but I don't know what they are yet. (the most honest sentence in any manpage, periodt ๐)
okay that's the whole page bestie, you ate it up ๐
โจ this was E3(1) from the General Commands Manual, and the footer said E3(1) again โ so yeah, she opens and closes with her own name, as she should. go forth and edit, queen ๐๐ฆ๐
๐ฆ where this page comes from
- debian bookworm: e3 1:2.82+dfsg-2
- debian trixie: e3 1:2.82+dfsg-2
- ubuntu jammy: e3 1:2.82+dfsg-2
- ubuntu noble: e3 1:2.82+dfsg-2
- ubuntu resolute: e3 1:2.82+dfsg-4
- ubuntu stonking: e3 1:2.82+dfsg-4
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms