4 ms·
> When you run asciinema rec in your terminal the recording starts, capturing all output that is being printed to your terminal while you’re issuing the shell c
by nabla9 3y ago
> When you run asciinema rec in your terminal the recording starts, capturing all output that is being printed to your terminal while you’re issuing the shell commands. When the recording finishes (by hitting Ctrl-D or typing exit) then the captured output is uploaded to asciinema.org website and prepared for playback on the web.
Instead installing keylogger, I can use `script` command that comes with linux/unix. .
- phanimahesh 3y agoThere's a local only mode. Uploads to asciinema.org are optional.
- nabla9 3y agoCrazy dark pattern for a command line utility. If you miss filename, recording goes to some server.
- layer8 3y agoYep, recording and upload should really be two separate commands by default.
- ku1ik 3y agoThanks. This behavior dates back to 2011, and while there 2 separate commands you can use today (asciinema rec <filename> + asciinema upload <filename>) the demo on the homepage and the docs may be giving wrong impression. This will be definitely improved in the upcoming 3.0.
- wlamartin 3y agoWhen recording finishes you are given the option to upload or save to local file.
- ku1ik 3y agoThere’s no bad intention here, and there’s upload confirmation prompt in versions prior to 2.4, while in 2.4+ you make explicit choice (save, upload, discard). In upcoming 3.0 we will probably decouple upload from record command completely.
- layer8 3y agoThis should be prominently mentioned on the “How it works” page [0], or even better, also on the main page, because it isn’t clear at all that local recording or upload to a custom server is supported. If not for the above comment, I would have dismissed the tool as unsuitable after browsing the site a bit. [0] https://asciinema.org/docs/how-it-works https://asciinema.org/docs/how-it-works
- ku1ik 3y agoThanks for mentioning this. This aspect of the docs does disservice to how people perceive the tool, and it’s something I’m going to fix right away.
- ku1ik 3y agoThere’s confirmation prompt before uploading, where you can decide to upload or save locally. This part of the docs (and the demo on the frontpage) need updating as they give wrong idea in the intentions here. I’ll make sure this is clear. Thanks.