xtermjs / xterm.js

A terminal for the web
https://xtermjs.org/
MIT License
17.04k stars 1.6k forks source link

Debian 12, xtermjs comes up in page but will not take any input.... #4998

Closed N6GKJ closed 4 months ago

N6GKJ commented 4 months ago

Xtermjs seems to come up in browser, but nothing happens... tells me 'Hello from xterm.js >' Wont accept any input, no cursor

Installed with npm install @xterm/xterm is there more to install?

N6GKJ commented 4 months ago

My goal is to run 'asterisk -rvvvv' and interact with the application, Will this do that?

jerch commented 4 months ago

My goal is to run 'asterisk -rvvvv' and interact with the application, Will this do that?

I dont know anything about asterisk, but if -rvvvv gives you an interactive terminal interface, then chances are high that xterm.js can properly render its output.

Xtermjs seems to come up in browser, but nothing happens... tells me 'Hello from xterm.js >' ... is there more to install?

Ofc there is, xterm.js is just the terminal emulator providing keyboard input and screen output. You will also need a connection (e.g. via websocket) to a PTY running some process (typically a shell).