rsenn / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

using ;; in hotkey command clears the hotkey string #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.

TEST 1 - use ;;
Use this command in \menu.lst
()/%grub%/hotkey [F12] "clear ;; configfile (hd0,0)/_ISO/f1.cfg"

press F12
when f1.cfg menu loads, press F12 again 

>> nothing happens  F12 no longer works

TEST 2 - use &&
Use this command in \menu.lst
()/%grub%/hotkey [F12] "clear && configfile (hd0,0)/_ISO/f1.cfg"

press F12
when f1.cfg menu loads, press F12 again 

>> F12 works and reloads the menu

What is the expected output? What do you see instead?

;; seems to have a strange affect when used in a hotkey global command

What version of the product are you using? On what operating system?

hotkey 

Please provide any additional information below.

If load first menu and type in console

hotkey
f12=>clear ;; configfile (hd0,0)/_ISO/f1.cfg

when f1.cfg menu is loaded, in console
hotkey

f12=>clear

Original issue reported on code.google.com by Steve6375 on 14 Aug 2014 at 9:46

GoogleCodeExporter commented 9 years ago
hotkey version is Oct 18 2013

Original comment by Steve6375 on 14 Aug 2014 at 10:20

GoogleCodeExporter commented 9 years ago
Thanks, this bug in hotkey.

Original comment by chenall.cn on 17 Aug 2014 at 8:14

GoogleCodeExporter commented 9 years ago
there is bug in grub4dos run_line func.

Please try latest grub4dos version.

Original comment by chenall.cn on 19 Aug 2014 at 10:25

GoogleCodeExporter commented 9 years ago
Thanks :-)  Seems to work now.

Original comment by Steve6375 on 19 Aug 2014 at 11:11

GoogleCodeExporter commented 9 years ago

Original comment by chenall.cn on 20 Aug 2014 at 12:12