Skip to content

Conversation

@staticfloat
Copy link
Contributor

No description provided.


## 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.
Copy link
Contributor

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?

Copy link
Contributor Author

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.

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.

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.

Copy link
Contributor

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 😊 .

@staticfloat
Copy link
Contributor Author

Fixed and squashed.

@parisk
Copy link
Contributor

parisk commented Oct 17, 2016

Great. Thanks for this contribution!

@parisk parisk merged commit fc4a0e4 into xtermjs:master Oct 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants