"Marcin Kurek" <[EMAIL PROTECTED]> 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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel