Stefan, I had heard about asciinema before [ https://intoli.com/blog/terminal-recorders/ mentions a ton of other terminal recorders ]. asciinema is great. I had not heard about textproc before. Thank you very much for the information!
My original intention was to know HOW these programs record the terminal. I have now written my own C program [ not released yet ] that does what I want while not using the Linux specific signalfd api that the util-linux version does. That way, it can run on many operating systems. Since the Linux, FreeBSD, and NetBSD versions of script have the replay feature, my OCD tempted me to request it for OpenBSD as well :D However, I understand Theo's message about "scope creep". Thank you again. Soumendra. On 8/9/20, Stefan Hagen <sh+openbsd-b...@codevoid.de> wrote: > Soumendra Ganguly wrote: >> It is particularly useful if someone wants to replay [ not re-run ] a >> curses session [ such as a game or an editing session on vi ]. > > Have you tried textproc/asciinema? > > $ asciinema rec demo.cast > # do something ncurses or not; stop with ctrl+d > $ asciinema play demo.cast > > Best Regards, > Stefan >