[Mono-bugs] [Bug 679396] New: System.Console.Readline() fails to echo the first 1-2 characters entered in a console.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Mar 14 10:48:58 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=679396
https://bugzilla.novell.com/show_bug.cgi?id=679396#c0
Summary: System.Console.Readline() fails to echo the first 1-2
characters entered in a console.
Classification: Mono
Product: Mono: Runtime
Version: 2.6.x
Platform: i686
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: io-layer
AssignedTo: lupus at novell.com
ReportedBy: disjointed.time at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like
Gecko) Chrome/11.0.696.3 Safari/534.24
Leading characters are not echoed when supplying input to
System.Console.Readline(). This has been tested using the following snippet,
namespace foo
{
class MainClass
{
public static void Main(string[] args)
{
string input = System.Console.ReadLine();
System.Console.WriteLine("Read: {0}", input);
}
}
}
Behaviour varies -- sometimes only the first character fails to echo; more
often, two characters are suppressed. On occasion input is fully echoed, though
this normal behaviour is a rarity.
Full version information,
Mono JIT compiler version 2.6.7 (Debian 2.6.7-3ubuntu1)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC and Parallel Mark)
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
Reproducible: Sometimes
Steps to Reproduce:
1. Enter a string: 'abcde'
2. Observe that the leading characters ('a' or 'ab', depending) are not echoed,
though the input seems to have been read (and stored) correctly.
Actual Results:
# ./foo.exe
cde
Read: abcde
Expected Results:
The input 'abcde' should have been fully echoed.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list