Article 4X6TJ strange characters like ESC^H^H generated in typescript file by /usr/bin/script command

strange characters like ESC^H^H generated in typescript file by /usr/bin/script command

by
no-windose
from LinuxQuestions.org on (#4X6TJ)
When using the /usr/bin/script linux command, the typescript file generated displays a lot of strange characters like ESC^H^H or ^M etc when listed with the command /usr/bin/less. When viewing this file through a text editor with GUI, some even stranger characters appear. Oddly, the file is correctly displayed with the commands /bin/more and /bin/cat.

May I ask how to display the file without these characters when using less and/or a text editor?latest?d=yIl2AUoC8zA latest?i=ZUBSs59-l_E:GY0KQj_iTAY:F7zBnMy latest?i=ZUBSs59-l_E:GY0KQj_iTAY:V_sGLiP latest?d=qj6IDK7rITs latest?i=ZUBSs59-l_E:GY0KQj_iTAY:gIN9vFwZUBSs59-l_E
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments