RE: Zynq: Reading from stdin returns immediately

2021-02-09 Thread Jan.Sommer
Yes, I found the commit which fixes that. I will prepare a ticket and a patch for backporting. From: Joel Sherrill Sent: Tuesday, February 9, 2021 1:16 PM To: Sommer, Jan Cc: rtems-us...@rtems.org Subject: Re: Zynq: Reading from stdin returns immediately Thia is related to the set method for

Re: Zynq: Reading from stdin returns immediately

2021-02-09 Thread Joel Sherrill
ng easier. > > > -Original Message- > > From: users On Behalf Of jan.som...@dlr.de > > Sent: Tuesday, February 9, 2021 10:58 AM > > To: users@rtems.org > > Subject: Zynq: Reading from stdin returns immediately > > > > Hello, > > > > I tried to re

RE: Zynq: Reading from stdin returns immediately

2021-02-09 Thread Jan.Sommer
I stand corrected. It works with current master. That should make searching easier. > -Original Message- > From: users On Behalf Of jan.som...@dlr.de > Sent: Tuesday, February 9, 2021 10:58 AM > To: users@rtems.org > Subject: Zynq: Reading from stdin returns immedia

Zynq: Reading from stdin returns immediately

2021-02-09 Thread Jan.Sommer
Hello, I tried to read data from stdin via scanf in RTEMS5.1 for some user input for a Zynq based board, but it returns immediately with 0. Also fscanf, read or fgetc do not block and return immediately. The flags for stdin show that the O_NONBLOCK flag is not set. I tried to check with the term