Hi, I was hoping you could shed some light in usage of the directive MENU HIDDENKEY in syslinux (extlinux 4.04) The docs say: MENU HIDDENKEY key[,key...] command... So, in my conf I have: MENU HIDDENKEY Esc openelec Where openelec is the label of the boot option I want to run only if Esc is pressed. But pressing Esc on boot has no effect. Default is run. So, do I misunderstand the "command" part of the directive? If so, are there any examples I can learn from? My full conf is here: http://pastebin.com/RJuju4RF The effect I am after is a blank screen that will boot default if nothing is pressed, but if Esc is pressed it will boot an alternate or show the menu. Any help appreciated. Thank you, Matt
On Sun, Sep 02, 2012 at 04:42:23PM +0100, Matt Sephton wrote:> Hi, > > I was hoping you could shed some light in usage of the directive MENU > HIDDENKEY in syslinux (extlinux 4.04) > > The docs say: MENU HIDDENKEY key[,key...] command... > > So, in my conf I have: > > MENU HIDDENKEY Esc openelec > > Where openelec is the label of the boot option I want to run only if > Esc is pressed. > > But pressing Esc on boot has no effect. Default is run. So, do I > misunderstand the "command" part of the directive? If so, are there > any examples I can learn from? > > My full conf is here: http://pastebin.com/RJuju4RF > > The effect I am after is a blank screen that will boot default if > nothing is pressed, but if Esc is pressed it will boot an alternate > or show the menu. > > Any help appreciated.What happens when an alfanumeric key ( digit, letter ) is used? In other words: What happens when a special key as 'escape' is used? Groeten Geert Stappers --> And is there a policy on top-posting vs. bottom-posting?Yes.
On Sun, Sep 2, 2012 at 11:42 AM, Matt Sephton <matt.sephton at gmail.com> wrote:> Hi, > > I was hoping you could shed some light in usage of the directive MENU HIDDENKEY in syslinux (extlinux 4.04) > > The docs say: > MENU HIDDENKEY key[,key...] command... > > So, in my conf I have: > > MENU HIDDENKEY Esc openelec > > Where openelec is the label of the boot option I want to run only if Esc is pressed.Have you tried other keys?> But pressing Esc on boot has no effect. Default is run. So, do I misunderstand the "command" part of the directive? If so, are there any examples I can learn from? > > My full conf is here: http://pastebin.com/RJuju4RFDEFAULT menu.c32 should ideally be DEFAULT winxp UI menu.c32> The effect I am after is a blank screen that will boot default if nothing is pressed, but if Esc is pressed it will boot an alternate or show the menu.I presume you realize the timeout is only 3 seconds (30 deciseconds), right? -- -Gene