Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MfaYU-000220-B4 for mharc-grub-devel@gnu.org; Mon, 24 Aug 2009 10:29:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfaYS-00021O-PB for grub-devel@gnu.org; Mon, 24 Aug 2009 10:29:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfaYN-0001zC-IR for grub-devel@gnu.org; Mon, 24 Aug 2009 10:29:52 -0400 Received: from [199.232.76.173] (port=36136 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfaYN-0001z1-Dz for grub-devel@gnu.org; Mon, 24 Aug 2009 10:29:47 -0400 Received: from xvm-190-8.ghst.net ([217.70.190.8]:34260 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MfaYM-0002Xg-SZ for grub-devel@gnu.org; Mon, 24 Aug 2009 10:29:47 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MfaYL-0003bY-BL for grub-devel@gnu.org; Mon, 24 Aug 2009 16:29:45 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MfaYK-0005Wg-MK for grub-devel@gnu.org; Mon, 24 Aug 2009 16:29:44 +0200 Date: Mon, 24 Aug 2009 16:29:44 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090824142944.GB21147@thorin> References: <20090812153520.GA11691@riva.ucam.org> <20090823222745.GA25665@thorin> <20090824091109.GC11691@riva.ucam.org> <20090824115726.GA18956@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH] Detect key modifier status in 'sleep --interruptible' X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 14:29:53 -0000 On Mon, Aug 24, 2009 at 02:58:50PM +0200, Michal Suchanek wrote: > 2009/8/24 Robert Millan : > > On Mon, Aug 24, 2009 at 10:11:10AM +0100, Colin Watson wrote: > >> > But in at_keyboard it's definitely possible (check how we handle e.g. CTRL > >> > or SHIFT keys). > >> > >> No, that code only spots make scan codes arriving after GRUB's terminal > >> starts up. AFAICS it has no way to tell whether e.g. Shift was held down > >> already when GRUB started > > > > Ah, you're right on this.. > > > >> (except through the vagaries of key repeat), > > > > ..but on this too.  Why not check for key repeat?  The controller generates > > them for all keys AFAIK. > > ..unless turned off in the BIOS (which some seem to allow). It's still hardware, so we can turn it back on. I guess we should be? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."