                MicroEMACS 3.8h Help screens             (87/11/13)

    M-    means to use the <ESC> key prior to using another key
    ^     means to use the control key at the same time as another key
    []    means alternate key which can be used on an IBM-pc
    alt-  means to use the alt key at the same time as another key (IBM-pc)
    shft- means to use the shift key at the same time as another key (IBM-pc)
    arr-  means to use the keypad arrow in the direction specified (IBM-pc)

^Z  or [^PgDn]     Move window down       M-< or [^Home]   Begining of file
M-Z or [^PgUp]     Move window up         M-> or [^End]    End of file

-----------------------------------------------------------------------
                (1) MOVING THE CURSOR

^F  or [arr-r] Forward character     M-F or [^arr-r] Forward word
^B  or [arr-l] Backward character    M-B or [^arr-l] Backward word
^N  or [arr-d] Next line
^P  or [arr-u] Previous line
^A  or [Home]  Front of line         M-[ Front of paragraph
^E  or [End]   End of line           M-] End of paragraph
^V  or [PgUp]  Forward page
M-V or [PgDn]  Backward page

-----------------------------------------------------------------------
                (2) SEARCHING

^S        Search forward from cursor position.  Type in a string to be
          searched for at the prompt and end it with ESC.  Either case
          matches either unless EXACT mode is set for the current buffer
^R        As above, but Reverse search from cursor position.
[alt-S]   Search for the next occurence of the last string
[alt-R]   Search for the last occurence of the last string
[shft-F7] Incremental search forward.  Same as previous search, but 
          searches as each character is typed, updating the cursor
          each time.
               ^S or ^X causes search for the next occurence of the string
               ^R       change to a backward search
               Esc      terminates search
               ^G       aborts search
               <--      backup to previous match of string, or if
                        at the starting point delete the last character
                        from the search string
[shft-F8] Incremental search backward.  Same as above, with these exceptions
               ^S or ^X change to forward search
               ^R       causes search for the next occurence of the string

-----------------------------------------------------------------------
                (3) REPLACING

M-R   Replace all instances of first typed-in string with second
          typed-in string.  End each string with ESC.
M-Q   Replace with query.  Answer with:
        ^G  cancel                      .   exit to entry point
        !   replace the rest            Y   replace & continue
        ?   get a list of options       N   no replacement & continue
        U   undo last replace

-----------------------------------------------------------------------
                (4) CAPITALIZING & TRANSPOSING

M-C  or [^F3]  Capitalize word         ^T Transpose characters
M-U  or [^F7]  UPPERCASE word
M-L  or [^F8]  lowercase word
^X^L or [^F9]  lowercase region
^X^U or [^F10] uppercase region

-----------------------------------------------------------------------
                (5) REGIONS & THE KILL BUFFER

M-<spacebar> or ^@ or [F10] set MARK at current position
[^F10]                      unmark current buffer
^X^X               or [F8]  eXchange mark and cursor

A REGION will then be continuously-defined as the area between the mark and
the current cursor position.  The KILL BUFFER is the text which has been
most recently saved or deleted.

-----------------------------------------------------------------------
                (6) DELETING & INSERTING

<--          Delete previous character      M-H or [^F5] Delete previous word
^D  or [Del] Delete next character          M-D or [^F6] Delete next word
^K           Close (delete) to end of line
^M           Start a newline
^O           Open (insert) line
^W  or [F7]  Delete region between mark and cursor
M-W or [F9]  Copy region to kill buffer
^J           Indent a line
^Q  or [Ins] Quote next entry, so that control codes may be entered into text

-----------------------------------------------------------------------
                (7) COPYING AND MOVING

^W or [F7] Delete (Wipe) region         M-W or [F9] copy region to KILL buffer
^Y         Yankback save buffer at cursor
Generally, the procedure for copying or moving text is:
    1)  Mark a REGION using set MARK at beginning and cursor at end.
    2)  Delete it or copy it into the KILL buffer.
    3)  Move the cursor to the desired location and yank it back.

-----------------------------------------------------------------------
                (8) MODES OF OPERATION

^XM    Add Mode                 ^X^M   Delete Mode
M-M     Set a Global Mode       M-^M    Delete a Global Mode
        OVER    Replaces (overwrites) rather than inserts characters
        WRAP    Turns on word wrap (automatic carraige return).
        VIEW    Allows viewing file without insertion and deletion.
        EXACT   All searches done with exact case matching
        CMODE   Automatic indenting for C program entry
                (automatically set on any files ending with .C or .H)
        CRYPT   File crypt mode invoked.
        SPELL   Spelling checker? (I'm not sure)
        MAGIC   Again I don't know.
        ASAVE   And once again???

-----------------------------------------------------------------------
                (9) ON-SCREEN FORMATTING

M-n-<tab>        Set tab spacing to 'n' charecters between tabs stops
^X=              Position report -- displays line number, char count, size

-----------------------------------------------------------------------
                (10) MULTIPLE WINDOWS

Many WINDOWS may be active at once on the screen.  All windows may show
different parts of the same buffer, or each may display a different one.

^X1  or [F1]      remove all but current window
^XD               remove current window
^X2  or [F2]      Split the current window in two
^XN  or [F3]      cursor to previous window
^XP  or [F4]      cursor to next window
^XZ  or [F5]      Enlarge current window
^X^Z or [F6]      Shrink current window
M-^V or [shft-F4] forward page, next window
        [shft-F3] backward page, next window
[M-n-shft-F5]     resize current window to 'n' lines
[shft-F6]         reposition the current window such that the cursor
                  is in the middle of it

-----------------------------------------------------------------------
                (11) MULTIPLE BUFFERS

A BUFFER is a named area containing a document being edited.  Many buffers
may be activated at once.
^XB              Switch to another buffer.  <CR> = use just-previous buffer
^X^B             List the buffer directory in a window
^X^F             Find file; read into a new buffer created from filename.
^XK              Delete a non-displayed buffer.
^XX or [shft-F2] Switch to next buffer in buffer list.
^XR              Rename the current buffer.

-----------------------------------------------------------------------
                (12) READING FROM DISK

^X^F    Find file; read into a new buffer created from filename.
        (This is the usual way to begin editing a new file.)
^X^R    Read file into current buffer, erasing its previous contents.
        No new buffer will be created.
^X^I    Insert file into current buffer at cursor's location.
^X^V    Find a file to make current in VIEW mode

-----------------------------------------------------------------------
                (13) SAVING TO DISK

^X^N    Change the name of the file in the current buffer.  This will
        become the file name used in the ^X^S command.
^X^S    Save current buffer to disk, using the buffer's filename
        as the name of the disk file.  Any disk file of that name
        will be overwritten.
^X^W    Write current buffer to disk.  Type in a new filename at the
        prompt to write to; it will become the current buffer's filename.
^X^E    Write out all changed buffers and exit MicroEMACS

-----------------------------------------------------------------------
                (14) ACCESSING THE OPERATING SYSTEM

^X!        Send one command to the operating system and return
^_         Start a new command processer under MicroEMACS
[alt-F5]   Pipe the output of an operating system command into a buffer
[alt-F6]   Send a buffer to the operating system and return
^C or ^X^C
   or M-^C Exit MicroEMACS
^X^E       Write out all changed buffers and then Exit MicroEMACS

-----------------------------------------------------------------------
                (15) MACROS

A MACRO contains a series of commands which perform a specific
task, such as formatting a file, etc., and which can be executed
by a single command.

^X( or [alt-F7]  Startup a macro definition
^X) or [alt-F8]  Close a macro definition
^XE or [alt-F10] Execute a defined macro
store-macro      Store a macro in a buffer (doesn't seem to work)
execute-macro-n  Execute stored macro number 'n' (doesn't seem to work)

-----------------------------------------------------------------------
                (16) SPECIAL KEYS AND KEY BINDINGS

[shft-F1]       Get this file in view mode
^XG             Goto a numbered line
^L              Reprint the screen
^G              Cancel current command and return to top level of processing.
^U or           Universal repeat.  May be followed by an integer (default = 4)
M-<digit>       and repeats the next command that many times.
^\              Show matching fence '({[]})'
M-X or [alt-F1] Execute a named (and possibly unbound) command.  Typing
                a space while partway through naming the command
                causes the editor to try to extrapolate the rest of
                the command.
[alt-F2]        Same as above without the extrapolation function.
[alt-F3]        Execute a buffer as if the text it contains is named commands
[alt-F4]        Execute a file as if the text it contains is named commands
M-K             Bind a key to a named command
M-^K            Unbind a key
^X? or M-?      Describe a key's binding
describe-bindings
                List all the current key bindings in a buffer


