Earlier quoted context omitted.
script unfortunately messes with SIGWINCH for terminal resizes - asciinema seems to work better in that case.
can script record vim editing session?
Asciinema – Record and share terminal sessions
61–70 of 103 posts
Re: Asciinema – Record and share terminal sessions
#62Re: Asciinema – Record and share terminal sessions
#63Earlier quoted context omitted.
>Let me be the devil advocate: why not use ttyrec + seq2gif instead? GIFs look poor - they don't capture colours well. They're not accessible. They don't zoom. Copy and paste doesn't work. >And if you want something fancy that asciinema output, you can use seq2gif which support all the bell n whites asciinema does, while allowing you to also upload the ttyrec file. Unless I'm missing something obvious (possible!), se…
> Or are you saying the ttyrecord files are more accessible? I do. You can edit them like if you made a typo. They are common, so there's an ecosystem of tools if you don't like raw edits. Next to that, asciinema looks like reeinventing the wheel, except it's no longer round, so it requires special tools and roads now. But what's a few extra dependencies? It looks better and it's new! > I have nothing on my system th…
Re: Asciinema – Record and share terminal sessions
#64There are only 2 ways of pronouncing that, "Ascii enema" or "Ass cinema", both butt related... bit unfortunate.
Re: Asciinema – Record and share terminal sessions
#65Don't know if I want to a script that records my terminal session and upload the recording to an external server. Is there a way to keep the recording local?
asciinema is open-source and the file format is publicly documented (asciicast)[1]. You can run `asciinema rec filename.json` to save the file locally and self-host it with asciinema-player[2]. Alternatively, there's also asciicast2gif[3] that converts asciicast json to GIF image. [1]: https://github.com/asciinema/asciinema/blob/master/doc/ascii... [2]: https://github.com/asciinema/asciinema-player [3]: https://githu…
NET: Folks could add to the corpus following the modular syntax and issue a PR. About 3-5 minutes later, comments on the PR stream would have an animated svg/gif generated and added by the bot for review. If you liked how it looked, you accepted the PR. This corpus could then grow and be updated with minimal effort. A version of the client was modded to support self-signed certs and block accidental public upload. We ported asciinema to a helm chart that could run multiple versions on a k8s cluster per ingress path to complete the story. The whole apparatus existed entirely behind the firewall.
Re: Asciinema – Record and share terminal sessions
#66Re: Asciinema – Record and share terminal sessions
#67There are only 2 ways of pronouncing that, "Ascii enema" or "Ass cinema", both butt related... bit unfortunate.
Re: Asciinema – Record and share terminal sessions
#68'script' also does something similar, and is one of the lesser known commands. from the man page: script makes a typescript of everything displayed on your ter‐ minal. It is useful for students who need a hardcopy record of an interactive session as proof of an assignment, as the type‐ script file can be printed out later with lpr(1).
You can't really use it to replay things because you can't regulate the symbol speed easily. Its not very helpful for its stated purpose because it maintains every keystroke in-stream, making normal typo corrections visible and confusing. And it's certainly not very share-able or stream-able.