Show HN: Redirect stdout to EtherPad
github.com
github.com
Are there any limits on how big a pad can get? Are there issues with scrolling when the content gets to the bottom? I haven't run EtherPad in a while, so don't remember.
There's a project called Log.io (http://logio.org:8998/) which does streaming and scrolling for events which ends up feeling a bit similar. Not sure if you can pipe stdout to it though.
Very interesting!
If you pipe something into it, the first command's stdout will become this script's stdin.
Would be nice sharing a terminal session on the web with others.
From another terminal, you can then do something like tail -f screenlog.0 | etherpad mypad
Also, look into the ttyrec and script commands
The limitations: The screen method won't follow you across screens and it won't interpret ansi escape codes
#!/usr/bin/env node
facepalm. And since the code uses an etherpad dependency, it is completely trivial. How is this HN-worthy?Also, why would he make it harder for himself than necessary? I'd like to see your shell/C++/asm implementation
Yes, it's trivial to write. But it fulfilled a need that we had, and getting something useful released rather than building something needlessly complex is, from what I understand, everything that HN is about.