Hacker News new | ask | show | jobs
by caddywompus 1509 days ago
I've only watched the video, so I don't know a lot about the tool. But from what I can tell, it's a really neat way to view text as it's streaming through a pipe, _and_ it keeps a line at the bottom, for you to be able to type a line, which when you press return, sends your text to the STDIN of the program that is streaming the text.

This can relieve a pain point if you ever need to work on a serial port, and as you are typing in a command, the other side sends text, which overwrites the characters you were typing (depending on how the local echo is configured). It reminds me of a line based serial terminal emulator, where the input is a separate text box, and the output is a larger box above it.

Oh, and it also seems to have methods of sampling the data as it comes in, so that it can be configured to only show the messages you are looking for, and also counting them?

The source file is also tiny: https://www.kylheku.com/cgit/pw/tree/pw.c

Very Unix