javaterminal / cloudterm Goto Github PK
View Code? Open in Web Editor NEWCloud Web Terminal Emulator. Opens your terminal to Web.
License: MIT License
Cloud Web Terminal Emulator. Opens your terminal to Web.
License: MIT License
hi,
thank you. nice piece of work !
i think i found 1 bug on this line (main branch)
let ws = new WebSocket(`${sec?"wss":"ws"}://${location.host}/${terminal`);
this is my patch to work when the app is not deployed at the root path (e.g. /cloudterm/, /cloudtem/terminal)
let ws = new WebSocket(`${sec?"wss":"ws"}://${location.host}${location.pathname}terminal`);
i think the solution should be something robust to support the context path
regards
??
Hi , i think process.waitFor()
in TerminalService#initializeProcess
is not necessary . In Pty4j
official example, it shows wait until the PTY child process terminates...
. This code may be only work in a none web application, it will exit after executing ,so they need to block the thread for input/output action.
So, i am not sure whether process.waitFor()
in TerminalService#initializeProcess
is necessary. I try to remove it and program not affected.
Could you help me please open the terminal page when deployed in Tomcat?
I know the best way to run the cloudterm is standalone way from JAR, but I have no permissions for that in my Server, so I need run in Tomcat
This is my scenario was tried:
Info here :
[ERROR] Failed to execute goal on project cloudterm: Could not resolve dependencies for project com.example:cloudterm:jar:0.0.1-SNAPSHOT: Could not find artifact com.asciidocfx.pty4j:pty4j:jar:0.7.3 in rahmanusta-releases (http://asciidocfx.com/build) -> [Help 1]
emmm.... wondering what's wrong
In the latest pull (959a176), it's not rendering anything:
properties of undefined (reading 'style')
at hterm.ScrollPort.setBackgroundColor (hterm.js:9380:18)
at hterm.Terminal.setBackgroundColor (hterm.js:10908:22)
at background-color (hterm.js:10571:22)
at lib.PreferenceManager.notifyChange_ (hterm.js:2120:28)
at lib.PreferenceManager.notifyAll (hterm.js:2100:14)
at hterm.Terminal.<anonymous> (hterm.js:10848:21)
hterm.ScrollPort.setBackgroundC
Here is a snap:
Maybe I can try to fix it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.