SED - Copying, Deleting and Restoring Data
Delete char (Ctrl-D or Delete)
The character at the current cursor position is deleted unless the cursor is positioned at the end of the line in which case the following line is appended to the current line.
Backspace (Ctrl-H or Backspace)
The backspace function removes the character to the left of the cursor position unless the cursor is already at the start of the line in which case the current line is appended to the previous line.
Kill line (Ctrl-K)
The kill line function behaves in one of two ways depending on the cursor position.
If there is data at or beyond the cursor position on the current line, the line is truncated at the cursor position.
If the cursor is beyond the last data character on the current line, the line break is removed, bringing data up from the next line.
The data removed by consecutive uses of the kill line function is placed in the kill buffer (see Functions that Operate on a Block of Data). Any other function will cause a later use of the kill line function to reset the kill buffer.
The kill line function may also be used in an explore buffer to delete the record named on the current line.
Delete word (Esc-D)
Text is deleted from the current cursor position to the end of the next word.
Back del word (Esc-Backspace)
Text is deleted backwards from the current cursor position to the start of the previous word.