home *** CD-ROM | disk | FTP | other *** search
/ ftp.update.uu.se / ftp.update.uu.se.2014.03.zip / ftp.update.uu.se / pub / rainbow / msdos / misc / sedt.lzh / SEDTMAN.DOC < prev    next >
Text File  |  1985-05-23  |  27KB  |  786 lines

  1. [Sysop's Note: Version's of SEDT for VAX/VMS, CP/M-86 and MS-DOS exist, all
  2. of which have identical user interface.  This manual does not as yet reflect
  3. the existence of the MS-DOS version.   One installation requirement not stated
  4. here for MS-DOS is to define two "environment" variables with the MS-DOS "SET"
  5. command containing pointers to the appropriate SEDTKEYS and SEDTHELP files.
  6. for example - to emulate EDT use:
  7.  
  8.         SET SEDTKEYS=d:\pathname\SEDTKEYS.EDT
  9.         SET SEDTHELP=d:\pathname\SEDTHELP.EDT
  10.  
  11. Where "d:" is the drive letter and "pathname" is the directory name where the
  12. SEDTKEYS.EDT and SEDTHELP.EDT files reside on your system.  To emulate the WPS
  13. wordprocessing editor, use the .WPS files instead.]
  14.  
  15.  
  16.             Sedt Users Guide
  17.  
  18.            Screen EDiTor Version X.03
  19.  
  20.     Sedt is an interactive "what you see is what you get" 
  21. editor for VAX/VMS and the Rainbow 100 under CP/M version 2.0. 
  22. Sedt is highly compatible with EDT for VAX, PDP-11 and DEC-20, 
  23. the world's most popular screen editor. The keyboard layout for 
  24. Sedt is very similar to EDT's, and may be reprogrammed by the 
  25. user.
  26.  
  27.     Sedt supports multiple edit buffers with up to two 
  28. windows into the buffers.
  29.  
  30.             Getting Started
  31.  
  32.     Sedt is called from CP/M with the command line:
  33.  
  34. SEDT {<Input File>} {<Output File>} {-<Line Number>}
  35.  
  36.     Input File and Output File are optional file names. 
  37.         If only one file name is given, it will be assigned to 
  38.         both the input and output files. Sedt will read the 
  39.         input file into buffer number 0 and set the default 
  40.         output for buffer number 0 to the output file.
  41.  
  42.     Lines is an optional line number which Sedt will 
  43.         position the cursor at after loading the input file.
  44.  
  45.     The initialization sequence for Sedt is as follows:
  46.  
  47.         Load the input file and display the file on the 
  48.                 screen.
  49.  
  50.         Load a key definition file (CP/M: Sedtkeys.Txt. 
  51.                 VMS: Sedt$Keys:). Sedt will abort if it cannot 
  52.                 find the key definition file.
  53.  
  54.         Load a default ruler file (CP/M: Ruler0.Txt. 
  55.                 VMS: Sys$Login:Ruler0.Txt). If no default ruler 
  56.         file is found, Sedt will set up a standard ruler 
  57.         with tab stops at every 8 columns and margins at 
  58.         column 1 and column 80.
  59.  
  60.         Look for a journal file with the same name as 
  61.                 the input file except for the file extention 
  62.                 .JOU. If the journal file is present Sedt will 
  63.                 read all characters in the journal file as if 
  64.         they had been typed on the keyboard. Sedt will 
  65.         create journal files for all files edited and 
  66.         remove the journal files when the file is 
  67.         written to disk or the user quits the edit 
  68.         session. Journal files will not recreate the 
  69.         correct file if you have moved data between 
  70.         windows.
  71.  
  72.         Look for an initialization file on disk (CP/M: 
  73.                 Sedtcom.Txt. VMS: Sedt$Commands:). If the 
  74.                 initialization file is found Sedt will read all 
  75.                 the input in the file and execute them as basic 
  76.                 Sedt commands.
  77.  
  78.         If the user has supplied an optional starting 
  79.                 line number in the command line, Sedt will 
  80.                 position the cursor at the command line.
  81.  
  82.  
  83.              Screen layout
  84.  
  85.     The Sedt screen is divided into a number of fields. It 
  86. can display either one or two windows into your edit buffers. In 
  87. single window mode the layout is as follows:
  88.  
  89.     The top line on the screen (in reverse video) is a 
  90. status line. It shows you the contents and status of your 
  91. current buffer.
  92.         
  93.             The first character on the status line indicates 
  94.         whether there have been changes to the file in the 
  95.         current edit buffer. An * indicates that changes have 
  96.         been made, a space that the file is unchanged.
  97.         
  98.             The second field indicates what the input file 
  99.         for the current buffer is. The contents of the buffer is 
  100.         initially the disk contents of the input file.
  101.         
  102.             The third field (; Line=<Number>) tells you what 
  103.         line number in the buffer Sedt is positioned at,
  104.         
  105.             The final field (; Buf=<Number>) tells you the 
  106.         number of the current buffer.
  107.  
  108.     The second line is the ruler line. It shows the current 
  109. settings of left and right margins, the word wrap margin and the 
  110. tab stop settings. L is the position of the left margin, W the 
  111. position of the word wrap margin, R the position of the right 
  112. margin, I the current indentation setting, and T tab stop 
  113. settings. If a position marks several of the above it will only 
  114. show one. The order of precedence is L over W over I over T.
  115.  
  116.     The next 20 lines are in normal video and display a 
  117. window into the current buffer. All text is shown exactly as it 
  118. is and how will be written to the file. The cursor is always on 
  119. line 12 and shows the current position within the buffer. If the 
  120. select point is within the current window the character in that 
  121. position will be shown in reverse video.
  122.  
  123.     The 23'd, or second line from the bottom, is in reverse 
  124. video and separates the text from the message line.
  125.  
  126.     The 24'th, or bottom line, is the message line. It is 
  127. used to display informational and error messages, and also for 
  128. accepting command arguments.
  129.  
  130.     In two window mode a second status line is added on line 
  131. 14. It has the same format as line 1 and shows the status of the 
  132. buffer displayed in lines 15 through 22. The current buffer is 
  133. displayed in lines 3 through 13. The Cursor position is always 
  134. on line 8.
  135.  
  136.               Typing text
  137.  
  138.     Text is entered at the cursor position by typing the 
  139. desired data. Text keys are all the printable ASCII characters 
  140. plus Return and Space. All other keys cause either an error 
  141. message or make Sedt execute a series of commands programmed 
  142. into the key.
  143.  
  144.     Tab will insert tab and space characters in the text and 
  145. position the cursor at the indentation setting if it is to the 
  146. right of the cursor, otherwise at the next tab setting on the 
  147. ruler. 
  148.  
  149.     Return will insert an LF (ASCII 12) character in the 
  150. text. If you wish to search for a string including a new line 
  151. insert an LF (F13) in the search string.
  152.  
  153.     Gold Keypad 0 will insert a new line in front of the 
  154. current cursor position.
  155.  
  156.     To insert an arbitrary ASCII character enter Gold, the 
  157. decimal value of the character and Gold Keypad 3.
  158.  
  159.                 Commands
  160.  
  161.     Commands are coded into ASCII control characters and the 
  162. function keys on the keyboard. 
  163.  
  164.     PF1 (Gold) has a special meaning. It does not cause any 
  165. commands to be executed, but modifies the effect of the next key 
  166. to be typed. When in this text the term Gold is used before a 
  167. key it means that you have to type PF1 before typing the key. 
  168. Gold also causes the normal ASCII characters to be modified to 
  169. execute Sedt commands instead of entering text.
  170.  
  171.     Some commands require arguments from the keyboard. These 
  172. commands will prompt for the argument and wait for you to type 
  173. it in. As you type the argument it is echoed at the end of the 
  174. prompt on the message line. Argument entry is terminated by 
  175. typing Return, Do or Enter. Mistakes can be corrected by 
  176. deleting a character at a time with Rubout (above Return). The 
  177. entire command can be cancelled by typing Control U.
  178.  
  179.     Most commands can be repeated by typing Gold, inputting 
  180. the number of times the command should be repeated, and the key 
  181. sequence for the command. While entering the number you see it 
  182. echoed on the message line. Mistakes can be corrected by typing 
  183. Rubout to delete a character. Entry of the number can be aborted 
  184. by typing Control U.
  185.  
  186.                   Help
  187.  
  188.     To get help within an edit session type Gold H, Help or 
  189. PF2. Sedt will display a help screen and ask you whether you 
  190. want to see the next help screen. typing Return will display the 
  191. next help screen. Typing Space will return to the edit session. 
  192. The help text is found in a disk file (CP/M: Sedthelp.Txt. VMS: 
  193. Sedt$Help:). If the help file cannot be found an error message 
  194. will be displayed.
  195.  
  196.                  Moving
  197.  
  198.     The most simple moving commands to use are the arrow 
  199. keys. Left arrow moves the cursor one character backwards in the 
  200. text. Right arrow moves one character forward in the text. Up 
  201. arrow moves one line up and attempts to keep the cursor at the 
  202. same relative position within the line. If the line is too short 
  203. the cursor will be positioned at the end of the line. If the 
  204. character at the previous line has a representation longer than 
  205. one character (Tab or other control characters) the cursor will 
  206. be positioned at the end of the representation. Down arrow works 
  207. as up arrow, but moves one line down.
  208.  
  209.     Previous Screen moves 10 lines up the text and places 
  210. the cursor at the start of the line. Next Screen moves 10 lines 
  211. down in the text and places the cursor at the beginning of the 
  212. line.
  213.  
  214.     Gold T moves the cursor to the top of the text. Gold B 
  215. moves the cursor to the bottom of the text.
  216.  
  217.     More complicated moving commands are:
  218.  
  219.     Backspace (F12)    Moves to the previous beginning of line
  220.  
  221. *    Find        Moves to the next occurrence of the 
  222.             current search string.
  223.  
  224. *    Keypad 0    Moves to the next beginning of line.
  225.  
  226. *    Keypad 1    Moves one word.
  227.  
  228. *    Keypad 2    Moves to the next end of line.
  229.  
  230. *    Keypad 3    Moves one character.
  231.  
  232. *    Keypad 7    Moves one page.
  233.  
  234. *    Keypad 8    Moves one paragraph.
  235.  
  236. *    PF3        Moves to the next occurrence of the 
  237.             current search string.
  238.  
  239. *    Gold Find    Moves to the next occurrence of the 
  240.                         current search string which is entered 
  241.                         as a command argument on the message 
  242.                         line. Entering an empty argument causes 
  243.                         Sedt to use the old search string.
  244.  
  245.     Gold Up Arrow    Moves to the top of the text.
  246.  
  247.     Gold Down Arrow    Moves to the end of the text.
  248.  
  249.     Gold Keypad 4    Moves to the end of the text.
  250.  
  251.     Gold Keypad 5    Moves to the start of the text.
  252.  
  253. *    Gold PF3    Moves to the next occurrence of the 
  254.                         current search string which is entered 
  255.                         as a command argument on the message 
  256.                         line. Entering an empty argument causes 
  257.                         Sedt to use the old search string.
  258.  
  259.     Keypad 4    Causes commands marked by * to move 
  260.                         backwards in the text.
  261.  
  262.     Keypad 5    Causes commands marked by * to move 
  263.                         forward in the text.
  264.  
  265.     Gold Left Arrow    Scrolls continuously up through the text 
  266.                         till a key is hit. (Enter is dead key)
  267.  
  268.     Gold Right Arrow Scrolls continuously down through the 
  269.                         text till a key is hit. (Enter is dead 
  270.                         key)
  271.  
  272.     To undo a move you type Gold U as the next command.
  273.  
  274.                  Marks
  275.  
  276.     Marks are points in the text that you may want to return 
  277. to. You can mark a point in the text by entering Gold, the 
  278. number of the mark to be set, and Gold M. You can set mark 
  279. number 1 by entering Gold M.
  280.  
  281.     To return to a mark you enter Gold, the number of the 
  282. mark, and . (dot). You can return to mark 1 by entering Gold . 
  283. (dot).
  284.  
  285.     Valid mark numbers are in the range 1 to 10.
  286.  
  287.              Deleting text
  288.  
  289.     The character immediatly before the cursor position may 
  290. be deleted with Rubout. The word immediatly before the current 
  291. position may be deleted with Line Feed (F13). The line up to the 
  292. current position may be deleted with Control U.
  293.  
  294.     The character after the current position is deleted with 
  295. Keypad , (comma), the next word with Keypad -, and the next line 
  296. with PF4.
  297.  
  298.     Gold Keypad 2 deletes up to the end of the current line.
  299.  
  300.     To delete arbitrary text move to one end of the text and 
  301. enter either Select or Keypad ., then move to the other end of 
  302. the text and enter either Remove or Keypad 6.
  303.  
  304.     Gold Remove will move the text between the current 
  305. position and the select point into the paste buffer, but will 
  306. not delete the text. This command is useful for copying text 
  307. from one position to another.
  308.  
  309.     The select point may be cancelled with Gold Keypad . 
  310. (dot).
  311.  
  312.     It is not necessary to delete a character to change the 
  313. case. Simply place the cursor over the character and enter Gold 
  314. Keypad 1.
  315.  
  316.                Undeletion
  317.  
  318.     Any deleted text can be undeleted until a similar type 
  319. of text is deleted. Gold Keypad , (comma) undeletes the last 
  320. deleted character, Gold Keypad - undeletes the last deleted 
  321. word, and Gold PF4 undeletes the last deleted line.
  322.  
  323.     Insert Here or Gold Keypad 6 undelete the paste buffer 
  324. which is filled with Remove, Gold Remove or Keypad 6.
  325.  
  326.              Search and substitute
  327.  
  328.     Gold Keypad 9 accepts a search and a substitute string 
  329. and replaces the next occurrence of the search string with the 
  330. substitute string. If an empty argument is entered either for 
  331. the search or substitute strings the old values will be used.
  332.  
  333.     Keypad 9 replaces the next occurrence of the current 
  334. search string by the substitute string.
  335.  
  336.     To undo a substitution type Gold U as the next command. 
  337. Gold U will insert the search string exactly as you typed it 
  338. after deleting the substitute string.
  339.  
  340.               Edit buffers
  341.  
  342.     Sedt can concurrently edit up to four different files. 
  343. Each file is contained in a buffer. One of these is the current 
  344. buffer on which all commands have effect. F17 to F20 change the 
  345. current buffer. F17 makes buffer 0 the current, F18 buffer 1, 
  346. F19 buffer 2, and F20 buffer 3.
  347.  
  348.     Whenever F17 to F20 are entered Sedt will change into 
  349. two window mode with the previously current buffer contents 
  350. displayed in the lower window and the current buffer in the 
  351. upper window. If the current and previous buffer are the same 
  352. the lower window will not reflect changes in the buffer unless 
  353. the screen is refreshed with a Control W, which causes the two 
  354. window contents to become identical.
  355.  
  356.                 Windows
  357.  
  358.     Gold D will toggle between one and two window mode. The 
  359. upper window always contains the current buffer and the lower 
  360. window the previous buffer.
  361.  
  362.     Gold W will toggle between 80 and 132 column display 
  363. format.
  364.  
  365.             Session control
  366.  
  367.     Gold F causes the current buffer to be written to it's 
  368. output file. If all buffers have been written to disk Sedt will 
  369. exit. If there are still unwritten buffers Sedt will ask you 
  370. whether you intend to terminate the edit session without saving 
  371. the buffers.
  372.  
  373.     Gold S is used to save the contents of the buffer in any 
  374. file and continue the edit session. The filename is accepted 
  375. from the keyboard. If no filename is entered the buffer is 
  376. saved into the buffer's output file.
  377.  
  378.     Gold E causes the current buffer to be loaded with a new 
  379. file. If the current buffer holds an unsaved file Sedt will ask 
  380. you whether you want to save the old file. If you confirm, Sedt 
  381. will save the old file in the output file before loading the new 
  382. file.
  383.  
  384.     Gold Q will terminate the edit session if all buffers 
  385. have been written to disk. If unsaved buffers exist Sedt will 
  386. ask for confirmation before exiting.
  387.  
  388.     Gold Z clears the current buffer.
  389.  
  390.     Gold G will load the contents of a file into the current 
  391. buffer at the current cursor position.
  392.  
  393.     Control W will refresh the screen.
  394.  
  395.             Word processing
  396.  
  397.     The basic text formatting commands allow Sedt to be used 
  398. as a simple word processing system. The format is controlled 
  399. with the ruler displayed on line 2 of the display.
  400.  
  401.     Gold R allows you to change the ruler. The cursor will 
  402. be positioned at the first column of line 2 after which you can 
  403. modify the layout with the following commands.
  404.  
  405.     Right arrow    Moves the cursor one character to the 
  406.                         right. The column number can be read on 
  407.                         the status line.
  408.  
  409.     Left arrow    Moves the cursor one column to the left.
  410.  
  411.     -        Removes a tab stop at the current 
  412.                         position.
  413.  
  414.     T        Inserts a tab stop at the current 
  415.                         position
  416.  
  417.     L        Sets the left margin to the current 
  418.                         position. When a Return is entered the 
  419.                         cursor will be indented to the left 
  420.                         margin.
  421.  
  422.     R        Sets the right margin to the current 
  423.                         position. If the right margin is reached 
  424.                         when entering text, a new line will be 
  425.                         entered before the word being typed and 
  426.                         the word will be indented to the word 
  427.                         wrap margin.
  428.  
  429.     W        Sets the word wrap margin to the current 
  430.                         position.
  431.  
  432.     I        Sets the indentation at the current 
  433.             position.
  434.  
  435.     Digit        Load saved ruler number digit.
  436.  
  437.     Gold Digit    Save current ruler in saved ruler number 
  438.                         digit.
  439.  
  440.     Return        Returns from ruler definition mode to 
  441.                         normal edit mode.
  442.  
  443.     Gold Keypad 8 will reformat from the current position to 
  444. the end of the paragraph.
  445.  
  446.     Gold C will center the text on the current line between 
  447. the left and right margins.
  448.  
  449.     Gold P will insert a page mark at the current position.
  450.  
  451.     Control P will print the current buffer on the CPM 
  452. device LST:.
  453.  
  454.              Defining keys
  455.  
  456.     Control K will allow you to define keys differently from 
  457. the default settings. When the Key: prompt appears type the key 
  458. you wish to define. When the As: prompt appears type the 
  459. definition of the key either by typing the sequence of command 
  460. keys to be executed or by entering the basic Sedt commands. If 
  461. the string is terminated with a . the key will take effect 
  462. immediatly when hit, otherwise it will be stacked up for 
  463. execution when some other key is struck.
  464.  
  465.     Gold control I will insert a key definition into the 
  466. current buffer. When the Key: prompt appears type the key you 
  467. want to save the definition of.
  468.  
  469.     Gold control L will load the contents of the current 
  470. buffer into a key definition. When the Key: prompt appears type 
  471. the key you want to load the definition of.
  472.  
  473.              Miscellaneous commands
  474.  
  475.     Gold Keypad 7 accepts a string of basic Sedt commands 
  476. from the keyboard and executes them.
  477.  
  478.               Quick command guide
  479.  
  480. Control A        Set indentation to current column
  481. Control D        Decrease indentation
  482. Control E        Increase Indentation
  483. Backspace        Move to beginning of line
  484. Tab            Enter tab or space characters to next 
  485.             tab stop
  486. Line Feed (F13)        Delete to beginning of word
  487. Control K        Define key
  488. Return            Insert a new line character
  489. Control P        Print current buffer
  490. Control U        Delete to beginning of line
  491. Control W        Refresh screen
  492. Rubout            Delete character before current position
  493. Gold Control I        Insert key definition in current buffer
  494. Gold Control L        Load key definition from current buffer
  495. Gold .            Go to mark
  496. Gold B            Go to end of text
  497. Gold C            Center current line
  498. Gold D            Toggle between one and two window 
  499.             display
  500. Gold E            Edit new file in current buffer
  501. Gold F            File current buffer and quit Sedt if all 
  502.             buffers saved
  503. Gold G            Insert contents of file at current 
  504.             position
  505. Gold H            Display help text
  506. Gold M            Set mark
  507. Gold P            Set page mark
  508. Gold Q            Quit Sedt
  509. Gold R            Display and change ruler
  510. Gold S            Save current buffer in file different 
  511.             from output file
  512. Gold T            Move to top of text
  513. Gold W            Toggle between 80 and 132 character 
  514.             display
  515. Gold U            Undo move or substitute
  516. Gold Z            Zero buffer
  517. Help            Display help text
  518. F17            Select buffer 0 as current buffer
  519. F18            Select buffer 1 as current buffer
  520. F19            Select buffer 2 as current buffer
  521. F20            Select buffer 3 as current buffer
  522. Find            Find next occurrence of current search 
  523.             string
  524. Insert Here        Insert contents of paste buffer
  525. Remove            Remove text between current position 
  526.             and select point
  527.             and place in paste buffer
  528. Select            Set current position as select point
  529. Prev Screen        Move 10 lines up
  530. Next Screen        Move 10 lines down
  531. Up Arrow        Move 1 line up vertically
  532. Left Arrow        Move 1 character back
  533. Down Arrow        Move 1 line down vertically
  534. Right Arrow        Move 1 character forward
  535. Keypad 0        Move 1 line
  536. Keypad 1        Move 1 word
  537. Keypad 2        Move to end of line
  538. Keypad 3        Move 1 character
  539. Keypad 4        Advance
  540. Keypad 5        Reverse
  541. Keypad 6        Remove text between current position and 
  542.             select point and place in paste buffer
  543. Keypad 7        Move 1 page
  544. Keypad 8        Move 1 paragraph
  545. Keypad 9        Substitute next occurrence of search 
  546.             string by substitute string
  547. Keypad ,        Delete 1 character
  548. Keypad -        Delete 1 word
  549. Keypad .        Set current position as select point
  550. PF2            Display help text
  551. PF3            Move to next occurrence of search string
  552. PF4            Delete 1 line
  553. Gold Find        Accept and move to search string
  554. Gold Remove        Copy text between current position and 
  555.             select point into paste buffer
  556. Gold Up Arrow        Move to top of text
  557. Gold Left Arrow        Scroll up through text
  558. Gold Down Arrow        Move to end of text
  559. Gold Right Arrow    Scroll down through text
  560. Gold Keypad 0        Open line
  561. Gold Keypad 1        Change case of current character
  562. Gold Keypad 2        Delete to end of line
  563. Gold Keypad 3        Insert ASCII character value Count
  564. Golf Keypad 4        Move to end of text
  565. Gold Keypad 5        Move to top of text
  566. Gold Keypad 6        Paste
  567. Gold Keypad 7        Accept and execute Sedt basic command
  568. Gold Keypad 8        Fill to end of current paragraph
  569. Gold Keypad 9        Accept search and sunstitute strings and 
  570.             replace next occurrence of search string 
  571.             by substitute string
  572. Gold Keypad ,        Undelete character
  573. Gold Keypad -        Undelete word
  574. Gold Keypad .        Reset select point
  575. Gold PF3        Accept and move to search string
  576. Gold PF4        Undelete line
  577.  
  578.               Basic Sedt commands
  579.  
  580. Command structure
  581.  
  582.     {+|-}{<Count>}:<Command>{<Arguments>}
  583.             Performs an action within the editor
  584.     {+|-}{<Count>}@<Entity>{<Arguments>}
  585.             Defines a range within the buffer
  586.  
  587.     Entities that are not command arguments cause the 
  588.         current position to move to the point defined by the 
  589.         entity.
  590.  
  591.     Entities preceeded by a - always work backwards from the 
  592.     current position. When preceeded by a + they always work 
  593.     forward from the current position. Unsigned entotoes 
  594.     work forward or backward depending upon the current 
  595.     direction.
  596.  
  597.     An entity working backward starts with the character 
  598.     immediatly before the current cursor position. When 
  599.     working forward the entity includes the current cursor 
  600.     position.
  601.  
  602.     Count normally causes the command or entity to be 
  603.         repeated.
  604.  
  605.     A - causes the command or entity to work backwards in 
  606.         the buffer. 
  607.     A + causes the command or entity to work forwards in the 
  608.         buffer.
  609.  
  610.     Command sequences may be repeated by following a count 
  611.         with the commands to be repeated in parenthesis. If 
  612.         count is zero the command sequence will be repeated 
  613.         until an error occurs or :TI senses type ahead
  614.  
  615. Entities
  616.  
  617.     @BB        Top of buffer
  618.     @EB        End of buffer
  619.     @EL        End of line
  620.     @C        Character
  621.     @F<Delimiter><String><Delimiter>
  622.             Start of next occurrence of <String>
  623.     @L        Next beginning of line
  624.     <Count>@M    Point number <Count>. Point 0 is the 
  625.             select point
  626.     @N        Start of next occurrence of same search 
  627.             string
  628.     @PAG        Start of next page
  629.     @PAR        Start of next paragraph
  630.     @SEN        Start of next sentence
  631.     @SR        Select point
  632.     @V        Same position within next line
  633.     @W        Start of next word
  634.  
  635. Commands
  636.  
  637.     :A        Make entities default forward
  638.     :B        Make entities default backward
  639.     :CC<Entity>    Change case within entity
  640.     :CD<Entity>    Change to lower case within entity
  641.     <Count>:CH    Insert character with ASCII value <Count>
  642.     :CL        Center text of current line
  643.     :CU<Entity>    Change to upper case within entity
  644.     :D<Entity>    Delete entity
  645.     :FE<Delimiter><Name><Delimiter>
  646.             Edit file named <Name>
  647.     :FG<Delimiter><Name><Delimiter>
  648.             Insert file named <Name> at current 
  649.             position
  650.     :FS<Delimiter><Name><Delimiter>
  651.             Save current buffer in file named <Name>
  652.     :GE<Entity>    Get entity into delete buffer but do not 
  653.             remove from text
  654.     :H        Display help message contained in 
  655.             SEDTHELP.TXT
  656.     :I<Delimiter><Text><Delimiter>
  657.             Insert <Text> at current position
  658.     :K{G}{F|A}NNN<Delimiter><Commands><Delimiter>
  659.             Define key as <Commands>
  660.             G    Gold
  661.             F    Function key
  662.             A    Ascii character
  663.             NNN    3 digit decimal number
  664.     :LD        Decrease indentation by 1
  665.     <Count>:LD    Decrease indentation by <Count>
  666.     :LE        Increase indentation by 1
  667.     <Count>:LE    Increase indentation by <Count>
  668.     :LK{G}{F|A}NNN    Load key definition from current buffer
  669.             G    Gold
  670.             F    Function key
  671.             A    Ascii character
  672.             NNN    3 digit decimal number
  673.     :LS        Set current column position as 
  674.             indentation
  675.     :M        Save current position in point 1
  676.     <Count>:M    Save current position in point <Count>
  677.     :NL        Insert a new line character
  678.     :NS        Substitute using save object and target
  679.     :PR        Print current buffer
  680.     :REP        Replace search string by contents of 
  681.             paste buffer
  682.     :RF        Refresh the screen
  683.     :RL        Change to ruler definition mode
  684.         :RS        Remove select point
  685.     :SEL        Save current position in select point
  686.     :SK{G}{F|A}NNN    Save key definition in current buffer
  687.             G    Gold
  688.             F    Function key
  689.             A    Ascii character
  690.             NNN    3 digit decimal number
  691.     :SUB<Delimiter><Object><Delimiter><Target><Delimiter>
  692.             replace next occurrence of <Object> with 
  693.             <Target>
  694.     :SYS<Delimiter><Command><Delimiter>
  695.             Spawns <Command> to the operating system
  696.     :TAB        Enter tab and space characters to advance 
  697.             to next tab stop
  698.     :TF<Entity>    Fill within entity
  699.     :TI        Return an error condition if type ahead
  700.     :UC        Undelete last deleted character
  701.     :UL        Undelete last deleted line
  702.     :UM        Undo last command. Commands that can be 
  703.             undone are moves and substitutes
  704.     :UPAG        Undelete last deleted page
  705.     :UPAR        Undelete last deleted paragraph
  706.     :USR        Paste
  707.     :UU        Undelete last unknown entity
  708.     :UW        Undelete last deleted word
  709.     :Q        Abort without saving file
  710.     :WC        Toggle between one and two window display
  711.     :WD        Toggle screen width between 80 and 132 
  712.             columns
  713.     <Count>:WI    Select buffer <Count>
  714.     :X        Exit and save file after creating backup 
  715.             file
  716.     :Z        Zero current buffer
  717.  
  718.               Key definition file
  719.  
  720.     Each line in the key definition file SEDTKEYS.TXT 
  721. programs one key. The format is a one or two letter key type, 
  722. followed by a three digit decimal key number, followed by the 
  723. string to program the key with.
  724.  
  725. Key types:
  726.  
  727.     A    ASCII character
  728.     GA    Gold ASCII character
  729.     F    Function key
  730.     GF    Gold function key
  731.  
  732. Ascii character numbers are the decimal values of the ASCII 
  733. character.
  734.  
  735. Function key numbers
  736.  
  737.     000        Compose
  738.     001        Hold Screen
  739.     002        Print Screen
  740.     003        Setup
  741.     004        F4
  742.     005        Break
  743.     006        Interrupt
  744.     007        Resume
  745.     008        Cancel
  746.     009        Main Screen
  747.     010        Exit
  748.     011        ESC
  749.     012        BS
  750.     013        LF
  751.     014        Additional Options
  752.     015        Help
  753.     016        Do
  754.     017        F17
  755.     018        F18
  756.     019        F19
  757.     020        F20
  758.     021        Find
  759.     022        Insert Here
  760.     023        Remove
  761.     024        Select
  762.     025        Prev Screen
  763.     026        Next Screen
  764.     027        Up Arrow
  765.     028        Left Arrow
  766.     029        Down Arrow
  767.     030        Right Arrow
  768.     031        Keypad 0
  769.     032        Keypad 1
  770.     033        Keypad 2
  771.     034        Keypad 3
  772.     035        Keypad 4
  773.     036        Keypad 5
  774.     037        Keypad 6
  775.     038        Keypad 7
  776.     039        Keypad 8
  777.     040        Keypad 9
  778.     041        Keypad ,
  779.     042        Keypad -
  780.     043        Keypad .
  781.     044        Keypad PF1
  782.     045        Keypad PF2
  783.     046        Keypad PF3
  784.     047        Keypad PF4
  785.     048        Keypad Enter
  786.