Asciinema & Script

Miscellaneous tools
Post Reply
Message
Author
labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

Asciinema & Script

#1 Post by labbe5 »

https://asciinema.org/

Look for it in your repositories (APT/PPM) :
apt-cache search asciinema
And install.

It can be very useful for Puppy developers to show how they managed to get an app to work, or how they compiled an app from source, etc.

To start recording :
asciinema rec
Last edited by labbe5 on Tue 22 Oct 2019, 12:41, edited 1 time in total.

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#2 Post by rufwoof »

I just use ffmpeg ...

Code: Select all

ffmpeg -f fbdev -i /dev/fb0 -r 24 /root/streamcast.avi
to video record the framebuffer (console). Attached image is just a single frame taken from such a video.
Attachments
s.png
(31.43 KiB) Downloaded 130 times
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

Script Command

#3 Post by labbe5 »

https://www.ostechnix.com/record-everything-terminal/

The script command comes pre-installed on most modern Linux operating systems. So, let us not bother about the installation.
Let us go ahead and see how to use it in real time.
Run the following command to start the Terminal session recording.


script -a my_terminal_activities

When done, open your file with Abiword.

This is a way to archive commands and outputs.

Further reading :
Keep
http://murga-linux.com/puppy/viewtopic. ... 878#961878

Post Reply