Re: [fpc-pascal] Flushing serial inqueue on Linux

2007-02-24 Thread Bernd Mueller
I can read incoming characters, so the connection is ok and lHandle is valid. I tried TCIOFLUSH as another QueSelector and tried also ioctl instead of Fpioctl. termio.tcflush but that does fpioctl(fd,TCIOflush,pointer(qsel)); TCFlush is working now. Thank you. my problem with fpioctl was th

Re: [fpc-pascal] Flushing serial inqueue on Linux

2007-02-23 Thread Bernd Mueller
I can read incoming characters, so the connection is ok and lHandle is valid. I tried TCIOFLUSH as another QueSelector and tried also ioctl instead of Fpioctl. termio.tcflush but that does fpioctl(fd,TCIOflush,pointer(qsel)); TCFlush is working now. Thank you. Regards, Bernd.