[syslinux] menu module behaviour for menu exit
H. Peter Anvin
hpa at zytor.com
Wed Apr 8 12:01:26 PDT 2009
Dag Wieers wrote:
> Hi,
>
> I was looking for a way to have a submenu go back to the previous menu
> when you use Escape inside the submenu. Or to return back to a menu when
> you return from a com32 entry (eg. kbdmap, hdt or rosh).
>
> I had hoped something like this worked:
>
>
> In this case I expected Escape inside the Submenu to automatically go to
> the main menu, but instead it went to the 'top' menu, which contains
> both the Main menu and the Submenu.
>
> From the documentation the "menu exit" statement is used as an action
> to a label to go back to another menu. Seems to be the same as "menu
> goto" (except that it looks different in the menu itself).
>
> But I am looking for a way to return to the previous menu when pressing
> Escape, or when a com32 module returns back to syslinux.
>
> Is there a way to achieve what I want to do ?
>
No, and I think it's too confusing.
Just move your "main" menu entries to the top level.
-hpa
More information about the Syslinux
mailing list