Open smitterl opened 3 months ago
It looks to me the sequences are:
ESC c: terminal reset ESC !p: terminal reset ESC ]: introduces an OS command
I don't have details about the OS command 104.
Ref. https://gist.github.com/justinmk/a5102f9a0c1810437885a04a07ef0a91
Applying the strip_console_codes to the output of a recent (rescue) kernel "6.10.0-15" boot messages, a test error is raised:
The location that hits this is after the 'read-only' in
The tmp_word at this point is:
before it's recognized as unknown word.
IIUC "ESC c" is used to clear the console and in python this ESC is
\x1b
displayed as^[
. https://man7.org/linux/man-pages/man4/console_codes.4.html