[syslinux] submenus and menu title

Ady Ady ady-sf at hotmail.com
Fri Aug 3 03:11:41 PDT 2012



> Date: Fri, 3 Aug 2012 10:42:52 +0200
> From: stappers at stappers.nl
> To: syslinux at zytor.com
> Subject: Re: [syslinux] submenus and menu title
> 
> On Fri, Aug 03, 2012 at 10:04:14AM +0200, Ady Ady wrote:
> > > From: ady-sf at hotmail.com
> > > To: syslinux at zytor.com
> > > Date: Wed, 25 Jul 2012 12:04:34 +0200
> > > Subject: [syslinux] submenus and menu title
> > > 
> > > 
> > > From
> > > http://www.syslinux.org/wiki/index.php/Comboot/menu.c32 
> > > 
> > > *** QUOTE - BEGIN ***
> > > 
> > > MENU BEGIN [tagname]
> > > MENU END
> > >
> > > Begin/end a submenu. The entries between MENU BEGIN and MENU END
> > > form a submenu, which is marked with a > mark on the right hand of
> > > the screen. Submenus inherit the properties of their parent menus,
> > > but can override them, and can thus have their own backgrounds,
> > > master passwords, titles, timeouts, messages and so forth.
> > >
> > > *** QUOTE - END ***
> > >
> > > I wasn't able to see the same (supposedly inherited) menu title
> > > in the submenu as it is displayed in the parent menu, unless I
> > > specifically _repeat_ the MENU TITLE directive in the cfg file.
> > > I wonder if I am making some mistake, or if the info stating that
> > > the submenu inherits the properties of the parent menu (including
> > > the title) is inaccurate. Or maybe..., is this a bug?
> > >
> > > TIA.
> > 
> > 
> > Hello,
> >
> > I want to use a menu with 2 entries. Both entries are in fact 2
> > submenus.
> >
> > All the characteristics (colors, width,...) from the parent menu are
> > also automatically used in both submenus, except the menu title (which
> > I want replicated in the submenus too). I've been trying to use the
> > same menu title in all 3 menus (the parent menu and both submenus),
> > with no success. Is this goal achievable? How?
> >
> > Maybe I am misunderstanding the use of submenus and/or tagnames,
> > but without your help...
> >
> > TIA.
> 
> Take more time to write your help request.
> 
> Describe what you want, what you have (configured) and what you get.
> 
> In this case it would be
> 
> * wanted: the three menus, ( 1 top + 2 sub )
> * having: the configuration files so far
> * getting: the current situation
> 
 
Following the wiki and docs (and examples from several live CDs), I started with:
 *** syslinux.cfg START ***
 
 UI menu.c32
 MENU TITLE My Main Title
 
 MENU BEGIN hellotag
 
 LABEL hellolabel
 COM32 hello.c32
 
 MENU END
 
 MENU BEGIN lstag
 
 LABEL lslabel
 COM32 ls.c32
 
 MENU END
 
 *** syslinux.cfg FINISH ***
 
>From there, I tried MANY other variations so to get the same (supposedly inherited) menu title, but I was not successful.
I could post those many alternatives too if necessary (just let me know). I just don't won't to make this more confusing than necessary.
I understand that some directives take precedence over the menu title, preventing it from being inherited "as-is" to its submenus. But in my case I actually indeed want the same menu title in the submenus. So, how do I get _that_ result?
TIA. 		 	   		  



More information about the Syslinux mailing list