[Mono-list] Console ReadKey not blocking returning 0, Mono 2.8.1, linux

Piotr Wysocki piotr.wysocki at mlabs.pl
Mon Jan 3 04:13:44 EST 2011

On 12/30/2010 08:21 PM, chris6789 wrote:
> Anyone else experiencing problems using ReadKey on linux?  I'm using Mono
> 2.8.1, CentOs 5.4.  The following code just prints "Ignoring 0 0" over and
> over (doesn't block).  ReadLine() also is not working.  Same code works on
> Windows under Mono.

Works for me (mono 2.8.1).
Haven't you redirected /dev/null or /dev/zero to stdin? ;)

Piotr Wysocki
Mobile Systems Research Labs, Poznan University of Technology

More information about the Mono-list mailing list