Closed gbrantzos closed 8 years ago
The web-socket server runs by default on port 7890
. The html file can run on any port or even opening the file from your browser, e.g., file:///home/user/terminal.html
.
Please take a look at this, it might be the same issue you are having.
Thanks for your prompt answer! I can see the output now. Do you have any idea about handling escape characters from html code?
Thanks for your time.
g.brantzos@gmail.com
Please consider your environmental responsibility before printing this e-mail!
------ Original Message ------ From: "Gerardo O." notifications@github.com To: "allinurl/gwsocket" gwsocket@noreply.github.com Cc: "gbrantzos" g.brantzos@gmail.com; "Author" author@noreply.github.com Sent: 26/Μαϊ/2016 17:10:18 Subject: Re: [allinurl/gwsocket] Invalid request (#3)
The web-socket server runs by default on port 7890. The html file can run on any port or even opening the file from your browser, e.g., file:///home/user/terminal.html.
Please take a look at this, it might be the same issue you are having.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub
Good question. If you are outputting simple ansi stuff, you can try ansi_up, just need to include one js file.
For more complex terminal outputs and even the ability to send commands to the actual terminal from your browser, your can use hterm. Take a look at the code behind the sample file I used for a full-blown terminal output. It's only one JS
file
Looks really nice and promising. Thanks alot!!!
------ Original Message ------ From: "Gerardo O." notifications@github.com To: "allinurl/gwsocket" gwsocket@noreply.github.com Cc: "gbrantzos" g.brantzos@gmail.com; "Author" author@noreply.github.com Sent: 26/Μαϊ/2016 17:28:43 Subject: Re: [allinurl/gwsocket] Invalid request (#3)
Good question. If you are outputting simple ansi stuff, you can try ansi_up, just need to include one js file.
For more complex terminal outputs and even the ability to send commands to the actual terminal from your browser, your can use hterm. Take a look at the code behind the sample file I used for a full-blown terminal output. It's only one JS file
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub
No problem. Closing this, feel free to reopen it if needed.
I try to access gwsocket with the url http://ip-address:7890/terminal.html, but I keep getting 400 invlid request. Am I trying the correct address?
Thanks