]> git.proxmox.com Git - pve-xtermjs.git/blame - README
Add libpve-common-perl to Build-Depends
[pve-xtermjs.git] / README
CommitLineData
dcf3d43b
DC
1xterm.js webclient and helper utility
2=====================================
3
4This repository contains the client and helper utility to use
5xterm.js (https://xtermjs.org) for Proxmox VE.
6
7To be able to relay between the gui and a shell program/console,
8we need a tool (called termproxy) to open a port (where our websocketproxy
9connects to) and to open a pty and execute a program
10
11From Client to Server it implements a simple packet-based protocol:
12(everything is a string)
13
14* Normal Message
15 0:LENGTH:MSG
16 where LENGTH is the bytelength of the msg
17
18* Resize Message
19 1:COLS:ROWS:
20 where COLS is the number of columns the client wants to resize to,
21 and ROWS the number of rows, respectively
22
23* Ping Message
24 2
25 used to keep the connection between client and server alive
26 (we have a timeout of 5 minutes)
27
28every other input from the client will be ignored
29
30From server to client, the data will simply sent, without any
31format
32