3 ms·
Unfortunately, script is probably not usable here: From the github page: specifically, I wrote this with the forthcoming Vim Stack Exchange site in mind Fr
by chronial 12y ago
Unfortunately, script is probably not usable here:
From the github page:
specifically, I wrote this with the forthcoming Vim Stack Exchange site in mind
From the script docu:
Certain interactive commands, such as vi(1), create garbage in the typescript file.
script works best with commands that do not manipulate the screen, the results are meant
to emulate a hardcopy terminal.
- paddy_m 12y agoYears ago I rewrote rxvt in javascript. https://github.com/paddymul/rxvt-js https://github.com/paddymul/rxvt-js my aim was to create a terminalcast recording site. my rxvt implementation doesn't work with color, but it can succesfully redisplay an emacs session with split windows. Please, hack on the code, this is something that should exist.
- e12e 12y agoAh, I missed that. Apparently the answer to script's limitations, is ttyrec: http://0xcc.net/ttyrec/index.html.en http://0xcc.net/ttyrec/index.html.en There appear to be many players, eg: https://github.com/oliy/ttyplay https://github.com/oliy/ttyplay See also: https://github.com/jedi4ever/ttyrec.js https://github.com/jedi4ever/ttyrec.js Apparently vim-sessions should work: https://github.com/jedi4ever/ttyrec.js/issues/1 https://github.com/jedi4ever/ttyrec.js/issues/1 There's a site devoted to tutorials based off of ttyrec: http://playterm.org/ http://playterm.org/ Or, for just vim, Replay.vim: http://www.vim.org/scripts/script.php?script_id=3216 http://www.vim.org/scripts/script.php?script_id=3216 Other than that, I'm inclined to have a look at op's code to see if one might break out the gif-encoding to a sepearate bit -- and "encode" for js/html playback (as well, or in place of) video/gif.