Skip to contentSkip to conversation

gfxmenu status? [was: Serial and graphical console at the same time]

DISCUSSION Michal Suchanek 2 participants 2 messages Feb 18, 2010 – Feb 26, 2010

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines · Colin Watson
Quoted 7 lines · Joey Korkames
Quoted 2 lines · Christian Auby

How would I go about setting up grub2 with both serial console and graphical console?

You can't run simultaneous consoles with a stock grub2 build. The experimental branch does support it though:
http://robertmh.wordpress.com/2009/12/25/multiple-grub-terminals/#comment-520

The relevant code was merged into trunk on 2010-01-09.

How does the gfxmenu work in this case?

And how does it work in the simpler cases, anyway?

Is there some documentation or at least samples?

Everywhere it's said the menu is MVC based. I am not expert on MVC but I don't see anything remotely reminiscent of MV separation, the wiki pages describe just a UI toolkit without most of the MVC parts.

Thanks

Michal

#1 lore raw
Quoted 15 lines · On Thu, 18 Feb 2010 14:50:15 +0100 Michal Suchanek <[email protected]> wrote:
Quoted 11 lines · Colin Watson
Quoted 7 lines · Joey Korkames
Quoted 2 lines · Christian Auby

How would I go about setting up grub2 with both serial console and graphical console?

You can't run simultaneous consoles with a stock grub2 build. The experimental branch does support it though:
http://robertmh.wordpress.com/2009/12/25/multiple-grub-terminals/#comment-520

The relevant code was merged into trunk on 2010-01-09.

How does the gfxmenu work in this case?

Quoted 7 lines

And how does it work in the simpler cases, anyway?

Is there some documentation or at least samples?

Everywhere it's said the menu is MVC based. I am not expert on MVC but I don't see anything remotely reminiscent of MV separation, the wiki pages describe just a UI toolkit without most of the MVC parts.

I think that only the menu/menuitems are the model, but there are two views on the menu model: (1) the text-mode menu and (2) the graphical menu. The GUI component model is fairly limited at this point but there's no reason it couldn't be expanded to a wider variety of widgets that might support MVC (for instance a text area that uses a model separate from its view).

Regards,
Colin