--- grub/ChangeLog.01 Mon Oct 14 15:02:44 2002 +++ grub/ChangeLog Mon Oct 14 15:04:08 2002 @@ -1,5 +1,7 @@ 2002-10-14 Adam Lackorzynski + * stage2/stage2.c (run_menu): Add 'r' key to reload menu. + * stage2/stage2.c (run_menu): Add vi like up and down keys ("j" and "k"). --- grub/stage2/stage2.c.01 Fri Sep 27 15:12:20 2002 +++ grub/stage2/stage2.c Fri Sep 27 15:13:09 2002 @@ -314,7 +314,7 @@ if (config_entries) printf ("\ Press enter to boot the selected OS, \'e\' to edit the\n\ - commands before booting, or \'c\' for a command-line."); + commands before booting, \'c\' for a command-line, or \'r\' to reload."); else printf ("\ Press \'b\' to boot, \'e\' to edit the selected command in the\n\ @@ -450,6 +450,9 @@ if (config_entries) { + if (c == 'r') + return; + if ((c == '\n') || (c == '\r')) break; }