Lurker News

Comments (140) 32 threads

Earlier comments
aabajian1 reply#
This looks great, without knowing much I was able to get:

./websocketd --staticdir=. --port=8123 ps
to give me a simple output of processes. What I'd really LOVE is to get this to work:
./websocketd --staticdir=. --port=8123 htop
It'd be great if I could see the output of htop on the web...from anywhere. I guess htop is setting up a different video mode or something that isn't compatible?

runewell#
This is perfect for admin tools. I'd rather parse stdout strings than code a custom API.
frknbasaran#
I'll try this. Looks good!
angersock1 reply#
Oh, this is going to be so fun for doing terrible things.
asergeyev1 reply#
Untold rule is not to run "sudo websocketd --devconsole bash" :)
cturner1 reply#
The browser will not implement terminal controls. You could get by though. This sort of scenario is why ed is never obsolete.
joewalnes#
ed is for the weak. Real developers edit bits using the magnetic forces of oceans.

Load more comments