3 ms·
Wait, web sockets? Why not regular old sockets? Why not restrict it to Unix domain sockets so that only authorized users can talk to the iTerm instance?
by bitwize 8y ago
Wait, web sockets? Why not regular old sockets? Why not restrict it to Unix domain sockets so that only authorized users can talk to the iTerm instance?
- tdrd 8y agoMaybe so folks could build web UIs to interact with a local instance? Can't do raw TCP/UDP from a web browser.
- bitwize 8y agoThen write a bloody wrapper. Controlling my terminal emulators through a browser is like managing processes with Doom: something that, while interesting and certainly shouldn't be precluded, I am unable to think of a use case where I would actually do it. Making web sockets the scripting interface for a program that in most cases you do NOT want to actually expose to the web a) makes no sense; b) is a security incident waiting to happen.
- booi 8y agoManage processes with Doom you say...
- bitwize 8y agoYes, I was specifically referring to this: https://www.cs.unm.edu/~dlchao/flake/doom/chi/chi.html https://www.cs.unm.edu/~dlchao/flake/doom/chi/chi.html
- 420codebro 8y agoBrb adding a JIRA ticket for this feature. Great idea. Killer app.
- tehno 8y agoOr Kubecraft :) https://www.youtube.com/watch?v=A4qwsSEldHE https://www.youtube.com/watch?v=A4qwsSEldHE