http://bugs.winehq.org/show_bug.cgi?id=11243
Summary: getch() receives imput without keys being pressed Product: Wine Version: 0.9.46. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: glacierre@gmail.com
Created an attachment (id=10339) --> (http://bugs.winehq.org/attachment.cgi?id=10339) test program
getch() function (from conio.h) is behaving like some key was pressed.
I compiled the attached test program in windows with bloodshed devc++ (also tried with mingw-gcc, same behaviour), works fine in windows console, but the same exe under linux (without pressing any key) gives:
-----Output--
$ wine wine_getch.exe
Asking for one key (#1) Key was: fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored � Asking for one key (#2) Key was:
-----End output--
Wine version is 0.9.46, ubuntu 7.10 package