[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fixed ieee1275 console

From: Marcin Kurek
Subject: Re: [PATCH] Fixed ieee1275 console
Date: Fri, 12 Oct 2007 17:16:40 +0100


> 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 ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]