📄 e3.html
字号:
<!-- manual page source format generated by PolyglotMan v3.0.9, --><!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z --><HTML><HEAD><TITLE>E3(1) manual page</TITLE></HEAD><BODY bgcolor=white><A HREF="#toc">Table of Contents</A><P><P> <H2><A NAME="sect0" HREF="#toc0">Name</A></H2>E3 - A mini text editor <P> <H2><A NAME="sect1" HREF="#toc1">Synopsis</A></H2><B>e3[ws|em|pi|vi|ne]</B> [filename] <P> <H2><A NAME="sect2" HREF="#toc2">Description</A></H2><P><I>e3</I>is a complete mini application written fully in assembler, with a codesize less than 10000 byte. There is a status & input line, where you canenter filenames, blocknames, find-texts and line numbers. The editor commandsare similary the families of <I>Wordstar</I>-like or <I>Emacs</I> or <I>Pico</I> or <I>vi</I> or <I>Nedit</I>editors. For online help press ESC:h in vi mode, else Alt-H. This man pagedescribes Wordstar key bindings only. <P> <H2><A NAME="sect3" HREF="#toc3">Keyboard Commands for Ws</A></H2><P><DL><DT><B>^A </B></DT><DD>Go wordleft </DD><DT><B>^C </B></DT><DD>Go page down </DD><DT><B>^D </B></DT><DD>Go right </DD><DT><B>^E </B></DT><DD>Go up </DD><DT><B>^F </B></DT><DD>Go word right </DD><DT><B>^G </B></DT><DD>Delete currentcharacter </DD><DT><B>^H </B></DT><DD>Delete left character </DD><DT><B>^I </B></DT><DD>Tabulator </DD><DT><B>^J </B></DT><DD>Get online help </DD><DT><B>^KB </B></DT><DD>Setblock start marker </DD><DT><B>^KC </B></DT><DD>Copy current block </DD><DT><B>^KD </B></DT><DD>Save file and load a new one</DD><DT><B>^KK </B></DT><DD>Set block end marker </DD><DT><B>^KQ </B></DT><DD>Abort editing and exit. Confirm with Y or y thatyour changes are lost. </DD><DT><B>^KR </B></DT><DD>Insert a file as a new block </DD><DT><B>^KS </B></DT><DD>Save file andcontinue editing </DD><DT><B>^KV </B></DT><DD>Move current block inside file </DD><DT><B>^KW </B></DT><DD>Save a block intoa file </DD><DT><B>^KX </B></DT><DD>Save file and exit </DD><DT><B>^KY </B></DT><DD>Delete text a block </DD><DT><B>^KZ </B></DT><DD>Suspend (simple^Z in other editor modes) </DD><DT><B>^L </B></DT><DD>Repeat last ^QF or ^QA </DD><DT><B>^M </B></DT><DD>Enter new line </DD><DT><B>^QA </B></DT><DD>Search& Replace (a prompt appears). For options compare ^QF. </DD><DT><B>^QB </B></DT><DD>Go to block begin</DD><DT><B>^QC </B></DT><DD>Go to end of file </DD><DT><B>^QD </B></DT><DD>Go to end of line </DD><DT><B>^QE </B></DT><DD>Go to top of screen: 1st columne,1st line </DD><DT><B>^QF </B></DT><DD>Find a text string (a prompt appears). Valid options are <I>C</I>asesensitive and <I>B</I>ackward. You could abort via pressing ^U . This options areequal to <I>e3em</I>, <I>e3pi</I>, <I>e3ne</I>, but their abort keys are ^G and ^C. </DD><DT><B>^QG </B></DT><DD>Delete characterunder cursor </DD><DT><B>^QG </B></DT><DD>Delete character left of cursor </DD><DT><B>^QH,^Q(Del) </B></DT><DD>Delete up toline begin </DD><DT><B>^QI </B></DT><DD>Go to line number (prompt appears) </DD><DT><B>^QK </B></DT><DD>Go to block end </DD><DT><B>^QR</B></DT><DD>Go to file begin </DD><DT><B>^QS </B></DT><DD>Go to line begin </DD><DT><B>^QV </B></DT><DD>Go to last postion of find </DD><DT><B>^QW </B></DT><DD>Goto previous word </DD><DT><B>^QX </B></DT><DD>Go to bottom of window (last line, end of line) </DD><DT><B>^QY</B></DT><DD>Delete to line end </DD><DT><B>^QZ </B></DT><DD>Go to next word </DD><DT><B>^R </B></DT><DD>Go page up </DD><DT><B>^S </B></DT><DD>Go left </DD><DT><B>^T </B></DT><DD>Delete tonext word </DD><DT><B>^U </B></DT><DD>Undo the last operation. Also abort input in status line (thisis used for ^QI,^QF,^KR,^KW etc.) </DD><DT><B>^V </B></DT><DD>Toggle insert mode </DD><DT><B>^W </B></DT><DD>Scroll up </DD><DT><B>^X </B></DT><DD>Go down</DD><DT><B>^Y </B></DT><DD>Delete current line </DD><DT><B>^Z </B></DT><DD>Scroll down <P> <P> </DD></DL><H2><A NAME="sect4" HREF="#toc4">Undo Operation Details</A></H2><P><I>e3</I> has an UNDOmode starting in v2.2. There is no predefined UNDO level count. You can expectto UNDO at least <I>one</I> last insert-, delete-, overwrite- or sed_pipe-operation,but in most cases there are <I>lots</I> of UNDO stages available. e3 has a fixedsize undo buffer and will use an external helper file if some deleteddata is bigger sized than the undo buffer. This buffer is organized asa ring, overwriting older UNDO information if neccessary. So one nevercan say exactly how many UNDO operations are possible. For using the UNDOpress one of: <DL><DT><B>^U </B></DT><DD>in Wordstar mode </DD><DT><B>^QU </B></DT><DD>in Pico mode </DD><DT><B>^_ </B></DT><DD>in Emacs mode </DD><DT><B>u </B></DT><DD>in vicommand mode </DD><DT><B>^U </B></DT><DD>in Nedit mode <P> </DD></DL><H2><A NAME="sect5" HREF="#toc5">Built in Calculator</A></H2><P><I>e3</I> has an arithmetic calculatorbuilt in for some simple arithmetic calculations inside your text. Placecursor at begin of the task i.e. something like: -3.002*-(2--3)= and pressone of: <DL><DT><B>^KN </B></DT><DD>in Wordstar mode </DD><DT><B>^QC </B></DT><DD>in Pico mode </DD><DT><B>^X^N </B></DT><DD>in Emacs mode </DD><DT><B># </B></DT><DD>in vi commandmode </DD><DT><B>^K </B></DT><DD>in Nedit mode </DD></DL><P>This will insert the result into text. Use the valuesbetween -999999999999.999999 ... 999999999999.999999 with up to 6 decimal digitsand the operators +-*/ and parenthesis ( ). Also available are p for constant<P>PI and r for accessing the result of last calculation <P> <P> <H2><A NAME="sect6" HREF="#toc6">Runtime Mode Switching</A></H2><P>Youcan switch to other editor mode by pressing one of: <DL><DT><B>^KM </B></DT><DD>in Wordstar mode</DD><DT><B>^QM </B></DT><DD>in Pico mode </DD><DT><B>altX </B></DT><DD>in Emacs mode </DD><DT><B><ESC>; </B></DT><DD>in vi command mode </DD><DT><B>^E </B></DT><DD>in Nedit mode</DD></DL><P>e3 will set a prompt <I>SET MODE</I> . Now enter one of e3ws, e3em, e3pi, e3vi,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> <P><P> <H2><A NAME="sect7" HREF="#toc7">Options</A></H2><P>e3 accepts a filename for text editing. Switch the editor mode dependingof the binary name, one of <I>e3ws</I>, <I>e3em</I>, <I>e3pi</I>, <I>e3vi</I>, <I>e3ne</I> <P> <P> <H2><A NAME="sect8" HREF="#toc8">Files</A></H2><P><DL><DT><B>e3 </B></DT><DD>is anassembled executable for Linux, FreeBSD, NetBSD, OpenBSD, BeOS(tm), QNX(tm).<I>e3ws</I>, <I>e3em</I>, <I>e3pi</I>, <I>e3vi</I>, <I>e3ne</I> are symbolic links to e3. </DD><DT><B>e3.exe </B></DT><DD>is an assembledexecutable for 32 bit Win versions like 95/98/ME/etc. </DD><DT><B>e3c </B></DT><DD>is a 'C' compiledexecutable for some other platforms, optional built, supporting WS keybindings only. </DD><DT><B>e3arm </B></DT><DD>is a new experimental (alpha code quality) assembledexecutable for ARM Linux, optional built (identical e3, but no arithmeticsand no UNDO available). </DD><DT><B>e3.hlp </B></DT><DD>help text file (for e3c only) </DD><DT><B>e3.res </B></DT><DD>errormessage text file (for e3c only) </DD><DT><B>e3-16 </B></DT><DD><I>e3-16</I>, <I>e3-16.com</I>, <I>e3-16e.exe</I> are specialbonus files for 16 bit operating systems ELKS (==Embeddable Linux KernelSubset) and DOS, supporting WS key bindings only. <P> </DD></DL><H2><A NAME="sect9" HREF="#toc9">Copyright</A></H2>e3 is Copyright(c) 2000,01,02 Albrecht Kleine <P> This program is free software; you canredistribute it and/or modify it under the terms of the GNU General PublicLicense as published by the Free Software Foundation; either version 2of the License, or (at your option) any later version. <P> This program isdistributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULARPURPOSE. See the GNU General Public License for more details. <P> You shouldhave received a copy of the GNU General Public License along with thisprogram; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,Cambridge, MA 02139, USA. <P> <H2><A NAME="sect10" HREF="#toc10">Bugs</A></H2>There probably are some, but I don't knowwhat they are yet. <P><HR><P><A NAME="toc"><B>Table of Contents</B></A><P><UL><LI><A NAME="toc0" HREF="#sect0">Name</A></LI><LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI><LI><A NAME="toc2" HREF="#sect2">Description</A></LI><LI><A NAME="toc3" HREF="#sect3">Keyboard Commands for Ws</A></LI><LI><A NAME="toc4" HREF="#sect4">Undo Operation Details</A></LI><LI><A NAME="toc5" HREF="#sect5">Built in Calculator</A></LI><LI><A NAME="toc6" HREF="#sect6">Runtime Mode Switching</A></LI><LI><A NAME="toc7" HREF="#sect7">Options</A></LI><LI><A NAME="toc8" HREF="#sect8">Files</A></LI><LI><A NAME="toc9" HREF="#sect9">Copyright</A></LI><LI><A NAME="toc10" HREF="#sect10">Bugs</A></LI></UL></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -