Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ifzbr-0008Tp-Ft for mharc-grub-devel@gnu.org; Thu, 11 Oct 2007 11:05:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ifzbq-0008Sn-NC for grub-devel@gnu.org; Thu, 11 Oct 2007 11:05:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ifzbp-0008Ri-2O for grub-devel@gnu.org; Thu, 11 Oct 2007 11:05:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ifzbo-0008Rc-RR for grub-devel@gnu.org; Thu, 11 Oct 2007 11:05:56 -0400 Received: from smtp-vbr10.xs4all.nl ([194.109.24.30]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ifzbo-0001Cd-73 for grub-devel@gnu.org; Thu, 11 Oct 2007 11:05:56 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id l9BF5sDk050178 for ; Thu, 11 Oct 2007 17:05:55 +0200 (CEST) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <8a2a06bb0710010357u142f6ba4gb053afde829f0f39@mail.gmail.com> Mail-Copies-To: mgerards@xs4all.nl Date: Thu, 11 Oct 2007 17:06:45 +0200 In-Reply-To: <8a2a06bb0710010357u142f6ba4gb053afde829f0f39@mail.gmail.com> (Marcin Kurek's message of "Mon, 1 Oct 2007 12:57:35 +0200") Message-ID: <87zlyp8zcq.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: [PATCH] Fixed ieee1275 console X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2007 15:05:59 -0000 "Marcin Kurek" writes: Hi Marcin, Sorry for the late reply. I have been absent for quite a while, but I intend to go over the emails on this list during the weekend (including yours). I noticed this email because I worked on this problem myself, so that is why I am replying now. > Finaly I found a few free minutes to look at ofconsole as it never > correctly work for me. There was 3 problems on my Pegasos: > > 1) Backspace key not works with USB keyboard. > 2) menu looks ugly like hell as it contains some random characters in > place of borders. Right, this is because it seems that the MSB is lost when writing a character to the screen. For the borders specific characters are used above 127 (non-ASCII). I wonder if the Pegasos console supports this ASCII extension if you change some settings or so... [...] > Replaced borders characters in grub_ofconsole_putchar() by '-', '|', > etc. Maybe not perfect, but looks definitly better than before [2]. > Also fixed cursor position tracking (grub_curr_x, grub_curr_y) which > fix both console problems [3] I prefer if it can be detected if this is Efika or for example an apple implementation of OF and handle these characters depending on that. IIRC this code does work on the apple, but unfortunately I cannot check this anymore. > Handle 127 keycode as backspace key in grub_ofconsole_readkey() which fix [1] Can you explain this? -- Marco