There is a derivative of script called ttyrec.<p>You can use that in conjunction with ttygif (<a href="https:&#x2F;&#x2F;github.com&#x2F;icholy&#x2F;ttygif" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;icholy&#x2F;ttygif</a>) to make an animated gif out of the captured script.