Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I love the suggestion to rebuild it for the browser. A tool like that could be generally useful. Anyone know of one?


Cocalc uses a websocket and xterm.js to implement terminals on a remote server. Each terminal session corresponds to a file (with extension .term), so multiple clients can open the same session by opening the same file. If you type in one session then all sessions will see the typing at the same time. (Disclaimer: I wrote this. It’s way too heavy for this use case, but might be an amusing demo or proof of concept for somebody to play with before writing something new.)


tmux + ttyd (or gotty) could be used in a similar way. But it's not like an extra screen, it's more like mirroring a terminal to another device.


Someone asks for a webpage and not only do you propose tmux, you also acknowledge it doesn't even do anything like what's asked.

Typical Linux user.


Gotty serves a terminal window as a website. Tmux can be used to force the terminal size, so that you can a small window for typing, like OP does.

The person on the other end does not have to learn either of them.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: