Terminal stdin issue

Michael Grunditz michael.grunditz at gmail.com
Tue Mar 2 17:08:48 CET 2021


Hi

I am trying to use terminal for stdout and stdin. Output is no
problem, but I can't get input to work..

I have this:

   if(select(1, &rfds, NULL, NULL,&tvp))
        {
        log ("stdin data");
        int a = fgetc(istream);
        log ("",Char(a));

That select always returns , and fgetc never returns, no matter how
hard I hit my keyboard!

/Michael



More information about the users mailing list