Debian Codegraph @

e3.html

raw
1 <!-- manual page source format generated by PolyglotMan v3.0.9, -->
2 <!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
3
4 <HTML>
5 <HEAD>
6 <TITLE>E3(1) manual page</TITLE>
7 </HEAD>
8 <BODY bgcolor=white>
9 <A HREF="#toc">Table of Contents</A><P>
10 <P>
11
12 <H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
13 E3 - A mini text editor <P>
14
15 <H2><A NAME="sect1" HREF="#toc1">Synopsis</A></H2>
16 <B>e3[ws|em|pi|vi|ne]</B> [filename] <P>
17
18 <H2><A NAME="sect2" HREF="#toc2">Description</A></H2>
19 <P>
20 <I>e3</I>
21 is a complete mini application written fully in assembler, with a code
22 size less than 10000 byte. There is a status &amp; input line, where you can
23 enter filenames, blocknames, find-texts and line numbers. The editor commands
24 are similary the families of <I>Wordstar</I>-like or <I>Emacs</I> or <I>Pico</I> or <I>vi</I> or <I>Nedit</I>
25 editors. For online help press ESC:h in vi mode, else Alt-H. This man page
26 describes Wordstar key bindings only. <P>
27
28 <H2><A NAME="sect3" HREF="#toc3">Keyboard Commands for Ws</A></H2>
29 <P>
30
31 <DL>
32
33 <DT><B>^A </B></DT>
34 <DD>Go word
35 left </DD>
36
37 <DT><B>^C </B></DT>
38 <DD>Go page down </DD>
39
40 <DT><B>^D </B></DT>
41 <DD>Go right </DD>
42
43 <DT><B>^E </B></DT>
44 <DD>Go up </DD>
45
46 <DT><B>^F </B></DT>
47 <DD>Go word right </DD>
48
49 <DT><B>^G </B></DT>
50 <DD>Delete current
51 character </DD>
52
53 <DT><B>^H </B></DT>
54 <DD>Delete left character </DD>
55
56 <DT><B>^I </B></DT>
57 <DD>Tabulator </DD>
58
59 <DT><B>^J </B></DT>
60 <DD>Get online help </DD>
61
62 <DT><B>^KB </B></DT>
63 <DD>Set
64 block start marker </DD>
65
66 <DT><B>^KC </B></DT>
67 <DD>Copy current block </DD>
68
69 <DT><B>^KD </B></DT>
70 <DD>Save file and load a new one
71 </DD>
72
73 <DT><B>^KK </B></DT>
74 <DD>Set block end marker </DD>
75
76 <DT><B>^KQ </B></DT>
77 <DD>Abort editing and exit. Confirm with Y or y that
78 your changes are lost. </DD>
79
80 <DT><B>^KR </B></DT>
81 <DD>Insert a file as a new block </DD>
82
83 <DT><B>^KS </B></DT>
84 <DD>Save file and
85 continue editing </DD>
86
87 <DT><B>^KV </B></DT>
88 <DD>Move current block inside file </DD>
89
90 <DT><B>^KW </B></DT>
91 <DD>Save a block into
92 a file </DD>
93
94 <DT><B>^KX </B></DT>
95 <DD>Save file and exit </DD>
96
97 <DT><B>^KY </B></DT>
98 <DD>Delete text a block </DD>
99
100 <DT><B>^KZ </B></DT>
101 <DD>Suspend (simple
102 ^Z in other editor modes) </DD>
103
104 <DT><B>^L </B></DT>
105 <DD>Repeat last ^QF or ^QA </DD>
106
107 <DT><B>^M </B></DT>
108 <DD>Enter new line </DD>
109
110 <DT><B>^QA </B></DT>
111 <DD>Search
112 &amp; Replace (a prompt appears). For options compare ^QF. </DD>
113
114 <DT><B>^QB </B></DT>
115 <DD>Go to block begin
116 </DD>
117
118 <DT><B>^QC </B></DT>
119 <DD>Go to end of file </DD>
120
121 <DT><B>^QD </B></DT>
122 <DD>Go to end of line </DD>
123
124 <DT><B>^QE </B></DT>
125 <DD>Go to top of screen: 1st columne,
126 1st line </DD>
127
128 <DT><B>^QF </B></DT>
129 <DD>Find a text string (a prompt appears). Valid options are <I>C</I>ase
130 sensitive and <I>B</I>ackward. You could abort via pressing ^U . This options are
131 equal to <I>e3em</I>, <I>e3pi</I>, <I>e3ne</I>, but their abort keys are ^G and ^C. </DD>
132
133 <DT><B>^QG </B></DT>
134 <DD>Delete character
135 under cursor </DD>
136
137 <DT><B>^QG </B></DT>
138 <DD>Delete character left of cursor </DD>
139
140 <DT><B>^QH,^Q(Del) </B></DT>
141 <DD>Delete up to
142 line begin </DD>
143
144 <DT><B>^QI </B></DT>
145 <DD>Go to line number (prompt appears) </DD>
146
147 <DT><B>^QK </B></DT>
148 <DD>Go to block end </DD>
149
150 <DT><B>^QR
151 </B></DT>
152 <DD>Go to file begin </DD>
153
154 <DT><B>^QS </B></DT>
155 <DD>Go to line begin </DD>
156
157 <DT><B>^QV </B></DT>
158 <DD>Go to last postion of find </DD>
159
160 <DT><B>^QW </B></DT>
161 <DD>Go
162 to previous word </DD>
163
164 <DT><B>^QX </B></DT>
165 <DD>Go to bottom of window (last line, end of line) </DD>
166
167 <DT><B>^QY
168 </B></DT>
169 <DD>Delete to line end </DD>
170
171 <DT><B>^QZ </B></DT>
172 <DD>Go to next word </DD>
173
174 <DT><B>^R </B></DT>
175 <DD>Go page up </DD>
176
177 <DT><B>^S </B></DT>
178 <DD>Go left </DD>
179
180 <DT><B>^T </B></DT>
181 <DD>Delete to
182 next word </DD>
183
184 <DT><B>^U </B></DT>
185 <DD>Undo the last operation. Also abort input in status line (this
186 is used for ^QI,^QF,^KR,^KW etc.) </DD>
187
188 <DT><B>^V </B></DT>
189 <DD>Toggle insert mode </DD>
190
191 <DT><B>^W </B></DT>
192 <DD>Scroll up </DD>
193
194 <DT><B>^X </B></DT>
195 <DD>Go down
196 </DD>
197
198 <DT><B>^Y </B></DT>
199 <DD>Delete current line </DD>
200
201 <DT><B>^Z </B></DT>
202 <DD>Scroll down <P>
203 <P>
204 </DD>
205 </DL>
206
207 <H2><A NAME="sect4" HREF="#toc4">Undo Operation Details</A></H2>
208 <P>
209 <I>e3</I> has an UNDO
210 mode starting in v2.2. There is no predefined UNDO level count. You can expect
211 to UNDO at least <I>one</I> last insert-, delete-, overwrite- or sed_pipe-operation,
212 but in most cases there are <I>lots</I> of UNDO stages available. e3 has a fixed
213 size undo buffer and will use an external helper file if some deleted
214 data is bigger sized than the undo buffer. This buffer is organized as
215 a ring, overwriting older UNDO information if neccessary. So one never
216 can say exactly how many UNDO operations are possible. For using the UNDO
217 press one of:
218 <DL>
219
220 <DT><B>^U </B></DT>
221 <DD>in Wordstar mode </DD>
222
223 <DT><B>^QU </B></DT>
224 <DD>in Pico mode </DD>
225
226 <DT><B>^_ </B></DT>
227 <DD>in Emacs mode </DD>
228
229 <DT><B>u </B></DT>
230 <DD>in vi
231 command mode </DD>
232
233 <DT><B>^U </B></DT>
234 <DD>in Nedit mode <P>
235 </DD>
236 </DL>
237
238 <H2><A NAME="sect5" HREF="#toc5">Built in Calculator</A></H2>
239 <P>
240 <I>e3</I> has an arithmetic calculator
241 built in for some simple arithmetic calculations inside your text. Place
242 cursor at begin of the task i.e. something like: -3.002*-(2--3)= and press
243 one of:
244 <DL>
245
246 <DT><B>^KN </B></DT>
247 <DD>in Wordstar mode </DD>
248
249 <DT><B>^QC </B></DT>
250 <DD>in Pico mode </DD>
251
252 <DT><B>^X^N </B></DT>
253 <DD>in Emacs mode </DD>
254
255 <DT><B># </B></DT>
256 <DD>in vi command
257 mode </DD>
258
259 <DT><B>^K </B></DT>
260 <DD>in Nedit mode </DD>
261 </DL>
262 <P>
263 This will insert the result into text. Use the values
264 between -999999999999.999999 ... 999999999999.999999 with up to 6 decimal digits
265 and the operators +-*/ and parenthesis ( ). Also available are p for constant
266 <P>
267 PI and r for accessing the result of last calculation <P>
268 <P>
269
270 <H2><A NAME="sect6" HREF="#toc6">Runtime Mode Switching</A></H2>
271 <P>
272 You
273 can switch to other editor mode by pressing one of:
274 <DL>
275
276 <DT><B>^KM </B></DT>
277 <DD>in Wordstar mode
278 </DD>
279
280 <DT><B>^QM </B></DT>
281 <DD>in Pico mode </DD>
282
283 <DT><B>altX </B></DT>
284 <DD>in Emacs mode </DD>
285
286 <DT><B>&lt;ESC&gt;; </B></DT>
287 <DD>in vi command mode </DD>
288
289 <DT><B>^E </B></DT>
290 <DD>in Nedit mode
291 </DD>
292 </DL>
293 <P>
294 e3 will set a prompt <I>SET MODE</I> . Now enter one of e3ws, e3em, e3pi, e3vi,
295 e3ne for setting <I>Wordstar</I>-like or <I>Emacs</I> or <I>Pico</I> or <I>vi</I> or <I>Nedit</I> style. <P>
296 <P>
297
298 <P>
299
300 <H2><A NAME="sect7" HREF="#toc7">Options</A></H2>
301 <P>
302 e3 accepts a filename for text editing. Switch the editor mode depending
303 of the binary name, one of <I>e3ws</I>, <I>e3em</I>, <I>e3pi</I>, <I>e3vi</I>, <I>e3ne</I> <P>
304 <P>
305
306 <H2><A NAME="sect8" HREF="#toc8">Files</A></H2>
307 <P>
308
309 <DL>
310
311 <DT><B>e3 </B></DT>
312 <DD>is an
313 assembled executable for Linux, FreeBSD, NetBSD, OpenBSD, BeOS(tm), QNX(tm).
314 <I>e3ws</I>, <I>e3em</I>, <I>e3pi</I>, <I>e3vi</I>, <I>e3ne</I> are symbolic links to e3. </DD>
315
316 <DT><B>e3.exe </B></DT>
317 <DD>is an assembled
318 executable for 32 bit Win versions like 95/98/ME/etc. </DD>
319
320 <DT><B>e3c </B></DT>
321 <DD>is a 'C' compiled
322 executable for some other platforms, optional built, supporting WS key
323 bindings only. </DD>
324
325 <DT><B>e3arm </B></DT>
326 <DD>is a new experimental (alpha code quality) assembled
327 executable for ARM Linux, optional built (identical e3, but no arithmetics
328 and no UNDO available). </DD>
329
330 <DT><B>e3.hlp </B></DT>
331 <DD>help text file (for e3c only) </DD>
332
333 <DT><B>e3.res </B></DT>
334 <DD>error
335 message text file (for e3c only) </DD>
336
337 <DT><B>e3-16 </B></DT>
338 <DD><I>e3-16</I>, <I>e3-16.com</I>, <I>e3-16e.exe</I> are special
339 bonus files for 16 bit operating systems ELKS (==Embeddable Linux Kernel
340 Subset) and DOS, supporting WS key bindings only. <P>
341 </DD>
342 </DL>
343
344 <H2><A NAME="sect9" HREF="#toc9">Copyright</A></H2>
345 e3 is Copyright
346 (c) 2000,01,02,03 Albrecht Kleine <P>
347 This program is free software; you can
348 redistribute it and/or modify it under the terms of the GNU General Public
349 License as published by the Free Software Foundation; either version 2
350 of the License, or (at your option) any later version. <P>
351 This program is
352 distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
353 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
354 PURPOSE. See the GNU General Public License for more details. <P>
355 You should
356 have received a copy of the GNU General Public License along with this
357 program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,
358 Cambridge, MA 02139, USA. <P>
359
360 <H2><A NAME="sect10" HREF="#toc10">Bugs</A></H2>
361 There probably are some, but I don't know
362 what they are yet. <P>
363
364 <HR><P>
365 <A NAME="toc"><B>Table of Contents</B></A><P>
366 <UL>
367 <LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
368 <LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI>
369 <LI><A NAME="toc2" HREF="#sect2">Description</A></LI>
370 <LI><A NAME="toc3" HREF="#sect3">Keyboard Commands for Ws</A></LI>
371 <LI><A NAME="toc4" HREF="#sect4">Undo Operation Details</A></LI>
372 <LI><A NAME="toc5" HREF="#sect5">Built in Calculator</A></LI>
373 <LI><A NAME="toc6" HREF="#sect6">Runtime Mode Switching</A></LI>
374 <LI><A NAME="toc7" HREF="#sect7">Options</A></LI>
375 <LI><A NAME="toc8" HREF="#sect8">Files</A></LI>
376 <LI><A NAME="toc9" HREF="#sect9">Copyright</A></LI>
377 <LI><A NAME="toc10" HREF="#sect10">Bugs</A></LI>
378 </UL>
379 </BODY></HTML>