[syslinux] "go to the next higher menu" equivalent?
Ady
ady-sf at hotmail.com
Wed Feb 27 17:11:19 PST 2013
> On 02/25/2013 10:43 PM, Ady wrote:
> >
> >> On 02/22/2013 08:23 PM, Ady wrote:
> >>>
> >>> Although I hope to be wrong, my guess is that there is no equivalent
> >>> to "menu exit" when not using submenus. But maybe some different
> >>> syntax in 2.cfg and/or 3.cfg could achieve the same "go to the next
> >>> higher menu" effect?
> >>>
> >>> Any ideas are appreciated.
> >>>
> >>
> >> Calling menu.c32 is a GOTO, no history is retained.
> >>
> >> It is also very inefficient, use proper submenus instead...
> >>
> >> -hpa
> >
> > Thank you for your answer.
> >
> > Could you please clarify in which sense it is very inefficient?
> >
>
> It reloads the menu module from disk/network every time.
>
> -hpa
Right. OTOH, using submenus (instead of loading menu.c32 again and
again) requires more directives to get the same (or as similar as
possible) effect on the menu finally shown, so that's "inefficient"
too.
Well, since there is no equivalent to the generic "MENU EXIT", I'll
have to consider what's better in my case: pointing to the specific
cfg (no generic term is possible except for the 'main' cfg), or using
more directives with submenus.
Thank you for your answer,
Ady.
More information about the Syslinux
mailing list