Re: Help with pipes, buffering and pseudoterminals

2015-04-06 Thread Daniel Ellis
nd isn't that big of a deal. Thanks again for the explanation. I think I'm understanding a bit better now, or at least understanding why my current means of tackling the problem won't work. I'd still very much like to figure out the reading/writing to the master & slave stuff th

Help with pipes, buffering and pseudoterminals

2015-04-05 Thread Daniel Ellis
I have a small little tool I'd like to make. It essentially takes piped input, modifies the text in some way, and immediately prints the output. The problem I'm having is that any output I pipe to the program seems to be buffered, removing the desired effect. >From what I understand, I need t