Re: character device canonical mode

2022-01-14 Thread Corinna Vinschen
On Jan 13 12:37, Norton Allen wrote: > Apparently Cygwin does not support canonical mode on serial devices. I just checked, you're right, ICANON has never been implemented for serial I/O. The code hasn't seen a lot of love since its inception. It has been added pre-2000 mainly to support GDB

character device canonical mode

2022-01-13 Thread Norton Allen
Apparently Cygwin does not support canonical mode on serial devices. On input canonical mode will wait for a newline before returning from a read(). The bit is cleared/ignored by tcsetattr() as demonstrated by a subsequent tcgetattr() in the test program below. I am wondering if this is