-
Notifications
You must be signed in to change notification settings - Fork 35
Create Terminado guide #4
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
Conversation
_docs/guides/terminado.md
Outdated
|
|
||
| ## Terminado communications protocol | ||
|
|
||
| The difference between the `terminadoAttach()` function provided by the `terminado` plugin and the `attach()` function provided by the `attach` plugin are minor. `Terminado` simply requires messages declare the type of data they carry by sending (for example) `['stdin', stdin_data]` instead of `stdin_data` over the websockets. The differences between the two plugins can be easily seen by diff'ing the two plugins' javascript files in the `addons` directory of the `Xterm.js` repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can yo rename plugin to addon please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'd think that the fact that I explicitly mention the addon directory would be enough to clue me in. ;)
Done.
_docs/guides/terminado.md
Outdated
| category: Guides | ||
| --- | ||
|
|
||
| Xterm.js can connect to backends other than the default node.js backend, as an example we will build a simple [Terminado](https://github.com/takluyver/terminado) application, and hook up to it with `Xterm.js`. `Terminado` is a python/twisted websocket host for terminal applications. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: Terminado is based on the tornado async machinery, not twisted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@staticfloat please resolve this comment and we should be ready to go 😊 .
|
Fixed and squashed. |
|
Great. Thanks for this contribution! |
No description provided.