Reply 20 of 23, by nicola
- Rank
- Newbie
This code:
termInfo.c_cc[VMIN] = 0;
termInfo.c_cc[VTIME] = 0;
is for non canonical mode. So I add also:
termInfo.c_lflag &= ~(ICANON);
Now step5 still doesn't work, but it receives wrong chars.
So someting changed. 😁
I should continue investigate in the code.
Who is linux patch's author ? Maybe he could know something about it.
Thanks, Nicola.