TTY driver doesn't handle all reads correctly.
|Reported by:||kaoutsis||Owned by:||bonefish|
|Has a Patch:||no||Platform:||All|
The purpose was to read a whole line from the keyboard, using a test-app (attached read_from_stdin.cpp) I have test the test-app in both hrev5 and linux and the result is indeed what i expected: reading a line until enter is pressed. In haiku the behavior is that after reading a single byte, immediately returns. In other words, the test-app is reading only a character and returns. In blocking mode with canonical input processing enabled it should read full lines.