Advanced
BIOS
Functions
ERASE
WITHIN
DISPLAY
ESC[PsJ
default value: 0
This sequence erases some
or
all
of
the characters in the display according to the
parameter.
Parameter
o
1
2
Meaning
Erase from the active position to the end
of
the
screen, inclusive.
Erase from the start
of
the screen to the active posi-
tion, inclusive.
Erase all
of
the display. All lines are erased
and
the
cursor remains
at
its current position.
ERASE
WITHIN
LINE
ESC[PsK
default value: 0
Erases some
or
all characters in the active line according to the parameter.
Parameter
o
1
2
Meaning
Erase from the active position
to
the end
of
the line,
inclusive.
Erase from the start
of
the screen to the active posi-
tion, inclusive.
Erase all
of
the line.
6-7