home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / simtel / sigm / vols200 / vol270 / sed.doc < prev    next >
INI File  |  1986-05-22  |  8KB  |  212 lines

  1. [SED.DOC of JUGPDS Vol.5]
  2.  
  3.                   SED: Small Editor  Ver. 1.12
  4.                                by 
  5.            Kazuo and Kazuko Nakazato     2 June, 1984
  6.  
  7.   SED (Small EDitor) is a screen-oriented, CP/M (Z80 only) compatible,
  8. high speed editor written by TURBO PASCAL of BORLAND INTERNATIONAL.
  9.   The program is written for NEC PC-8001.  Installation is needed
  10. for others.
  11.  
  12. -- Cursol Movement Commands --
  13.  
  14. Basic Movement Commands
  15.  
  16. ^S : Character Left
  17.     Moves the cursor one character to the left non-destructively, i.e.
  18.     without affecting the character there. <BACKSPACE> has the same
  19.     effect.  This command does not work across line breaks, i.e. when
  20.     the cursol reaches the left edge of the screen, it stops.
  21.  
  22. ^D : Character Right
  23.     Moves the cursor one character to the right non-destructively, i.e.
  24.     without affecting the character there.  This command does not work
  25.     across line breaks, i.e. when the cursol reaches the right edge of
  26.     the screen, it stops.
  27.  
  28. ^A : Word Left
  29.     Moves the cursor to the begining of the word to the left.  A word
  30.     is defined as a sequence of alphabets and numbers.  This command
  31.     works across line breaks.
  32.  
  33. ^F : Word Right
  34.     Moves the cursor to the begining of the word to the right. A word
  35.     is defined as a sequence of alphabets and numbers.  This command
  36.     works across line breaks.
  37.  
  38. ^E : Line Up
  39.     Moves the cursor to the line above.  If the cursor is on the top
  40.     line, the screen scrolls down one line.
  41.  
  42. ^X : Line Down
  43.     Moves the cursor to the line below.  If the cursor is on the last
  44.     line, the screen scrolls up one line.
  45.  
  46. ^W : Scroll Down
  47.     The screen scrolls down one line. The cursor remaines at the same
  48.     screen position.
  49.  
  50. ^Z : Scroll Up
  51.     The screen scrolls up one line. The cursor remaines at the same
  52.     screen position.
  53.  
  54. ^R : Page Up
  55.     Moves the cursor one page up, i.e. the cursor moves one screenfull
  56.     backwards in the text.
  57.  
  58. ^C : Page Down
  59.     Moves the cursor one page down, i.e. the cursor moves one screenfull
  60.     forward in the text.
  61.  
  62. ^^ : To Top of the Screen
  63.     Moves the cursor to the first character on the screen.
  64.  
  65. <RETURN>: To Left of Next Line
  66.     Moves the cursor to the first character on the next line.
  67.     If the cursor is on the last line, the screen scrolls up one line.
  68.  
  69. Extended Movement Commands
  70.  
  71. ^Q^S : To Left on Line
  72.     Moves the cursor to the first character on the line.
  73.  
  74. ^Q^D : To Right on Line
  75.     Moves the cursor to the end of the line, i.e. to the position
  76.     following the last character on the line.
  77.  
  78. ^Q^R : To Top of File
  79.     Moves to the first charcter of the text.
  80.  
  81. ^Q^C : To End of File
  82.     Moves to the last character of the text.
  83.  
  84. -- Insert and Delete Commands --
  85.  
  86. ^V : Insert Mode on/off
  87.     When you enter text, you may choose between two entry modes:
  88.     Insert and Overwrite.  Insert mode is the default value
  89.     when the editor is invoked, and it lets you insert new text
  90.     into an existing text.  The existing text to the right of
  91.     the cursor simply moves to the right while you enter the new
  92.     text. The charcter over the width of the screen is lost,
  93.     so take care!
  94.       Overwrite mode may be chosen if you wish to replace old
  95.     text with new text.  Chracters entered then replace existing
  96.     characters under the cursor.
  97.       You can switch between these modes with the insert mode on/off
  98.     commands ^V, and the current mode is displayed in the command
  99.     line at the top of the screen.
  100.  
  101. <RUBOUT>: Delete Left Character
  102.     Moves one character to the left and deletes the character there.
  103.     Any characters to the right of the cursor move one position
  104.     to the left.  This command does not work across line breaks,
  105.     i.e. when the cursor reaches the left edge of the screen,
  106.     it stops.
  107.  
  108. ^G : Delete Character Under Cursor
  109.     Deletes the character under the cursor and moves any characters
  110.     to the right of the cursor one position to the left.  This
  111.     command does not work across line breaks.
  112.  
  113. ^T : Delete Right Word
  114.     Deletes the word to the right of the cursor.  A word is defined
  115.     as a sequence of alphabets and number. This command works
  116.     across line breaks, i.e. it may be used to remove line breaks.
  117.  
  118. ^B : Insert Empty Line Above
  119.     Insert an empty line above the cursor.
  120.  
  121. ^N : Insert Line
  122.     Insert a line break at the cursor position.  The cursor dose not
  123.     move.
  124.  
  125. ^Y : Delete Line
  126.     Delete the line containing the cursor and moves any lines below
  127.     one line up.  No provision exists to restore a deleted line, so
  128.     take care.
  129.  
  130. ^Q^Y : Delete to the End of Line
  131.     Deletes all text from the cursor position to the end of the line.
  132.  
  133. -- Block Commands --
  134.  
  135. ^K^B : Mark Block Begin
  136.     This command marks the begining of a block.  The marker is
  137.     visible on the screen.
  138.  
  139. ^K^K : Mark Block End
  140.     This command marks the end of a block.  The marker is visible
  141.     on the screen.
  142.  
  143. ^K^X : Delete Marks
  144.     Deletes the begin and end marks.
  145.  
  146. ^K^C : Copy Block
  147.     This command places a copy of the previously marked block
  148.     starting at the cursor position.  The original block is left
  149.     unchanged, and the markers are placed around the new copy of
  150.     the block.
  151.  
  152. ^K^V : Move Block
  153.     This command moves the previously marked block from its
  154.     original position to the cursor position.  The block disappears
  155.     from its original position and the marker remain around the
  156.     block at its new position.
  157.  
  158. ^K^Y : Delete Block
  159.     This command deletes the previously marked block.  No provision
  160.     exists to restore a deleted line, so take care!
  161.  
  162. ^K^R : Eead Block from File
  163.     This command is used to read a file into the current text at
  164.     the cursor position, exactly as if it was a block that was moved
  165.     or copied.  The block read in is marked as a block.  When this
  166.     command is issued, you are prompted for the name of the file to
  167.     read.  The file specified may be any legal filename.
  168.  
  169. ^K^W : Write Block to File
  170.     This command is used to write a previously marked block to a file.
  171.     The block is left unchanged, and markers remain in place.  When
  172.     this command is issued, you are prompted for the name of the
  173.     file to write to.  The file specified may be any legal filename.
  174.  
  175. -- Miscellaneous Editting --
  176.  
  177. ^K^D : End Edit
  178.     This command ends the edit. When you enter this command,
  179.     you are asked the question: Save, Write, Return, New or Quit.
  180.     Press the associated upper case letter, and the command is executed
  181.     immediately. If you press <s>, the text is overwrited on the
  182.     same file specified before.  If you press <w>, you are prompted
  183.     for file name and the text is saved on the file. If you press <r>,
  184.     you move back to the last position of the cursor.  If you press <n>,
  185.     new file is loaded on the memory for edite.
  186.     If you want to exit from the editor, press <q>.
  187.  
  188. ^Q^F : Find
  189.     The find command lets you search for any string of up to 30
  190.     characters.  When you enter this command, you are prompted
  191.     for serach string.  Enter the string you are looking for
  192.     and terminate with <RETURN>.  If you just press <RETURN>,
  193.     the operation may be aborted.
  194.  
  195. ^Q^A : Find and Replace
  196.     The find and replace command lets you search for any string of
  197.     up to 30 characters and replace it with any other string up to
  198.     30 characters.  When you enter this command, you are prompted
  199.     for serach string.  Enter the string you are looking for
  200.     and terminate with <RETURN>.  If you just press <RETURN>, the
  201.     operation may be aborted.  When search string is specified,
  202.     you are asked to enter the string to replace the serach string.
  203.     Enter up to 30 characters. Terminate with <RETURN>, and the
  204.     search and replace starts.  When found, the cursor is positioned
  205.     at the begining of the target, and you are asked the question:
  206.     replace -space-. If replace, press space key. If not, press
  207.     any key except space.
  208.  
  209. ^L : Repeat Last Find
  210.     This command repeats the latest find or find and replace operation
  211.     exactly as if all information had been re-entered.
  212.