From 91a157b9e0af564c65351e6d898b828cdea21af7 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 10 Dec 2007 14:35:13 -0800 Subject: [PATCH] Documentation update: NEWS, new MENU commands Document menu separator/menu indent/menu disable, as well as the Qemu fix. --- NEWS | 7 +++++++ README.menu | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/NEWS b/NEWS index 39702e5..f0bf037 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,13 @@ Starting with 1.47, changes marked with SYSLINUX/PXELINUX/ISOLINUX apply to that specific program only; other changes apply to all of them. +Changes in 3.54: + * Add "menu separator", "menu indent", "menu disabled" + (see README.menu). + * vesamenu: fix handing of VESA modes with noncontiguous + memory buffers. In particular, Qemu/KVM sets up such a mode + when Cirrus Logic emulation is enabled (which is the default.) + Changes in 3.53: * Fix bugs related to the $PnP BIOS functionality on some platforms. diff --git a/README.menu b/README.menu index 1d7f52d..c5c8b4c 100644 --- a/README.menu +++ b/README.menu @@ -46,6 +46,10 @@ MENU HIDDEN Do not display the actual menu unless the user presses a key. All that is displayed is a timeout message. +MENU SEPARATOR + + Insert an empty line in the menu. + MENU LABEL label (Only valid after a LABEL statement.) @@ -76,6 +80,59 @@ MENU LABEL label or odd things will happen to the command-line. +MENU INDENT count + + (Only valid after a LABEL statement.) + Will add "count" spaces in front of the displayed menu entry. + +MENU DISABLE + + (Only valid after a LABEL statement.) + Makes the entry unselectable. This allows you to make a + section in your menu with different options below it. + for example: + + # Entries for network boots + LABEL + MENU LABEL Network: + MENU DISABLE + + # Soft Cap Linux + LABEL softcap + MENU LABEL Soft Cap ^Linux 9.6.36 + MENU INDENT 1 + KERNEL softcap-9.6.36.bzi + APPEND whatever + + # Dos 6.22 + LABEL dos + MENU LABEL ^Dos 6.22 + MENU INDENT 1 + KERNEL memdisk + APPEND initrd=dos622.imz + + # Separator + MENU SEPARATOR + + # Entries for local boots + LABEL + MENU LABEL Local: + MENU DISABLE + + # Windows 2000 + LABEL w2k + MENU LABEL ^Windows 2000 + MENU INDENT 1 + KERNEL chain.c32 + APPEND hd0 1 + + # Windows XP + LABEL xp + MENU LABEL Windows ^XP + MENU INDENT 1 + KERNEL chain.c32 + APPEND hd0 2 + MENU HIDE (Only valid after a LABEL statement.) -- 2.7.4