From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vm5GT-0001Ty-D8 for mharc-grub-devel@gnu.org; Thu, 28 Nov 2013 12:20:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm5GM-0001TE-C9 for grub-devel@gnu.org; Thu, 28 Nov 2013 12:20:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vm5GG-0004Ic-QZ for grub-devel@gnu.org; Thu, 28 Nov 2013 12:20:26 -0500 Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]:36476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm5GG-0004IW-Cn for grub-devel@gnu.org; Thu, 28 Nov 2013 12:20:20 -0500 Received: by mail-lb0-f172.google.com with SMTP id z5so6431293lbh.3 for ; Thu, 28 Nov 2013 09:20:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=eViUsMdPDrUU6DWeP5vZJLgvoeTEGwO7uoqtQayqaE8=; b=tZ8l9Tj8S9v+jB+jdHrySDKhQMYXcMjVJxnUvQDRsxnJ/L9jQhdHVTQwM338g+wzu9 vJXhyB/gSqvxTsSgz3DVBWkqSeQ8g42WqQb6tNG5El6RgkcqjTeiBBYeD30ScTMqNgq8 i/menk90zN2xyf2tXQ4fxjwpHnI5llZkO8voiNvvKdcdOZRrlL7kaX1AWrdxV+4gEmxu txhn4B2iKCcRmmi9dVXK/qiBh0USzjdEXeIziJDurMluc8CgpNbKPHIpLQvk2heiN7eP HAXq3TG69Xsa00Tz47GWy7n531vSCwJ9K64yHKv8fl7hJ0ITMyMarZVMZJBQZO5NkiQg xnYg== X-Received: by 10.112.158.231 with SMTP id wx7mr12316867lbb.27.1385659219380; Thu, 28 Nov 2013 09:20:19 -0800 (PST) Received: from opensuse.site (ppp91-76-170-113.pppoe.mtu-net.ru. [91.76.170.113]) by mx.google.com with ESMTPSA id c10sm47069910lbd.9.2013.11.28.09.20.17 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 28 Nov 2013 09:20:18 -0800 (PST) Date: Thu, 28 Nov 2013 21:20:17 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu Message-ID: <20131128212017.792f998c@opensuse.site> In-Reply-To: <20131128110428.GA9590@riva.ucam.org> References: <20130911131804.GA10979@riva.ucam.org> <20130911133129.GB10979@riva.ucam.org> <20131127234057.GA23139@riva.ucam.org> <20131128023056.GA19545@riva.ucam.org> <20131128110428.GA9590@riva.ucam.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22c 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, 28 Nov 2013 17:20:32 -0000 =D0=92 Thu, 28 Nov 2013 11:04:28 +0000 Colin Watson =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Thu, Nov 28, 2013 at 07:19:46AM +0100, Vladimir 'phcoder' Serbinenko w= rote: > > On Nov 28, 2013 3:31 AM, "Colin Watson" wrote: > > > +If this option is set to @samp{countdown} or @samp{hidden}, then, be= fore > > > +displaying the menu, GRUB will wait for the timeout set by > > > +@samp{GRUB_TIMEOUT} to expire. If @key{ESC} is pressed during that > > > time, it > > > +will display the menu and wait for input according to > > > @samp{GRUB_TIMEOUT}. > > > +If a hotkey associated with a menu entry is pressed, it will boot the > > > +associated menu entry immediately. If the timeout expires before ei= ther > > > of > > > +these happens, it will display the menu. > >=20 > > What you describe here doesn=E2=80=98t serm what code is doing. Copypas= te error? >=20 > I must be missing something. What part of this doesn't agree with the > code? >=20 > ... oh, right, if the timeout expires then it will boot the default > entry. I'll fix that, thanks. >=20 Not only. If you hit ESC it will not "wait for input according to GRUB_TIMEOUT" - it will stop displaying menu. I'm not sure whether exposing menu but continuing count down is useful. We could let any other key (or specific key - SPACE?) do it.