Menu improvements (Hotkeys an short help)
Posted: Sun Feb 17, 2008 9:37 am
Can you include hotkeys in you menus? If you place "^" before a character in your cfg files, it becomes highlighted. If you press e.g. the key for "p", the menu selection will jump to "Puppy linux V3.01". It is especially usefull in the "large" menus of UBCD.
If you go over a item, some help text about the function of a program is handy. The following is an example of the use of TEXT HELP.
This will show the following at the bottom of your screen:
* version: 2.0, (C) 2008, Patrick Verner
* http://www.partedmagic.com
* Disclaimer: Author excluded from any liability.
Code: Select all
LABEL ubcd
MENU LABEL ^Ultimate boot CD V4.1.1
KERNEL menu.c32
APPEND /menus/main.cfg
LABEL puppy
MENU LABEL ^Puppy linux V3.01
CONFIG /puppy/isolinux.cfg
Code: Select all
LABEL default
MENU LABEL ^1. Default settings (Runs from RAM / Ejects CD)
TEXT HELP
* version: 2.0, (C) 2008, Patrick Verner
* http://www.partedmagic.com
* Disclaimer: Author excluded from any liability.
ENDTEXT
KERNEL /pmagic/bzImage
APPEND noapic initrd=/pmagic/initrd root=/dev/ram0 init=/linuxrc ramdisk_size=200000
* version: 2.0, (C) 2008, Patrick Verner
* http://www.partedmagic.com
* Disclaimer: Author excluded from any liability.