Hi! This option NOESCAPE 1 in syslinux config file blocks exit to command line from menu (MENU QUIT). This tested on syslinux version 3.81 and 3.82-pre3. Best regards, Mike.
***Config file*** DEFAULT menu.c32 ONERROR vesamenu.c32 NOCOMPLETE 1 NOHALT 1 PROMPT 0 #NOESCAPE 1 ALLOWOPTIONS 0 SERIAL 0 115200 LABEL commandline MENU LABEL ^0) commandline MENU QUIT LABEL restart MENU LABEL ^9) restart MENU DEFAULT COM32 reboot.c32
?????? wrote:> Hi! > This option NOESCAPE 1 > in syslinux config file blocks exit to command line from menu (MENU QUIT). > This tested on syslinux version 3.81 and 3.82-pre3.Your config file got a DEFAULT and NOESCAPE entry (from syslinux.txt): DEFAULT kernel options... Sets the default command line. If Syslinux boots automatically, it will act just as if the entries after DEFAULT had been typed in at the "boot:" prompt. NOESCAPE flag_val If flag_val is set to 1, ignore the Shift/Alt/Caps Lock/Scroll Lock escapes. Use this (together with PROMPT 0) to force the default boot alternative. So with "DEFAULT menu.c32" and "NOESCAPE 1" the simple menu system is left and restarted again. I think both features work as designed. - Sebastian
> So with "DEFAULT menu.c32" and "NOESCAPE 1" the simple menu system is left > and restarted again. I think both features work as designed.OK. Can you help me with other issue? As designed by next config file, if user enter garbage on boot prompt cpuid info displayed on screen. ****config**** UI menu.c32 ONERROR cpuidtest.c32 LABEL commandline MENU LABEL ^0) commandline MENU QUIT LABEL restart MENU LABEL ^9) restart MENU DEFAULT COM32 reboot.c32 **** But why config file with "ONERROR vesamenu.c32" or "ONERROR menu.c32" option make syslinux crash on user garbage input at command line?