[Mono-bugs] [Bug 77518][Nor] New - Console 2.0 Problems Escape Codes and SetCursorPosition

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 9 18:19:48 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mike.hull at coversant.net.

http://bugzilla.ximian.com/show_bug.cgi?id=77518

--- shadow/77518	2006-02-09 18:19:48.000000000 -0500
+++ shadow/77518.tmp.5140	2006-02-09 18:19:48.000000000 -0500
@@ -0,0 +1,49 @@
+Bug#: 77518
+Product: Mono: Class Libraries
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: Tried the latest mono on Gentoo and Suse 10.0
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: mike.hull at coversant.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Console 2.0 Problems Escape Codes and SetCursorPosition
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+Under certain circumstances the console outputs escape codes when you call
+any Console.Read____() function.
+
+The Console.*Height and Console.*Width do not appear to work.  This causes
+serious problems with the SetCursorPosition function which asserts that the
+position fits in the demensions of Console.
+
+Steps to reproduce the problem:
+1. Attached source. 
+3. 
+
+Actual Results:
+Escape sequences outputted to the console.  ArgumentOutOfRangeException
+when setting the cursor position.  Invalid screen size.  All of the Linux
+colors are dark, none are very readable.
+
+Expected Results:
+No exceptions and no escape codes.
+
+How often does this happen? 
+Most of the time. I think it depends on how fast the terminal responds to
+setcolor/setposition calls comapred to how soon you call the read()
+
+Additional Information:
+Coversant is also willing to contribute the code to the console gui stuff I
+did.  I'll be sending it on the list, along with an example.  The problems
+are very apparent there.


More information about the mono-bugs mailing list