Received: from list by lists.gnu.org with archive (Exim 4.71) id 1WViYN-0003oF-G9 for mharc-grub-devel@gnu.org; Thu, 03 Apr 2014 10:23:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WViYL-0003mE-VB for grub-devel@gnu.org; Thu, 03 Apr 2014 10:23:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WViYL-0000CY-18 for grub-devel@gnu.org; Thu, 03 Apr 2014 10:23:37 -0400 Received: from v6.chiark.greenend.org.uk ([2001:ba8:1e3::]:58655 helo=chiark.greenend.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WViYK-0000CF-Rx for grub-devel@gnu.org; Thu, 03 Apr 2014 10:23:36 -0400 Received: from [172.20.153.9] (helo=riva.pelham.vpn.ucam.org) by chiark.greenend.org.uk (Debian Exim 4.72 #1) with esmtps (return-path cjwatson@ubuntu.com) id 1WViYI-0006MX-CT for grub-devel@gnu.org; Thu, 03 Apr 2014 15:23:35 +0100 Received: from ns1.pelham.vpn.ucam.org ([172.20.153.2] helo=riva.ucam.org) by riva.pelham.vpn.ucam.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1WViY2-0000W9-Uw for grub-devel@gnu.org; Thu, 03 Apr 2014 15:23:19 +0100 Date: Thu, 3 Apr 2014 15:23:17 +0100 From: Colin Watson To: grub-devel@gnu.org Subject: [PATCH] Clarify "Press any key to continue..." message Message-ID: <20140403142317.GT32733@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:ba8:1e3:: X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2014 14:23:39 -0000 When grub_wait_after_message says "Press any key to continue...", it really means that it will continue anyway after a short delay, but that you can press a key to skip the delay. Unfortunately, the delay is just long enough that in practice a number of users have time to see it, press a key, and then report a bug saying that their system won't boot without manual intervention, even though it would have booted just fine if they'd left it alone. Rephrase this message to make it clearer what's really happening. * grub-core/normal/menu.c (grub_wait_after_message): Rephrase message to make it clear that GRUB will continue even if the user does not press a key. --- ChangeLog | 6 ++++++ grub-core/normal/menu.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6eca73e..53c2aff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-04-03 Colin Watson + + * grub-core/normal/menu.c (grub_wait_after_message): Rephrase + message to make it clear that GRUB will continue even if the user + does not press a key. + 2014-03-31 Thomas Falcon btrfs: fix get_root key comparison failures due to endianness diff --git a/grub-core/normal/menu.c b/grub-core/normal/menu.c index b47991a..a6fa93c 100644 --- a/grub-core/normal/menu.c +++ b/grub-core/normal/menu.c @@ -63,7 +63,9 @@ grub_wait_after_message (void) { grub_uint64_t endtime; grub_xputs ("\n"); - grub_printf_ (N_("Press any key to continue...")); + grub_printf_ (N_( + "Waiting a moment so that you can read previous messages.\n" + "Press any key to skip this delay...")); grub_refresh (); endtime = grub_get_time_ms () + 10000; -- 1.9.1