These bugs occurred in revision 575 of the trunk. Bug 1: BackSpace on Empty Line. The problem is when you have a blank line (new prompt), like #OS> and you press backspace the console gets confused and tries to remove the character at index -1, and hence crashes and halts the system.
Location: Kernel/Core/Console.cs -> KeyDown Method Solution: Check that the length of the textBuffer is greater then zero before subtracting and perofmring the RemoveAT operation. Bug 2: Position of Cursor on a new Prompt The problem is when the console writes out the #OS> text, the cursor is drawn over the #, the current behaveour should be after the > Location: Kernel/Core/Shell/Prompter.cs -> WritePrompt() method Solution: After the #OS> text is written run RefreshCursor
consolePatch.patch
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ SharpOS-Developers mailing list SharpOS-Developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sharpos-developers