[syslinux] Menu system bug - MENU DEFAULT not working

Ady ady-sf at hotmail.com
Fri Oct 12 06:28:13 PDT 2012


Subject:        	Re: [syslinux] Menu system bug - MENU DEFAULT not 
working
Date sent:      	Fri, 12 Oct 2012 13:18:53 +0100

> 
> Can you please send me the config file that reproduces this bug?
> 
> -- 
> Matt Fleming, Intel Open Source Technology Center
> 

I think I have a pattern. With the following cfg file (mainly 
extracted from Slax 7 testing, Tomas' work), the pattern I see is:

1_ Boot ldlinux.sys + menu.c32 v.4.06pre13.
2_ Twice [ENTER].
3_ One time the "UP" arrow key.
4_ Twice [ENTER].
5_ One time the "DOWN" arrow key.
6_ Twice [ENTER].

When I press the last [ENTER] (the second of step #6 above) I see a 
"jump".

Here is the cfg file:

   ***   START SYSLINUX.CFG   ***   

UI menu.c32

MENU BEGIN 0000
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU DEFAULT
   MENU LABEL [ ] Persistent changes
   MENU GOTO 1000
   LABEL -
   MENU LABEL [ ] Graphical desktop
   MENU GOTO 0101
   LABEL -
   MENU LABEL [ ] Copy to RAM
   MENU GOTO 0012
MENU END

MENU BEGIN 0001
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [ ] Persistent changes
   MENU GOTO 1000
   LABEL -
   MENU DEFAULT
   MENU LABEL [ ] Graphical desktop
   MENU GOTO 0101
   LABEL -
   MENU LABEL [ ] Copy to RAM
   MENU GOTO 0012
MENU END

MENU BEGIN 0002
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [ ] Persistent changes
   MENU GOTO 1000
   LABEL -
   MENU LABEL [ ] Graphical desktop
   MENU GOTO 0101
   LABEL -
   MENU DEFAULT
   MENU LABEL [ ] Copy to RAM
   MENU GOTO 0012
MENU END

MENU BEGIN 0010
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU DEFAULT
   MENU LABEL [ ] Persistent changes
   MENU GOTO 1010
   LABEL -
   MENU LABEL [ ] Graphical desktop
   MENU GOTO 0111
   LABEL -
   MENU LABEL [*] Copy to RAM
   MENU GOTO 0002
MENU END

MENU BEGIN 0011
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [ ] Persistent changes
   MENU GOTO 1010
   LABEL -
   MENU DEFAULT
   MENU LABEL [ ] Graphical desktop
   MENU GOTO 0111
   LABEL -
   MENU LABEL [*] Copy to RAM
   MENU GOTO 0002
MENU END

MENU BEGIN 0012
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [ ] Persistent changes
   MENU GOTO 1010
   LABEL -
   MENU LABEL [ ] Graphical desktop
   MENU GOTO 0111
   LABEL -
   MENU DEFAULT
   MENU LABEL [*] Copy to RAM
   MENU GOTO 0002
MENU END

MENU BEGIN 0100
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU DEFAULT
   MENU LABEL [ ] Persistent changes
   MENU GOTO 1100
   LABEL -
   MENU LABEL [*] Graphical desktop
   MENU GOTO 0001
   LABEL -
   MENU LABEL [ ] Copy to RAM
   MENU GOTO 0112
MENU END

MENU BEGIN 0101
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [ ] Persistent changes
   MENU GOTO 1100
   LABEL -
   MENU DEFAULT
   MENU LABEL [*] Graphical desktop
   MENU GOTO 0001
   LABEL -
   MENU LABEL [ ] Copy to RAM
   MENU GOTO 0112
MENU END

MENU BEGIN 0102
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [ ] Persistent changes
   MENU GOTO 1100
   LABEL -
   MENU LABEL [*] Graphical desktop
   MENU GOTO 0001
   LABEL -
   MENU DEFAULT
   MENU LABEL [ ] Copy to RAM
   MENU GOTO 0112
MENU END

MENU BEGIN 0110
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU DEFAULT
   MENU LABEL [ ] Persistent changes
   MENU GOTO 1110
   LABEL -
   MENU LABEL [*] Graphical desktop
   MENU GOTO 0011
   LABEL -
   MENU LABEL [*] Copy to RAM
   MENU GOTO 0102
MENU END

MENU BEGIN 0111
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [ ] Persistent changes
   MENU GOTO 1110
   LABEL -
   MENU DEFAULT
   MENU LABEL [*] Graphical desktop
   MENU GOTO 0011
   LABEL -
   MENU LABEL [*] Copy to RAM
   MENU GOTO 0102
MENU END

MENU BEGIN 0112
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [ ] Persistent changes
   MENU GOTO 1110
   LABEL -
   MENU LABEL [*] Graphical desktop
   MENU GOTO 0011
   LABEL -
   MENU DEFAULT
   MENU LABEL [*] Copy to RAM
   MENU GOTO 0102
MENU END

MENU BEGIN 1000
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU DEFAULT
   MENU LABEL [*] Persistent changes
   MENU GOTO 0000
   LABEL -
   MENU LABEL [ ] Graphical desktop
   MENU GOTO 1101
   LABEL -
   MENU LABEL [ ] Copy to RAM
   MENU GOTO 1012
MENU END

MENU BEGIN 1001
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [*] Persistent changes
   MENU GOTO 0000
   LABEL -
   MENU DEFAULT
   MENU LABEL [ ] Graphical desktop
   MENU GOTO 1101
   LABEL -
   MENU LABEL [ ] Copy to RAM
   MENU GOTO 1012
MENU END

MENU BEGIN 1002
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [*] Persistent changes
   MENU GOTO 0000
   LABEL -
   MENU LABEL [ ] Graphical desktop
   MENU GOTO 1101
   LABEL -
   MENU DEFAULT
   MENU LABEL [ ] Copy to RAM
   MENU GOTO 1012
MENU END

MENU BEGIN 1010
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU DEFAULT
   MENU LABEL [*] Persistent changes
   MENU GOTO 0010
   LABEL -
   MENU LABEL [ ] Graphical desktop
   MENU GOTO 1111
   LABEL -
   MENU LABEL [*] Copy to RAM
   MENU GOTO 1002
MENU END

MENU BEGIN 1011
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [*] Persistent changes
   MENU GOTO 0010
   LABEL -
   MENU DEFAULT
   MENU LABEL [ ] Graphical desktop
   MENU GOTO 1111
   LABEL -
   MENU LABEL [*] Copy to RAM
   MENU GOTO 1002
MENU END

MENU BEGIN 1012
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [*] Persistent changes
   MENU GOTO 0010
   LABEL -
   MENU LABEL [ ] Graphical desktop
   MENU GOTO 1111
   LABEL -
   MENU DEFAULT
   MENU LABEL [*] Copy to RAM
   MENU GOTO 1002
MENU END

MENU BEGIN 1100
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU DEFAULT
   MENU LABEL [*] Persistent changes
   MENU GOTO 0100
   LABEL -
   MENU LABEL [*] Graphical desktop
   MENU GOTO 1001
   LABEL -
   MENU LABEL [ ] Copy to RAM
   MENU GOTO 1112
MENU END

MENU BEGIN 1101
   MENU START
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [*] Persistent changes
   MENU GOTO 0100
   LABEL -
   MENU DEFAULT
   MENU LABEL [*] Graphical desktop
   MENU GOTO 1001
   LABEL -
   MENU LABEL [ ] Copy to RAM
   MENU GOTO 1112
MENU END

MENU BEGIN 1102
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [*] Persistent changes
   MENU GOTO 0100
   LABEL -
   MENU LABEL [*] Graphical desktop
   MENU GOTO 1001
   LABEL -
   MENU DEFAULT
   MENU LABEL [ ] Copy to RAM
   MENU GOTO 1112
MENU END

MENU BEGIN 1110
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU DEFAULT
   MENU LABEL [*] Persistent changes
   MENU GOTO 0110
   LABEL -
   MENU LABEL [*] Graphical desktop
   MENU GOTO 1011
   LABEL -
   MENU LABEL [*] Copy to RAM
   MENU GOTO 1102
MENU END

MENU BEGIN 1111
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [*] Persistent changes
   MENU GOTO 0110
   LABEL -
   MENU DEFAULT
   MENU LABEL [*] Graphical desktop
   MENU GOTO 1011
   LABEL -
   MENU LABEL [*] Copy to RAM
   MENU GOTO 1102
MENU END

MENU BEGIN 1112
   LABEL default
   MENU LABEL Run Slax

   LABEL -
   MENU LABEL [*] Persistent changes
   MENU GOTO 0110
   LABEL -
   MENU LABEL [*] Graphical desktop
   MENU GOTO 1011
   LABEL -
   MENU DEFAULT
   MENU LABEL [*] Copy to RAM
   MENU GOTO 1102
MENU END


   ***   END SYSLINUX.CFG   ***   




More information about the Syslinux mailing list