Search:

Type: Posts; User: berrydev

Search: Search took 0.01 seconds.

  1. That appears to solve the blocking issue. Thanks...

    That appears to solve the blocking issue. Thanks a lot for pointing this out (was starting to pull my hair out).

    Like you said, tail keeps running for some reason, but if I write one more char to...
  2. Do you think forking a process and reading pipe...

    Do you think forking a process and reading pipe data (stdin) from the child and then writing that data from the child into the parent would help? Am I over complicating this?
  3. Thanks for your reply. I'm not sure why, but...

    Thanks for your reply. I'm not sure why, but looks like fgets keeps blocking wgetch. The interesting part is that using `cat` (without follow mode) wgetch works, but not with tail -f.



    ...
  4. How to read from a pipe while keeping interactive keyboard in C

    I'm writing a similar version of less and am using ncurses to make it easier. However, it needs to read from stdin when data is piped-in while maintaining the ability to interact with the keyboard...
Results 1 to 4 of 4