home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / EFFO / forum3.lzh / BRIEFE / emacs.hlp < prev    next >
Text File  |  1987-11-05  |  10KB  |  209 lines

  1. =>               MicroEMACS 3.8 Help screens                  (12/07/87)
  2.  
  3.         M-  means to use the <ESC> key prior to using another key
  4.         ^A  means to use the control key at the same time as the A key
  5.  
  6.         -->              M-?  calls emacs.hlp file              <--
  7.  
  8. ^V or [Pg Dn]     Scroll down           M-< or <HOME>  Begining of file
  9. ^Z or [Pg Up]     Scroll up             M-> or <END>   End of file
  10.  
  11. -----------------------------------------------------------------------
  12. =>               (1) MOVING THE CURSOR
  13.  
  14. ^F  Forward character     M-F    Forward word            Keypad arrows
  15. ^B  Backward character    M-B    Backward word            are active!
  16. ^A  Front of line         M-G    Goto a line
  17. ^E  End of line           
  18. ^N  Next line             M-N    Front of paragraph
  19. ^P  Previous line         M-P    End of paragraph
  20. -----------------------------------------------------------------------
  21. =>               (2) DELETING & INSERTING
  22.  
  23. <--             Delete previous character
  24. ^D or <DELETE>  Delete next character
  25. ^C or <INSERT>  Insert a space
  26. M-<--           Delete previous word
  27. M-D             Delete next word
  28. ^K              Close (delete) to end of line
  29. -----------------------------------------------------------------------
  30. =>               (2a) MORE DELETING & INSERTING
  31.  
  32. <RETURN>   Insert a newline              <TAB>  Advance to next tab stop
  33. ^J         Insert a newline and indent   M-^W   Delete paragraph
  34. ^O         Open (insert) line
  35. ^W         Delete region between mark (set using M-<spacebar>) and cursor
  36. M-W        Copy region to kill buffer  
  37. ^X^O       Delete blank lines around cursor
  38. -----------------------------------------------------------------------
  39. =>               (3) SEARCHING
  40.  
  41. ^S      Search forward from cursor position.
  42. ^R      Reverse search from cursor position.
  43. ^XS     Forward incremental search
  44. ^XR     Reverse incremental search
  45. <ALT>S  Search for the next occurence of the last string (IBM-PC only)
  46. <ALT>R  Search for the last occurence of the last string (IBM-PC only)
  47. -----------------------------------------------------------------------
  48. =>               (4) REPLACING
  49.  
  50. M-R    Replace all instances of first typed-in string with second
  51.           typed-in string.  End each string with ESC.
  52. M-^R   Replace with query.  Answer with:
  53.        ^G  cancel                        .   exit to entry point
  54.        !   replace the rest              Y    replace & continue
  55.        ?   Get a list of options         N   no replacement & continue
  56. -----------------------------------------------------------------------
  57. =>               (5) CAPITALIZING & TRANSPOSING
  58.  
  59. M-U     UPPERCASE word
  60. M-C     Capitalize word                 ^T   Transpose characters
  61. M-L     lowercase word
  62. ^X^L    lowercase region
  63. ^X^U    uppercase region
  64. ^Q      Quote next entry, so that control codes may be entered into text
  65. -----------------------------------------------------------------------
  66. =>               (6) REGIONS & THE KILL BUFFER
  67.  
  68. M-<spacebar>     set MARK at current position
  69. ^X^X            eXchange mark and cursor
  70.  
  71. A REGION will then be continuously-defined as the area between the mark and
  72. the current cursor position.  The KILL BUFFER is the text which has been
  73. most recently saved or deleted.
  74. -----------------------------------------------------------------------
  75. =>               (7) COPYING AND MOVING
  76.  
  77. ^W    Delete (Wipe) region            M-W    copy region to KILL buffer
  78. ^Y    Yankback save buffer at cursor
  79. Generally, the procedure for copying or moving text is:
  80.     1)  Mark a REGION using M-<spacebar> at beginning and cursor at end.
  81.     2)  Delete it (with ^W) or copy it (with M-W) into the KILL buffer.
  82.     3)  Move the cursor to the desired location and yank it back (with ^Y).
  83. -----------------------------------------------------------------------
  84. =>               (8) MODES OF OPERATION
  85. ^XM     Add mode in buffer              M-M    Add global mode
  86. ^X^M    Delete mode in buffer           M-^M   Delete global mode
  87. OVER            Replaces (overwrites) rather than inserts characters
  88. WRAP            Turns on word wrap (automatic carraige return).
  89. VIEW            Allows viewing file without insertion and deletion.
  90. CMODE           Automatic indenting for C program entry
  91. EXACT/MAGIC     Changes how search and replace commands work (see next page)
  92. -----------------------------------------------------------------------
  93. =>               (9) SEARCH AND REPLACE MODES
  94.  
  95. EXACT   Uppper/lower case is not ignored in searches
  96. MAGIC   Regular pattern matching characters are active
  97.     .   Matches any one character
  98.     *   Matches any any number of the preceding character
  99.     ^   Beginning of line        [ ]   Character class enclosure
  100.     $   End of line              \     Quote next character
  101. -----------------------------------------------------------------------
  102. =>               (10) ON-SCREEN FORMATTING
  103.  
  104. ^XF             Set fill column
  105. Mn-<tab>        Set tab spacing to n charecters between tabs stops
  106. M-Q             Format paragraph so that text lies between margins
  107. ^X=             Position report -- displays line number, char count,
  108.                                    file size and character under cursor
  109. M-^C            Count words/lines/chars in marked region
  110. -----------------------------------------------------------------------
  111. =>               (11) MULTIPLE WINDOWS
  112.  
  113. Many WINDOWS may be active at once on the screen.  All windows may show
  114. different parts of the same buffer, or each may display a different one.
  115. ^X2     Split the current window in two    ^XO   Change to next window
  116. ^X0     delete current window              ^XP   Change to previous window
  117. ^X1     delete all other windows           M-^V  Page down next window
  118.                                            M-^Z  Page up other window
  119. -----------------------------------------------------------------------
  120. =>               (12) CONTROLLING WINDOWS AND THE SCREEN
  121.  
  122. ^X^    Enlarge current window   M-<n> ^XW   Resize window to <n> lines
  123. ^X^Z   Shrink current window    M-<n> M-S   Change screen to <n> lines
  124. ^X^N   Move window down         M-<n> M-T   Change screen to <n> columns
  125. ^X^P   Move window up
  126. M-^L   Reposition window
  127. ^L     Refresh the screen
  128. -----------------------------------------------------------------------
  129. =>               (13) MULTIPLE BUFFERS
  130. A BUFFER is a named area containing a document being edited.  Many
  131. buffers may be activated at once.
  132. ^XB     Switch to another buffer.      <CR> = use just-previous buffer
  133. ^XX     Switch to next buffer in buffer list
  134. M-^N    Change name of current buffer
  135. ^XK     Delete a non-displayed buffer.
  136. ^X^B    Display buffer directory in a window
  137. -----------------------------------------------------------------------
  138. =>               (14) READING FROM DISK
  139.  
  140. ^X^F    Find file; read into a new buffer created from filename.
  141.         (This is the usual way to begin editing a new file.)
  142. ^X^R    Read file into current buffer, erasing its previous contents.
  143.         No new buffer will be created.
  144. ^X^I    Insert file into current buffer at cursor's location.
  145. ^X^V    Find a file to make current in VIEW mode
  146. -----------------------------------------------------------------------
  147. =>               (15) SAVING TO DISK
  148.  
  149. ^X^S    Save current buffer to disk
  150. ^X^W    Write current buffer to disk
  151. ^XN     Change file name of current buffer
  152. M-Z     Write out all changed buffers and exit MicroEMACS
  153.  
  154.  
  155. -----------------------------------------------------------------------
  156. =>               (16) ACCESSING THE OPERATING SYSTEM
  157.  
  158. ^X!     Send one command to the operating system and return
  159. ^X@     Pipe DOS command results to buffer
  160. ^X#     Filter buffer through DOS filter program
  161. ^XC     Start a new command processor under MicroEMACS
  162. ^XD     Suspend MicroEMACS into the background (UNIX BSD4.2 only)
  163. ^X^C    Exit MicroEMACS
  164. -----------------------------------------------------------------------
  165. =>               (17) KEY BINDINGS AND COMMANDS
  166.  
  167. M-K     Bind a key to a command        M-A  Describe a class of commands
  168. M-^K    Unbind a key from a command
  169. ^X?     Describe command bound to a key
  170. M-X     Execute a named (and possibly unbound) command
  171. {Describe-bindings}
  172.         Display a list of all commands and key bindings to a buffer
  173. -----------------------------------------------------------------------
  174. =>               (18) COMMAND EXECUTION
  175. Commands can be specified as command lines in the form:
  176.         <optional repeat count> {command-name} <optional arguments>
  177. {Execute-command-line}  execute a typed in command line
  178. {Execute-buffer}        executes commands lines in a buffer
  179. {Execute-file}          executes command lines from a file
  180. {clear-message-line}    clears the message line during execution
  181. M-~                     clears the change flag for a buffer
  182. -----------------------------------------------------------------------
  183. =>               (19) MACRO EXECUTION
  184.  
  185. ^X(     Start recording keyboard macro
  186. ^X)     Stop recording keyboard macro
  187. ^XE     Execute keyboard macro
  188. M-<n> {store-macro}     Start recording named macro
  189.       !endm             Stop recording named macro
  190. {execute-macro-n}       Execute macro n (where n is from 1 to 20)
  191. -----------------------------------------------------------------------
  192. =>               (20) SPECIAL KEYS
  193.  
  194. ^G              Cancel current command and return to top level of processing.
  195. ^U or           Universal repeat.  May be followed by an integer (default = 4)
  196. M-<digit>       and repeats the next command that many times.
  197. M-X             Execute a named (and possibly unbound) command
  198.  
  199.  
  200. --------------------------------------------------------------------------------
  201. =>               (21) VARIOUS EXTENSIONS
  202.  
  203. M-^T            Insert a `ctime' string into the text.
  204. M-^P            Goto parentheses
  205.  
  206.  
  207.  
  208.  
  209.