scriptでANSIエスケープ付きでファイルに保存して
それをless -rで見ればいいし
ansi2html使えばhtmlにも出来る
さらにcha -d typescript.htmlでANSI ESなしのplain textに出来る