SED - Data insertion

SED  -  Data Insertion

Top  Previous  Next

 

Data is inserted at the current cursor position. If overlay mode is set the new data overwrites any existing data at this position, otherwise it is inserted before the character under the cursor. Overlay mode may be toggled using the overlay function (Ctrl-O) or the OVERLAY command.

 

The return key inserts a newline. If indent mode is active (see the INDENT command), the cursor is indented to line up with the previous line.

 

Any character other than a field mark or item mark may be inserted. The quote character function (Ctrl-Q or Esc-Q) allows insertion of non-printing characters. It may be used in four ways:

Followed by a number of up to three digits, it inserts the character with that decimal ASCII sequence (0 to 253 only).

Followed by V, S or T, it inserts a value mark, subvalue mark or text mark respectively.

Followed by X and two (non-ECS mode) or four (ECS mode) hexadecimal digits, it inserts the character with that character code point value.

Followed by K, it waits for a key to be pressed and then inserts the key binding code required for this key as described under Dynamic Key Bindings.

Followed by any other character, usually a non-printing character, it will insert that character.