#48164: port request: 'asciinema' -----------------------------+-------------------------------- Reporter: kurt.pfeifle@… | Owner: macports-tickets@… Type: request | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: invalid | Keywords: Port: | -----------------------------+-------------------------------- Changes (by larryv@…): * status: new => closed * resolution: => invalid Old description:
The 'asciinema' utility is very handy for recording terminal key strokes and related output for later demonstration or teaching/sharing purposes.
The following command will start the recording of a terminal session (which can be ended by typing "exit" or hitting 'ctrl+D'):
asciinema rec -w 1 my.session
The `-w 1` parameter will limit periods of non-activity to 1 second max. The next command will replay the same session:
asciinema play my.session
The software is Free (GPL3), with source code (written in Go and JavaScript) on GitHub:
https://github.com/asciinema/asciinema
The files it writes ('my.session' above) are Unicode text files, and can easily be edited after recording (f.e. to fix typos).
You can view one asciinema screencast which I made yesterday here:
New description: The 'asciinema' utility is very handy for recording terminal key strokes and related output for later demonstration or teaching/sharing purposes. The following command will start the recording of a terminal session (which can be ended by typing "exit" or hitting 'ctrl+D'): {{{ asciinema rec -w 1 my.session }}} The `-w 1` parameter will limit periods of non-activity to 1 second max. The next command will replay the same session: {{{ asciinema play my.session }}} The software is Free (GPL3), with source code (written in Go and JavaScript) on GitHub: {{{ https://github.com/asciinema/asciinema }}} The files it writes ('my.session' above) are Unicode text files, and can easily be edited after recording (f.e. to fix typos). You can view one asciinema screencast which I made yesterday here: https://asciinema.org/a/22364 -- Comment: You should run `port selfupdate` more often ;) I added this [[changeset:137873|two days ago]]. -- Ticket URL: <https://trac.macports.org/ticket/48164#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X