News for hackers. Stuff that matters.
Re:Show HN: How did I live without Pipe Watch? by jewel on Monday May 02, 2022 @09:12AM (#31234692)
Another way to simulate the behavior of this tool, if I'm understanding you correctly, is with software flow control, usually mapped as ctrl-s for XOFF and ctrl-q for XON. That lets you pause output while you look at it, and then resume once you're done.
Re:Show HN: How did I live without Pipe Watch? by kazinator on Monday May 02, 2022 @10:52AM (#31235840)
XOFF doesn't discard input; if you pause for too long, things will backlog, which could be a problem if we are reading directly from some program (rather than, say, reading the output of something disposable and disconnected from the source, like tail -f).

When pw isn't updating the display, it's still streaming and discarding the data, which is a big semantic difference. It means that the source of the data will not block, for one thing. But if you need to see all the data or search through it, then pw is the wrong tool, at least by itself. You need to make other arrangements to capture the complete data.

Re:Show HN: How did I live without Pipe Watch? by hnlmorg on Monday May 02, 2022 @10:04AM (#31235257)
You cannot add filters et al with them though. I guess this is comparable to the scroll back history on a terminal multiplexer