adrian15 wrote:
> J.Bakshi escribió:
>>>>> I am talking about the menu displayed by menu.lst How can I resize
>>>>> and repositioned that menu ?    
>>>> Ah, it's not a triangle but a rectangle.
>>>>
>>>> You should edit source code for doing this. If you are prepared to
>>>> edit source code I might give you some clues on how to do that.
>> please suggest how to do it ?
>> thanks
>
> Check stage2/stage2.c file.
> Check the:
>
> static void
> run_menu (char *menu_entries, char *config_entries, int num_entries,
>       char *heap, int entryno)
>
> function and its line:
>
>       print_entries (3, 12, first_entry,
>                  entryno, menu_entries);
>
> I think that changing 12 to 5 will force even if you have 20 boot
> entries only 5 are displayed.
>
> If you change the 3 for some other value you can move up/down the menu
> I think also.
>
> Hacking the print_entries function will also help.
>
> adrian15

Hello Andrian,
Thanks for your response. I think you have given a solution to force how
many entries will be shown in the menu.
But I am also interested to resize the menu so that I can see the splash
image properly.
"viewport" command can do it. But i don't know why it is not there in 0.97.
Do you have any idea ?
thanks once again
>
>
>
> _______________________________________________
> Bug-grub mailing list
> Bug-grub@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-grub
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joydeep Bakshi, Linux System Admin
Kolkatainfoservices Pvt Ltd,
23A Royd Street, Kolkata 700016, India
Work Phone 91 033 40014784
http://infoservices.in/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to