Live data from Hacker News

Xterm.js

xtermjs.org

41–50 of 67 posts

Re: Xterm.js

#41
post #29
post #23

Hi 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…

TIL another project started by Fabrice Bellard (well for him it's just a side project for the real project JSLinux).

Whenever people say that the “10x developer” is a myth, I point them to Fabrice Bellard, who would easily be 100 times more productive than your average developer at pretty much any task you give him. The sheer diversity of problems he’s solved with extremely high quality software is astounding.

Re: Xterm.js

#43

TIL chrome has an ssh client extension which can be used in a browser tab. Anyone care to share their experience with it? https://chrome.google.com/webstore/detail/secure-shell-app/p...

Used this as my daily driver for dev work for years, works great. Only downside is it doesn't do emoji rendering well

Re: Xterm.js

#44
post #23

Hi 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…

First of all it is a wonderful project. It is included in VS Code and works flawlessly for me most of the time. Not to mention the countless web implementations around it

Maybe it's a pet peeve of mine but I do not understand how to select stuff when the Terminal application steals the select function.

Example: you open tmux with option "mouse on" - when you click and drag tmux "steals" the selecting function and makes it an internal selection/copy/paste feature. But if I happen to be connected via ssh or something I want the terminal emulator to ignore that stealing and let me select some text instead to my own clipboard. In most other terminal emulator there is some shortcut to do just that, I never understood if the option is present in xterm.js too.

Re: Xterm.js

#45
post #23

Hi 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 just want to say thanks, I have been experimenting with using xterm.js to connect to terminal API in jupyter notebooks and it has worked really well, plug and play (even editors like vim were working without any extra effort).

Before that I was experimenting with using it as a custom shell for running commands inside a web application. In that use case it was a bit more challenging because I had never written to an actual tty before (ansi escape codes for coloring log files has been about the limit of my experience). For that use case I just really needed to send and receive text. I ended up using this library [ https://github.com/wavesoft/local-echo ] to smooth that process out until I could learn about how to do things properly.

Are any suggestions on:

1. where to learn about how ttys work to do things the right way, or

2. suggested libraries like local-echo that can wrap over some of the trickier bits of just getting text on the screen?

Thanks again for maintaining such a great & useful library!

Re: Xterm.js

#46
post #23

Hi 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 just want to say thanks, I have been experimenting with using xterm.js to connect to terminal API in jupyter notebooks and it has worked really well, plug and play (even editors like vim were working without any extra effort). Before that I was experimenting with using it as a custom shell for running commands inside a web application. In that use case it was a bit more challenging because I had never written to an…

1. https://invisible-island.net/xterm/ctlseqs/ctlseqs.html is my main reference for anything related to terminals, other than that my knowledge has built up mainly as a result of contributing to xterm.js.

2. The library you mention is the one I'm aware of, I have a WIP for building a basic shell in JS that I will probably open source eventually if I have the time.

Re: Xterm.js

#47
post #23

Hi 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…

First of all it is a wonderful project. It is included in VS Code and works flawlessly for me most of the time. Not to mention the countless web implementations around it Maybe it's a pet peeve of mine but I do not understand how to select stuff when the Terminal application steals the select function. Example: you open tmux with option "mouse on" - when you click and drag tmux "steals" the selecting function and mak…

VS Code has the terminal.integrated.macOptionClickForcesSelection setting which will let you to alt+drag to use xterm.js' selection as opposed to tmux's selection. On Linux and Windows I believe it's shift+drag.

Re: Xterm.js

#48
post #5

The demo on the homepage seems to be broken in Safari on macOS. I'm not seeing any text.

Everything fun on the web is broken in Safari... Pretty sure it's by design.

Re: Xterm.js

#50
post #23

Hi 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 just want to say thanks, I have been experimenting with using xterm.js to connect to terminal API in jupyter notebooks and it has worked really well, plug and play (even editors like vim were working without any extra effort). Before that I was experimenting with using it as a custom shell for running commands inside a web application. In that use case it was a bit more challenging because I had never written to an…

+1

Xterm.js is really impressive in what it can do, but it was pretty tough to get started with as someone who just wanted to pipe shell input/output over HTTP requests to a server. I realize streamlining that usecase is probably out of scope for the Xterm team, but I think there's a space for either some tutorials or a higher-level wrapper library

Post reply on HN