Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Iqtle-0008NU-W7 for mharc-grub-devel@gnu.org; Sat, 10 Nov 2007 12:05:11 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iqtld-0008L6-0H for grub-devel@gnu.org; Sat, 10 Nov 2007 12:05:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iqtlb-0008JJ-DZ for grub-devel@gnu.org; Sat, 10 Nov 2007 12:05:08 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iqtlb-0008J6-7Q for grub-devel@gnu.org; Sat, 10 Nov 2007 12:05:07 -0500 Received: from smtp-vbr7.xs4all.nl ([194.109.24.27]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iqtla-0007vF-HW for grub-devel@gnu.org; Sat, 10 Nov 2007 12:05:06 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id lAAH55Uc021393 for ; Sat, 10 Nov 2007 18:05:05 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <8a2a06bb0710010357u142f6ba4gb053afde829f0f39@mail.gmail.com> <87zlyp8zcq.fsf@xs4all.nl> <8a2a06bb0710120916u30be255xd3dd62f2f2d0864@mail.gmail.com> Mail-Copies-To: mgerards@xs4all.nl Date: Sat, 10 Nov 2007 18:05:39 +0100 In-Reply-To: <8a2a06bb0710120916u30be255xd3dd62f2f2d0864@mail.gmail.com> (Marcin Kurek's message of "Fri, 12 Oct 2007 17:16:40 +0100") Message-ID: <87k5oqf2u4.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: Sat, 10 Nov 2007 17:05:09 -0000 "Marcin Kurek" writes: > Hell[o] > >> 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... > > The problem is in framebuffer mode OF loads glyphs starting from 32 to > 127 then any characters abowe 127 are displayed as white '?'. The > solution would be to use "set-font" to load a proper font to use with > grub. In non framebuffer mode cp437 is used by console then we can use > it to draw borders same as for PC. Can you provide something that makes use of that? >> 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. > > Ahhh, I see you looked at first version of patch. Please take a look > at recent version of my patches. Will do :-) >> > Handle 127 keycode as backspace key in grub_ofconsole_readkey() which fix >> [1] >> >> Can you explain this? > > For some reasons my OF sends \b && 127 (Del) sequence for backspace > key. It seems to be same sa ncurses console. Ok. -- Marco