Terminal: Feature request: Recording

Created on 7 May 2019  路  8Comments  路  Source: microsoft/terminal

It would be cool to have a built-in tool to record a terminal session; this would make it easy to create demos and tutorials with no demo ghosts.
Basic feature could be a animated gif
The more advanced could be a playback where you get a live terminal that plays back the recorded session and leaves it open for continued use.

Area-Extensibility Area-Output Issue-Feature Product-Terminal

Most helpful comment

(I've fairly well convinced myself I'm going to use asciicast (from asciinema) for this. It somewhat fits with the "connection" model, too -- we could play back casts just as well as we could capture them by plugging a cast reader in as a terminal connection.)

All 8 comments

Or take an easy route and use a recording program?

And use another third party to record and playback keystrokes? 馃檭

This is a really great feature idea that I think everyone on the team would be on board with.

IIRC there's already some sort of terminal recording format, that we might be able to use for this. @DHowett-MSFT has an idea for it a little while back, though I can't remember how it went exactly.

Some prior art for this space:
asciinema: https://asciinema.org/
terminalizer: https://github.com/faressoft/terminalizer

There are also popular tools using SVG SMIL, such as https://github.com/nbedos/termtosvg



Not perfect but it makes super light and fancy files.

And apparently Microsoft wasn't a fan 馃槄

476C436A-93A4-41FC-88BC-A02BCF9BAEB3

Or take an easy route and use a recording program?

Screen recording softwares exist, but what is asked here is a terminal recorder. None of the ones listed above work on Windows

(I've fairly well convinced myself I'm going to use asciicast (from asciinema) for this. It somewhat fits with the "connection" model, too -- we could play back casts just as well as we could capture them by plugging a cast reader in as a terminal connection.)

(Sounds good: asciicast can be converted to many formats using a variety of tools)

Might I suggest people look to the videos from Bisqwit

https://youtu.be/kdlIlIIHCz0

He created his own Linux Terminal where he plays recorded keystrokes for the aesthetic quality of the video.

It could be good to enable recording and playback, but also it could be neat to enable batch files to be played out when run?

Hi,
cool would be to have watermark set in screencast mode. Something like that
https://github.com/faressoft/terminalizer#watermark

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NOFUNEVER picture NOFUNEVER  路  106Comments

Borkason picture Borkason  路  87Comments

HLFH picture HLFH  路  68Comments

Paul-Weisser picture Paul-Weisser  路  71Comments

CobusKruger picture CobusKruger  路  60Comments