menu item hotkey without immediately enter? - Printable Version +- iPXE discussion forum (https://forum.ipxe.org) +-- Forum: iPXE user forums (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: menu item hotkey without immediately enter? (/showthread.php?tid=19543) |
menu item hotkey without immediately enter? - k3dAR - 2019-09-14 18:25 hi, i not find any user option for assign hotkey to menu item which would only change focus, and user must manualy press enter... can be please this option be added? if not can someone please point me to part of src where i can disable it before compile? thanks btw: as novice with iPXE (before longtime PXELINUX user) i have more questions, is better create separated thread for each? or better make one thread with more "novice question" ? :-) RE: menu item hotkey without immediately enter? - cckp - 2019-09-16 12:15 you can use hidden key to change menu default item Code: #!ipxe RE: menu item hotkey without immediately enter? - k3dAR - 2019-09-16 23:13 many thanks, this workaround work, but i have many (~130) items(in main and sub and subsub/subsubsub/... menus) with hotkey, then if all change to double items menu + create for each item_select part, this make whole ipxe scripts little confusing for me :-) i still hope someone point me to source part, i try 2 hours search&read .c/.h files where find "key" "shortcut" "menu" etc, try make some change, but without success, because sure one word/line for change disabling enter for hotkey i miss :-) RE: menu item hotkey without immediately enter? - k3dAR - 2019-09-17 03:14 i found it... here is patches for others :-) apply this patch for globally disabling enter for all items with --key used: ipxe_menu_item_key_without_enter_global.patch or apply this for menu item option -n or --noenter for user way specify item(s) with key without enter in *.ipxe skript: ipxe_menu_item_key_without_enter_add_noenter_parameter.patch RE: menu item hotkey without immediately enter? - cckp - 2019-09-17 11:42 nice, though I can't see your code. it's forbidden to use Google.com in my country RE: menu item hotkey without immediately enter? - k3dAR - 2019-09-17 15:54 is not possible to me add here attachment (.patch, tar.xv say not supported, tar.gz is supported but error about not writen), if paste to messages in code, then is missed tabs, then for sure patch work without problem, i save to here where as raw checked is same as i have on disk... RE: menu item hotkey without immediately enter? - cckp - 2019-09-17 16:02 believe it or not, gist.github.com is forbidden in my country, though github.com is ok. RE: menu item hotkey without immediately enter? - k3dAR - 2019-09-18 22:43 and filebin.ca ? ipxe_menu_item_key_without_enter_add_noenter_parameter.patch ipxe_menu_item_key_without_enter_global.patch RE: menu item hotkey without immediately enter? - cckp - 2019-09-19 01:34 got it, finally thanks you a lot |