Problem with Console Plugin and stdin
Submitted by Wednesday, 7 December, 2005 - 05:26
on
Hi, I have the latest version of the Console plugin (4.1.2). After reading some posts in this forum, it seems that versions of the plugin after 4.1 should support stdin (i.e. it allows for user keyboard input when running c programs). However, when I try to run a simple C program which asks the user a few questions in the System Shell of the Console plugin, it doesn't work properly. What happens is the cursor moves to the next line, and just stays there. I have to type something and hit enter before anything happens. Then the message "Press any key to continue" appears. After I press enter, the message "Press any key to continue" appears again, along with all the printf's contained in my program, with the scanf's bypassed (even though I never typed in anything). My program is very simple, and runs properly in the regular Windows shell. Does anyone have any idea what I am doing wrong with regards to the Console plugin. Do I have to set it up in some special way to allow for keyboard input?