Someone reported that 'graphicsmode 3' should be used instead of 'terminal console' after gfxmenu exits and before entering vbe mode with a 'graphicsmode ...' command.
The 'terminal console' command uses old VGA bios call to enter text mode, and it could fail(or even hang up) because the actual mode for gfxmenu is VBE.
The 'graphicsmode 3' command uses VBE bios call to enter text mode, and it will succeed in most VBE implementations.
hi tinybit
so you can work with gfxmenu+graphicsmode with these
graphicsmode 3
graphicsmode -1 800 600 24:32
timeout 30
default /default
gfxmenu /BOOT/BOOT.gfx
in the fact i didn't want to use gfxmenu
i use gfxmenu only because of its fully supported my language
one option in gfxmenu called rtl language dirction i can't get it with Graphicsmode syntax
Some languages (arabic/persian/malay/hebrew) and others are written from right to left
https://en.wikipedia...i/Right-to-left i search how gfxmenu can support such as language i fond they are use (Bi-directional text)
https://en.wikipedia...irectional_text most of gnu project use GNU FriBidi
http://fribidi.org/ so i try to do the same thing with grub4dos terminal without gfxmenu
1- unifont.hex.gz that fully support Bi-directional text
2-menu.lst with (Bi-directional text)
i download FriBidi for windows and use
"fribid.exe -c, --charset UTF-8 --nopad --clean mymenu.lst > menu.lst"
now menu.lst support Bi-directional text
3-Graphicsmode syntax
graphicsmode 0x100
graphicsmode 0x101
the above codes dosn't support Bi-directional from menu.lst and unifont.hex.gz
graphicsmode 0x115
graphicsmode 0x118
the above codes can support Bi-directional from menu.lst and unifont.hex.gz
but as you say at the first of this topic the best Graphicsmode syntax
that can can support Bi-directional from menu.lst and unifont.hex.gz is:
graphicsmode -1
or
graphicsmode -1 [ RANGE_X_RESOLUTION [ RANGE_Y_RESOLUTION [ RANGE_COLOR_DEPTH ] ] ]
only remain one thing to make grub4dos terminal full support rtl language it's:
align menu text from right to left option
at first i try MENUSETTING.gz but didn't work
then i try echo -p:xxyy but didn't work
i look at grub4dos source code
* Print entries in the menu box. */
static void
print_entries (int first, int entryno, char *menu_entries)
{
int i;
//int main_menu = (menu_entries == (char *)titles);
gotoxy (MENU_BOX_E, MENU_BOX_Y);
grub4dos use gotoxy function to print the titles to the left position of the menu but i'm not sure
i hope tinybit can help me how i can align menu text from right to left and add auto numbering form right not left
if there aren't any method now to support this
i hope that can be included in the next version of grub4dos
this is tow image that show how can gfxmenu
align menu text from right to left and grub4dos Graphicsmode syntax can't
Edited by memoarfaa, 04 July 2015 - 11:35 AM.