Skip to content

DEL — Delete

Byte0x7F
MnemonicDEL
Otty support✓ (ignored as a display character)

Description

Originally used to "erase" a previously-typed character on paper tape. On modern terminals, DEL is ignored when received from the host — it doesn't move the cursor or erase anything.

DEL is, however, what most computer keyboards send when you press the Backspace key. Programs (shells, line editors) read DEL as "delete the previous character" — that interpretation is the program's, not the terminal's.

Example

DEL is not normally emitted by host programs. To delete the cell to the left of the cursor, send BS then a space then BS, or use DCH.

  • BS — the byte sent by Ctrl-H.
  • DCH — actually delete characters.

Otty