![]() Free online course: RHEL Technical Overview.No Asciinema movie has yet reached a blockbuster status, but you can upload yours to and share it with the world nevertheless. It shows users how to do a task, and it allows them to copy and paste to ensure accuracy. ![]() You can pause Asciinema movies, select the text you see on the screen and paste it into an active terminal to run the command. This is just for show.Īnd yet it's more than just a show. This isn't a shell script in action, so even though you may have created a file hello.txt in your movie, there won't be a new hello.txt after playback. Of course, the actual commands getting played don't actually execute. Your text-based movie plays-demonstrating for your users exactly how a complex task gets done. This takes over your terminal session and makes it into the nearest equivalent of the Silver Screen as it's likely ever to be (aside from that time you watched Star Wars in ASCII over telnet). You can playback your Asciinema using the play subcommand: $ asciinema play mymovie.cast Should you find yourself making lots of edits or belaboring long pauses during the recording, you can install and use the asciinema-edit utility, which can trim out blocks of "footage" by timestamps of your definition, or by eliminating idle time. If you've made a mistake, you can cut the mistake by removing the lines recreating the error. In this example, the resulting file, mymovie.cast is a collection of timestamps and actions that serve as a script (in the sense of a movie script) for the playback mechanism. When you're finished demonstrating how the terminal works, press Ctrl+D or type exit to stop the recording. If you see it in your terminal during recording, it makes the cut. ![]() This includes input, output, errors, awkward pauses, mistakes, or successes. Some friendly output alerts you that you're recording, and it tells you how to stop: Press Ctrl+D or just type exit.Įverything you do in your terminal while Asciinema is active gets recorded. To start recording with Asciinema, you use the rec subcommand: $ asciinema rec mymovie.castĪsciinema: recording asciicast to mymovie.castĪsciinema: press or type "exit" when you're done $ sudo bmake install clean Making movies out of text On BSD and any other platform using Pkgsrc: $ cd /usr/pkgsrc/misc/py-asciinema On macOS, you can install using Homebrew: $ sudo brew install asciinema On Debian, Linux Mint, or similar: $ sudo apt install asciinema On Fedora, CentOS, Mageia, or similar: $ sudo dnf install asciinema On Linux, you can install Asciinema using your package manager. You can upload your movie to and share them just as you would any other video on the internet, and you can even embed your movie into a webpage. It saves your "movie" recording to a text file and then replays it on demand. Similar to the script and scriptreplay commands, Asciinema records exactly what your terminal displays. What you might try instead is sending a user a screen recording, but one that they can copy commands from and paste into their own terminal.Īsciinema is an open source terminal session recorder. While it's often easier to just seize control of a user's computer, that's not really the best way to educate. If you've ever been on a support call, you've probably spent several minutes spelling out even the shortest commands and explaining in detail where the spaces and returns fall. ![]() If you're also going through a hard time and can relate, maybe the above sentiment will encourage you to try as well.Support calls are important and often satisfying in the end, but the act of clear communication can be arduous for everyone involved. I could tell you about how difficult this year has been thus far but I think I'll opt to hang on to this nice memory instead and say that indeed, I am rather persistent and I will do my best to stay positive where I can (and there are many positive things to reflect on, even if it's not always easy to keep them in focus) and carry on with what I do well and be hopeful (not something I excel at, admittedly but practice often leads to improvement, right?). It's one of the loveliest things anyone's ever told me. On the plus side, a woman I love dearly told me once that I'm the most persistent person she knows. I've an old soul but at the same time, I'm a child in many ways. I wouldn't say I feel younger it just seems unreal that I've about 37 years worth of memories (and I do. All the same, I don't use other social networks and really, if something I write will prevent someone from hiring me, it's probably not a good fit anyway. I get it, even if I don't always adhere to it. The general advice is not to share personal thoughts on LI.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |