[syslinux] SYSLINUX 2.08-pre6 released
H. Peter Anvin
hpa at zytor.com
Wed Dec 3 15:57:18 PST 2003
Blaauw,Bernd B. wrote:
> Hi,
>
> for Syslinux 2.08, if not released already, may I ask for an command/option called ALIAS?
>
> idea is to minimize duplicate work.
>
> -original-
> label 0
> kernel memdisk
> append initrd=bootdisk.img
>
> label 1
> kernel memdisk
> append initrd=bootdisk.img
>
> -becomes-
>
> label 0
> kernel memdisk
> append initrd=bootdisk.img
>
> label 1
> alias 0 // execute label 0 when 1 was pressed
>
> similar thing for the F-keys maybe, by summing them up instead of each their own line?
>
> F1 data/F1_HELP.TXT
> F2 data/F2_LICEN.TXT
> F3 data/BOOTMSG.TXT
> F4 data/F_ABOUT.TXT
> F5 data2/bootmsg2.txt
> F6 data/F_ABOUT.TXT
> F7 data/F_ABOUT.TXT
> F8 data/F_ABOUT.TXT
> F9 data/F_ABOUT.TXT
> F0 data/F_ABOUT.TXT
>
> becoming
>
> F1 data/F1_HELP.TXT
> F2 data/F2_LICEN.TXT
> F3 data/BOOTMSG.TXT
> F4,F6,F7,F8,F9,F0 data/F_ABOUT.TXT //what's the separator token/character?
> F5 data2/bootmsg2.txt
>
This seems like a lot of work in SYSLINUX for very little gain. I would
suggest instead to use a preprocessor of some sort to generate the
config file.
-hpa
More information about the Syslinux
mailing list