Quote:
Originally Posted by rkomar
You can try closing descriptor '1' after the call to dup(), to see if that stops the pocketbook keyboard code from writing to standard output. You might also try adding "fflush(stdout);" to the beginning of the char_handler() function in case the keyboard code is writing to the stdout file stream. I'm not sure if either will work, but you might get lucky.
|
You legend!
Adding "fflush(stdout);" actually increased the amount of unneeded text, but closing descriptor '1' did it!