This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Andre-John Mas wrote:
Hi,
I have the code below. I want to be able to block until something is inputted and then continue. The only problem is am finding that it continues even without anything being inputed. What should I be doing differently:
It looks like a bug :-( It seems when ICANON is turned off, the channel becomes non-blocking and will return EOF (or the equivalent) when read. I tried the attached program - on Linux it works as expected, but on eCos, it gets EOF.
Jonathan - you worked the termios code originally - any ideas?
Jifl -- eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts ------["The best things in life aren't things."]------ Opinions==mine
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |