[Mono-bugs] [Bug 626459] New: Keyboard echo erratic when using TermInfoDriver console input
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jul 28 17:25:29 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=626459
http://bugzilla.novell.com/show_bug.cgi?id=626459#c0
Summary: Keyboard echo erratic when using TermInfoDriver
console input
Classification: Mono
Product: Mono: Class Libraries
Version: 2.6.x
Platform: x86
OS/Version: Mac OS X 10.6
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: n5jrn at mac.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us)
AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16
Keyboard echo is erratic (not to mention sluggish) in both Linux and Mac OSX
when the TermInfoDriver is being used as a console driver (which is almost
always the case in normal situations). As an example:
$ cat Repeat.cs
using System;
class Repeat
{
public static void Main(string[] args)
{
Console.Write("Say something: ");
string saying = Console.ReadLine();
Console.WriteLine("You said: {0}", saying);
}
}
$ gmcs Repeat.cs
$ mono Repeat.exe
Say something: is is a test
You said: This is a test
Note that it's just the keyboard echo that's a mess. The characters ARE
actually getting read. Setting TERM=dumb will cause System.ConsoleDriver to
select NullConsoleDriver instead of TermInfoDriver, which provides a workaround
assuming one isn't interested in doing cursor-based addressing in one's
console-mode application:
$ env TERM=dumb mono Repeat.exe
Say something: This is a test.
You said: This is a test.
Given the easy workaround, it's probably not super-critical, just something
annoying that needs fixing.
Reproducible: Always
Steps to Reproduce:
1.Build code shown in details above
2.Run program in a terminal window; type some input
3.Inevitably, the first character or two typed won't properly echo
Actual Results:
First character or two typed does not properly echo.
Expected Results:
All typed characters should echo properly.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list