bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default / fallback: suppress prompt?


From: Joe LeKostaj
Subject: Re: default / fallback: suppress prompt?
Date: Wed, 20 Mar 2002 14:50:12 -0600

I've remedied both this, and the case where going to the serial console caused a repeated "Press any key" prompt by removing a bit of code in builtins.c and cmdline.c in the stage2 directory. In cmdline.c simply comment out the call to getkey() on line 194. In builtins.c, remove or comment out all of lines 3948-3994 which starts with:

#ifdef SUPPORT_SERIAL
/* If a seial console is turned on, wait until the user pushes any key. */
  if (terminal & TERMINAL_SERIAL)

and ends with:

      /* Expired.  */
      terminal &= (default_terminal | TERMINAL_DUMB);
    }
#endif /* SUPPORT_SERIAL */

Joe


On Monday, March 18, 2002, at 12:38 AM, Matthias Strelow wrote:

Hi grub team / users.
Can anyone help me with this?
If I specify a default and a fallback entry,
when default fails, there's a prompt "Press any key to continue".
is there any way to suppress this, and behave like described in the man
page
"instead of waiting for the user to do anything, immediately start over
using the num entry"
thanks in advance
Matthias


_______________________________________________
Bug-grub mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-grub





reply via email to

[Prev in Thread] Current Thread [Next in Thread]