3 ms·
'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
by signa11 7y ago
'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).
- ilikejam 7y agoscript unfortunately messes with SIGWINCH for terminal resizes - asciinema seems to work better in that case.
- KirinDave 7y agoCould you explain how you get feature parity with asciinema with script? I've always found script to be kinda useless, myself. 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.