### Line Editing Facility

Line editing is normally available to edit command lines prior to submission. The following control keys can be used

      <^A>            Move to beginning of line
      <^B>            Backspace one character (BACKWARD)
      <^F>            Advance one character (FORWARD)
      <^H>            Delete previous character (BACKSPACE)
      <^J>            Delete to beginning of word, or previous word
      <^M>            Submit command line (RETURN key)
      <^N>            Recover Next command
      <^P>            Recover Previous command
      <^U>            Delete to beginning of line
      <DEL>           Delete previous character

These commands are identical to the standard line editing in the Emacs editor.

SG: Is it still valid? If you are using an ANSII compatible terminal (VT100 series and upwards), the numeric keypad is also available to perform additional actions

      <PF4>           Delete to end of line
      <->             Delete to end of word, or next word
      <LF>            Delete to beginning of word, or previous word
      <,>             Delete character
      <DEL>           Delete previous character
      <1>             Move to next word
      <2>             Move to end of line
      <4>             Set advance mode (for WORD moves)
      <5>             Set backup mode (for WORD moves)
      <ENTER>         Submit the command line
      <RETURN>        Same as above
      <Up Arrow>      Retrieve previous command of Stack
      <Down Arrow>    Retrieve next command of Stack
      <Left Arrow>    Backward one character
      <Right Arrow>   Advance one character

For lines longer than the screen width, the display uses a window and automatically centers it on the current character when the cursor position reaches one end.

SG: Is that still true? The keypad editing mode can be turned off by the SIC EDIT OFF command and turned on by the SIC EDIT ON command. Line editing mode affects the error recovery system.