The demo on the homepage seems to be broken in Safari on macOS. I'm not seeing any text.
This is related to some issue with Safari's new WebGL 2 implementation they shipped recently[1]. Currently we disable the webgl renderer on Safari inside github.dev/codespaces to work around this. [1]: https://github.com/xtermjs/xterm.js/issues/3357
Xterm.js
31–40 of 67 posts
Re: Xterm.js
#32Fun fact - xterm.js was originally created by chjj who also wrote the code for Handshake DNS among other things. My favorite is blessed [1]. He’s definitely a super programmer. Thank you for all your contributions to this world @chjj! [1] https://github.com/chjj/blessed
term.js was originally created by Fabrice Bellard -- see the headers of @chjj's term.js file [1]. Bellard wrote term.js since he needed a way to interact with his amazing port [2] of Linux to a web browser. Term.js had a non-open-source license and @chjj spent time a decade ago successfully convincing Bellard to relicense term.js open source (I watched and greatly appreciated this as it happened!). Xterm.js is a very…
Re: Xterm.js
#33"Build terminals in the browser" ... and give your passwords there, and type commands. What can go wrong.
Running in the browser is no more (or less) untrusted than running a dedicated terminal client.
Re: Xterm.js
#34Earlier quoted context omitted.
Running in the browser is no more (or less) untrusted than running a dedicated terminal client.
When was the last case when a malicious website or script could capture content or keystrokes directed at another tab? Really curious, because it seems an obvious attack vector.
https://en.wikipedia.org/wiki/Spectre_(security_vulnerabilit...
It's not a browser vulnerability per se, but it's still mitigated by having a separate address space.
Re: Xterm.js
#35Earlier quoted context omitted.
I'm an educator and I to teach things like symmetric cryptography. I just used full virtual machines in class to demonstrate ccrypt to encrypt and decrypt files. Would xterm.js be a valid way to implement that kind of exercise to avoid relying on virtual machines? Do you know of any resources that would point me in the right direction for building educational exercises?
xterm.js is only a frontend, you still need to plug it into a backend or write you own. A VM would probably be the way to go.
Re: Xterm.js
#36Hi all, I'm one of the maintainers of xterm.js, open to answer any questions! Here's a little history on the project, some of which is already called out in other comments: - Fabrice Bellard created jslinux[1]. - Christopher Jeffrey (@chjj) forked the terminal component into term.js[2], this eventually became unmaintained. - Paris Kasidiaris (@parisk) forked it into xterm.js for use in SourceLair[3]. - I showed up ar…
I'm an educator and I to teach things like symmetric cryptography. I just used full virtual machines in class to demonstrate ccrypt to encrypt and decrypt files. Would xterm.js be a valid way to implement that kind of exercise to avoid relying on virtual machines? Do you know of any resources that would point me in the right direction for building educational exercises?
Re: Xterm.js
#37Earlier quoted context omitted.
xterm.js is only a frontend, you still need to plug it into a backend or write you own. A VM would probably be the way to go.
Thanks. I was curious because the demo on the homepage doesn't appear to be communicating with a backend. (The xterm.js code just seems to interact with https://xtermjs.org/js/demo.js .) So I guess this demo presented an experience that people should expect with xterm.js, but not necessarily the standard implementation.
If you don't need to rely on ccrypt and just want to emulate teh experience of using it, you could have an on rails experience by forking the demo file and adapting the commands part.
Re: Xterm.js
#38Re: Xterm.js
#39Earlier quoted context omitted.
xterm.js is only a frontend, you still need to plug it into a backend or write you own. A VM would probably be the way to go.
Thanks. I was curious because the demo on the homepage doesn't appear to be communicating with a backend. (The xterm.js code just seems to interact with https://xtermjs.org/js/demo.js .) So I guess this demo presented an experience that people should expect with xterm.js, but not necessarily the standard implementation.
Re: Xterm.js
#40Hi all, I'm one of the maintainers of xterm.js, open to answer any questions! Here's a little history on the project, some of which is already called out in other comments: - Fabrice Bellard created jslinux[1]. - Christopher Jeffrey (@chjj) forked the terminal component into term.js[2], this eventually became unmaintained. - Paris Kasidiaris (@parisk) forked it into xterm.js for use in SourceLair[3]. - I showed up ar…
I'm an educator and I to teach things like symmetric cryptography. I just used full virtual machines in class to demonstrate ccrypt to encrypt and decrypt files. Would xterm.js be a valid way to implement that kind of exercise to avoid relying on virtual machines? Do you know of any resources that would point me in the right direction for building educational exercises?