Merge branch 'pathbased' of ssh://terminus.zytor.com/pub/git/syslinux/syslinux into...
[profile/ivi/syslinux.git] / doc / menu.txt
index ee314f2..af93558 100644 (file)
@@ -48,6 +48,20 @@ MENU HIDDEN
        All that is displayed is a timeout message.
 
 
+MENU CLEAR
+
+       Clear the screen when exiting the menu, instead of leaving the
+       menu displayed.  For vesamenu, this means the graphical
+       background is still displayed without the menu itself for as
+       long as the screen remains in graphics mode.
+
+
+MENU SHIFTKEY
+
+       Exit the menu system immediately unless either the Shift or Alt
+       key is pressed, or Caps Lock or Scroll Lock is set.
+
+
 MENU SEPARATOR
 
        Insert an empty line in the menu.
@@ -173,7 +187,7 @@ MENU PASSWD passwd
        MD5             (Signature: $1$)
        SHA-1           (Signature: $4$)
        SHA-2-256       (Signature: $5$)
-       SHA-2-512:      (Signature: $6$)
+       SHA-2-512       (Signature: $6$)
 
        Use the included Perl scripts "sha1pass" or "md5pass" to
        encrypt passwords.  MD5 passwords are compatible with most
@@ -197,12 +211,24 @@ MENU MASTER PASSWD passwd
        work.
 
 
+MENU RESOLUTION height width
+
+       Requests a specific screen resolution when in graphics mode.
+       The default is "640 480" corresponding to a resolution of
+       640x480 pixels, which all VGA-compatible monitors should be
+       able to display.
+
+       If the selected resolution is unavailable, the text mode menu
+       is displayed instead.
+
+
 MENU BACKGROUND background
 
        For vesamenu.c32, sets the background image.  The background
        can either be a color (see MENU COLOR) or the name of an image
-       file, which should be 640x480 pixels and either in PNG or JPEG
-       format.
+       file, which should be the size of the screen (normally 640x480
+       pixels, but see MENU RESOLUTION) and either in PNG, JPEG or
+       LSS16 format.
 
 
 MENU BEGIN [tagname]
@@ -269,6 +295,34 @@ DEFAULT label
        non-label.  The menu system does not support that.
 
 
+MENU SAVE
+MENU NOSAVE
+
+       Remember the last entry selected and make that the default for
+       the next boot.  A password-protected menu entry is *not*
+       saved.  This requires the ADV data storage mechanism, which is
+       currently only implemented for EXTLINUX, although the other
+       Syslinux derivatives will accept the command (and ignore it.)
+
+       NOTE: MENU SAVE stores the LABEL tag of the selected entry;
+       this mechanism therefore relies on LABEL tags being unique.
+       On the other hand, it handles changes in the configuration
+       file gracefully.
+
+       NOTE: In software RAID-1 setups MENU SAVE only stores the
+       default label on the actual boot disk.  This may lead to
+       inconsistent reads from the array, or unexpectedly change the
+       default label after array resynchronization or disk failure.
+
+       The MENU SAVE information can be fully cleared with
+       "extlinux --reset-adv <bootdir>".
+
+       A MENU SAVE or MENU NOSAVE at the top of a (sub)menu affects
+       all entries underneath that (sub)menu except those that in
+       turn have MENU SAVE or MENU NOSAVE declared.  This can be used
+       to only save certain entires when selected.
+
+
 INCLUDE filename [tagname]
 MENU INCLUDE filename [tagname]