Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IgNBy-0006sq-Lj for mharc-grub-devel@gnu.org; Fri, 12 Oct 2007 12:16:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IgNBx-0006rV-3U for grub-devel@gnu.org; Fri, 12 Oct 2007 12:16:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IgNBv-0006pP-9Y for grub-devel@gnu.org; Fri, 12 Oct 2007 12:16:48 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgNBv-0006pD-4S for grub-devel@gnu.org; Fri, 12 Oct 2007 12:16:47 -0400 Received: from py-out-1112.google.com ([64.233.166.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IgNBv-0004Uh-8G for grub-devel@gnu.org; Fri, 12 Oct 2007 12:16:47 -0400 Received: by py-out-1112.google.com with SMTP id a73so1915493pye for ; Fri, 12 Oct 2007 09:16:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=DQL/0HN1CbgJu0gz/GiJAPKgJA+fnH0i1hpIYepu52c=; b=q4nBNLQ0I9ALBgANCSY2M6xRSgjX9Gvcxz7s7RYvRkwnpJFQIFm4mZWtQwYWcMEuwREz5MXHlk3rSqGqsFTHWcKziwHH8f/sNBvV1uSRlcaxbYawamV1NSTDYGVCUYANN8LwTWQi41V0Y6pomhFmHfWfu2QRGc09t3k4KAmVGK4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mj5c9NWYLP8g0WCprzwEisZe5WHsi/BQhXAsqRPU/GSQIBRkndXwzjiCYuc+OjbCdXJvPWqFtuctGKeH8Stb+fgib35/Q0c+ztdw0bfY4lGzzdtU+WUjvy/51ytAdGXigWPOkHbe/LAKxmimcHpDx4cyroG7EA7leXKgdMkaaNE= Received: by 10.114.106.1 with SMTP id e1mr3679138wac.1192205801161; Fri, 12 Oct 2007 09:16:41 -0700 (PDT) Received: by 10.114.26.2 with HTTP; Fri, 12 Oct 2007 09:16:40 -0700 (PDT) Message-ID: <8a2a06bb0710120916u30be255xd3dd62f2f2d0864@mail.gmail.com> Date: Fri, 12 Oct 2007 17:16:40 +0100 From: "Marcin Kurek" To: "The development of GRUB 2" In-Reply-To: <87zlyp8zcq.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8a2a06bb0710010357u142f6ba4gb053afde829f0f39@mail.gmail.com> <87zlyp8zcq.fsf@xs4all.nl> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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: Fri, 12 Oct 2007 16:16:49 -0000 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. > 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. > > 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. -- --- Marcin 'Morgoth' Kurek ---