2002-03-24 Yoshinori K. Okuji <okuji@enbug.org>

* stage2/stage2.c (run_menu): Call cls outside the loop to run
	scripts.
	* stage2/cmdline.c (run_script): Prompt a user's intervention,
	only when FALLBACK_ENTRY is negative.
This commit is contained in:
okuji 2002-03-24 12:28:54 +00:00
parent dfccfe6d92
commit 3c5148ff24
7 changed files with 22 additions and 8 deletions

View file

@ -1,3 +1,10 @@
2002-03-24 Yoshinori K. Okuji <okuji@enbug.org>
* stage2/stage2.c (run_menu): Call cls outside the loop to run
scripts.
* stage2/cmdline.c (run_script): Prompt a user's intervention,
only when FALLBACK_ENTRY is negative.
2002-02-11 Pavel Roskin <proski@gnu.org>
* util/grub-install.in (find_device): New function - find block

View file

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
.TH GRUB-INSTALL "8" "February 2002" "grub-install (GNU GRUB 0.91)" FSF
.TH GRUB-INSTALL "8" "March 2002" "grub-install (GNU GRUB 0.91)" FSF
.SH NAME
grub-install \- install GRUB on your drive
.SH SYNOPSIS

View file

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
.TH GRUB-MD5-CRYPT "8" "February 2002" "grub-md5-crypt (GNU GRUB )" FSF
.TH GRUB-MD5-CRYPT "8" "March 2002" "grub-md5-crypt (GNU GRUB )" FSF
.SH NAME
grub-md5-crypt \- Encrypt a password in MD5 format
.SH SYNOPSIS

View file

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
.TH GRUB "8" "February 2002" "grub (GNU GRUB 0.91)" FSF
.TH GRUB "8" "March 2002" "grub (GNU GRUB 0.91)" FSF
.SH NAME
grub \- the grub shell
.SH SYNOPSIS

View file

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
.TH MBCHK "1" "February 2002" "mbchk (GNU GRUB 0.91)" FSF
.TH MBCHK "1" "March 2002" "mbchk (GNU GRUB 0.91)" FSF
.SH NAME
mbchk \- check the format of a Multiboot kernel
.SH SYNOPSIS

View file

@ -197,8 +197,15 @@ run_script (char *script, char *heap)
if (errnum)
{
errnum = ERR_NONE;
/* If a fallback entry is defined, don't prompt a user's
intervention. */
if (fallback_entry < 0)
{
grub_printf ("\nPress any key to continue...");
(void) getkey ();
}
return 1;
}

View file

@ -808,10 +808,10 @@ restart:
/* Enable the auto fill mode. */
auto_fill = 1;
while (1)
{
cls ();
while (1)
{
if (config_entries)
printf (" Booting \'%s\'\n\n",
get_entry (menu_entries, first_entry + entryno, 0));