	SEDT Reference Manual, Version 3.0
	Interpreting keyboard input
	
	
			  Interpreting keyboard input
	
                SEDT classifies all input into ASCII Characters, Function 
        Keys,  Gold  ASCII  characters  and  Gold Function Keys.    ASCII 
        characters  are  input  through  the  normal typewriter keyboard, 
        using Ctrl  to  input control characters and Compose to input the 
        DEC Multinational characters.  Function keys are input by  typing 
        keys that are not part of the normal typewriter keyboard.    Gold 
        ASCII  characters  and Gold Function Keys are input by typing PF1 
        --  sometimes  colored  gold  on the keyboard -- before the ASCII 
        character or function key.

                Printable  ASCII  characters  and the space character are 
        inserted at the current cursor position in the file being edited.

                Gold ASCII characters,  control  characters, gold control 
        characters, function keys and  gold  function  keys  are bound to 
        character strings.    This  is done at start-up time by reading a 
        keyboard definition file  or  through commands that program keys.  
        Whenever a key is struck SEDT will insert the string that the key 
        is bound to into an internal command buffer.    

                Gold followed by a  digit  has  a  special meaning.  SEDT 
        will interpret the digit and digits that immediately follow  it as 
        a count that will be applied to the next key  to  be struck.  For 
        example, if you type Gold 1 2 a, a total of  twelve character a's 
        will  be inserted in the file.  There are two exceptions to  this 
        rule:    the delete key will remove the last digit from the count 
        and control U will erase the count entirely.  

                      Interpreting key definition strings

                If a key definition string is terminated with a period it 
        is executed  immediately.   If not, the string will be stored and 
        the string associated  with the next key will be appended until a 
        string terminated by a  period  is  encountered.  Then the entire 
        string will be interpreted.

                If a  count  was  entered  by  typing  gold followed by a 
        series of digits before a  key is typed, the ASCII representation 
        of the count will be inserted  before  the string associated with 
        the key.


	SEDT Reference Manual, Version 3.0
	Interpreting keyboard input
	
	
			       Token replacement

                Before the  string is executed it is scanned for ?, !, or 
        % characters.  If any of these is followed by another of the same 
        one of the two  will  be  removed, otherwise SEDT will respond as 
        follows:

                ? will cause SEDT to expect the following syntax:

                        ?<delimiter><string><delimiter>

                where  <delimiter>  is  any ASCII character.   SEDT  will 
                display  <string> on the bottom line of the  display  and 
                then accept input from the keyboard.  Return, Enter or Do 
                will  terminate  keyboard  input  and  the input from the 
                keyboard will replace the  above construct in the command 
		string.  Rubout will delete  the character to the left of 
		the cursor.  Control U will cancel the input and raise an 
		error  condition  that  prevents  interpretation  of  the 
		command  string.    Left and right arrows will  move  the 
		cursor to the left and right.  ASCII characters  will  be 
		inserted at the cursor position.  All gold characters and 
		function keys will cause the command string that is bound 
		to the key to be inserted at the cursor position.

                ! will cause SEDT to expect the following syntax:

                        !<delimiter><string><delimiter>

                where <delimiter>  is  any  ASCII  character.   SEDT will 
                display <string> on  the  bottom  line of the display and 
                wait for a key or gold followed by a key to be struck.  A 
                unique ASCII representation for the  key will be inserted 
                in the command  string  instead  of  the above construct.  

                       	The key representation is  a code that identifies 
                        the class and value of  the  key.  It consists of 
                        an  alphabetic  code  that  identifies the  class 
                        followed  by  a  three digit decimal number  that 
                        defines the value.
        
                Valid classes are:
        
                        A       ASCII character.
                        GA      Gold ASCII character.
                        F       Function key.
                        GF      Gold function key.
        

	SEDT Reference Manual, Version 3.0
	Interpreting keyboard input
	
	
                Key values:
        
                        For ASCII characters the value is the ASCII value 
			of the character.
        
	
                        For function keys the value identifies the key as 
			follows:
                        
        
                        001             (F1)
                        002             (F2)
        		003		F3,Setup
        		004		F4
        		005		F5,Break
        		006		F6,Interrupt
        		007		F7,Resume
        		008		F8,Cancel
        		009		F9,Main Screen
        		010		F10,Exit
        		011		F11,ESC
        		012		F12,BS
        		013		F13,LF
        		014		F14,Additional Options
        		015		Help
        		016		Do
        		017		F17
        		018		F18
        		019		F19
        		020		F20
        		021		Find
        		022		Insert Here
        		023		Remove
        		024		Select
        		025		Prev Screen
        		026		Next Screen
        		027		Up Arrow
        		028		Left Arrow
        		029		Down Arrow
        		030		Right Arrow
        		031		Keypad 0
        		032		Keypad 1
        		033		Keypad 2
        		034		Keypad 3
        		035		Keypad 4
        		036		Keypad 5
        		037		Keypad 6
        		038		Keypad 7
        		039		Keypad 8
        		040		Keypad 9

	SEDT Reference Manual, Version 3.0
	Interpreting keyboard input
	
	
        		041		Keypad ,
        		042		Keypad -
        		043		Keypad .
        		044		Keypad PF1
        		045		Keypad PF2
        		046		Keypad PF3
        		047		Keypad PF4
        		048		Keypad Enter


                % must be followed by one of the following characters:  F 
                or N.

                        %F is replaced by the name of the  output file of 
                        the current buffer being edited.

                        %N is replaced by the name of the output  file of 
                        the current buffer being edited,  up  to, but not 
                        including, the first period.
        
                Once  the  command  string has been  preprocessed  it  is 
        interpreted as a series of commands.   The next chapter describes 
        all SEDT commands.
        
	        If an  error  occurs during execution of a command string 
        all commands following the one that the error occurred in will be 
        skipped.  Also, if  the  command  was  in  a  series  of commands 
        enclosed in parentheses preceded by a  count  the parentheses are 
        exited and further iterations skipped.
        
                SEDT  commands  may  be    grouped  by  placing  them  in 
        parentheses.    A count in  front  of  a  group  of  commands  in 
        parentheses causes the group to be  repeated  the number of times 
        given in the count.
        
                It is also possible to execute commands conditionally.
        
                ^C(<Commands>)  causes  <Commands) to be executed only if 
                the current buffer contains unsaved changes.
        
                ^C(<Commands>|<Commands>)  causes   the  first  group  of 
                commands to be executed  if  the  buffer contains unsaved 
                changes and the second group to executed if the buffer is 
                unchanged.
        
                ^E(<Commands>)(<Commands>)    causes  the  first  set  of 
                commands to be executed.  If any  error occurs during the 
                execution the  rest  of  the first string will be skipped 
                and the second group  of  commands will be executed.  The 
                second command string is ignored if no error occurs.
        

	SEDT Reference Manual, Version 3.0
	Interpreting keyboard input
	
        
                ^E(<Commands>)(<Commands>|<Commands>)  will  execute  the 
                first group of commands.   If an error occurs the rest of 
                the first command string will be  skipped  and  then  the 
                second group of commands will be executed,  otherwise the 
                third  set  is  executed  after  completion of the  first 
                command string.



	SEDT Reference Manual, Version 3.0
	Basic Command Syntax
	
        
                              Basic Command Syntax
        
                SEDT commands are alphanumeric strings preceded by either 
        the  letter <@> or the letter <:>.    Commands  preceded  by  <@> 
        define  a  cursor position and normally move the  cursor  to  the 
        position the command defines.    Commands  preceded  by  <:>  are 
        action commands that perform a change on the file being edited or 
        change the editing environment.  Some  action  commands  must  be 
        followed by a position command that defines  the  range  of  text 
        that the command acts on.
        
                All  commands  can  be preceded by a direction  indicator 
        and/or a count.  Not all commands use the  direction indicator or 
        count.   Those that do have the direction indicator or  count  in 
        the syntactical description.
        
                The direction indicator is one of <+>, <->, <<>  or  <>>.  
        <+>  and <>> set the current direction to be forward, toward  the 
        last  character  in  the  buffer.    <->  and <<> set the current 
        direction  to be backward, toward  the  first  character  in  the 
        buffer.  If no direction indicator  is  provided the command will 
        use the default direction, which initially is  forward but can be 
        changed with the commands :A and :B.
        
                Count  is either a string of  decimal  digits  optionally 
        followed  by  a dollar sign <$> and  another  string  of  decimal 
        digits,  or a dollar sign <$> followed by  a  string  of  decimal 
        digits.  If no dollar sign is in the count, or it  starts  with a 
        dollar sign, it is interpreted  as  the  decimal value defined by 
        the string.  If the count  contains  a  dollar  sign  between two 
        decimal strings it is interpreted at the decimal value defined by 
        the first string.  If no count is  given  the  command will use a 
        count of one.
        
                        $10     returns the count 10
                        20$30   returns the count 20
                        40      returns the count 40
                        
        

	SEDT Reference Manual, Version 3.0
	Commands
	
				    Commands

                                       @AC
        
                               Absolute Character

        Syntax:         {<Count>}@AC

        Semantics:      Move  the  cursor    to  the  absolute  character 
                        position <Count> in the current buffer.
        
                                       @AL
        
                                 Absolute Line

        Syntax:         {<Count>}@AL

        Semantics:      Move the cursor to  the  start  of  absolute line 
                        <Count> in the current buffer.
        
                                       @BB
        
                              Beginning of Buffer

        Syntax:         @BB

        Semantics:      Move the cursor to the  first  character  in  the 
                        current buffer.
        
                                       @EB
        
                                 End of Buffer

        Syntax:         @EB

        Semantics:      Move the cursor to the end of the current buffer.  
                        The cursor  position will be right after the last 
                        character in the buffer.
        
                                       @EL
        
                                  End of Line

        Syntax:         <Count>@EL
        
        Semantics:      Move the cursor to  the  next  end of line in the 
                        current  direction.    The end  of  line  is  the 
                        position  to  the  immediate  right of  the  last 
                        character in the line.  
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                       @C
        
                                   Character
        
        Syntax:         {+|-|<|>}{<Count>}@C
        
        Semantics:      Move the cursor <Count> characters in the current 
                        direction.  The end of line terminator is counted 
                        as a  character.  
        
                                       @F
        
                                      Find
        
        Syntax:         {+|-|<|>}{<Count>}@F<Delimiter><String><Delimiter>
        
        Semantics:      If  the  <String>  is not empty load it  into  an 
			internal buffer called the current search string.  
			The  search  for  an  occurrence  of  the current 
                        search  string in the current direction and place 
                        the  cursor  over  the  first  character  in  the 
                        occurrence.  The search is case insensitive.
        
                                       @L
        
                                      Line
        
        Syntax:         {+|-|<|>}{<Count>}@L
        
        Semantics:      Move  the  cursor to the <Count>'th start of line 
                        in  the  current direction.  The start of line is 
                        the  first   character  on  the  line,  blank  or 
                        non-blank.
        
                                       @M
        
                                      Mark
        
        Syntax:         {<Count>}@M
        
        Semantics:      Move  the  cursor  to  the  position  in the file 
                        where the  cursor  was when a :M command with the 
                        same count was executed last.  Valid counts are 1 
                        through 10.  An error message is  displayed if an 
			invalid  count is given or a :M command  has  not 
			previously been executed with the same count.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                       @N
        
                                      Next
        
        Syntax:         {+|-|<|>}{<Count>}@N
        
        Semantics:      Move  the cursor to the <Count>'th occurrence  in 
                        the current direction of the string last given in 
                        an  @F  command.   The cursor is placed over  the 
			first character  of  the  string.   The search is 
			case insensitive.
        
                                      @PAG
        
                                      Page
        
        Syntax:         {+|-|<|>}{<Count>}@PAG
        
        Semantics:      Move  the cursor to the first character after the 
                        <Count>'th ASCII  <FF>  in the current direction.  
                        If  there  are  <Count>-1  ASCII  <FF>'s  in  the 
                        current direction the cursor  will  be  placed at 
                        the beginning of the file  if  the  direction  is 
                        backwards  or  at  the end of  the  file  if  the 
                        direction is forward.
        
                                      @PAR
        
                                   Paragraph
        
        Syntax:         {+|-|<|>}{<Count>}@PAR
        
        Semantics:      Move  the  cursor  to  the  <Count>'th  start  of 
                        paragraph in the current direction.  If there are 
                        exactly  <Count>-1 beginning  of  paragraphs  the 
                        cursor will be placed  at  the  beginning  of the 
                        file if the direction is  backward  or at the end 
                        of  the  file if the direction  is  forward.    A 
                        beginning  of  paragraph  is a sequence of  ASCII 
                        space, tab and line feeds containing at least two 
                        line  feeds.   The cursor is placed on the  first 
                        character after  the  string  of spaces, tabs and 
                        line feeds.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      @SEN
        
                                    Sentence
        
        Syntax:         {+|-|<|>}{<Count>}@SEN
        
        Semantics:      Move to the  <Count>'th  start of sentence in the 
                        current direction.  A  start  of  sentence is the 
                        first character after a string  of  ASCII spaces, 
                        tabs, line feeds,  <.>,  <;>,  <?>,  <!>,  or <:> 
			containing  exactly one line feed, <.>, <;>, <?>, 
			<!>,  or  <:>  .  If there are exactly  <Count>-1 
			sentences  the cursor will be placed at the start 
			of the  file  if the direction is backwards or at 
			the end of the file if the direction is forward.
        
                                      @SR
        
                                  Select Range
        
        Syntax:         @SR
        
        Semantics:      Move the cursor to the  point  the  cursor was at 
                        the last time a :SEL command  was  executed.   An 
                        error message is displayed if a :SEL command  has 
                        not been executed.
        
                                       @V
        
                                    Vertical
        
        Syntax:         {+|-|<|>}{<Count>}@V
        
        Semantics:      Move  the  cursor  <Count>  lines  in the current 
                        direction.   SEDT attempts to position the cursor 
                        at the same  column as the cursor was at before a 
                        series of @V commands were issued.  The cursor is 
                        never placed further to the right than one column 
                        to the right of the last character on a line.  If 
                        the    line  contains  ASCII  tab  characters  or 
                        characters    that    SEDT     represents    with 
                        multi-character sequences it may  not  be able to 
                        position at exactly the same column.
	
			A series of these commands will  attempt  to keep 
			the cursor at the column it was at when the first 
			command was executed.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                       @W
        
                                      Word
        
        Syntax:         {+|-|<|>}{<Count>}@W
        
        Semantics:      Move  the  cursor <Count> words  in  the  current 
                        direction.    A  word is either  an  alphanumeric 
                        string  containing  underscores  <_> or printable 
                        ASCII characters or  a  single  non-alphanumeric, 
			printable  ASCII  character.      The  cursor  is 
			positioned over the first character in the word.
        
                                       :A
        
                                    Advance
        
        Syntax:         :A
        
        Semantics:      Set  the default  direction  for  cursor-movement 
                        commands to be  forward  toward  the  end  of the 
                        file.
        
                        The default direction is displayed  on  the  mode 
                        line of the display.
        
                                       :B
        
                                    Backward
        
        Syntax:         :B
        
        Semantics:      Set  the  default  direction for  cursor-movement 
                        commands to be backward  toward  the start of the 
                        file.
        
                        The  default direction is displayed on  the  mode 
                        line of the display.
        
                                      :CC
        
                                  Change Case
        
        Syntax:         :CC<@ command>
        
        Semantics:      Switch  all  lower  case characters to upper case 
                        and  all upper case characters to lower case from 
                        the  current  cursor  position  to  the  position 
                        defined by the @ command.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :CL
        
                              Change to Lower case
        
        Syntax:         :CL<@ command>
        
        Semantics:      Change all upper  case  characters  to lower case 
                        from the current cursor  position to the position 
                        defined by the @ command.

                                      :CU

                              Change to Upper Case

        Syntax:         :CU<@ command>

        Semantics:      Change all lower  case  characters  to upper case 
                        from the current cursor  position to the position 
                        defined by the @ command.


	SEDT Reference Manual, Version 3.0
	Commands
	
                                       :D
        
                                     Delete
        
        Syntax:         :D<@ command>
        
        Semantics:      Delete all characters from the  current  position 
                        to  the  position defined by the  @  command  and 
                        place  the  deleted  text in an internal  buffer.  
                        Separate buffers exist for different  @ commands;  
                        The  relationship  between @ commands and  delete 
                        buffers is:
           
                                @AC     Unknown
                                @AL     Unknown
                                @BB     Unknown
                                @EB     Unknown
                                @EL     Line
                                @C      Char
                                @F      Find
                                @L      Line
                                @M      Unknown
                                @N      Find
                                @PAG    Pag
                                @PAR    Par
                                @SEN    Sen
                                @SR     Paste
                                @V      Unknown
                                @W      Word
	
				In insert mode  the  text will be removed 
			entirely and the text  after  the  block  removed 
			will  immediately  follow  the  text  before  the 
                        block.  In replace mode the block removed will be 
                        replaced  with  space  characters, preserving any 
                        line terminators.


	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :EAP
        
                               Delete and Append
        
        Syntax:         :EAP<@ command>
        
        Semantics:      Delete all characters from the  current  position 
                        to  the  position defined by the  @  command  and 
                        appends the text to  the  contents of an internal 
                        buffer.  Separate buffers exist  for  different @ 
                        commands;    The relationship between @  commands 
                        and delete buffers is:
           
                                @AC     Unknown
                                @AL     Unknown
                                @BB     Unknown
                                @EB     Unknown
                                @EL     Line
                                @C      Char
                                @F      Find
                                @L      Line
                                @M      Unknown
                                @N      Find
                                @PAG    Pag
                                @PAR    Par
                                @SEN    Sen
                                @SR     Paste
                                @V      Unknown
                                @W      Word
        
				In insert mode  the  text will be removed 
			entirely and the text  after  the  block  removed 
			will  immediately  follow  the  text  before  the 
                        block.  In replace mode the block removed will be 
                        replaced with space  characters,  preserving  any 
                        line terminators.
        
                                      :EL
        
                                Set error level
        
        Syntax:         <Count>:EL
        
        Semantics:      Set the error level to ring the bell at <count>
                        3: All errors
                        2: All errors except entity errors (default)
                        1: Only serious and fatal errors
                        0: never


	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :FE
        
                                   Edit File
        
        Syntax:         :FE<Delimiter><File Name><Delimiter>
        
        Semantics:      If the current buffer contains modified text  the 
                        user is asked whether the current contents should 
                        be saved.  If affirmative, the contents are saved 
                        in  the    current  output  file,  otherwise  the 
                        contents  are discarded.   The  contents  of  the 
                        buffer are then cleared. The <File Name> argument 
                        is  assigned  to the input  filename  and  output 
                        filename of the current buffer and  the  file  is 
                        read into the buffer if it exists.  A new journal 
                        file  is  opened.   The cursor is placed  at  the 
                        first character of the file.
        
                                      :FG
        
                                    Get File
        
        Syntax:         :FG<Delimiter><File Name><Delimiter>
        
        Semantics:      Read  the  contents  of the file into the current 
                        buffer  at the  current  cursor  position.    The 
                        cursor is placed at the first character read in.
        
                                      :FS
        
                                   Save File
        
        Syntax:         :FS<Delimiter><File Name><Delimiter>
        
        Semantics:      Save the contents of  the  current  buffer in the 
                        file given in the <File  Name>  argument.  If the 
                        argument is empty, save in the output file of the 
                        current  buffer.   A new journal file is  opened.  
                        Recovery of a session using a journal file opened 
                        after  :FS  may  not  work  because  the  editing 
                        environment (delete buffers, cursor position) may 
                        be different when recovery is attempted.
        
                                      :FX
        
                                  Execute File
        
        Syntax:         :FX<Delimiter><File Name><Delimiter>
        
        Semantics:      Read the file given  in  <File  Name> and execute 
                        each  line  as  SEDT commands.    ?,  !    and  % 
                        expansion is done before execution of each line.
       

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :GE
        
                                      Get
        
        Syntax:         :GE<@ command>
        
        Semantics:      Place  the  text  between  the  current    cursor 
                        position  and  the  position  defined  by  the  @ 
                        command and  place it in an internal buffer.  The 
                        text is not  deleted  from  the  current  buffer.  
                        Several buffers are used for different @ commands 
                        as follows:

                                @AC     Unknown
                                @AL     Unknown
                                @BB     Unknown
                                @EB     Unknown
                                @EL     Line
                                @C      Char
                                @F      Find
                                @L      Line
                                @M      Unknown
                                @N      Find
                                @PAG    Pag
                                @PAR    Par
                                @SEN    Sen
                                @SR     Paste
                                @V      Unknown
                                @W      Word
       

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :GAP
        
                                 Get and append
        
        Syntax:         :GAP<@ command>
        
        Semantics:      Append  the   text  between  the  current  cursor 
                        position  and  the  position  defined  by  the  @ 
                        command to the contents  of  an  internal buffer.  
                        The text is not deleted  from the current buffer.  
                        Several buffers are used for different @ commands 
                        as follows:

                                @AC     Unknown
                                @AL     Unknown
                                @BB     Unknown
                                @EB     Unknown
                                @EL     Line
                                @C      Char
                                @F      Find
                                @L      Line
                                @M      Unknown
                                @N      Find
                                @PAG    Pag
                                @PAR    Par
                                @SEN    Sen
                                @SR     Paste
                                @V      Unknown
                                @W      Word
        
                                      :GR
        
                                   Get ruler
        
        Syntax:         <Count>:GR
        
        Semantics:      Read  the  contents  of the file RULER<Count>.TXT 
                        and  define  the  ruler from the contents of  the 
                        file.    The  file should have been written by  a 
                        save ruler command within the :RL command.  On PC 
			versions the file should  be  located  in  SEDT's 
			master directory.  Under VMS  the  file is should 
			be placed in the directory defined by the logical 
			variable SEDT$DIR.
       

	SEDT Reference Manual, Version 3.0
	Commands
	
                                       :H
        
                                      Help
        
        Syntax:         :H
        
        Semantics:      Read the help and display it page by  page on the 
                        screen.    On  PC versions the help  file  is  in 
                        SEDT's  master directory.  Under VMS the file  is 
                        defined by  the  logical  name  SEDT$HELP.    The 
                        naming  convention  for   the  help  file  is  as 
                        follows:
        
                        System          Keyboard        File

                        Rainbow         LK201           RBHLP.TXT
                        IBM PC          IBM             PCHLP.TXT
                        IBM PC/XT       IBM             XTHLP.TXT
                        IBM PC/AT       IBM             ATHLP.TXT
                        VAXmate         IBM             ATHLP.TXT
                        IBM PC          LK250           LKHLP.TXT
                        IBM PC/XT       LK250           LKHLP.TXT
                        IBM PC/AT       LK250           LKHLP.TXT
                        VAXmate         LK250           LKHLP.TXT

                                       :I
        
                                     Insert
        
        Syntax:         :I<Delimiter><Any text><Delimiter>
        
        Semantics:      Insert  the  text  in  the  current buffer.   The 
                        cursor  is    placed   after  the  last  inserted 
                        character.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                       :K
        
                                   Define key
        
        Syntax:         :K<Key><Delimiter><Definition><Delimiter>
        
        Semantics:    	Program  the  key given in <Key> to  perform  the 
			commands given  in <Definition>.  If <Definition> 
			ends with a  period the commands will be executed 
			when the key is  pressed, otherwise the execution 
			is stored and executed when  a  key ending with a 
			period is struck.
        
                	<Key>  is a code that identifies  the  class  and 
			value of the key.  It consists  of  an alphabetic 
			code  that  identifies  the  class  followed by a 
			three  digit  decimal  number  that  defines  the 
			value.
        
                Valid classes are:
        
                        A       ASCII character.
                        GA      Gold ASCII character.
                        F       Function key.
                        GF      Gold function key.
        
                Key values:
        
                        For ASCII characters the value is the ASCII value 
			of the character.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                        For function keys the value identifies the key as 
			follows:
                        
        
                        001             (F1)
                        002             (F2)
        		003		F3,Setup
        		004		F4
        		005		F5,Break
        		006		F6,Interrupt
        		007		F7,Resume
        		008		F8,Cancel
        		009		F9,Main Screen
        		010		F10,Exit
        		011		F11,ESC
        		012		F12,BS
        		013		F13,LF
        		014		F14,Additional Options
        		015		Help
        		016		Do
        		017		F17
        		018		F18
        		019		F19
        		020		F20
        		021		Find
        		022		Insert Here
        		023		Remove
        		024		Select
        		025		Prev Screen
        		026		Next Screen
        		027		Up Arrow
        		028		Left Arrow
        		029		Down Arrow
        		030		Right Arrow
        		031		Keypad 0
        		032		Keypad 1
        		033		Keypad 2
        		034		Keypad 3
        		035		Keypad 4
        		036		Keypad 5
        		037		Keypad 6
        		038		Keypad 7
        		039		Keypad 8
        		040		Keypad 9
        		041		Keypad ,
        		042		Keypad -
        		043		Keypad .
        		044		Keypad PF1
        		045		Keypad PF2
        		046		Keypad PF3
        		047		Keypad PF4
        		048		Keypad Enter
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                  :LD
        
                          Decrease indentation
        
        Syntax:         {<Count>}:LD
        
        Semantics:      Reduce  the indentation level by  <Count>,  which 
			defaults to 1.  The :TAB command moves the cursor 
			to the indentation level if the cursor  is placed 
			to  the  left  of  the  indentation  level.   The 
			indentation level is shown with an I on the ruler 
			display.
        
                                  :LI
        
                          Increase indentation
        
        Syntax:         {<Count>}:LI

        Semantics:      Increase the indentation  level by <Count>, which 
			defaults to 1.  The :TAB command moves the cursor 
			to the indentation level if  the cursor is placed 
			to  the  left  of  the indentation  level.    The 
			indentation level is shown with an I on the ruler 
			display.
        
                                  :LK
        
                          Load key definition
        
        Syntax:         :LK<Key>
        
        Semantics:      Program  the  key  given in <Key> to contain  the 
			contents  of the current buffer.  See :K for  the 
			valid codes for <Key>.
        
                                  :LNE
        
                    Execute keystrokes stored in key
        
        Syntax:         {<Count>}:LNE<Key>
        
        Semantics:      Interpret the  programming  of the key defined by 
			<Key> as a  sequence  of  keystrokes.  The key is 
			assumed to have been  programmed  through the use 
			of the :LNL command.  See :K for a description of 
			valid codes for <Key>.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                  :LNL
        
                        Store keystrokes in key
        
        Syntax:         :LNL<Key>
        
        Semantics:      Store subsequent keystrokes in the programming of 
			the  key  defined  by  <Key>  until that  key  is 
			struck.  The keystrokes are executed as they  are 
			stored.   The commands :LNL and :LNE are used  to 
			store  the  keystrokes   required  to  perform  a 
			repeated task and then  perform  the task without 
			having to repeat the keystroke  sequence.  See :K 
			for a description of valid codes for <Key>.
        
                	The stored keystrokes are encoded as  a  code for 
			the class of the key followed by  either an ASCII 
			character or a 3 digit ASCII value for the key.
        
                	Codes are:
        
	                        A       ASCII character
	                        G       Gold ASCII character
	                        F       Function key
	                        B       Gold function key
        
                	For printable  ASCII  characters,  except digits, 
			the code is followed by the character.  Otherwise 
			the code is followed  by  a  3 digit function key 
			number,  see :K for valid  values,  or  an  ASCII 
			character value.
        
                                  :LS
        
                         Set indentation level
        
        Syntax:         :LS
        
        Semantics:      Set the indentation level to the  current  cursor 
			position.  The :TAB command moves the  cursor  to 
			the indentation level if the cursor is placed  to 
			the  left    of   the  indentation  level.    The 
			indentation level is shown with an I on the ruler 
			display.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                   :M
        
                          Mark cursor position
        
        Syntax:         {<Count>}:M
        
        Semantics:      Store the current cursor  position  in  one  of 9 
			marks.  <Count>, which defaults  to  1, specifies 
			the mark to save the position  in.    Valid marks 
			are 1 through 9.  As text is inserted and deleted 
			from  the  buffer marks are adjusted to point  to 
			the same logical positions in the file.
        
                                  :NL
        
                                New line
        
        Syntax:         {<Count>}:NL
        
        Semantics:      Insert  a  new  line  at  the cursor position and 
			advance  the  cursor  to the beginning of the new 
			line.  
        
                        If the  ruler  line  has automatic margin control 
			set the margin  is  set to the leftmost character 
			position not containing spaces  and  tabs  in the 
			line the cursor was on.  If the old line had only 
			spaces  or tabs the automatic margin  is  set  to 
			column  1.    Finally insert spaces and  tabs  to 
			advance  the  cursor to the automatic margin just 
			defined.    The  result will be that left margins 
			will line up at any column position.
        
                        If a non-automatic left margin is set  spaces and 
                        tabs  are  inserted  to advance the cursor to the 
                        left margin.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                  :NS
        
                            Substitute next
        
        Syntax:         {+|-|<|>}{<Count>}:NS
        
        Semantics:      Search in the current  direction  for the current 
			search  string and if it  is  found  replace  the 
			occurrence  with the current  substitute  string.  
                        If the cursor is placed on the first character of 
                        an occurrence the first substitution will be made 
                        on that occurrence.  The current search string is 
                        set  with  @F.    :SL  or  :SUB.     The  current 
                        substitute  string is set with :SUB.  The  search 
                        is case insensitive.
        
                                  :OE
        
                          Output error message
        
        Syntax:         :OE<Delimiter><Message><Delimiter>
        
        Semantics:      Output <Message> exactly  as  an  internal  error 
			message from SEDT and  perform  the  normal error 
			skipping of commands.
        
                                  :OL
        
                               Open line
        
        Syntax:         {<Count>}:OL
        
        Semantics:      Insert <Count>, which defaults to  1,  line feeds 
			after the current cursor position.
        
                                  :OM
        
                             Output message
        
        Syntax:         :OM<Delimiter><Message><Delimiter>
        
        Semantics:      Output  <Message>  on  the  message line  of  the 
			display.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :OS
        
                             Toggle overstrike mode
        
        Syntax:         :OS
        
        Semantics:      Switch between  insert  and  replace mode.  
        
                        In    insert  mode  typed  input  and  characters 
			inserted  with  :I  are  inserted  at  the cursor 
			position and  the  cursor  position  is advanced, 
			thus pushing the  text  after the cursor in front 
			of it.  
        
                        In  replace  mode  the  character  at the  cursor 
                        position  is  replaced  by  the  character  being 
                        inserted.   If  the  cursor  is at the end of the 
                        line the character  will  be inserted rather than 
                        replaced.  If the  cursor  is  at a tab character 
                        the tab will be expanded  to  spaces  before  the 
                        replacement takes place.
        
                        The  current replace/insert mode is displayed  on 
                        the mode line of the display.
        
				      :OW
	
			   Switch to previous buffer
	
	Syntax:		:OW.
	
	Semantics:	Switch to displaying the buffer that was selected 
			before switching to the current.  In  two  window 
			display  mode the displays in the top and  bottom 
			windows will be switched.   If no buffer has been 
                        selected switch to buffer number 1.

                                      :PD
        
                              Insert current date
        
        Syntax:         :PD
        
        Semantics:      Insert  the  current  system  date in the format:  
                        DD-MMM-YYYY.   This  command  has  no  effect  on 
                        systems that do not maintain the current date.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :PL
        
                               Load paste buffer
        
        Syntax:         :PL<Delimiter><File name><Delimiter>
        
        Semantics:      Insert the contents  of  the  file given in <File 
                        name>  in the paste  buffer.    This  command  is 
                        normally used in conjunction with the :PS command 
                        to  preserve  the  contents of the  paste  buffer 
                        across multiple sessions.
        
                                      :PR
        
                              Print current buffer
        
        Syntax:         :PR<Delimiter><File name><Delimiter>
        
        Semantics:      Save  the  current  buffer in the file  given  in 
                        <File name>.  After every 61 lines of output  and 
                        at  the end of the file a form feed character  is 
                        inserted.  If  any  character  is  typed  on  the 
                        keyboard  during the process  the  save  will  be 
                        terminated.
        
                                      :PS
        
                               Save paste buffer
        
        Syntax:         :PS<Delimiter><File name><Delimiter>
        
        Semantics:      Save the contents of the paste buffer in the file 
                        given in <File name>.  This  command  is normally 
                        used  in  conjunction with :PL to preserve  paste 
                        buffers across multiple edit sessions.
        
                                      :REP
        
                                    Replace
        
        Syntax:         :REP
        
        Semantics:      If  the  last  command  was @F or @N  remove  the 
                        occurrence  found  and  insert  it in the unknown 
                        delete buffer.    Then insert the contents of the 
                        paste buffer.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :RF
        
                                Refresh display
        
        Syntax:         :RF
        
        Semantics:      Clear and reinitialize  the  display  and rewrite 
                        it.    This  command  is  used  to  recover  from 
                        corruption of the display.
        
                                       :RL
        
                                     Ruler
        
        Syntax:         :RL
        
        Semantics:      Switch into ruler definition mode.  The cursor is 
                        placed  on  the  first  character  on  the  ruler 
                        display  in  the  second  line  of  the   screen.  
                        Commands that affect the ruler are:
        
        		Right arrow	Moves the cursor one character to 
                                        the right.  The column number can 
                                        be read on the status line.

		        Left arrow	Moves  the cursor one  column  to 
                                        the left.

		        - 		Removes a tab stop at the current 
                                        position.

		        Tab		Moves to next tab stop

		        ^H,Backspace	Moves to column 1

		        T		Inserts a tab stop at the current 
                                        position

		        L		Sets   the  left  margin  to  the 
                                        current position.   When a Return 
                                        is  entered the  cursor  will  be 
                                        indented to the left margin.

		        R		Sets  the  right  margin  to  the 
                                        current  position.  If the  right 
                                        margin  is  reached when entering 
                                        text, a  new line will be entered 
                                        before the word  being  typed and 
                                        the word will be  indented to the 
                                        word wrap margin.


	SEDT Reference Manual, Version 3.0
	Commands
	
		        J		Sets  the  right  margin  to  the 
                                        current  position.   If the right 
                                        margin is  reached  when entering 
                                        text, a new  line will be entered 
                                        before the word being  typed  and 
                                        the word will be indented  to the 
                                        word wrap margin after adjustment 
                                        of the text to the right margin.

		        W		Sets the  word wrap margin to the 
                                        current position.   W  fixes  the 
                                        word wrap position.

		        A		Sets  automatic  margin  control.  
                                        The margin is always the leftmost 
                                        non-blank position on the current 
                                        line.

		        I		Sets  the    indentation  at  the 
                                        current position.

		        Space		Removes  all formatting  controls 
                                        at the current position.

		        Digit    	Load  saved  ruler number  digit.  
                                        The  rulers are saved  in  SEDT's 
                                        master directory under MS/DOS and 
                                        in  the  directory  pointed to by 
                                        the logical  name  SEDT$Dir under 
                                        VMS.  The  name of the ruler file 
                                        is  RulerN.Txt  where  N  is  the 
                                        number of the ruler.

		        Gold Digit	Save current ruler in saved ruler 
                                        number digit. 

		        Return		Returns  from  ruler   definition 
                                        mode to normal edit mode.

		        If more than one  ruler setting is commonly used, 
                        much time can be saved by storing the settings in 
                        rulers 0 through 9.  Ruler 0 is loaded by default 
                        and any of the other rulers can be called up with 
                        four key strokes:  Gold R Digit Return.

		        The  ruler  line  controls  both  left  and right 
                        margins.  Several  options  exist for controlling 
                        the margins.


	SEDT Reference Manual, Version 3.0
	Commands
	
		        No margin control is  done  if  L, W, R and I are 
                        set in column 1.   Lines  can  be infinitely long 
                        and the cursor is always positioned  in  column 1 
                        after a Return is typed.

		        If L is set in a column different from 1 and W is 
                        set  in  column  1  a Return will cause  SEDT  to 
                        indent to the column defined by L.

		        If I is set in a column different from  1 and the 
                        cursor  is positioned to the left of the column a 
                        Tab will indent to the column defined by I.

		        The  left  and  right  margin  controls  work  as 
                        follows:

		        W and R:

			        When a non-blank character  is  typed  to 
                                the right of R SEDT  will insert a Return 
                                in front of the first word  that  extends 
                                to  the right of R and indent  to  the  W 
                                column.    The  effect  will be that text 
                                will be filled between W and R.  The fill 
                                command, Gold Keypad  8  will  fill  text 
                                from the current cursor  position  to the 
                                end of the current paragraph.    Text  to 
                                the left of W will be left unaffected.

		        W and J:

			        When  a  non-blank character is typed  to 
                                the  right  of  J  SEDT  will change  the 
                                spacing between  the current position and 
                                W  so  that   spacing  after  punctuation 
                                characters will be exactly  2  and  after 
                                non-punctuation characters will be 1.   A 
                                return  will then be inserted before  the 
                                first  word that extends to the right  of 
                                J,  after  which  spaces will be inserted 
                                between words  until  the right margin is 
                                justified to J.  Finally the wrapped word 
                                will be indented to  W.  Text to the left 
                                of W will be left unaffected.


	SEDT Reference Manual, Version 3.0
	Commands
	
		        A and R:

			        When a non-blank character is inserted to 
                                the right of  R a return will be inserted 
                                in front of the  first  word that extends 
                                to the right of R.    The  text after the 
                                return will be indented to the same level 
                                as the line just terminated.

		        A and J:

			        When  a  non-blank  character is typed to 
                                the  right  of  J  SEDT  will  change the 
                                spacing  between all words to the left of 
                                the  current  position  so  that  spacing 
                                after  punctuation  characters   will  be 
                                exactly  2  and  after    non-punctuation 
                                characters will be 1.  A return will then 
                                be  inserted  before the first word  that 
                                extends  to  the right of J, after  which 
                                spaces will  be  inserted  between  words 
                                until the right  margin  is  justified to 
                                the  same  level  as    the    line  just 
                                terminated.

		        W to the right of, or at J/R:

			        No filling or justification will occur.

		        A to the right of or at J/R:

			        When a Return is typed the cursor will be 
                                indented  to the same level as  the  line 
                                just  terminated.  If the terminated line 
                                is  empty   the  indentation  level  will 
                                remain  unchanged.      This    mode   is 
                                particularly    useful    for  structured 
                                programming.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :RS
        
                               Reset select range
        
        Syntax:         :RS
        
        Semantics:      Remove the select point and  repaint  the current 
                        window.
	
				      :RUL
	
			     Load ruler from entity
	
	Syntax:		:RUL<@ command>
	
	Semantics:	Interpret  the  text  within the @ command  as  a 
			ruler definition string in the same format as the 
			ruler files.
	
				      :RUS
	
			      Save ruler in buffer
	
	Syntax:		:RUS
	
	Semantics:	Write  the contents of the ruler into the current 
			buffer  in  the same format as a ruler definition 
			file.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :SC
        
                              Show current column
        
        Syntax:         :SC
        
        Semantics:      Display the column that the cursor  is  currently 
                        placed at on the bottom line of the display.
        
                                      :SEL
        
                                     Select
        
        Syntax:         :SEL
        
        Semantics:      Set  the  select point to be the  current  cursor 
                        position.
        
                                      :SK
        
                              Save key definition
        
        Syntax:         :SK<Key>
        
        Semantics:      Insert  the  definition  of  <Key> in the current 
                        buffer.  For valid codes for <Key> see :K.   This 
                        command  is  used in conjunction with :LK to edit 
                        key definitions.
        
                                      :SL
        
                               Load search buffer
        
        Syntax:         :SL<@ command>
        
        Semantics:      Copy  the contents  of  the  buffer  between  the 
                        cursor position and the position defined by the @ 
                        command  into  the  search buffer.    The  search 
                        buffer is used by the @F, @N and :SUB commands.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :SUB
        
                                   Substitute
        
        Syntax:         
        {+|-|<|>}{<Count>}:SUB<Delimiter><Target><Delimiter><Object><Delimiter>
        
        Semantics:      Find the  next  occurrence  of  <Target>  in  the 
                        current direction and  replace  it with <Object>.  
                        If the cursor is placed on the first character of 
                        <Target> and the direction is  forward  make  the 
                        substitution.    If  <Target>  is empty  use  the 
                        current  search  string, set by @F or  :SL.    If 
                        <Object>  is  empty  use  the  current substitute 
                        string.   If Target is non-empty insert it in the 
                        current search string.   If <Object> in non-empty 
                        insert it in the  current  substitute string.  If 
                        the direction is forward, place the cursor at the 
                        end if the inserted string, end if it is backward 
                        place the cursor at the beginning.  The search is 
                        case insensitive.
        
                                      :SYS
        
                           Spawn to operating system
        
        Syntax:         :SYS<Delimiter><Command><Delimiter>
        
        Semantics:      Execute  <Command> and a command to the operating 
                        system.   Before  the  command  is  executed  the 
                        screen is cleared  and  the  modes  reset  to the 
                        default modes.  If  <Command>  is  empty call the 
                        command processor.  On return prompt for input of 
                        a  single  keystroke if <Command> was  non-empty.  
                        Then refresh the display.
        
                        On MS/DOS systems  COMSPEC  is used to locate the 
                        command  interpreter which is  spawned  when  the 
                        argument to :SYS is empty.

                        SEDT uses free  memory  to  contain  buffers  and 
                        other working areas.   Whether  enough  memory is 
                        available  to actually perform the  :SYS  command 
                        depends  on  the largest memory requirement  that 
                        SEDT  has  had  during the session.   It  is  not 
                        possible  to  return  memory  once  it  has  been 
                        claimed and used by SEDT.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :TAB
        
                             Move to next tab stop
        
        Syntax:         {<Count>}:TAB
        
        Semantics:      If the current indentation level is to  the right 
                        of  the  cursor  insert  tab and space characters 
                        until  the  cursor  is  placed at the indentation 
                        level.  Otherwise insert tab and space characters 
                        until the cursor  is at the next tab stop.  If no 
                        tab stops are to  the  right  of  the  cursor  do 
                        nothing.  Only space characters  will be inserted 
                        if the current tab expansion mode  is  to  expand 
                        tabs.  The tab expansion is changed  with the :TT 
                        command  and  displayed on the mode line  of  the 
                        display.
        
                                      :TAD
        
                          Adjust text by one tab stop
        
        Syntax:         {+|-|<|>}{<Count>}:TAD<@ command>
        
        Semantics:      Move  all   lines  fully  contained  between  the 
                        current cursor position  and the position defined 
                        by the @ command  <Count>  tab  stops left if the 
                        current  direction is backward or  right  if  the 
                        current direction is forward.  Left adjustment is 
                        not performed further than to the first non space 
                        or tab character.
        
                                      :TF
        
                                      Fill
        
        Syntax:         :TF<@ command>
        
        Semantics:      Fill or  justify  all  text  between  the current 
                        cursor position and  the  point  defined by the @ 
                        command.  If the ruler contains an R to the right 
                        of column 1 the text will be filled (jagged right 
                        margin).  If it contains a  J  to  the  right  of 
                        column  1  the  text will be justified  (straight 
                        right margin).  The left margin is defined by the 
                        position  of  either  A  or W in the ruler.    To 
                        justify  text  SEDT  packs the text as closely as 
                        possible with  single spaces between words except 
                        after punctuation, where two spaces are used.  It 
                        then inserts extra spaces until the text lines up 
                        with the right margin.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :TI
        
                                 Test for input
        
        Syntax:         :TI
        
        Semantics:      Set SEDT's internal error flag  if  the  internal 
                        type-ahead buffer  contains any characters.  This 
                        command is used  to  terminate  a command loop by 
                        typing a character.
       
                                      :TM
        
                             Toggle buffer markers
        
        Syntax:         :TM
        
        Semantics:      Toggle between showing the beginning and  end  of 
                        buffers  with  bold,  reverse  video Bof and  EOF 
                        markers.  Default is not to show the markers.

                                      :TS
        
                         Toggle automatic screen shifts
        
        Syntax:         :TS
        
        Semantics:      Toggle  shifting the screen image horizontally to 
                        keep  the  current  cursor  position  within  the 
                        screen  margins.  When screen shifting is toggled 
                        off the leftmost column on the screen will always 
                        correspond to the  leftmost  column  in the file.  
                        The current state of  the  toggle is shown on the 
                        mode line of the display.

                                      :TT
        
                              Toggle tab expansion
        
        Syntax:         :TT
        
        Semantics:      Toggle  between  inserting  tab characters in the 
                        buffer and  expanding them into space characters.  
                        The current state  of  the toggle is displayed on 
                        the mode line of the display.
        
                                      :UC
        
                               Undelete character
        
        Syntax:         {<Count>}:UC
        
        Semantics:      Insert the contents  of  the  character  undelete 
                        buffer at the current curser position.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :UL
        
                                 Undelete line
        
        Syntax:         {<Count>}:UL
        
        Semantics:      Insert  the contents of the line delete buffer at 
                        the current curser position.
        
                                      :UM
        
                               Undo last command
        
        Syntax:         :UM
        
        Semantics:      Attempt to negate the effect of the last command.  
                        Commands for which :UM has been implemented are:
        
                                All @ commands.
        
                                :SUB
        
                                :D
        
                        Attempting to undo any other command  will  cause 
                        an error do be displayed.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                     :UPAG
        
                                 Undelete page
        
        Syntax:         {<Count>}:UPAG
        
        Semantics:      Insert the contents of the page delete buffer  at 
                        the current curser position.
        
                                      :UPAR
        
                               Undelete paragraph
        
        Syntax:         {<Count>}:UPAR
        
        Semantics:      Insert  the  contents  of  the  paragraph  delete 
                        buffer at the current curser position.
        
                                      :UPD
        
                              Update screen header
        
        Syntax:         :UPD
        
        Semantics:      Update  the  first  line of the display.  This is 
                        normally done  only  when SEDT is ready for input 
                        and there are no  characters  in  the  type-ahead 
                        buffer.
        
                                     :USEN
        
                               Undelete sentence
        
        Syntax:         {<Count>}:USEN
        
        Semantics:      Insert the contents of the sentence delete buffer 
                        at the current curser position.
        
                                      :USR
        
                                     Paste
        
        Syntax:         {<Count>}:USR
        
        Semantics:      Insert the contents of the  paste  buffer  at the 
                        current curser position.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :UU
        
                                Undelete unknown
        
        Syntax:         {<Count>}:UU
        
        Semantics:      Insert the  contents of the unknown delete buffer 
                        at the current cursor position.
        
                                      :UW
        
                                 Undelete word
        
        Syntax:         {<Count>}:UW
        
        Semantics:      Insert the contents  of the word delete buffer at 
                        the current cursor position.
        
                                       :Q
        
                                      Quit
        
        Syntax:         :Q
        
        Semantics:      Abandon the current edit session.  If any buffers 
                        contain unsaved changes ask for confirmation.
        
                                      :WC
        
                                 Toggle windows
        
        Syntax:         :WC
        
        Semantics:      Toggle between one and two window  displays.  The 
                        bottom window will be empty if :WC is used before 
                        :WI is used.  If :WI has been used the two window 
                        display  will  show  the  buffer  selected as the 
                        current buffer  before  the  last :WI command was 
                        executed.
       
                                      :WD
        
                                  Toggle width
        
        Syntax:         :WD
        
        Semantics:      Toggle between 80 and 132 column display formats.  
			This command has no effect on systems that cannot 
			support 132 character displays.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                      :WI
        
                                 Select buffer
        
        Syntax:         <Count>:WI
        
        Semantics:      Select the buffer given in <Count> as the current 
                        buffer.  Valid buffers are 1 through  4.   If the 
			screen  displays  two windows the top window will 
			show the  selected  buffer  and the bottom window 
			will show the  buffer  that  was current when the 
			:WI  command  was executed.  The bottom window is 
			not changed  even  if  the top and bottom windows 
			show the same  buffer.    A :RF command will make 
			the bottom window identical  to  the  top if they 
			show the same buffer.
        
                        Each  buffer  has  a    unique  edit  environment 
                        including:
        
                                Input file
                                Output file
                                Current position
                                Ruler
                                Marks
                                Select point
        
                                       :X
        
                                      Exit
        
        Syntax:         :X
        
        Semantics:      Save  the  current buffer in  it's  output  file.  
                        Then  exit  unless other buffers contain  unsaved 
                        changes.    If  unsaved changes exist prompt  the 
                        user for confirmation before exiting.
        

	SEDT Reference Manual, Version 3.0
	Commands
	
                                       :Z
        
                                   Zap buffer
        
        Syntax:         :Z
        
        Semantics:      Clear  the  current  buffer.   If unsaved changes 
                        have been  made  prompt the user for confirmation 
                        before clearing.


	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
			 EDT style keyboard programming

				   Control A
			     Set indentation level
	
	Contents:	:LS.
	
	Effect:		Set  the  indentation level to the current cursor 
			position.  This is indicated by an I on the ruler 
			line.  A :TAB command with the cursor to the left 
			of the indentation  level  will  indent   to  the 
			indentation level.

				   Control D
			   Decrease indentation level
	
	Contents:	:LD.
	
	Effect:		Decrease the indentation level by one  column.
	
				   Control E
			   Increase indentation level
	
	Contents:	:LI.
	
	Effect:		Increase the indentation level by  one  column.
	
			      Control H, Backspace
				Goto line start
	
	Contents:	-@L.
	
	Effect:		Move to the previous start of line.
	
				 Control I, Tab
			     Insert a tab character
	
	Contents:	:TAB.
	
	Effect:		Insert  space  and/or  tab  characters  until the 
			cursor is positioned at:
	
			If the indentation level -- I on the ruler --  is 
			to the right of  the  cursor then the indentation 
			level.  Otherwise at the  next  tab stop shown on 
			the ruler.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
			      Control J, Line feed
			  Delete to beginning of word
	
	Contents:	(:D-@W).
	
	Effect:		Delete to the previous  start  of word and insert 
			the deleted text in the word delete buffer.
	
				   Control K
				   Define key
	
	Contents:	:K!"Key:"<ETX>?"As: "<ETX>.
	
	Effect:		Prompt for the key to  be  defined  and  then the 
			command string to be inserted.  Next time the key 
			is pressed the command string will be executed.
	
				   Control L
			  Insert a form feed character
	
	Contents:	(12:CH).
	
	Effect:		Inserts a form feed character <FF> at the current 
			cursor position.
	
			       Control M, Return
			    Insert a carriage return
	
	Contents:	:NL.
	
	Effect:		Insert a carriage return  at  the  current cursor 
			position.  If a left  margin  is set in the ruler 
			the cursor will be indented.
	
			If the left  margin is marked with L  the  cursor 
			will be  indented  to  the position of L  in  the 
			ruler.
	
			If the left  margin  is  marked with A the cursor 
			will be  indented  to  the  position of the first 
			non-blank character  in  the line that the cursor 
			was on when the command  was  invoked.   The A in 
			the ruler line will be adjusted to this position.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				   Control P
			    Print contents of buffer
	
	Contents:	:PR?"Print on file: ".
	
	Effect:		Write the contents of  the  current  buffer  with 
			form feed characters inserted at every  60  lines 
			on the file name returned to the prompt.
	
				   Control T
			     Adjust text a tab stop
	
	Contents:	:TAD@SR.
	
	Effect:		Move  all  lines wholly contained in  the  select 
			region by a tab stop.  If the  default  direction 
			is reverse  or  a  Gold  - or Gold <  is  entered 
			before  the  command the text will be moved left.  
			Otherwise the text will be moved right.
	
			The text  will  only  be  shifted  left  until  a 
			non-blank character moves into column 1.
	
				   Control U
			  Delete to beginning of line
	
	Contents:	(:D-@L).
	
	Effect:		Delete  to  the previous beginning  of  line  and 
			insert the  deleted  text  in  the  line   delete 
			buffer.
	
				   Control W
				Refresh display
	
	Contents:	:RF.
	
	Effect:		Reinitialize and refresh the display
        
				     Escape
			   Insert an escape character
	
	Contents:	(27:CH).
	
	Effect:		Inserts an escape character at the current cursor 
			position.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				     Rubout
			   Delete previous character
	
	Contents:	:D-@C.
	
	Effect:		Deletes the  previous  character  and  places the 
			deleted text in the character delete buffer.
	
				 Gold control I
			 Save key definition in buffer
	
	Contents:	:SK!"Key:".
	
	Effect:		Inserts the definition  of  the  key  pressed  in 
			response  to the prompt  at  the  current  cursor 
			position.
	
				 Gold control L
			Load key definition from buffer
	
	Contents:	:LK!"Key:".
	
	Effect:		Defines the key pressed in response to the prompt 
			as the entire contents of the current buffer.
	
				     Gold +
		       Set temporary direction to forward
	
	Contents:	+
	
	Effect:		Insert a + in the command  buffer.   This will in 
			most cases set the direction for the next command 
			to forward.
	
				     Gold -
		       Set temporary direction to reverse
	Contents:	-
	
	Effect:		Insert a - in the command buffer.  This  will  in 
			most cased set  the  direction to reverse for the 
			next command.
	
				     Gold .
				   Goto mark
	Contents:	@M.
	
	Effect:		Move to the  cursor  position  previously  marked 
			with Gold M.  An  optional  count  of 1 through 9 
			will identify one of 9 seperate marks.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				     Gold <
		       Set temporary direction to reverse
	Contents:	-
	
	Effect:		Insert a - in the command buffer.  This  will  in 
			most cased set  the  direction to reverse for the 
			next command.
	
				     Gold >
		       Set temporary direction to forward
	Contents:	+
	
	Effect:		Insert a + in the command  buffer.   This will in 
			most cases set the direction for the next command 
			to forward.
	
                                     Gold A
                        Toggle automatic screen shifting
        Contents:       :TS.
        
        Effect:         Toggle shifting the screen image  horizontally to 
                        keep  the  current  cursor  position  within  the 
                        hirzontal screen image.

				     Gold B
			       Goto end of buffer
	Contents:	+@EB.
	
	Effect:		Move  the  cursor  position to  the  end  of  the 
			current buffer.
	
				     Gold C
				  Center line
	Contents:	:CL.
	
	Effect:		Center   the  non-blank  portion  of  the    line 
			containing the cursor between the left and  right 
			margins.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				     Gold D
		     Toggle between one and two window mode
	
	Contents:	:WC.
	
	Effect:         Toggle between showing one and two windows on the 
                        screen.
        
                        When displaying one window it will always contain 
                        the currently selected buffer.
        
                        When  displaying  two  windows  the  top   window 
                        contains  the  currently  selected  buffer.   The 
                        bottom window  displays  the  buffer that was the 
                        current buffer when  the  last  :WI  command  was 
                        executed.  If no  :WI  command  has been executed 
                        the bottom window is blank.    If the same buffer 
                        was selected the bottom window will image the top 
                        window at the last :WI or :RF command.
	
				     Gold E
			Edit new file in current buffer
        
	Contents:	:FE?"Edit File: ".
	
	Effect:         Prompt  for a file name to be  edited.    If  the 
                        current  buffer  has been modified ask whether it 
                        should be  saved  before  loading  the  new file.  
                        Then  clear the  buffer,  reset  all  points  and 
                        marks, load the file  and  position the cursor at 
                        the top of the buffer.
	
				     Gold F
			  Save current buffer and exit
        
	Contents:	:X.
	
	Effect:         Save the contents of the current  buffer  in  the 
                        output  file.    If  any  other  buffer  contains 
                        changes  ask  for  confirmation.   Then reset the 
                        display and exit to the operating system.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				     Gold G
			Include file at current position
        
	Contents:	:FG?"Get File: ".
	
	Effect:         Prompt for  the  name of the file to be included.  
                        Then  load the  requested  file  at  the  current 
                        cursor position and leave the cursor on the first 
                        character of the included text.
	
				     Gold H
				      Help
	
	Contents:	:H.
	
	Effect:         Display the contents  of  the  help file  on  the 
			screen.    On  PC  version  the    help  file  is 
			in SEDT's master directory.    Under VMS the help 
                        file  is  located  through  the    logical   name 
                        SEDT$HELP.   The naming convention for  the  help 
                        file is as follows:
        
                                System          Keyboard        File

                                Rainbow         LK201           RBHLP.TXT
                                IBM PC          IBM             PCHLP.TXT
                                IBM PC/XT       IBM             XTHLP.TXT
                                IBM PC/AT       IBM             ATHLP.TXT
                                VAXmate         IBM             ATHLP.TXT
                                IBM PC          LK250           LKHLP.TXT
                                IBM PC/XT       LK250           LKHLP.TXT
                                IBM PC/AT       LK250           LKHLP.TXT
                                VAXmate         LK250           LKHLP.TXT

	
				     Gold I
			 Toggle tab expansion/insertion
	
	Contents:	:TT.
	
	Effect:		Toggle between inserting tab characters and space 
			characters    or    space  characters  only  when 
			indenting  and  spacing.    The current state  is 
			diplayed on the mode line.
	
				     Gold J
		    Refill paragraph from beginning of line
	
	Contents:	(9:M^E(-@L)():TF@PAR9@M).
	
	Effect:		Save the current cursor position in mark 9.  Then 
			go to the   previous  start  of  line    ignoring 
			posiible  errors  and  fill  to the  end  of  the 
			current  paragraph.  Finally return to the  saved 
			cursor position.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				     Gold M
				    Set mark
	
	Contents:	:M.
	
	Effect:		If a  count  between 1 and 9 has been entered the 
			cursor position will  be  saved  in the mark with 
			that number.  If no  mark  has  been entered save 
			the cursor position in mark 1.
	
				     Gold O
			     Toggle overstrike mode
	
	Contents:	:OS.
	
	Effect:		Toggle between inserting typed text in the buffer 
			and replacing existing text.  The current setting 
			is displayed on the mode line.
	
				     Gold P
			  Insert a form feed character
	
	Contents:	(12:CH).
	
	Effect:		Insert  a  form  feed  character  at the  current 
			cursor position.
	
				     Gold Q
		       Exit without saving current buffer
	
	Contents:	:Q.
	
	Effect:		If    any    buffer   contains  changes  ask  for 
			confirmation.   Reset the display and exit to the 
			operating system.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				     Gold R
			  Enter ruler definition mode
	
	Contents:	:RL.
	
	Effect:		Place the cursor  on  the  first character of the 
			ruler line. Interpret input as follows:
	
	       		Right arrow	Moves the cursor one character to 
                                        the right.  The column number can 
                                        be read on the status line.

		        Left arrow	Moves  the cursor one  column  to 
                                        the left.

		        - 		Removes a tab stop at the current 
                                        position.

		        Tab		Moves to next tab stop

		        Backspace	Moves to column 1

		        T		Inserts a tab stop at the current 
                                        position

		        L		Sets   the  left  margin  to  the 
                                        current position.   When a Return 
                                        is  entered the  cursor  will  be 
                                        indented to the left margin.

		        R		Sets  the  right  margin  to  the 
                                        current  position.  If the  right 
                                        margin  is  reached when entering 
                                        text, a  new line will be entered 
                                        before the word  being  typed and 
                                        the word will be  indented to the 
                                        word wrap margin.

		        J		Sets  the  right  margin  to  the 
                                        current  position.   If the right 
                                        margin is  reached  when entering 
                                        text, a new  line will be entered 
                                        before the word being  typed  and 
                                        the word will be indented  to the 
                                        word wrap margin after adjustment 
                                        of the text to the right margin.


	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
		        W		Sets the  word wrap margin to the 
                                        current position.   W  fixes  the 
                                        word wrap position.

		        A		Sets  automatic  margin  control.  
                                        The margin is always the leftmost 
                                        non-blank position on the current 
                                        line.

		        I		Sets  the    indentation  at  the 
                                        current position.

		        Space		Removes  all formatting  controls 
                                        at the current position.

		        Digit    	Load  saved  ruler number  digit.  
                                        The  rulers are saved  in  SEDT's 
                                        master directory under MS/DOS and 
                                        in  the  directory  pointed to by 
                                        the logical  name  SEDT$Dir under 
                                        VMS.  The  name of the ruler file 
                                        is  RulerN.Txt  where  N  is  the 
                                        number of the ruler.

		        Gold Digit	Save current ruler in saved ruler 
                                        number digit. 

		        Return		Returns  from  ruler   definition 
                                        mode to normal edit mode.

		        If more than one  ruler setting is commonly used, 
                        much time can be saved by storing the settings in 
                        rulers 0 through 9.  Ruler 0 is loaded by default 
                        and any of the other rulers can be called up with 
                        four key strokes:  Gold R Digit Return.

		        The  ruler  line  controls  both  left  and right 
                        margins.  Several  options  exist for controlling 
                        the margins.

		        No margin control is  done  if  L, W, R and I are 
                        set in column 1.   Lines  can  be infinitely long 
                        and the cursor is always positioned  in  column 1 
                        after a Return is typed.

		        If L is set in a column different from 1 and W is 
                        set  in  column  1  a Return will cause  SEDT  to 
                        indent to the column defined by L.


	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
		        If I is set in a column different from  1 and the 
                        cursor  is positioned to the left of the column a 
                        Tab will indent to the column defined by I.

		        The  left  and  right  margin  controls  work  as 
                        follows:

		        W and R:

			        When a non-blank character  is  typed  to 
                                the right of R SEDT  will insert a Return 
                                in front of the first word  that  extends 
                                to  the right of R and indent  to  the  W 
                                column.    The  effect  will be that text 
                                will be filled between W and R.  The fill 
                                command, Gold Keypad  8  will  fill  text 
                                from the current cursor  position  to the 
                                end of the current paragraph.    Text  to 
                                the left os W will be left unaffected.

		        W and J:

			        When  a  non-blank character is typed  to 
                                the  right  of  J  SEDT  will change  the 
                                spacing between  the current position and 
                                W  so  that   spacing  after  punctuation 
                                characters will be exactly  2  and  after 
                                non-punctuation characters will be 1.   A 
                                return  will then be inserted before  the 
                                first  word that extends to the right  of 
                                J,  after  which  spaces will be inserted 
                                between words  until  the right margin is 
                                justified to J.  Finally the wrapped word 
                                will be indented to  W.  Text to the left 
                                of W will be left unaffected.

		        A and R:

			        When a non-blank character is inserted to 
                                the right of  R a return will be inserted 
                                in front of the  first  word that extends 
                                to the right of R.    The  text after the 
                                return will be indented to the same level 
                                as the line just terminated.


	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
		        A and J:

			        When  a  non-blank  character is typed to 
                                the  right  of  J  SEDT  will  change the 
                                spacing  between all words to the left of 
                                the  current  position  so  that  spacing 
                                after  punctuation  characters   will  be 
                                exactly  2  and  after    non-punctuation 
                                characters will be 1.  A return will then 
                                be  inserted  before the first word  that 
                                extends  to  the right of J, after  which 
                                spaces will  be  inserted  between  words 
                                until the right  margin  is  justified to 
                                the  same  level  as    the    line  just 
                                terminated.

		        W to the right of, or at J/R:

			        No filling or justification will occur.

		        A to the right of or at J/R:

			        When a Return is typed the cursor will be 
                                indented  to the same level as  the  line 
                                just  terminated.  If the terminated line 
                                is  empty   the  indentation  level  will 
                                remain  unchanged.      This    mode   is 
                                particularly    useful    for  structured 
                                programming.

				     Gold S
			    Save contents of buffer
	
	Contents:	:FS?"Save onto File: ".
	
	Effect:		Prompt for a file name to save the buffer in.  If 
			no file name is entered the  default  output file 
			will be  used.   Then save the  contents  of  the 
			buffer.
	
				     Gold T
			      Goto start of buffer
	
	Contents:	-@BB.
	
	Effect:		Move  the  cursor to the first character  in  the 
			buffer.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				     Gold U
			 Undo last command if possible
	
	Contents:	:UM.
	
	Effect:		Attempt   to  reverse  the  effect  of  the  last 
			command.  If the last command was an undelete  or 
			paste command move the cursor to the opposite end 
			of the inserted text.
	
			Commands that can be undone are:
	
				All cursor movement commands.
	
				Substitute and substitute next.
	
				All deletion commands.
	
				     Gold W
		   Toggle between 132 and 80 character screen
	
	Contents:	:WD.
	
	Effect:		Toggle  between  screen  widths  of  80  and  132 
			columns.  This command  has  no effect on systems 
			that do not support 132 column widths.
	
				     Gold X
                           Switch to previous window
	
	Contents:	:OW.
	
	Effect:		Switch to  the  previous  buffer selected.  If no 
                        other window has been selected switch  to  buffer 
                        number 1.
	
				     Gold Z
				  Clear buffer
	
	Contents:	:Z.
	
	Effect:		If   the  buffer  has  been  changed  prompt  for 
			confirmation.   Clear  the  buffer  and reset all 
			marks and points.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				     Gold _
		     Insert a hyphen and reindent paragraph
	
	Contents:	:I- 9:M^E(-@L)():TF+@PAR9@M.
	
	Effect:		Insert a hyphen and a space at the current cursor 
			position.  Then save  the cursor position in mark 
			9 and move  to  the  previous beginning  of  line 
			ignoring  any errors.  Fill to  the  end  of  the 
			paragraph  and move the curor back to  the  saved 
			position.
	
				       F4
		      Append select range to paste buffer
	
	Contents:	:EAP@SR.
	
	Effect:		Append  the  contents of the select range to  the 
			paste buffer  but  do  not  remove  it  from  the 
			current buffer.
	
				   Interrupt
			    Save contents of buffer
	
	Contents:	^C(:FS).
	
	Effect:		Save the  contents  of  the current buffer in the 
			output file if any changes have been made.
	
				   Resume, F7
				    Dead key
	
	Contents:	.
	
	Effect:		No effect.
	
				   Cancel, F8
			   Quit without saving buffer
	
	Contents:	:Q.
	
	Effect:		If    any    buffer   contains  changes  ask  for 
			confirmation.   Reset the display and exit to the 
			operating system.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				Main Screen, F9
				    Dead key
	
	Contents:	.
	
	Effect:		No effect.
	
				   Exit, F10
			      Save buffer and exit
	
	Contents:	:X.
	
	Effect:         Save the contents of the current  buffer  in  the 
                        output  file.    If  any  other  buffer  contains 
                        changes  ask  for  confirmation.   Then reset the 
                        display and exit to the operating system.
	
				    F11(ESC)
			   Insert an escape character
	
	Contents:	(27:CH).
	
	Effect:		Insert an escape  character at the current cursor 
			position.
	
				    F12(BS)
			     Goto beginning of line
	
	Contents:	-@L.
	
	Effect:		Move  the cursor to  the  previous  beginning  of 
			line.
	
				    F13(LF)
			  Delete to beginning of word
	
	Contents:	(:D-@W).
	
	Effect:		Delete from the current corsor  position  to  the 
			previous beginning of word.  The  deleted text is 
			placed in the word delete buffer.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
			       Additional Options
			     Process file with TXTF
	
	Contents:	^C(:FS):SYSTXTF %F %N.LST /G.
	
	Effect:		Save  the current buffer in it's output  file  if 
			any changes   have  been  made.    The  call  the 
			operating system with the command
	
			TXTF %F %N.LST
	
			where %F is replaced by the output file and %N is 
			replaced  by the  name  minus  extention  of  the 
			output file.
	
			This command  should  be  edited    to  call  the 
			installed text processor.
	
				      Help
				      Help
	
	Contents:	:H.
	
	Effect:         Display the contents  of  the  help file  on  the 
			screen.    On  PC  version  the    help  file  is 
			in SEDT's master directory.    Under VMS the help 
                        file  is  located  through  the    logical   name 
                        SEDT$HELP.   The naming convention for  the  help 
                        file is as follows:
        
                                System          Keyboard        File

                                Rainbow         LK201           RBHLP.TXT
                                IBM PC          IBM             PCHLP.TXT
                                IBM PC/XT       IBM             XTHLP.TXT
                                IBM PC/AT       IBM             ATHLP.TXT
                                VAXmate         IBM             ATHLP.TXT
                                IBM PC          LK250           LKHLP.TXT
                                IBM PC/XT       LK250           LKHLP.TXT
                                IBM PC/AT       LK250           LKHLP.TXT
                                VAXmate         LK250           LKHLP.TXT

	
				       Do
			Execute operating system command
	
	Contents:	:SYS?"Operating system command: ".
	
	Effect:		Prompt  for  a  command to  be  executed  by  the 
			operating  system  command  processor.    If   no 
			command is entered spawn to the command processor 
			with input from the keyboard.
	
				      F17
				Select buffer 0
	
	Contents:	0:WI.
	
	Effect:		Change the display into two window mode.  Display 
			the current  buffer  in  the  bottom  window  and 
			buffer 0 in the  top  window.  Then make buffer 0 
			the current buffer.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				      F18
				Select buffer 1
	
	Contents:	1:WI.
	
	Effect:		Change the display into two window mode.  Display 
			the current  buffer  in  the  bottom  window  and 
			buffer 1 in the  top  window.  Then make buffer 1 
			the current buffer.
	
				      F19
				Select buffer 2
	
	Contents:	2:WI.
	
	Effect:		Change the display into two window mode.  Display 
			the current  buffer  in  the  bottom  window  and 
			buffer 2 in the  top  window.  Then make buffer 2 
			the current buffer.
	
				      F20
				Select buffer 3
	
	Contents:	3:WI.
	
	Effect:		Change the display into two window mode.  Display 
			the current  buffer  in  the  bottom  window  and 
			buffer 3 in the  top  window.  Then make buffer 3 
			the current buffer.
	
				      Find
		     Goto next occurrence of search string
	
	Contents:	@N.
	
	Effect:		Move the cursor to  the  first  character  of the 
			next ocurrence  of the current search  string  in 
			the current direction.  The current search string 
			is set with the @F, :SL  and  :SUB commands.  The 
                        search is case insensitive.
	
				  Insert Here
				     Paste
	
	Contents:	:USR.
	
	Effect:		Insert  the contents of the paste buffer  at  the 
			cursor position.  The cursor is placed at the end 
			of the inserted  text  that it was at when it was 
			deleted.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				     Remove
				      Cut
	
	Contents:	:D@SR.
	
	Effect:		Delete the  contents  of  the  select  range  and 
			insert the text in the paste buffer.
	
				     Select
		      Set select point at current position
	
	Contents:	:SEL.
	
	Effect:		Set the select  point  to  be  the current cursor 
			position.  Until the  select  point is referenced 
			or cancelled the text between the  cursor and the 
			select    point  (the  select  range)  will    be 
			highlighted.
	
				  Prev Screen
				 Go 10 lines up
	
	Contents:	^E(-10@L)(-@BB).
	
	Effect:		Move  the cursor to the 10'th previous  beginning 
			of line.    If  this  fails  move  to  the  first 
			character in the buffer.
	
				  Next Screen
				Go 10 lines down
	
	Contents:	^E(+10@L)(+@EB).
	
	Effect:		Move  the  cursor  to the 10'th next beginning of 
			line.  If this  fails  move to the position after 
			the last character in the buffer.
	
				    Up Arrow
			    Go 1 line up vertically
	
	Contents:	-@V.
	
	Effect:		Move 1 line up and attempt to place the cursor at 
			the current column.  A  series  of these commands 
			will attempt to keep the cursor  at the column it 
			was at when the first command was executed.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				   Left Arrow
			      Go 1 character back
	
	Contents:	-@C.
	
	Effect:		Move the cursor one character back in the buffer.
	
				   Down Arrow
			   Go 1 line down vertically
	
	Contents:	+@V.
	
	Effect:  	Move 1 line  down and attempt to place the cursor 
			at  the  current  column.    A  series  of  these 
			commands will attempt to keep  the  cursor at the 
			column  it  was  at when the  first  command  was 
			executed.
	
				  Right Arrow
			     Go 1 character forward
	Contents:	+@C.
	
	Effect:		Move  the  cursor  to the next character  in  the 
			buffer.
	
				    Keypad 0
			    Goto next line beginning
	Contents:	@L.
	
	Effect:		Move the cursor to the next beginning of  line in 
			the current direction.
	
				    Keypad 1
				 Goto next word
	
	Contents:	@W.
	
	Effect:		Move to the next beginning of word in the current 
			direction.
	
				    Keypad 2
			     Goto next end of line
	
	Contents:	@EL.
	
	Effect:		Move  the  cursor to the next end of line in  the 
			current direction.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				    Keypad 3
			      Goto next character
	
	Contents:	@C.
	
	Effect:		Move the  cursor  to  the  next  character in the 
			current direction.
	
				    Keypad 4
			 Set default direction forward
	
	Contents:	:A.
	
	Effect:		Set the default direction of moves to be forward.  
			The current state is displayed on the mode line.
	
				    Keypad 5
			 Set default direction reverse
	
	Contents:	:B.
	
	Effect:		Set the default direction of moves to be reverse.  
			The current state is displayed on the mode line.
	
				    Keypad 6
				      Cut
	
	Contents:	:D@SR.
	
	Effect:		Delete the  contents  of  the  select  range  and 
			insert the text in the paste buffer.
	
				    Keypad 7
				 Goto next page
	
	Contents:	@PAG.
	
	Effect:		Move the cursor in the  current  direction to the 
			first   character  after  the  next  form    feed 
			character.  If no more form feed  characters  are 
			found move to the end of the buffer.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				    Keypad 8
			      Goto next paragraph
	
	Contents:	@PAR.
	
	Effect:		Move  in  the  current  direction  to  the  first 
			non-blank character  of  the  next  beginning  of 
			paragraph.
	
				    Keypad 9
		  Substitute next occurrence of search string
	
	Contents:	:NS.
	
	Effect:		Substitute  the next occurrence  of  the  current 
			search string  with  the current replace  string.  
			The current search string is set by  the  @F, :SL 
			and :SUB commands.  The current replace string is 
			set with the  :SUB  command.    If  the cursor is 
			placed on the first  character of an ocurrence of 
			the search string this will be  substituted.  The 
                        search is case insensitive.
	
				    Keypad ,
			    Delete character forward
	
	Contents:	(:D+@C).
	
	Effect:		Delete the character that the cursor is placed on 
			and insert it in the character delete buffer.
	
				    Keypad -
			      Delete word forward
	
	Contents:	(:D+@W).
	
	Effect:		Delete  from  the  cursor position  to  the  next 
			beginning of word and place the  text in the word 
			delete buffer.
	
				    Keypad .
		      Set select point at current position
	
	Contents:	:SEL.
	
	Effect:		Set the select  point  to  be  the current cursor 
			position.  Until the  select  point is referenced 
			or cancelled the text between the  cursor and the 
			select    point  (the  select  range)  will    be 
			highlighted.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				      PF2
				      Help
	
	Contents:	:H.
	
	Effect:         Display the contents  of  the  help file  on  the 
			screen.    On  PC  version  the    help  file  is 
			in SEDT's master directory.    Under VMS the help 
                        file  is  located  through  the    logical   name 
                        SEDT$HELP.   The naming convention for  the  help 
                        file is as follows:
        
                                System          Keyboard        File

                                Rainbow         LK201           RBHLP.TXT
                                IBM PC          IBM             PCHLP.TXT
                                IBM PC/XT       IBM             XTHLP.TXT
                                IBM PC/AT       IBM             ATHLP.TXT
                                VAXmate         IBM             ATHLP.TXT
                                IBM PC          LK250           LKHLP.TXT
                                IBM PC/XT       LK250           LKHLP.TXT
                                IBM PC/AT       LK250           LKHLP.TXT
                                VAXmate         LK250           LKHLP.TXT

	
				      PF3
		     Goto next occurrence of search string
	
	Contents:	@N.
	
	Effect:		Move the cursor to  the  first  character  of the 
			next ocurrence  of the current search  string  in 
			the current direction.  The current search string 
			is set with the @F, :SL and :SUB  commands.   The 
                        search is case insensitive.
	
				      PF4
			      Delete line forward
	
	Contents:	(:D+@L).
	
	Effect:		Delete  from  the current cursor position to  the 
			next beginning  of  line.    The  deleted text is 
			placed in the line delete buffer.
	
				  Keypad Enter
				    Dead key
	
	Contents:	.
	
	Effect:		No effect.
	
				    Gold F4
			  Load paste buffer from file
	
	Contents:	:PL?"Load Paste Buffer From File: ".
	
	Effect:		Prompt for  a  file name and load the contents of 
			the file into the paste buffer.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				Gold Resume, F7
				    Dead key
	
	Contents:	.
	
	Effect:		No effect.
	
				    Gold Do
			      Execute SEDT command
	
	Contents:	?"SEDT Command: ".
	
	Effect:		Prompt for input of a string of SEDT commands and 
			execute them.  No  ?,  !, #, or ^ processing will 
			be done.
	
				    Gold F17
			    Load keystrokes into key
	
	Contents:	:LNLA026.
	
	Effect:		Enter learning mode and save  all keystrokes into 
			the  definition  of  the  control Z key  until  a 
			control Z character is typed.
	
				    Gold F18
			   Execute keystrokes in key
	
	Contents:	:LNEA026.
	
	Effect:		Reenter  the  learned  keystrokes  saved  in  the 
			control Z key.
	
				   Gold Find
			 Goto next occurence of string
	
	Contents:	@F?"String: ".
	
	Effect:		Prompt for  a  search  string.    If  a string is 
			entered it replaces  the previous contents of the 
			current search string.  Then  move  the cursor in 
			the current  direction  to the next ocurrence  of 
			the current  search  string.  The search is  case 
                        insensitive.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				  Gold Remove
	      Load paste buffer from select range without deleting
	
	Contents:	:GE@SR.
	
	Effect:		Load  the contents of the select range  into  the 
			paste buffer.
	
				  Gold Select
			      Cancel select point
	
	Contents:	:RS.
	
	Effect:		Cancel    the    select   point  and  change  the 
			highlighted select range into normal video.
	
				 Gold Up Arrow
			      Goto start of buffer
	
	Contents:	-@BB.
	
	Effect:		Move the  cursor  to  the  first character in the 
			buffer.
	
				Gold Left Arrow
			 Go backwards until key struck
	
	Contents:	(-@L:TI).
	
	Effect:		Move to the previous start of line until a key is 
			typed.
	
				Gold Down Arrow
			       Goto end of buffer
	
	Contents:	+@EB.
	
	Effect:		Move the cursor to the  position  after  the last 
			character in the buffer.
	
				Gold Right Arrow
			  Go forward until key struck
	
	Contents:	(+@L:TI).
	
	Effect:		Move to the next beginning of line until a key is 
			typed.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				 Gold Keypad 0
				   Open line
	
	Contents:	:OL.
	
	Effect:		Insert  a  return at the current cursor  position 
			anb do not advance the cursor.
	
				 Gold Keypad 1
	  Change case EDT style (Select range,found string,character)
	
	Contents:	:CE.
	
	Effect:		Reverse  the case of all characters in the  range 
			defined  by:   The select range if any, otherwise 
			the current search string if the last command was 
			a search command, otherwise  the  character  that 
			the cursor is placed on.
	
				 Gold Keypad 2
			     Delete to end of line
	
	Contents:	(:D+@EL).
	
	Effect:		Delete from the current  cursor  position  to the 
			next end of line and place  the  deleted  text in 
			the line delete buffer.
	
				 Gold Keypad 3
			     Insert ASCII character
	
	Contents:	:CH.
	
	Effect:		If  a  count has been entered  insert  the  ASCII 
			character  that  has  the  value  of  the  count.  
			Otherwise insert a control A (SOH).
	
				 Gold Keypad 4
			       Goto end of buffer
	
	Contents:	+@EB.
	
	Effect:		Move  the  cursor to the position after the  last 
			character in the buffer.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				 Gold Keypad 5
			    Goto beginning of buffer
	
	Contents:	-@BB.
	
	Effect:		Move  the character to the first character in the 
			buffer.
	
				 Gold Keypad 6
			     Undelete paste string
	
	Contents:	:USR.
	
	Effect:		Insert  the  contents  of the paste buffer at the 
			current cursor position.  Leave the cursor at the 
			end of the inserted text  that  it was at when it 
			was originally deleted.
	
				 Gold Keypad 7
			      Execute SEDT command
	
	Contents:	?"SEDT Command: ".
	
	Effect:		Prompt for input of a string of SEDT commands and 
			execute them.  No  ?,  !, #, or ^ processing will 
			be done.

	
				 Gold Keypad 8
		      Fill or justify to end of paragraph
	
	Contents:	:TF+@PAR.
	
	Effect:		Fill or justify from  the current cursor position 
			to the next end of paragraph.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				 Gold Keypad 9
			Substitute one string by another
	
	Contents:	:SUB?"String: "?"By: ".
	
	Effect:		Prompt  for a search string.    If  a  string  is 
			entered it replaces the contents of  the  current 
			search string.  Prompt for a replace  string.  If 
			a string  is  entered it replaces the contents of 
			the current replace string.   Then substitute the 
			next ocurrence in the  current  direction  of the 
			current  search  string  by the  current  replace 
			string.  If the cursor is  placed  on  the  first 
			character  of  an ocurrence of the search  string 
			this will be substituted.
	
				 Gold Keypad ,
			       Undelete character
	
	Contents:	:UC.
	
	Effect:		Insert  the  contents  of  the  character  delete 
			buffer at the current cursor position.  Leave the 
			cursor at the  end  of  the inserted text that it 
			was at when it was originally deleted.
	
				 Gold Keypad -
				 Undelete word
	
	Contents:	:UW.
	
	Effect:		Insert the contents of  the word delete buffer at 
			the current cursor position.  Leave the cursor at 
			the end of the inserted text  that it was at when 
			it was originally deleted.
	
				 Gold Keypad .
			      Cancel select point
	Contents:	:RS.
	
	Effect:		Cancel    the    select   point  and  change  the 
			highlighted select range into normal video.
	

	SEDT Reference Manual, Version 3.0
	EDT style keyboard programming
	
				    Gold PF3
			 Goto next occurrence of string
	
	Contents:	@F?"String: ".
	
	Effect:		Prompt for  a  search  string.    If  a string is 
			entered it replaces  the previous contents of the 
			current search string.  Then  move  the cursor in 
			the current  direction  to the next ocurrence  of 
			the current  search  string.   The search is case 
                        insensitive.
	
				    Gold PF4
				 Undelete Line
	
	Contents:	:UL.
	
	Effect:		Insert the contents of the line delete  buffer at 
			the current cursor position.  Leave the cursor at 
			the end of the inserted text that it was  at when 
			it was originally deleted.
	
			       Gold Keypad Enter
				Swap characters
	
	Contents:	(:D+@C+@C:UC).
	
	Effect:		Delete the  character  at the cursor position and 
			insert it after the  next  character.  The cursor 
			is placed on the character that was moved.



	SEDT Reference Manual, Version 3.0
	Keyboard translation
	
                              Keyboard translation
        
        Key     LK201/LK250             IBM PC
        
        001     (F1)			ALT 1 
        002     (F2)                    ALT 2           
        003     F3,Setup                ALT 3       
        004	F4		        ALT 4           
        005	F5,Break		ALT 5           
        006	F6,Interrupt		ALT 6          
        007	F7,Resume		ALT 7
        008	F8,Cancel		ALT 7
        009	F9,Main Screen		ALT 8
        010	F10,Exit		ALT 9
        011	F11,ESC                 ALT Q
        012	F12,BS		        ALT W
        013	F13,LF		        ALT E
        014	F14,Additional Options  ALT R
        015	Help		        ALT T
        016	Do	                ALT Y
        017	F17		        ALT U
        018	F18		        ALT I
        019	F19		        ALT O
        020	F20		        ALT P
        021	Find		        F1
        022	Insert Here		F3
        023	Remove		        F4
        024	Select		        F2
        025	Prev Screen		F5
        026	Next Screen		F6
        027	Up Arrow		F7
        028	Left Arrow		F9
        029	Down Arrow		F8
        030	Right Arrow		F10
        031	Keypad 0		Keypad 0
        032	Keypad 1		Keypad 1
        033	Keypad 2		Keypad 2
        034	Keypad 3		Keypad 3
        035	Keypad 4		Keypad 4
        036	Keypad 5		Keypad 5
        037	Keypad 6		Keypad 6
        038	Keypad 7		Keypad 7
        039	Keypad 8		Keypad 8
        040	Keypad 9		Keypad 9
        041	Keypad ,		AT: Keypad -
        042	Keypad -		PC: Keypad -; AT: Prt Sc
        043	Keypad .		Keypad .
        044	Keypad PF1		PC: Num Lock; AT: Esc
        045	Keypad PF2		AT: Num Lock
        046	Keypad PF3		AT: Scroll Lock
        047	Keypad PF4		PC: Scroll Lock; AT: Sys
        048	Keypad Enter		Keypad +
