E3(1)

๐Ÿ“ฆ
version 2.82 ยท 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

๐Ÿ‘‘ 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 with Y or y that 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 ^Z in other editor modes)
  • ^L โ€” repeat last ^QF or ^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 to e3em, e3pi, e3ne, but their abort keys are ^G and ^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,^KW etc.)
  • ^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 mode
  • u โ€” 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 mode
  • altX โ€” 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 โ€” e3 accepts a filename for text editing. switch the editor mode depending of the binary name, one of e3ws, e3em, e3pi, e3vi, e3ne

๐Ÿ“ FILES ๐Ÿ“

  • e3 โ€” is an assembled executable for Linux, FreeBSD, NetBSD, OpenBSD, BeOS(tm), QNX(tm). e3ws, e3em, e3pi, e3vi, e3ne are symbolic links to e3.
  • 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 (identical e3, but no arithmetics and no UNDO available).
  • e3.hlp โ€” help text file (for e3c only)
  • e3.res โ€” error message text file (for e3c only)
  • e3-16 โ€” e3-16, e3-16.com, 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.


๐Ÿ› 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