j-Xterm
The component renders a terminal output/input directly in the web browser. IMPORTANT: the example doesn't work as you expect, it needs a real terminal output.
Configuration:
cols {Number}count of cols (default:80)rows {Number}count of rows (default:24)send {String}a link to thefunction(data)for the communication with the server
Methods:
instance.write(data)writes data into the terminal component
Used dependencies:
Use it with <ui-component name="xterm">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.
<ui-component name="xterm" config="send:send_to_server"></ui-component>
<script>
function send_to_server(data) {
// FAKE:
// the below code will append the data directly into the terminal
SETTER('xterm/write', data);
}
</script>