-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is -s option required? #1
Comments
Hello, Yes, size is required. Unfortunately, this information is not recorded in a |
Wow. really? It sounds like a serious lack of metadata for ttyrec. |
Yeah, See the wikipedia page On Wed, Jan 15, 2014 at 8:51 AM, Soichi Hayashi [email protected]:
|
I see.. So this warrants a need to implement ttyrec wrapper with its own data formats that can contain ttyrec data along with the display size; similar to .avi .mpg being a wrapper around the raw codec.. |
From the Wikipedia page, termrec already However, right now, On Wed, Jan 15, 2014 at 9:38 PM, Soichi Hayashi [email protected]:
|
yo, i modified ttyrec and made my own version that contains these On Wed, Jan 15, 2014 at 8:56 AM, Thai Pangsakulyanont <
|
I have a tty record file, but I don't know what width/height it was recorded on. Do I need to know the size before running this tool? In another words, is -s option required?
If I run it without -s option, I get following error message.
2014-01-13 13:07:30 UTC [hayashis@soichi6]$ tty2js test.tty test.tty.js
frame 97 (13 skipped @ Thu Jan 01 1970 00:15:59 GMT+0000 (UTC)
/usr/local/node-v0.10.23-linux-x64/lib/node_modules/tty2js/node_modules/headless-terminal/vendor/term.js:1078
this.lines[this.y + this.ybase][this.x] = [this.curAttr, ch];
^
TypeError: Cannot set property '0' of undefined
at HeadlessTerminal.Terminal.write (/usr/local/node-v0.10.23-linux-x64/lib/node_modules/tty2js/node_modules/headless-terminal/vendor/term.js:1078:55)
at Object. (/usr/local/node-v0.10.23-linux-x64/lib/node_modules/tty2js/tty2js.js:103:16)
at Object.self.tap (/usr/local/node-v0.10.23-linux-x64/lib/node_modules/tty2js/node_modules/binary/index.js:248:12)
at Object.charset (/usr/local/node-v0.10.23-linux-x64/lib/node_modules/tty2js/tty2js.js:99:10)
at Object.self.tap (/usr/local/node-v0.10.23-linux-x64/lib/node_modules/tty2js/node_modules/binary/index.js:248:12)
at Object. (/usr/local/node-v0.10.23-linux-x64/lib/node_modules/tty2js/tty2js.js:97:6)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
The text was updated successfully, but these errors were encountered: