[syslinux] menu.c32 - Return from sub-menu
Murali Krishnan Ganapathy
gmurali at cs.uchicago.edu
Sun Dec 18 09:06:00 PST 2005
The python script is complete and should be available with the next
pre-release of SYSLINUX. Also added things to the menu API which should
make write a parser in C a lot easier.
As usual, there might be minor bugs in the code, but for the most part
it should work.
Regarding using yacc or lex: Potential problem is that, the generated C
code needs to be linked in with "libfl". I don't know if that library
contain non-rommable code, i.e. code which cannot be run under SYSLINUX
and does not use libc for instance.
Geert Stappers wrote:
> On Thu, Dec 15, 2005 at 04:44:46PM -0600, Murali Krishnan Ganapathy wrote:
>> Lentz, Tim wrote:
>>> True, the advanced menus look great.
>>> But I want to keep this as simple as possible as it will be handed off
>>> to lab technicians at some point. They will need the ability to
>>> add/modify the menus.
>>> So compiling is not the best answer for this implementation:
>>> "It requires that the menu is compiled from a simple C file, see
>>> menu/simple.c and menu/complex.c for examples."
>> I am currently thinking of writing a python script which takes a
>> ini-like file which can declare the menu structure and generate the C code.
>> This will make it easier for people to change the menus, but will not
>> eliminate the need for compilation.
> Cool! Please keep us updated.
>> Eventually, if I can get the parser implemented in C, then the need for
>> compiling will be eliminated.
> Seems like a project for 'yacc' (or is it 'lex'? )
> SYSLINUX mailing list
> Submissions to SYSLINUX at zytor.com
> Unsubscribe or set options at:
> Please do not send private replies to mailing list traffic.
More information about the Syslinux