home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / E2.ZIP / E2LIB.ZIP / HELPKEY < prev    next >
Text File  |  1991-02-04  |  16KB  |  298 lines

  1. ~0
  2. CMD - This key is the primary key for changing the effects of other keys on
  3.     the keyboard.  When this key is depressed, the cursor goes to the
  4.     bottom of the screen and "CMD:" appears.  A string-type command or a
  5.     function key may be entered.  For example, the +PAGE key may be
  6.     preceeded by the CMD key, causing the editor to display the top of the
  7.     current file.
  8. ~1
  9. WIN LEFT - This key causes the window to move to the left 16 spaces.  If the
  10.     leftmost column is already column one, this key has no effect.  If
  11.     preceeded by the CMD key, the window is moved all the way to the left.
  12. ~2
  13. ALT - This key switches the window between the current file and its
  14.     alternate file.
  15. ~3
  16. INT - This key causes the an interruption in whatever may be going on in
  17.     the editor.  It may be used for halting a fill or justify command, or a
  18.     replay.
  19. ~4
  20. OPEN - This key causes a single blank line to be opened above the cursor's
  21.     current position.
  22. ~5
  23. -SRCH - This key causes the editor to search the buffer from the current
  24.     cursor location backwards to find a match for the contents of the match
  25.     buffer.  If preceeded by the CMD key, -SRCH will first load the search
  26.     buffer with the word that it is resting on (from the cursor loc to the
  27.     next white space), and then search backwards for it.
  28. ~6
  29. CLOSE - This key will copy the current line (or area) to the close buffer
  30.     and remove it from the screen.  If MARK is used to delimit an area, the
  31.     material to the right of the closed area will move to the left, filling
  32.     it in.  If preceeded by the CMD key, CLOSE becomes UNCLOSE, returning
  33.     the contents of the close buffer (same action as "insert close").
  34. ~7
  35. MARK - This key will mark the cursor's current location.  This key is
  36.     generally used to mark the top-left corner of a rectangular area before
  37.     moving the cursor to the bottom-right corner (+1) and using OPEN,
  38.     CLOSE, PUT, etc.  If preceeded by the CMD key, any marking is removed
  39.     (UNMARK).
  40. ~8
  41. LEFT ARROW - This key causes the cursor position to be shifted one
  42.     character position to the left, without destroying any data on the
  43.     screen.  When used following the CMD key, it becomes >LEFT, which moves
  44.     the cursor to the left edge of the window.
  45. ~9
  46. TAB - This key causes the cursor to be advanced to the next tab stop to the
  47.     right.  If there is no tab stop to the right of the current cursor
  48.     position, TAB is a no-operation.  When the editor is entered, tab stops
  49.     are established by default to columns 1, 9, 17,..., and may be changed
  50.     with the S/RTAB key and the typed commands "tab" and "tabs".
  51. ~10
  52. DOWN ARROW - This key causes the cursor to be moved down one character
  53.     position.  If the cursor was on the last line of the window, the window
  54.     is redrawn to include the next line.  When used following CMD, this key
  55.     becomes >DOWN, which moves the cursor straight down to the last line
  56.     displayed on the window.
  57. ~11
  58. HOME - This key moves the cursor to the uppermost left character position
  59.     on the current window.  When used following CMD, it becomes >HOME,
  60.     which moves the cursor the leftmost position on the last line displayed
  61.     in the current window.
  62. ~12
  63. PICK - This key will cause the area described (see MARK) to be copied to
  64.     the pick buffer, and no change to the screen occurs.  When this key
  65.     follows the CMD key, it becomes PUT, which causes the contents of the
  66.     the pick buffer to be copied into the text at the current cursor
  67.     position.  Any text formerly residing there is moved down if the pick
  68.     buffer contains whole lines, or to the right, if the buffer contains an
  69.     area.
  70. ~14
  71. UP ARROW - This key causes the cursor to be moved up one character
  72.     position.  If the cursor was on the first line of the window, the
  73.     window is redrawn to include the preceeding line.  When used following
  74.     CMD, this key becomes >UP, which moves the cursor straight up to the
  75.     top line displayed on the window.
  76. ~15
  77. INSRT - This key causes the editor to enter/exit the text-insert mode, in
  78.     which data entered on the keyboard is inserted into the current line,
  79.     rather than overwriting the data at the current cursor location.  The
  80.     INSERT flag will appear on the info line at the bottom of the screen
  81.     when the editor is in the insert mode.
  82. ~16
  83. REPL - This key is used with the interactive replace command to cause the
  84.     actual replacement to take place.  In normal operation, an interactive
  85.     replacement command of the form CMD "replace interactive /str1/str2/"
  86.     RETURN (usually abbreviated to CMD "rep i /str1/str2/" RETURN) is
  87.     executed, and then the +SRCH and -SRCH keys are used to position the
  88.     cursor at the occurance of str1 where the replacement is desired.  If
  89.     REPL is pressed at this time, str2 is substituted for str1 at that
  90.     location.
  91. ~17
  92. -PAGE - This key will cause the window to move upwards in the text by one
  93.     window length, bringing the data preceeding the current window into
  94.     view.  When used following the CMD key, it becomes >-PAGE, which sets
  95.     the window such that the first line in the file is at the top of the
  96.     window.
  97. ~18
  98. +SRCH - This key causes the editor to search the buffer from the current
  99.     cursor location forwards to find a match for the contents of the match
  100.     buffer.  If preceeded by the CMD key, +SRCH will first load the search
  101.     buffer with the word that it is resting on (from the cursor loc to the
  102.     next white space), and then search forwards for it.
  103. ~19
  104. WIN RIGHT - This key will cause the window to be moved to the right 16
  105.     character positions in the text.  If used following the CMD key +WIN
  106.     RIGHT causes the window to be moved to the right until the end of the
  107.     longest line if the current window is exposed.
  108. ~20
  109. +LINES - This key causes the window to be moved downwards in the text about
  110.     a third of the current window's length.
  111. ~21
  112. DELCH - This keys causes the character at the current cursor position to be
  113.     closed (that is, deleted, with the characters to the right moving left
  114.     to fill in the space).  If used following the CMD key, it becomes
  115.     +DELCH, which closes the current character and all characters to the
  116.     right of it on the line.
  117. ~22
  118. RWORD - This key causes the cursor to seek to the right for the beginning
  119.     of the next word.  If there is no word to the right on the current
  120.     line, the search continues on the next line.
  121. ~23
  122. -LINES - This key causes the window to be moved upwards in the text about a
  123.     third of the current window's length.
  124. ~24
  125. LWORD - This key causes the cursor to seek to the left for the beginning of
  126.     the previous word. If no word exists to the left of the cursor, it will
  127.     "wrap around" to the last word of the preceeding line.
  128. ~25
  129. +PAGE - This key will cause the window to move downwards in the text by one
  130.     window length, bringing the data following the current window into
  131.     view.  When used following the CMD key, it becomes >+PAGE, which sets
  132.     the window such that the last line in the file is in view.
  133. ~26
  134. CWDW - This key causes the current window to be moved into the background,
  135.     and the next window (in the sense of creation order) to be moved into
  136.     the foreground for editing.
  137. ~27
  138. S/RTAB - This key causes a tab stop to be set at the column that the cursor
  139.     is on.  If the key is preceeded by the CMD key, any tab stop at the
  140.     cursor's location is reset.
  141. ~28
  142. CTRLQ - This key causes the next character (in the ascii range @-_) to be
  143.     converted into a control character (in the range NUL-US) and inserted
  144.     into the buffer, regardless of its meaning to the editor.  Normally,
  145.     the use of this key causes some kind of offbeat character to appear on
  146.     the screen, and then the letter itself.  For example, the sequence
  147.     CTRLQ-G causes a BEL character to be entered into the text.  When text
  148.     containing control characters is edited, the embedded control
  149.     characters are displayed in the same manner (the exception is HT
  150.     (ctrl-I), which is expanded to blanks by the editor).
  151. ~29
  152. -TAB - This character causes the cursor to be moved backwards to the next
  153.     preceeding tab stop on the current line.  If there is no tab stop to
  154.     the left of the cursor, no action takes place.
  155. ~30
  156. BS - This character has many uses, depending on whether it was preceeded by
  157.     the CMD key, and whether the editor is in insert mode:
  158.  
  159.     non-insert mode   no CMD key     replace the character to the left of the
  160.                      cursor with a blank.
  161.               CMD key        replace all characters to the left of the
  162.                      cursor with blanks.
  163.     insert mode       no CMD key     close the character to the left of the
  164.                      cursor position.
  165.               CMD key        close all the characters to the left of
  166.                      the cursor location.
  167. ~31
  168. RIGHT ARROW - This key causes the cursor position to be shifted one
  169.     character position to the right, without destroying any data on the
  170.     screen.  When used following the CMD key, it becomes >RIGHT, which
  171.     moves the cursor to the right of the last nonblank characteron the
  172.     line.  If it was allready in that position, >RIGHT moves the cursor to
  173.     the right margin.
  174. ~129
  175. ERASE - This key will erase the contents of the current line, leaving the
  176.     blank line in the text.  If this key follows the CMD key, an UNERASE is
  177.     done, copying the latest erased data back into the text.
  178. ~130
  179. This key (whatever it was) is not implemented as an editor command.
  180. ~131
  181. SPLIT - This key splits the current line into two, breaking the text just
  182.     preceeding the cursor's current location.  If preceeded by the CMD key,
  183.     the SPLIT becomes a JOIN (see JOIN).
  184. ~132
  185. JOIN - This key causes the next line of text to be appended to the current
  186.     line.  Any white space at the beginning of the next line is deleted,
  187.     and a single space is inserted between the lines.  If this key is
  188.     preceeded by the CMD key, the JOIN becomes a SPLIT (see SPLIT).
  189. ~133
  190. EXIT - This key causes the editor to update the edited file and return
  191.     control to the shell.
  192. ~134
  193. ABORT - This key causes the editor to not update the current file, but
  194.     simply close all files and return to the shell.  If the editor is
  195.     invoked in the same directory afterwards, the editor will sense that
  196.     the last time it was invoked it aborted, and request from the user what
  197.     he wishes to do about that.
  198. ~135
  199. REDRAW - This key will cause the screen to be redrawn.
  200. ~136
  201. CTABS - This key causes all tab stops to be deleted.
  202. ~137
  203. CENTER - This key will cause the current line to be centered within the
  204.     current declared width of the file (default is 75 characters).
  205. ~138
  206. FILL - This key will cause the lines from the current line to the next
  207.     blank line to be filled within the current page width (default is 75
  208.     characters).
  209. ~139
  210. JUST - This key will cause the lines from the current line to the next
  211.     blank line to be justified within the current page width (default is 75
  212.     characters).
  213. ~140
  214. CLEAR - This key is as yet unimplemented.
  215. ~141
  216. TRACK - This key causes the track mode to be alternately entered and
  217.     exited.  In the track mode any window movement command (+PAGE, RITE,
  218.     etc.) will cause the same action to be taken on the current file and
  219.     its alternate file at the same time, and thus they track one another.
  220.     The presence of the track mode is indicated on the info line.
  221. ~142
  222. BOX - This key causes a box to be drawn enclosing the marked area (see
  223.     MARK).  The box is drawn with the characters +, -, and |.  Where a '-'
  224.     is to replace a '|' character (or vice versa) a '+' is used instead.
  225. ~143
  226. STOP - This key causes the editor to be placed in the stop state, awaiting
  227.     a fg command to restart it.  Control is turned over to the C-shell.
  228. ~144
  229. QUIT - This key causes the editor to be exited with no memory of the
  230.     editing session.  All editing done during the session is lost.
  231. ~145
  232. COVER - This key causes the current contents of the pick buffer to "cover"
  233.     the text at the current cursor location.  The buffer data replaces the
  234.     text data over the entire extent of the buffer.  If this key follows
  235.     the CMD key, it becomes an PUT operation (see PICK).
  236. ~146
  237. OLAY - This key causes the data in the pick buffer to overlay the text data
  238.     at the current cursor location.  By this is meant that nonblank
  239.     characters in the buffer replace text data.  If this key follows CMD,
  240.     the effect is an ULAY (underlay), in which the buffer data replaces
  241.     only blank data in the text.
  242. ~147
  243. BLOT - This key causes the data in the pick buffer to blot the data in the
  244.     text at the cursor's current location.  Blotting causes all data in the
  245.     text which matches nonblank data in the buffer to be replaced with
  246.     blanks.  If the CMD key preceeds this key, The effect is -BLOT, in
  247.     which the blanks in the buffer cause blanks in the text.
  248. ~148
  249. HELP - This key starts the help sequence.  What happens after it is pressed
  250.     depends on the terminal that is being used, since the editor tailors
  251.     the help sent to the terminal in use.  This key also may be used
  252.     following the CMD key, which generally delivers some additional help
  253.     features.
  254. ~149
  255. CCASE - This key will cause the character under the cursor (or marked area)
  256.     to change case.  This applies only to those characters which are
  257.     alphabetic - no other characters area affected.  The cursor is moved
  258.     to the right.
  259. ~150
  260. CCAP - This key will cause the character under the cursor (or marked area)
  261.     to be switched to upper case if it alphabetic and lower case.  No other
  262.     characters are affected.  The cursor is moved to the right.
  263. ~151
  264. AUTOF - This key alternately sets and resets the autofill mode, as
  265.     signified in the info line.  Setting the autofill mode causes text
  266.     typed into the editor to be line-filled automatically.  This means that
  267.     as the words are typed, the one which causes the line to be too long
  268.     will be erased from the current line, a new line opened, and that word
  269.     and subsequent words will continue on that line.  Resetting the mode
  270.     will cause data to be entered ontil the right margin is met, whereupon
  271.     an error message will be displayed and no further text will be
  272.     accepted.
  273.  
  274.     The left and right margins to be filled between may be set as follows:
  275.     the left margin is by default the leftmost column of the window, but it
  276.     may be changed by marking the desired column before entering AUTOF. The
  277.     right margin is by default the current value of the linewidth, which
  278.     defaults to 72, but may be reset to some other value by the "width=xx"
  279.     option on the center, fill, or justify command.  If the CMD key is
  280.     pressed before AUTOF, the location of the cursor at that time is made
  281.     the right margin.  Note that doing so does not change the linewidth
  282.     used for the center, fill, and justify commands.
  283. ~152
  284. RANGE - This key, used with the <MARK> function, is used to delineate a
  285.     range of lines within a file within which search and replace functions
  286.     are to be limited. <RANGE> toggles the range mode; a flag at the bottom
  287.     of the screen shows the state of the mode, preceeded by a <, =, or >,
  288.     indicating respectively that the current line is before, within, or
  289.     after the current range. If <RANGE> is used without <MARK>, the last
  290.     range defined is reused (if one exists). The key sequence <CMD><RANGE>
  291.     will display the line numbers that the range currently subsumes and the
  292.     number of lines included. These will change when lines are added and/or
  293.     deleted within the range.
  294. ~154
  295. DWORD - This key will delete the next word.  If there's no text remaining
  296.     on the current line, a search is made for the next word, and that
  297.     word is deleted.
  298.