[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Detect key modifier status in 'sleep --interruptible'
From: |
Colin Watson |
Subject: |
Re: [PATCH] Detect key modifier status in 'sleep --interruptible' |
Date: |
Mon, 24 Aug 2009 10:24:06 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Aug 24, 2009 at 12:46:29AM +0200, Vladimir 'phcoder' Serbinenko wrote:
[Could you please preserve attributions in your replies? I've reinserted
one here so that it's clear who wrote what.]
> Colin Watson wrote:
> > The values I picked for the constants were convenient for i386-pc, but
> > that's because it's the only architecture that currently needs an
> > assembly implementation and it seemed to make sense to me to put the
> > harder work of transforming values around into C code.
> >
> > I'm not sure what you mean by "distinguish" here though. I included
> > constants for control and alt that are currently unused, which may
> > actually have been a mistake since the original Red Hat patch to GRUB 1
> > honoured those too in its hiddenmenu handling. Is that what you mean?
>
> I mean that upper layer code knows whether it was left or right shift
> but it doesn't know whether it was left or right alt.
Oh, I see. There's no real need to distinguish here, so the attached
patch removes the distinction. Note that this should NOT be applied
as-is, as I have not updated the assembly implementation for this;
Robert is going to clean-room this in C (which should take all of a
minute or so :-) ), and I hope he can deal with the bit-banging at the
same time.
Thanks,
--
Colin Watson address@hidden
keystatus.diff
Description: Text Data
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', (continued)
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Vladimir 'phcoder' Serbinenko, 2009/08/12
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Colin Watson, 2009/08/12
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Vladimir 'phcoder' Serbinenko, 2009/08/23
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/23
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Vladimir 'phcoder' Serbinenko, 2009/08/23
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/23
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Vladimir 'phcoder' Serbinenko, 2009/08/23
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/25
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible',
Colin Watson <=
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/24
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/24
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Colin Watson, 2009/08/24
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/24
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Colin Watson, 2009/08/24
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Colin Watson, 2009/08/24
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Colin Watson, 2009/08/24
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Colin Watson, 2009/08/24
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Robert Millan, 2009/08/24
- Re: [PATCH] Detect key modifier status in 'sleep --interruptible', Colin Watson, 2009/08/24