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.TXT < prev   
Text File  |  1985-03-24  |  29KB  |  768 lines

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