pc386 bsp - stdin broken?

Jeff Mayes jeff.mayes at OARcorp.com
Mon Aug 26 15:55:10 UTC 2002


The list won't accept messages from unsubscribed addresses.  I'm
guessing your subscribed with your work address and you use a
different email for home.  That's why it didn't get posted. :)


Glen M Cornell wrote:

> I sent a message from home last night, but did not see my posting.
>  Sorry if you get it twice.
>
> Is there some trick to getting stdin to work on the pc386 bsp?  I
> changed the hello_world test application to read from stdin:
>
> {
> char buf[80];
> printf("what's your name?");
> scanf("%s", buf);
> printf("hello, %s\n",buf);
> }
>
> But this appears to lock up the board.  I also tried gets() with the
> same results.  What's wrong with me???
>
> Oh, yes.  I'm using the latest snapshot and the latest c build tools.
>
> thanks for any help,
> glenco




More information about the users mailing list