-
When running the script command to record terminal inputs and outputs. Is there a way to have the output in plain text format instead typescript? The reason I asked is because the output file is not clean (includes control / weird characters) when opened in any text editor. I used the command below to do most of the cleanup, but doesn't work well most of the time. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This use case is currently not supported. We can try to implement it, but it will be pretty tricky to filter out all the "bad" chars as the script itself does not interpret the chars and has no clue what is control / weird char. The script is just a proxy between application and terminal, it reads and writes, but it has no clue what the content is :-) |
Beta Was this translation helpful? Give feedback.
-
A Debian package called colorized-logs provides these for Debian based distros. One could also do Google searches for ansi2txt or ansi2html as there can be other implementations (e.g., ansi2html as a Python Package). (just learned about this in course 4 of the Google IT Support Professional Certificate (paywall unfortunately)) |
Beta Was this translation helpful? Give feedback.
This use case is currently not supported.
We can try to implement it, but it will be pretty tricky to filter out all the "bad" chars as the script itself does not interpret the chars and has no clue what is control / weird char. The script is just a proxy between application and terminal, it reads and writes, but it has no clue what the content is :-)