Commit cef55cf
committed
feat(SerialConsole): Introduce SerialConsole component
The SerialConsole component wraps access to the Terminal component [1].
The component can be used to access serial console (PTY) of a server
or virtual machine.
The underlying Terminal component will be replaced by [2] later. Esp. once:
- [1] patches are merged into [2]
- [2] has desired browser support
- look&feel of [2] is acceptable for [4] and others
Both [1] and [2] are forks of no-more maintained [3]. The currently
chosen [1] is being successfuly used within Cockpit [4] which
implementation became base for this commit.
[1] https://github.com/cockpit-project/term.js
[2] https://github.com/xtermjs/xterm.js
[3] https://github.com/chjj/term.js
[4] https://github.com/cockpit-project/cockpit/1 parent 77fcdb1 commit cef55cf
File tree
7 files changed
+648
-246
lines changed- less
- src
- components/SerialConsole
7 files changed
+648
-246
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
0 commit comments