>>>>> "Bernd" == Bernd Paysan <[email protected]> writes:

> I don't know why the select code should not work on serial lines, this
> must be a bug in Linux.

Sure, that this is not a bug in Gforth code?  Select() is pretty
difficult to get right.  E.g. you must read all input data until read()
returns EAGAIN, before calling select().  Failing to do so will make
select() block forever, as select is "edge triggered", and only returns
if the state of "data available" has a transition.

cheers,

David
-- 
GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

Attachment: pgpq1HxtLjeiD.pgp
Description: PGP signature

Reply via email to