Questions tagged [typescript]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
70
votes
13answers
44k views

Removing control chars (including console codes / colours) from script output

I can use the "script" command to record an interactive session at the command line. However, this includes all control characters and colour codes. I can remove control characters (like backspace) ...
21
votes
5answers
6k views

Typescript -terminal recording into video?

We need to make some videos about working with LaTex documents. We have the typescript and timing -files and now we need to convert them into videos to display them in answers. Basically, the way to ...
1
vote
1answer
612 views

how can i automatically record every terminal session?

I like to use tools like history, script, and asciinema to record and review xterm (i.e. bash/sh) sessions for typical, general administration reasons, and also, sometimes for comprehensive study/...
5
votes
2answers
2k views

Convert a typescript file to a list of commands (history)

I wanted to record a linux session so I could use it as documentation for a "how to install" guide. I found something on the internet that suggested that the script command would be good for this, and ...
3
votes
3answers
2k views

Why in the output of script (1) the newline is CR + LF (dos-style)?

In the typescript of script command (i.e. in the saved file), the newline is CR + LF (\r\n), although the original one (fed to script) is LF. Why? It seems it's tty issue, which I don't know at all. ...
3
votes
1answer
195 views

Console logging using script command output unreadable

I wanted to log my program's (the python program boots up a headless embedded device connected to a serial port) output to a text file console_log.txt using a shell script, for which, I wrote the ...