1E3(1) General Commands Manual E3(1)
2
3
4
6 E3 - A mini text editor
7
8
10 e3[ws|em|pi|vi|ne] [filename]
11
12
14 e3 is a complete mini application written fully in assembler, with a
15 code size less than 10000 byte. There is a status & input line, where
16 you can enter filenames, blocknames, find-texts and line numbers. The
17 editor commands are similary the families of Wordstar-like or Emacs or
18 Pico or vi or Nedit editors. For online help press ESC:h in vi mode,
19 else Alt-H. This man page describes Wordstar key bindings only.
20
21
23 ^A Go word left
24
25 ^C Go page down
26
27 ^D Go right
28
29 ^E Go up
30
31 ^F Go word right
32
33 ^G Delete current character
34
35 ^H Delete left character
36
37 ^I Tabulator
38
39 ^J Get online help
40
41 ^KB Set block start marker
42
43 ^KC Copy current block
44
45 ^KD Save file and load a new one
46
47 ^KK Set block end marker
48
49 ^KQ Abort editing and exit. Confirm with Y or y that your changes
50 are lost.
51
52 ^KR Insert a file as a new block
53
54 ^KS Save file and continue editing
55
56 ^KV Move current block inside file
57
58 ^KW Save a block into a file
59
60 ^KX Save file and exit
61
62 ^KY Delete text a block
63
64 ^KZ Suspend (simple ^Z in other editor modes)
65
66 ^L Repeat last ^QF or ^QA
67
68 ^M Enter new line
69
70 ^QA Search & Replace (a prompt appears). For options compare ^QF.
71
72 ^QB Go to block begin
73
74 ^QC Go to end of file
75
76 ^QD Go to end of line
77
78 ^QE Go to top of screen: 1st columne, 1st line
79
80 ^QF Find a text string (a prompt appears). Valid options are Case
81 sensitive and Backward. You could abort via pressing ^U . This
82 options are equal to e3em, e3pi, e3ne, but their abort keys are
83 ^G and ^C.
84
85 ^QG Delete character under cursor
86
87 ^QG Delete character left of cursor
88
89 ^QH,^Q(Del)
90 Delete up to line begin
91
92 ^QI Go to line number (prompt appears)
93
94 ^QK Go to block end
95
96 ^QR Go to file begin
97
98 ^QS Go to line begin
99
100 ^QV Go to last postion of find
101
102 ^QW Go to previous word
103
104 ^QX Go to bottom of window (last line, end of line)
105
106 ^QY Delete to line end
107
108 ^QZ Go to next word
109
110 ^R Go page up
111
112 ^S Go left
113
114 ^T Delete to next word
115
116 ^U Undo the last operation. Also abort input in status line (this
117 is used for ^QI,^QF,^KR,^KW etc.)
118
119 ^V Toggle insert mode
120
121 ^W Scroll up
122
123 ^X Go down
124
125 ^Y Delete current line
126
127 ^Z Scroll down
128
129
130
132 e3 has an UNDO mode starting in v2.2. There is no predefined UNDO level
133 count. You can expect to UNDO at least one last insert-, delete-, over‐
134 write- or sed_pipe-operation, but in most cases there are lots of UNDO
135 stages available. e3 has a fixed size undo buffer and will use an
136 external helper file if some deleted data is bigger sized than the undo
137 buffer. This buffer is organized as a ring, overwriting older UNDO
138 information if neccessary. So one never can say exactly how many UNDO
139 operations are possible. For using the UNDO press one of:
140
141 ^U in Wordstar mode
142
143 ^QU in Pico mode
144
145 ^_ in Emacs mode
146
147 u in vi command mode
148
149 ^U in Nedit mode
150
151
153 e3 has an arithmetic calculator built in for some simple arithmetic
154 calculations inside your text. Place cursor at begin of the task i.e.
155 something like: -3.002*-(2--3)= and press one of:
156
157 ^KN in Wordstar mode
158
159 ^QC in Pico mode
160
161 ^X^N in Emacs mode
162
163 # in vi command mode
164
165 ^K in Nedit mode
166
167 This will insert the result into text. Use the values between
168 -999999999999.999999 ... 999999999999.999999 with up to 6 decimal dig‐
169 its and the operators +-*/ and parenthesis ( ). Also available are p
170 for constant PI and r for accessing the result of last calculation
171
172
173
175 You can switch to other editor mode by pressing one of:
176
177 ^KM in Wordstar mode
178
179 ^QM in Pico mode
180
181 altX in Emacs mode
182
183 <ESC>; in vi command mode
184
185 ^E in Nedit mode
186
187 e3 will set a prompt SET MODE . Now enter one of e3ws, e3em, e3pi,
188 e3vi, e3ne for setting Wordstar-like or Emacs or Pico or vi or Nedit
189 style.
190
191
192
193
195 e3 accepts a filename for text editing. Switch the editor mode depend‐
196 ing of the binary name, one of e3ws, e3em, e3pi, e3vi, e3ne
197
198
199
201 e3 is an assembled executable for Linux, FreeBSD, NetBSD, OpenBSD,
202 BeOS(tm), QNX(tm). e3ws, e3em, e3pi, e3vi, e3ne are symbolic
203 links to e3.
204
205 e3.exe is an assembled executable for 32 bit Win versions like
206 95/98/ME/etc.
207
208 e3c is a 'C' compiled executable for some other platforms, optional
209 built, supporting WS key bindings only.
210
211 e3arm is a new experimental (alpha code quality) assembled executable
212 for ARM Linux, optional built (identical e3, but no arithmetics
213 and no UNDO available).
214
215 e3.hlp help text file (for e3c only)
216
217 e3.res error message text file (for e3c only)
218
219 e3-16 e3-16, e3-16.com, e3-16e.exe are special bonus files for 16 bit
220 operating systems ELKS (==Embeddable Linux Kernel Subset) and
221 DOS, supporting WS key bindings only.
222
223
225 e3 is Copyright (c) 2000,01,02,03 Albrecht Kleine
226
227 This program is free software; you can redistribute it and/or modify it
228 under the terms of the GNU General Public License as published by the
229 Free Software Foundation; either version 2 of the License, or (at your
230 option) any later version.
231
232 This program is distributed in the hope that it will be useful, but
233 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
234 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
235 Public License for more details.
236
237 You should have received a copy of the GNU General Public License along
238 with this program; if not, write to the Free Software Foundation, Inc.,
239 675 Mass Ave, Cambridge, MA 02139, USA.
240
241
243 There probably are some, but I don't know what they are yet.
244
245
246
247 E3(1)